dioscuri.module.cpu
Class Instruction_SUB_AXIv

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

public class Instruction_SUB_AXIv
extends java.lang.Object
implements Instruction

Intel opcode 2D
Subtract immediate word from AX.
Flags modified: OF, SF, ZF, AF, PF, CF


Constructor Summary
Instruction_SUB_AXIv()
          Class constructor
Instruction_SUB_AXIv(CPU processor)
          Class constructor specifying processor reference
 
Method Summary
 void execute()
          Subtract immediate word from AX
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Instruction_SUB_AXIv

public Instruction_SUB_AXIv()
Class constructor


Instruction_SUB_AXIv

public Instruction_SUB_AXIv(CPU processor)
Class constructor specifying processor reference

Parameters:
processor - Reference to CPU class
Method Detail

execute

public void execute()
Subtract immediate word from AX

Specified by:
execute in interface Instruction