1
GATE ECE 2008
MCQ (Single Correct Answer)
+2
-0.6
An 8085 executes the following instructions
2710 LXI H, 30A0H
DAD H
PCHL
2710 LXI H, 30A0H
DAD H
PCHL
All addresses and constants are in Hex. Let PC be the contents of the program counter and HL be the contents of the HL register pair just after executing PCHL.
Which of the following statements is correct.2
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
The contents of the accumulator just after execution of the ADD instruction in line 4 will be
3
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
4
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
Questions Asked from Instruction Set and Programming with 8085 (Marks 2)
Number in Brackets after Paper Indicates No. of Questions
GATE ECE Subjects
Network Theory
Control Systems
Electronic Devices and VLSI
Analog Circuits
Digital Circuits
Microprocessors
Signals and Systems
Representation of Continuous Time Signal Fourier Series Discrete Time Signal Fourier Series Fourier Transform Discrete Time Signal Z Transform Continuous Time Linear Invariant System Transmission of Signal Through Continuous Time LTI Systems Discrete Time Linear Time Invariant Systems Sampling Continuous Time Signal Laplace Transform Discrete Fourier Transform and Fast Fourier Transform Transmission of Signal Through Discrete Time Lti Systems Miscellaneous Fourier Transform
Communications
Electromagnetics
General Aptitude