Skip to content
Question Bank (1 mark) · Q4

Q.What is a stack pointer?

Karnataka PUCTextbookShort· 1mImportance★★★★★est
18% · 21/115 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

[!TLDR]

SP is an 8-bit register pointing to the current top of the stack in internal RAM.

When data is PUSHed or a subroutine is CALLed, the return address or data is saved on the stack; the stack pointer keeps track of where the top of the stack is. It increments on a push and decrements on a pop. On reset the 8051's SP …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.