dioscuri.module.cpu
Class Instruction_POP_AX

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

public class Instruction_POP_AX
extends java.lang.Object
implements Instruction

Intel opcode 58
Pop word from stack SP:SS into general register AX.
Flags modified: none


Constructor Summary
Instruction_POP_AX()
          Class constructor
Instruction_POP_AX(CPU processor)
          Class constructor specifying processor reference
 
Method Summary
 void execute()
          This pops the word at stack top SS:SP into AX
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Instruction_POP_AX

public Instruction_POP_AX()
Class constructor


Instruction_POP_AX

public Instruction_POP_AX(CPU processor)
Class constructor specifying processor reference

Parameters:
processor - Reference to CPU class
Method Detail

execute

public void execute()
This pops the word at stack top SS:SP into AX

Specified by:
execute in interface Instruction