1
GATE EE 2011
MCQ (Single Correct Answer)
+2
-0.6
A portion of the main program to call a subroutine $$SUB$$ in an $$8085$$ environment is given below:
$$\eqalign{ & LXI\,\,\,\,\,\,\,\,\,\,\,\,\,D\,\,\,DISP \cr & LP\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,CALL\,\,\,SUB \cr} $$

It is desired that control be returned to $$LP+DISP+3$$ when the $$RET$$ instruction is executed in the subroutine. The set of instructions that precede the $$RET$$ instruction in the subroutine are

A
$$\eqalign{ & POP\,\,\,D \cr & DAD\,\,\,H \cr & PUSH\,\,\,D \cr} $$
B
$$\eqalign{ & POP\,\,\,H \cr & DAD\,\,\,D \cr & INX\,\,\,H \cr & INX\,\,\,H \cr & INX\,\,\,H \cr & PUSH\,\,\,H \cr} $$
C
$$\eqalign{ & POP\,\,\,H \cr & DAD\,\,\,D \cr & PUSH\,\,\,H \cr} $$
D
$$\eqalign{ & XTHL \cr & INX\,\,\,D \cr & INX\,\,\,D \cr & INX\,\,\,D \cr & XTHL \cr} $$
2
GATE EE 2010
MCQ (Single Correct Answer)
+2
-0.6
When a $$''CALL$$ $$addr'$$ instruction is executed, the $$CPU$$ carries out the following sequential operations internally.

Note:
$$(R)$$ means content of register $$R$$
$$\left( {\left( R \right)} \right)$$ means content of memory locating pointed by $$R$$
$$PC$$ means Program Counter
$$SP$$ means Stack Pointer

A
$$\eqalign{ & \left( {SP} \right)\,\,\,\,\,\,\,incremented \cr & \left( {PC} \right)\,\,\,\,\,\, \leftarrow \left( {Addr} \right) \cr & \left( {\left( {SP} \right)} \right) \leftarrow \left( {PC} \right) \cr} $$
B
$$\eqalign{ & \left( {PC} \right)\,\,\,\,\,\, \leftarrow \left( {Addr} \right) \cr & \left( {\left( {SP} \right)} \right) \leftarrow \left( {PC} \right) \cr & \left( {SP} \right)\,\,\,\,\,\,\,incremented \cr} $$
C
$$\eqalign{ & \left( {PC} \right)\,\,\,\,\,\, \leftarrow \left( {Addr} \right) \cr & \left( {SP} \right)\,\,\,\,\,\,\,incremented \cr & \left( {\left( {SP} \right)} \right) \leftarrow \left( {PC} \right) \cr} $$
D
$$\eqalign{ & \left( {\left( {SP} \right)} \right) \leftarrow \left( {PC} \right) \cr & \left( {SP} \right)\,\,\,\,\,\,\,incremented \cr & \left( {PC} \right)\,\,\,\,\,\, \leftarrow \left( {Addr} \right) \cr} $$
3
GATE EE 2009
MCQ (Single Correct Answer)
+2
-0.6
In $$8085$$ microprocessor, the contents of the Accumulator, after the following instructions are executed will become

$$\eqalign{ & XRA\,\,\,A \cr & MVI\,\,\,B\,\,\,F0\,\,\,H \cr & SUB\,\,\,B \cr} $$

A
$$01$$ $$H$$
B
$$0F$$ $$H$$
C
$$F0$$ $$H$$
D
$$10$$ $$H$$
4
GATE EE 2008
MCQ (Single Correct Answer)
+2
-0.6
The contents (in Hexadecimal) of some of the memory locations in an $$8085A$$ based system are given below GATE EE 2008 Digital Electronics - Microprocessor Question 9 English

The contents of stack pointer $$(SP),$$ program counter $$(PC)$$ and $$(HL)$$ are $$270H,$$ $$2100H$$ and $$0000H$$ respectively. When the following sequence of instructions are executed,
$$2100H:$$ $$DAD$$ $$SP$$
$$2101H;$$ $$PCHL$$

The contents of $$(SP)$$ and $$(PC)$$ at the end of execution will be

A
$$\left( {PC} \right) = 2102H,\,\,\left( {SP} \right) = 2700H$$
B
$$\left( {PC} \right) = 2700H,\,\,\left( {SP} \right) = 2700H$$
C
$$\left( {PC} \right) = 2800H,\,\,\left( {SP} \right) = 26FEH$$
D
$$\left( {PC} \right) =2A02H,\,\,\left( {SP} \right) = 2702H$$
GATE EE 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