dioscuri.module.cpu
Class Instruction_XCHG_BXAX

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

public class Instruction_XCHG_BXAX
extends java.lang.Object
implements Instruction

Intel opcode 93
Exchange contents of registers BX and AX.
Flags modified: none


Constructor Summary
Instruction_XCHG_BXAX()
          Class constructor
Instruction_XCHG_BXAX(CPU processor)
          Class constructor specifying processor reference
 
Method Summary
 void execute()
          Execute instruction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Instruction_XCHG_BXAX

public Instruction_XCHG_BXAX()
Class constructor


Instruction_XCHG_BXAX

public Instruction_XCHG_BXAX(CPU processor)
Class constructor specifying processor reference

Parameters:
processor - Reference to CPU class
Method Detail

execute

public void execute()
Execute instruction

Specified by:
execute in interface Instruction