implemented Andwf instruction

This commit is contained in:
Darkress
2023-05-31 19:42:49 +02:00
parent 7af1145ad4
commit ccc7f72c61
3 changed files with 29 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ class Main
int input1 = 0x27FF;
program.add(CommandDecoder.decode(0x3011)); //Write 0x11 to W
Memory.setRegister(0x14, 0x14);
program.add(CommandDecoder.decode(0x0714));
program.add(CommandDecoder.decode(0x0594));
for(int i = 0; i < 2; i++)
{
program.get(ProgramCounter.getPc()).execute();