dioscuri.module.cpu
Class Instruction_PUSH_DX

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

public class Instruction_PUSH_DX
extends java.lang.Object
implements Instruction

Intel opcode 52
Push general register DX onto stack SS:SP.
Flags modified: none


Constructor Summary
Instruction_PUSH_DX()
          Class constructor
Instruction_PUSH_DX(CPU processor)
          Class constructor specifying processor reference
 
Method Summary
 void execute()
          This pushes the word in DX onto stack top SS:SP
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Instruction_PUSH_DX

public Instruction_PUSH_DX()
Class constructor


Instruction_PUSH_DX

public Instruction_PUSH_DX(CPU processor)
Class constructor specifying processor reference

Parameters:
processor - Reference to CPU class
Method Detail

execute

public void execute()
This pushes the word in DX onto stack top SS:SP

Specified by:
execute in interface Instruction