ishr1 MAR = SP - 1; rd ishr2 OPC = 1 ishr3 OPC = OPC << 8 ishr4 OPC = OPC >> 1 ishr5 OPC = OPC >> 1 ishr6 OPC = OPC >> 1 ishr7 OPC = OPC - 1 ishr8 H = TOS ishr9 TOS = MDR ishr10 OPC = H AND OPC; if (Z) goto (Main1) ishr11 TOS = TOS >> 1 ishr12 OPC = OPC - 1; if (Z) goto (Main1); else goto (ishr11)
ishr1 MAR = SP - 1; rd ishr2 H = TOS ishr3 TOS = MDR ishr4 OPC = H AND OPC; if (Z) goto (Main1) ishr5 TOS = TOS >> 1 ishr6 OPC = OPC - 1; if (Z) goto (Main1); else goto (ishr5)
istore1 | istore2 | istore3 | istore4 | istore5 |
---|---|---|---|---|
A = MBR1U, B = LV | ||||
C = A + B | B = TOS | |||
MAR = C | C = B | B = SP | ||
MDR = C; wr | C = B - 1 | |||
mem = MDR | SP = MAR = C; rd | |||
MDR = mem | ||||
B = MDR | ||||
C = B | ||||
TOS = C; goto(Main1) |
Cy | # | Decoded | Iss | Ret |
6 |
6 7 |
R5=R0-R2 R3=R3*R1 |
6 7 |
|
7 | 4 | |||
8 |
5 6 |
|||
9 | 7 | |||
10 | 8 | R1=R4+R4 | 8 | |
11 | ||||
12 | 8 |
7 | 9 | 0 | 0 | E | F | 3 | D |
0111 | 1001 | 0000 | 0000 | 1110 | 1111 | 0011 | 1101 |
01111001000000001110111100111101 | |||||||
Tag | Line | Word | Byte | ||||
---|---|---|---|---|---|---|---|
0111100100000000 | 11101111001 | 111 | 01 |
7 | 9 | 0 | 0 | E | F | 3 | D |
0111 | 1001 | 0000 | 0000 | 1110 | 1111 | 0011 | 1101 |
01111001000000001110111100111101 | |||||||
Tag | Word | Byte | |||||
---|---|---|---|---|---|---|---|
011110010000000011101111001 | 111 | 01 |
7 | 9 | 0 | 0 | E | F | 3 | D |
0111 | 1001 | 0000 | 0000 | 1110 | 1111 | 0011 | 1101 |
01111001000000001110111100111101 | |||||||
Tag | Line | Word | Byte | ||||
---|---|---|---|---|---|---|---|
011110010000000 | 01110111100 | 111 | 101 |