Explain Stack pointer (SP). - Computer Science 2

Advertisement Remove all ads
Advertisement Remove all ads
Advertisement Remove all ads

Explain Stack pointer (SP).

Advertisement Remove all ads

Solution

Stack pointer (SP) :
(a) Stack pointer is a 16-bit register, which contains the address of stack top. i.e. the memory address of last byte entered in stack.
(b) With the help of incrementer/decrementer, the stack pointer is decremented each time data is pushed onto stack and incremented each time data is popped off the stack

Concept: Instruction Set and Programming of 8085
  Is there an error in this question or solution?
2015-2016 (March)

APPEARS IN

Share
Notifications

View all notifications


      Forgot password?
View in app×