1
GATE ECE 2007
MCQ (Single Correct Answer)
+2
-0.6
An 8085 assembly language program is given below.
Line 1: MVI A, B5H
2: MVI B, 0EH
3: XRI 69H
4: ADD B
5: ANI 9BH
6: CPI 9FH
7: STA 3010H
8: HLT
Line 1: MVI A, B5H
2: MVI B, 0EH
3: XRI 69H
4: ADD B
5: ANI 9BH
6: CPI 9FH
7: STA 3010H
8: HLT
After execution of line of the program, the status of the CY and Z flags will be
2
GATE ECE 2006
MCQ (Single Correct Answer)
+2
-0.6
Following is the segment of a 8085 assembly Language program:
LXI SP, EFFF H
CALL 3000 H
3000H: LXI H, 3CF4H
PUSH PSW
SPHL
POP PSW
RET
LXI SP, EFFF H
CALL 3000 H
3000H: LXI H, 3CF4H
PUSH PSW
SPHL
POP PSW
RET
On completion of RET execution, the contents of SP is
3
GATE ECE 2005
MCQ (Single Correct Answer)
+2
-0.6
Consider an 8085 microprocessor system
The following program starts at locaton 0100H.
LXI SP, 00FF
LXI H, 0107
MVI A, 20H
SUB M
The contents of accumulator wnen the program counter reaches 0109H is
4
GATE ECE 2005
MCQ (Single Correct Answer)
+2
-0.6
Consider an 8085 microprocessor system
If in addition following code exists from 0109H onwards ORI 40H, ADD M What will be the result in the accumulator after the last instruction is executed
GATE ECE Subjects
Browse all chapters by subject
Control Systems
Engineering Mathematics
Analog Circuits
Network Theory
Electromagnetics
Electronic Devices and VLSI
Digital Circuits
Microprocessors
Signals and Systems
Discrete Fourier Transform and Fast Fourier Transform Discrete Time Signal Fourier Series Fourier Transform Continuous Time Signal Laplace Transform Fourier Transform Representation of Continuous Time Signal Fourier Series Transmission of Signal Through Continuous Time LTI Systems Miscellaneous Sampling Continuous Time Linear Invariant System Discrete Time Linear Time Invariant Systems Discrete Time Signal Z Transform Transmission of Signal Through Discrete Time Lti Systems
Communications
General Aptitude