General Register organization
Binary code
|
SELA
|
SELB
|
SELD or SELREG
|
000
|
Input
|
Input
|
---
|
001
|
R1
|
R1
|
R1
|
010
|
R2
|
R2
|
R2
|
011
|
R3
|
R3
|
R3
|
100
|
R4
|
R4
|
R4
|
101
|
R5
|
R5
|
R5
|
110
|
R6
|
R6
|
R6
|
111
|
R7
|
R7
|
R7
|
Operation selection code
|
Operation
|
symbol
|
0000
|
Transfer A
|
TSFA
|
0001
|
Increment A
|
INC A
|
0010
|
A+B
|
ADD
|
0011
|
A-B
|
SUB
|
0100
|
Decrement A
|
DEC
|
0101
|
A AND B
|
AND
|
0110
|
A OR B
|
OR
|
0111
|
A XOR B
|
XOR
|
1000
|
Complement A
|
COMA
|
1001
|
Shift right A
|
SHR
|
1010
|
Shift left A
|
SHL
|
SEL A
|
SELB
|
SELREG OR SELD
|
SELOPR
|
SEL A
|
SEL B
|
SEL D OR SELREG
|
SELOPR
|
001
|
011
|
010
|
0010
|
MICROOPERATION
|
SEL A
|
SEL B
|
SEL D OR SELREG
|
SELOPR
|
CONTROL WORD
|
|||
R2 = R1+R3
|
R1
|
R3
|
R2
|
ADD
|
001
|
011
|
010
|
0010
|
No comments