dioscuri.module.cpu
Class Instruction_DEC_BX

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

public class Instruction_DEC_BX
extends java.lang.Object
implements Instruction

Intel opcode 4B
Decrement general register BX.
Flags modified: OF, SF, ZF, AF, PF


Constructor Summary
Instruction_DEC_BX()
          Class constructor
Instruction_DEC_BX(CPU processor)
          Class constructor specifying processor reference
 
Method Summary
 void execute()
          Decrement general register BX
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Instruction_DEC_BX

public Instruction_DEC_BX()
Class constructor


Instruction_DEC_BX

public Instruction_DEC_BX(CPU processor)
Class constructor specifying processor reference

Parameters:
processor - Reference to CPU class
Method Detail

execute

public void execute()
Decrement general register BX

Specified by:
execute in interface Instruction