dioscuri.module.cpu
Class Instruction_STC

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

public class Instruction_STC
extends java.lang.Object
implements Instruction

Intel opcode F9
Set carry flag.
Set CF to 1
Flags modified: none


Constructor Summary
Instruction_STC()
          Class constructor
Instruction_STC(CPU processor)
          Class constructor specifying processor reference
 
Method Summary
 void execute()
          Set CF to 1
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Instruction_STC

public Instruction_STC()
Class constructor


Instruction_STC

public Instruction_STC(CPU processor)
Class constructor specifying processor reference

Parameters:
processor - Reference to CPU class
Method Detail

execute

public void execute()
Set CF to 1

Specified by:
execute in interface Instruction