$$\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
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
$$\eqalign{ & XRA\,\,\,A \cr & MVI\,\,\,B\,\,\,F0\,\,\,H \cr & SUB\,\,\,B \cr} $$
![GATE EE 2008 Digital Electronics - Microprocessor Question 9 English](https://imagex.cdn.examgoal.net/N32SM1kpxO15jThUf/YTuiQojT8Ohq8RtISCbdLZby74Gws/Vsrgc6ozZHDh6ypONAm6eE/image.png)
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