dioscuri.module.cpu
Class Instruction_POP_Ev

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

public class Instruction_POP_Ev
extends java.lang.Object
implements Instruction

Intel opcode 8F
Pop word or double word from stack SP:SS into current segment at given offset (mem/reg).
NOTE: Stack is incr. automatically NOTE: The POP instruction cannot pop a value into the CS register. To load the CS register from the stack, use the RET instruction. Flags modified: none


Constructor Summary
Instruction_POP_Ev()
          Class constructor
Instruction_POP_Ev(CPU processor)
          Class constructor specifying processor reference
 
Method Summary
 void execute()
          This pops the word or doubleword at stack top SS:SP into current segment at given offset (reg/mem) NOTE: Stack is incr.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Instruction_POP_Ev

public Instruction_POP_Ev()
Class constructor


Instruction_POP_Ev

public Instruction_POP_Ev(CPU processor)
Class constructor specifying processor reference

Parameters:
processor - Reference to CPU class
Method Detail

execute

public void execute()
This pops the word or doubleword at stack top SS:SP into current segment at given offset (reg/mem) NOTE: Stack is incr. automatically NOTE: The POP instruction cannot pop a value into the CS register. To load the CS register from the stack, use the RET instruction.

Specified by:
execute in interface Instruction