dioscuri.module.cpu
Class Instruction_LAHF

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

public class Instruction_LAHF
extends java.lang.Object
implements Instruction

Intel opcode 9F
Move low byte of the FLAGS register into AH register.
The FLAGS register is read as SF:ZF:0:AF:0:PF:1:CF
Flags modified: none


Constructor Summary
Instruction_LAHF()
          Class constructor
Instruction_LAHF(CPU processor)
          Class constructor specifying processor reference
 
Method Summary
 void execute()
          Move low byte of FLAGS register into AH register.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Instruction_LAHF

public Instruction_LAHF()
Class constructor


Instruction_LAHF

public Instruction_LAHF(CPU processor)
Class constructor specifying processor reference

Parameters:
processor - Reference to CPU class
Method Detail

execute

public void execute()
Move low byte of FLAGS register into AH register.

Specified by:
execute in interface Instruction