Exam Questions Papers

Q1: 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?

A 41

B 69

C 44

D Indeterminate

ANS:C - 44

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.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.