implemented Nop Instruction

This commit is contained in:
Darkress
2023-05-31 20:24:32 +02:00
parent 49ab5876b8
commit 6cbd17cf52
2 changed files with 15 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
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();
}
}