dioscuri.module.cpu
Class Instruction_XOR_EvGv

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

public class Instruction_XOR_EvGv
extends java.lang.Object
implements Instruction

Intel opcode 31
Logical word-sized XOR of memory/register (destination) and register (source).
The addressbyte determines the source (rrr bits) and destination (sss bits).
Flags modified: OF, SF, ZF, AF, PF, CF


Constructor Summary
Instruction_XOR_EvGv()
          Class constructor
Instruction_XOR_EvGv(CPU processor)
          Class constructor specifying processor reference
 
Method Summary
 void execute()
          Logical XOR of memory/register (destination) and register (source).
OF and CF are cleared.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Instruction_XOR_EvGv

public Instruction_XOR_EvGv()
Class constructor


Instruction_XOR_EvGv

public Instruction_XOR_EvGv(CPU processor)
Class constructor specifying processor reference

Parameters:
processor - Reference to CPU class
Method Detail

execute

public void execute()
Logical XOR of memory/register (destination) and register (source).
OF and CF are cleared. AF is undefined.

Specified by:
execute in interface Instruction