its FF (H)
The stack pointer is 16 bits in size on the 8085 because that is how Intel designed it. The address bus is also 16 bits, so it made sense for the program and stack to be located anywhere in that address space.
The program counter (PC) and stack pointer (SP) registers are 16-bit registers in the 8085 and in the 8086/8088 because that is how Intel designed the processors.
The POP H instruction in the 8085 copies the top of stack to the HL register and then increments the stack pointer by 2. In C pseudo code, the sequence is L = *(SP++); H = *(SP++);
The various 16-bit registers on the 8085 are BC, DE, HL, SP, PC.
STACK operation in 8085 microprocessor.The stack is a reserved area of the memory in RAM where temporary information may be stored. An 8-bit stack pointer is used to hold the address of the most recent stack entry. This location which has the most recent entry is called as the top of the stack.When the information is written on the stack, the operation is called PUSH. When the information is read from the stack, the operation is called POP. The stack works on the principle of Last in First Out or Fist in Lat Out
Program Counter( PC)stores the 16-bit memory address of the next instruction to be fetched. Stack Pointer (SP)stores the address of a memory location which is used as a stack.
STACK operation in 8085 microprocessor.The stack is a reserved area of the memory in RAM where temporary information may be stored. An 8-bit stack pointer is used to hold the address of the most recent stack entry. This location which has the most recent entry is called as the top of the stack.When the information is written on the stack, the operation is called PUSH. When the information is read from the stack, the operation is called POP. The stack works on the principle of Last in First Out or Fist in Lat Out
Because Intel designed it that way. The 8085 was designed as a 8 bit computer in a 16 bit address space. This means that the PC (Program Counter) and SP (Stack Pointer) should be 16 bits in size.
XTHL == eXchange Top of stack with HL
4 states for opcode fetch and decode 3 states for each byte to retrieve the target (call) address 3 states for each byte of PC to push on the stack 1 state for each decrement of the stack pointer
Stack/explicit.
stack register is a special purpose register.