Electronics and Communication Engineering - Exam Questions Papers - Discussion
Discussion Forum : Exam Questions Papers - Exam Paper 7 (Q.No. 36)
36.
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?
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
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.
Discussion:
1 comments Page 1 of 1.
Deekshitha said:
5 years ago
Thanks for the answer.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers