Discussion :: Exam Questions Paper
-
Consider the program segment written for 8085 based system:
LXI S, FFFFH
MVI A, 00H
MVI B, 0FH
SUB B
CNC GOLOC
MVI A, FFH
where in the program subroutine labelled ''GOLOC'' introduces delay of 28 T-states only. How many T-states are required to execute above program statement?
Answer : Option C
Explanation :
Since carry (CY) flag will not be set at the execution of "SUB B" instruction;
check for CY flag fails but this requires 9(= 6 OP - CODE FETCH + 3T - states) T-states
∴ Total T-states = 10 + 7 + 7 + 4 + 9 + 7 = 44.
Be The First To Comment