Professional Documents
Culture Documents
1 0 1 1 1 S S S N
1 0 1 1 1 1 1 0 N
It has no variations. The addressing mode is register indirect
addressing mode. The micro RTL flow implemented is given below:
Machine Cycle- 1:
OFMC: Status signals IO/M=0, S1=1, S0=1
T1: A15-A8 (PCH), AD7-AD0 (PCL), ALE =
T2: RD = 0, (PC) (PC) +1, AD7-AD0 M(AB)
T3: RD = 1, , (IR) AD7-AD0
T4: 𝜇𝑝 decodes the opcode. CMP M = 1.
Machine Cycle- 2:
MRMC: Status signals IO/M=0, S1=1, S0=0
T1: A15-A8 (H), AD7-AD0 (L), ALE =
T2: RD = 0, AD7-AD0 M(AB)
T3: RD = 1, , (Temp) AD7-AD0
1 0 1 1 0 1 1 0 N
<B2> N+1
It has no variations. The addressing mode is immediate addressing
mode. The micro RTL flow implemented is given below:
Machine Cycle- 1:
OFMC: Status signals IO/M=0, S1=1, S0=1
T1: A15-A8 (PCH), AD7-AD0 (PCL), ALE =
T2: RD = 0, (PC) (PC) +1, AD7-AD0 M(AB)
T3: RD = 1, , (IR) AD7-AD0
T4: 𝜇𝑝 decodes the opcode. CPI data = 1.
Machine Cycle- 2:
MRMC: Status signals IO/M=0, S1=1, S0=0
T1: A15-A8 (PCH), AD7-AD0 (PCL), ALE =
T2: RD = 0, (PC) (PC) +1, AD7-AD0 M(AB)
T3: RD = 1, , (Temp) AD7-AD0
Machine Cycle- 3 or (Machine Cycle-1 of next instruction):
OFMC: Status signals IO/M=0, S1=1, S0=1
T1: A15-A8 (PCH), AD7-AD0 (PCL), ALE =
T2: RD = 0, (PC) (PC) +1, AD7-AD0 M(AB)
FEO [(A) - (Temp) operation takes place and flags are affected]
The instruction requires two machine cycles OFMC & MRMC and a
total of 7 states.
CY A7 A6 A5 A4 A3 A2 A1 A0
The operation code of the instruction is,
0 0 0 0 0 1 1 1 N
0 0 0 0 1 1 1 1 N
CY A7 A6 A5 A4 A3 A2 A1 A0
0 0 0 1 0 1 1 1 N
CY A7 A6 A5 A4 A3 A2 A1 A0
0 0 0 1 1 1 1 1 N
It has no variations. The addressing mode is implied addressing
mode. The micro RTL flow implemented is given below:
Machine Cycle- 1:
OFMC: Status signals IO/M=0, S1=1, S0=1
T1: A15-A8 (PCH), AD7-AD0 (PCL), ALE =
T2: RD = 0, (PC) (PC) +1, AD7-AD0 M(AB)
T3: RD = 1, , (IR) AD7-AD0
T4: 𝜇𝑝 decodes the opcode. RAR = 1.