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_SAHF

    java.lang.Object
      dioscuri.module.cpu.Instruction_SAHF

All Implemented Interfaces:
  Instruction

    public class Instruction_SAHF

extends java.lang.Object
implements Instruction

Intel opcode 9E
Load the FLAGS register with values from AH register.
The FLAGS register is written as SF:ZF:0:AF:0:PF:1:CF.
Flags modified: SF, ZF, AF, PF, CF.

Constructor Summary
`Instruction_SAHF()` Class constructor
`Instruction_SAHF(CPU processor)` Class constructor specifying processor reference

Method Summary
`void` | `execute()` Move AH register into low byte of FLAGS register.

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

Constructor Detail

### Instruction_SAHF

    public Instruction_SAHF()

  Class constructor

### Instruction_SAHF

    public Instruction_SAHF(CPU processor)

  Class constructor specifying processor reference

  Parameters:
    `processor` - Reference to CPU class

Method Detail

### execute

    public void execute()

  Move AH register into low byte of FLAGS register.

  Specified by:
    `execute` in interface `Instruction`

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