Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## dioscuri.module.cpu
Class Instruction_ImmGRP1_EvIv

    java.lang.Object
      dioscuri.module.cpu.Instruction_ImmGRP1_EvIv

All Implemented Interfaces:
  Instruction

    public class Instruction_ImmGRP1_EvIv

extends java.lang.Object
implements Instruction

Intel opcode 81
Immediate Group 1 opcode extension: ADD, OR, ADC, SBB, AND, SUB, XOR, CMP.
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_ImmGRP1_EvIv()` Class constructor
`Instruction_ImmGRP1_EvIv(CPU processor)` Class constructor specifying processor reference

Method Summary
`void` | `execute()` Execute any of the following Immediate Group 1 instructions: ADD, OR, ADC, SBB, AND, SUB, XOR, CMP.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Instruction_ImmGRP1_EvIv

    public Instruction_ImmGRP1_EvIv()

  Class constructor

### Instruction_ImmGRP1_EvIv

    public Instruction_ImmGRP1_EvIv(CPU processor)

  Class constructor specifying processor reference

  Parameters:
    `processor` - Reference to CPU class

Method Detail

### execute

    public void execute()
                 throws CPUInstructionException

  Execute any of the following Immediate Group 1 instructions: ADD, OR, ADC, SBB, AND, SUB, XOR, CMP.

  Specified by:
    `execute` in interface `Instruction`
  Throws:
    `CPUInstructionException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD