Compare commits

..

1 Commits

Author SHA1 Message Date
Darkress
a38d6b6b80 implemented decf Instruction 2023-05-31 20:15:46 +02:00
2 changed files with 1 additions and 15 deletions

View File

@@ -1,14 +0,0 @@
package de.darkress.pic16f84sim.commands;
import de.darkress.pic16f84sim.microcontroller.ProgramCounter;
public class Nop extends LiteralCommandUtils implements Command
{
@Override
public void execute()
{
// Do nothing, just increment the PC
ProgramCounter.incPC();
}
}

View File

@@ -111,7 +111,7 @@ public class CommandDecoder
if ((input | 0x0060) == 0x0060) if ((input | 0x0060) == 0x0060)
{ {
return new Nop(); //nop();
} }
if (input == 0x0064) if (input == 0x0064)