Gate EC-2006 Question Paper With Solutions

Q. 48 Following is the segment of a 8085 assembly language program
LXI SP, EFFF H
CALL 3000 H
:
:
:
3000 H LXI H, 3CF4
PUSH PSW
SPHL
POP PSW
RET
On completion of RET execution, the contents of SP is

(A) 3CF0 H

(B) 3CF8 H

(C) EFFD H

(D) EFFF H

Answer:   (B)

Explanation:

Gate EC-2006 Question Paper With Solutions

Learn More:   Gate ME-2017-2 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here