This class contains atomic steps for the control unit of defined instruction.
Flag
Tristate flag definition for carry and zero control bits.
@ Enable
Only accept the enable value.
@ Disable
Only accept the disable value.
Arg arg0
First argument type.
Arg
Definitions of the instruction argument types.
@ ABXY
Main and auxiliary registers.
@ Addr
16 bit unsigned address
@ Val256
8 bit unsigned value
void addStep(const Step &step)
Flag c
Carry flag accept status.
Flag z
Zero flag accept status.
unsigned char getOpcode() const
QList< Step > stepList
Atomic list of steps for the control unit.
unsigned char opcode
Opcode of defined instruction.
const QList< Step > & getStepList() const
Arg arg1
Second argument type.
Instruction()
Default constructor for creating an empty instruction.
Arg arg2
Third argument type.