Added swapf Instruction

This commit is contained in:
Darkress
2023-06-07 20:16:30 +02:00
parent d8ed3ab9b1
commit 1c3ed8a1b2
5 changed files with 32 additions and 6 deletions

View File

@@ -26,7 +26,7 @@ public class Incfsz extends FileRegisterCommandUtils implements Command
if((result % 256) == 0)
{
Nop nop = new Nop();
nop.execute();
nop.execute(); // TODO: What happens if an interrupt gets triggered during the nop execution?
}
ProgramCounter.incPC();
}