Refactored incCycle command
This commit is contained in:
@@ -16,8 +16,8 @@ public class Movlw extends LiteralCommandUtils implements Command
|
||||
@Override
|
||||
public void execute()
|
||||
{
|
||||
Memory.workingRegister = literal;
|
||||
ProgramCounter.incPC();
|
||||
Cycles.addToCycles(1);
|
||||
Cycles.incCycles();
|
||||
Memory.workingRegister = literal;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user