1
GATE ECE 2002
MCQ (Single Correct Answer)
+2
-0.6
Consider the following assembly language program. GATE ECE 2002 Microprocessors - Instruction Set and Programming with 8085 Question 18 English The execution of the above program in an 8085 microprocessor will result in
A
an output of 87H at port 1
B
an output of 87H at port 2
C
infinite looping of the program execution with accumulator data remaining at 00H.
D
infinite looping of the program execution with accumulator data alternating between 00H and 87H
2
GATE ECE 2002
MCQ (Single Correct Answer)
+2
-0.6
The contents of Register (B) and Accumulator (A) of 8085 microprocessor are 49H and 3AH respectively. The contents of A and the status of carry flag (CY) and sign flag (S) after executing SUB B instructions are
A
A = F1, CY = 1, S =1
B
A = 0F, CY = 1, S =1
C
A = F0, CY = 0, S =0
D
A = 1F, CY = 1, S =1
GATE ECE Subjects
EXAM MAP
Medical
NEETAIIMS
Graduate Aptitude Test in Engineering
GATE CSEGATE ECEGATE EEGATE MEGATE CEGATE PIGATE IN
Civil Services
UPSC Civil Service
Defence
NDA
Staff Selection Commission
SSC CGL Tier I
CBSE
Class 12