Login to track your progress, bookmark questions, and view history.
Practice over 1000+ GATE-level questions from this topic!
Designed to match the latest GATE pattern with topic-wise precision, difficulty tagging, and detailed solutions.
Q#1
Microprocessor
GATE EE 2020
NAT
+2 marks
-0 marks
An 8085 microprocessor accesses two memory locations (2001H) and (2002H), that contain 8-bit numbers 98H and B1H, respectively. The following program is executed:
LXI H,2001H
MVI A, 21H
INXH
ADD M
INXH
MOV M, A
HLT
At the end of this program, the memory location 2003H contains the number in decimal (base 10) form.
Explanation:
LX1 H, 2001 H HL = (2001)H
MVI A, 21 H A = (21)H
INXH HL = (2002)H
ADD M A = A + M = 21 + B1 = (D2)H
INXH HL = (2003)H
MOV M, A (2003)H ← (D2)H = (210)10
HLT
Login to keep track of your progress with the tool with daily goals, questions preparation and more.
Browse Practice Questions by Chapters / Topics in Browse Practice Questions by Chapters / Topics in GATE Electrical Engineering
Total Questions
Attempted
% Attempted
Correct
% Correct
Login to keep track of your progress with the tool with daily goals, questions preparation and more.
Login to track your progress, bookmark questions, and view history.