Electronics and Communication Engineering - Exam Questions Papers - Discussion
Discussion Forum : Exam Questions Papers - Exam Paper 5 (Q.No. 18)
18.
Consider the following program segment written for 8085 based system
The contents of accumulator is :
LXI SP, FFFFH
MVI A, FFH
MOV BB, A
K: DCR B
PUSH HL
JNZ K
INR A
LXI H, FFCEH
CPI 20H
LHLD
The contents of accumulator is :
Answer: Option
Explanation:
Since contents of HL register pair are unknown and are continuously ''PUSH''ed on the stack; retrieval of the same will result in ''Indeterminate'' data.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers