dioscuri.module.cpu
Class Instruction_POPA

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

public class Instruction_POPA
extends java.lang.Object
implements Instruction

Intel opcode 61
Pop top 8 words off stack into general purpose registers
The order is DI, SI, BP, SP, BX, DX, CX, AX
The SP value popped from the stack is discarded
Flags modified: none


Constructor Summary
Instruction_POPA()
          Class constructor
Instruction_POPA(CPU processor)
          Class constructor specifying processor reference
 
Method Summary
 void execute()
          Pops the top 8 words stack top SS:SP into the 8 general purpose registers
The order is DI, SI, BP, SP, BX, DX, CX, AX
The SP value popped from the stack is discarded
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Instruction_POPA

public Instruction_POPA()
Class constructor


Instruction_POPA

public Instruction_POPA(CPU processor)
Class constructor specifying processor reference

Parameters:
processor - Reference to CPU class
Method Detail

execute

public void execute()
Pops the top 8 words stack top SS:SP into the 8 general purpose registers
The order is DI, SI, BP, SP, BX, DX, CX, AX
The SP value popped from the stack is discarded

Specified by:
execute in interface Instruction