GATE | GATE CS 1996 | Question 54

An 8052 based system has an output port with address 00H. Consider the following assembly language program.

ORG    0100H
MVI    A, 00H
LXI    H, 0105H
OUT    00H
INR    A
PCHL
HLT
a) What does the program do with respect to the output port 00H?
b) Show the wave forms at the three least significant bits of the port 00H.


Answer:

Explanation:

Quiz of this Question



My Personal Notes arrow_drop_up


Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.