dioscuri.module.cpu
Class Instruction_XCHG_EbGb

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

public class Instruction_XCHG_EbGb
extends java.lang.Object
implements Instruction

Intel opcode 86
Byte-sized content exchange of memory/register (destination) and register (source).
The addressbyte determines the source (rrr bits) and destination (sss bits).
Flags modified: none


Constructor Summary
Instruction_XCHG_EbGb()
          Class constructor
Instruction_XCHG_EbGb(CPU processor)
          Class constructor specifying processor reference
 
Method Summary
 void execute()
          Byte-sized content exchange of memory/register (destination) and register (source).
Flags modified: none
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Instruction_XCHG_EbGb

public Instruction_XCHG_EbGb()
Class constructor


Instruction_XCHG_EbGb

public Instruction_XCHG_EbGb(CPU processor)
Class constructor specifying processor reference

Parameters:
processor - Reference to CPU class
Method Detail

execute

public void execute()
Byte-sized content exchange of memory/register (destination) and register (source).
Flags modified: none

Specified by:
execute in interface Instruction