What is the function of the Stack Pointer (SP) in the 8085 microprocessor ?
2025
What is the function of the Stack Pointer (SP) in the 8085 microprocessor ?
- A.
Points to the next instruction to be executed
- B.
Points to the top of the stack in memory
- C.
Holds the address of the data to be fetched
- D.
Holds the data to be processed
Attempted by 82 students.
Show answer & explanation
Correct answer: B
The Stack Pointer (SP) is a 16-bit register that holds the address of the topmost element in the stack.