dioscuri.module.cpu
Class Instruction_CWD

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

public class Instruction_CWD
extends java.lang.Object
implements Instruction

Intel opcode 99
Convert Word to DoubleWord.
Copy the sign (bit 15) in AX into every bit of DX register
Flags modified: none


Constructor Summary
Instruction_CWD()
          Class constructor
Instruction_CWD(CPU processor)
          Class constructor specifying processor reference
 
Method Summary
 void execute()
          Copy the sign (bit 15) in AX into every bit of DX register
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Instruction_CWD

public Instruction_CWD()
Class constructor


Instruction_CWD

public Instruction_CWD(CPU processor)
Class constructor specifying processor reference

Parameters:
processor - Reference to CPU class
Method Detail

execute

public void execute()
Copy the sign (bit 15) in AX into every bit of DX register

Specified by:
execute in interface Instruction