static const int CODE_1_BUS_C_POSITION
Position of bits for the addressing data bus.
static const int CODE_FLAG_S_MASK
Mask for ALU_S flags.
const UCode & getUCode() const
BusAW
Line select defines for the main writing data bus.
@ ABXY
Main and auxiliary registers.
@ MAH
Memory Address High register.
@ RPC
Reset Program Counter.
@ PCH
Program Counter High register.
@ SP_PLUS
Increse Stack Pointer.
@ MAL
Memory Address Low register.
@ PC_PLUS
Increse Program Counter.
@ RPC_PLUS
Reset the step counter and increse Program Counter.
@ SP_MINUS
Decrese Stack Pointer.
@ PCL
Program Counter Low register.
static const int CODE_0_BUS_B_POSITION
Position of bits for the secondary reading data bus.
static const int CODE_0_BUS_AR_POSITION
Position of bits for the main reading data bus.
BusB
Line select defines for the secondary reading data bus.
static const int CODE_1_FLAG_S_POSITION
Position of bits for the ALU_S flags.
Step(BusAR busAR, BusAW busAW, BusB busB=BusB::Default, BusC busC=BusC::Default, unsigned char aluS=0, bool aluM=false, bool aluC=false)
UCode uCode
Parsed microcode for the current step.
static const int CODE_1_FLAG_M_POSITION
Position of bit for the ALU_M flag.
static const int CODE_1_FLAG_C_POSITION
Position of bit for the ALU_C flag.
BusAR
Line select defines for the main reading data bus.
@ ABXY
Main and auxiliary registers.
@ PCH
Program Counter High register.
@ PCL
Program Counter Low register.
BusC
Line select defines for the addressing data bus.
@ MA
Full 16 bit Memory Address register.
@ SP
Full 16 bit Stack Pointer register.
@ XY
Full 16 bit auxiliary register.
@ PC
Full 16 bit Program Counter register.
static const int CODE_0_BUS_AW_POSITION
Position of bits for the main writing data bus.
This class contains a parsed microcode of the single step.