Functional Sublw instruction (#8)

* Functional Sublw instruction

* Fixed zeroBit in Addlw after overflow and result == 0
This commit is contained in:
DarkressX authored and GitHub committed 2023-05-23 17:47:25 +02:00
1 parent d5eaee2bde
commit 5e08c6d728
4 files changed
+49 -5

No files matched your search

+1 -2
View File
@@ -95,8 +95,7 @@ public class CommandDecoder
return new Addlw(input);
//break;
case 0x3C00:
//sublw();
break;
return new Sublw(input);
}
switch(input & 0x3800)