dioscuri.module.cpu
Class Instruction_ADD_ALIb

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

public class Instruction_ADD_ALIb
extends java.lang.Object
implements Instruction

Intel opcode 04
Add immediate byte to AL.
Flags modified: OF, SF, ZF, AF, PF, CF


Constructor Summary
Instruction_ADD_ALIb()
          Class constructor
Instruction_ADD_ALIb(CPU processor)
          Class constructor specifying processor reference
 
Method Summary
 void execute()
          Add immediate byte to AL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Instruction_ADD_ALIb

public Instruction_ADD_ALIb()
Class constructor


Instruction_ADD_ALIb

public Instruction_ADD_ALIb(CPU processor)
Class constructor specifying processor reference

Parameters:
processor - Reference to CPU class
Method Detail

execute

public void execute()
Add immediate byte to AL

Specified by:
execute in interface Instruction