dioscuri.module.cpu
Class Instruction_JZ_JE

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

public class Instruction_JZ_JE
extends java.lang.Object
implements Instruction

Intel opcode 74
Conditional short jump on zero.
Displacement is relative to next instruction.
Flags modified: none


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

Constructor Detail

Instruction_JZ_JE

public Instruction_JZ_JE()
Class constructor


Instruction_JZ_JE

public Instruction_JZ_JE(CPU processor)
Class constructor specifying processor reference

Parameters:
processor - Reference to CPU class
Method Detail

execute

public void execute()
Execute conditional short jump on zero

Specified by:
execute in interface Instruction