dioscuri.module.cpu
Class Instruction_LOCK

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

public class Instruction_LOCK
extends java.lang.Object
implements Instruction

Intel opcode 40
Increment general register AX.
Flags modified: OF, SF, ZF, AF, PF


Constructor Summary
Instruction_LOCK()
          Class constructor
Instruction_LOCK(CPU processor)
          Class constructor specifying processor reference
 
Method Summary
 void execute()
          Execute instruction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Instruction_LOCK

public Instruction_LOCK()
Class constructor


Instruction_LOCK

public Instruction_LOCK(CPU processor)
Class constructor specifying processor reference

Parameters:
processor - Reference to CPU class
Method Detail

execute

public void execute()
Execute instruction

Specified by:
execute in interface Instruction