{{formatInt(addressValue, (options.extended ? 3 : 2))}}
{{formatInt(dataValue, (options.extended ? 4 : 3))}}
{{controlSignal}}
Assembly Code
{{narrative}}
CPU
Control Unit
|
Opcode
{{formatInt(Math.floor(opcode / 100), (options.extended ? 2 : 1))}}
|
Operand
{{formatInt(operand, 2)}}
|
|
ADD
1xx
|
SUB
2xx
|
|
STA
3xx
|
LDA
5xx
|
|
BRA
6xx
|
BRZ
7xx
|
|
BRP
8xx
|
HLT
0xx
|
|
INP
901
|
OUT
902
|
|
STX
930
|
LDX
931
|
|
INX
932
|
{{addressing || " "}}
|
PC
{{formatInt(pc, (options.extended ? 3 : 2))}}
MAR
{{formatInt(mar, 3)}}
Address Bus
IDX
{{formatInt(idx, (options.extended ? 4 : 3))}}
Control Bus
CIR
{{formatInt(cir, (options.extended ? 4 : 3))}}
MBR
MDR
{{formatInt(mdr, (options.extended ? 4 : 3))}}
Data Bus
ACC
{{formatInt(acc, (options.extended ? 4 : 3))}}
ALU
RAM
{{(index - 1) + 'xx'}}
{{(index - 1) + 'xx'}}
Settings