dioscuri.module.cpu
Class Instruction_INCDEC_GRP5

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

public class Instruction_INCDEC_GRP5
extends java.lang.Object
implements Instruction

Intel opcode FF
INC/DEC Group 5 opcode extension: INC, DEC, CALLN, CALLF, JMPN, JMPF, PUSH.
Performs the selected instruction (indicated by bits 5, 4, 3 of the ModR/M byte) using immediate data.
Flags modified: depending on instruction can be any of: OF, SF, ZF, AF, PF, CF


Constructor Summary
Instruction_INCDEC_GRP5()
          Class constructor
Instruction_INCDEC_GRP5(CPU processor)
          Class constructor specifying processor reference
 
Method Summary
 void execute()
          Execute any of the following Immediate Group 5 instructions: INC, DEC, CALLN, CALLF, JMPN, JMPF, PUSH.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Instruction_INCDEC_GRP5

public Instruction_INCDEC_GRP5()
Class constructor


Instruction_INCDEC_GRP5

public Instruction_INCDEC_GRP5(CPU processor)
Class constructor specifying processor reference

Parameters:
processor - Reference to CPU class
Method Detail

execute

public void execute()
Execute any of the following Immediate Group 5 instructions: INC, DEC, CALLN, CALLF, JMPN, JMPF, PUSH.

Specified by:
execute in interface Instruction