increment PC after every Instruction (#29)
Co-authored-by: darkress <30271678+DarkressX@users.noreply.github.com> Reviewed-on: darkress/pic16f84-sim#29
This commit was merged in pull request #29.
This commit is contained in:
@@ -25,8 +25,7 @@ public class Decfsz extends FileRegisterCommandUtils implements Command
|
||||
|
||||
if((result % 256) == 0)
|
||||
{
|
||||
Nop nop = new Nop();
|
||||
nop.execute(); // TODO: What happens if an interrupt gets triggered during the nop execution?
|
||||
ProgramCounter.incPC();
|
||||
}
|
||||
ProgramCounter.incPC();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user