dioscuri.module.cpu
Class Instruction_NOP

java.lang.Object
  extended by dioscuri.module.cpu.Instruction_NOP
All Implemented Interfaces:
Instruction

public class Instruction_NOP
extends java.lang.Object
implements Instruction

Intel opcode 90
No operation, does not affect machine content except IP register.
It is an alias for XCHG AX, AX
Flags modified: none


Constructor Summary
Instruction_NOP()
          Class constructor
Instruction_NOP(CPU processor)
          Class constructor specifying processor reference
 
Method Summary
 void execute()
          Execute no operation, does not affect machine content except IP register
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Instruction_NOP

public Instruction_NOP()
Class constructor


Instruction_NOP

public Instruction_NOP(CPU processor)
Class constructor specifying processor reference

Parameters:
processor - Reference to CPU class
Method Detail

execute

public void execute()
Execute no operation, does not affect machine content except IP register

Specified by:
execute in interface Instruction