English

Explain Stack pointer (SP). - Computer Science 2

Advertisements
Advertisements

Question

Explain Stack pointer (SP).

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

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

APPEARS IN

Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×