Practice over 1000+ GATE-level questions from this topic!
Designed to match the latest GATE pattern with topic-wise precision, difficulty tagging, and detailed solutions.
The contents (in Hexadecimal) or some of the memory locations in an 8085A based system are given below:

The contents of stack pointer (SP), program counter (PC) and (HL) are 2700H, 2100H and 0000H respectively. When the following sequence of instructions are executed,

The contents of (SP) and (PC) at the end of execution will be
(PC) = 2102H, (SP) = 2700H
(PC) = 2700H, (SP) = 2700H
(PC) = 2800H, (SP) = 26FEH
(PC) = 2A02H, (SP) = 2702H
DAD SP : Add the contents of SP register to the HL register pair and store the result in HL register pair.
HL = HL + SP = 2700H
PCHL: Load the Program Counter with the contents of HL register pair.
PC = HL = 2700H
Hence, after execution of these instructions the contents of both SP and PC is 2700H.