dioscuri.module.cpu
Class Instruction_PUSHA

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

public class Instruction_PUSHA
extends java.lang.Object
implements Instruction

Intel opcode 60
Push all general purpose registers onto stack SS:SP.
The order of the push is AX, CX, DX, BX, SP, BP, SI, DI
Flags modified: none


Constructor Summary
Instruction_PUSHA()
          Class constructor
Instruction_PUSHA(CPU processor)
          Class constructor specifying processor reference
 
Method Summary
 void execute()
          Pushes the words in all general purpose registers onto stack top SS:SP The order of the push is AX, CX, DX, BX, SP, BP, SI, DI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Instruction_PUSHA

public Instruction_PUSHA()
Class constructor


Instruction_PUSHA

public Instruction_PUSHA(CPU processor)
Class constructor specifying processor reference

Parameters:
processor - Reference to CPU class
Method Detail

execute

public void execute()
Pushes the words in all general purpose registers onto stack top SS:SP The order of the push is AX, CX, DX, BX, SP, BP, SI, DI

Specified by:
execute in interface Instruction