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 EC 1998
MCQ
+2 marks
-0.66 marks
Write a short assembly language program, without using any arithmetic instruction, to store hexadecimal 5D in the flag register of 8085 microprocessor. Data in other registers of the processor must not alter upon executing this program.
PUSH D
PUSH H
MOV L, A
MVI E, 5D
PUSH D
MOV A, L
POP H
POP D
PUSH D
PUSH H
MOV L, A
MVI E, 5D
PUSH D
POP PSW
MOV A, L
POP H
POP D
PUSH D
PUSH H
MOV L, A
PUSH D
POP PSW
MOV A, L
POP H
POP D
None of these
Explanation Locked!
Unlock this branch to view the explanation, track, bookmark and more.
Sign in to Unlock
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 Electronics and Communications
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.