Added swapf Instruction (#23)

Co-authored-by: Darkress <30271678+DarkressX@users.noreply.github.com>
Reviewed-on: darkress/pic16f84-sim#23
This commit was merged in pull request #23.
This commit is contained in:
darkress
2023-06-07 20:17:31 +02:00
parent d8ed3ab9b1
commit b298b97652
5 changed files with 32 additions and 6 deletions

View File

@@ -26,7 +26,7 @@ public class Decfsz 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();
}