Explain Stack pointer (SP). - Computer Science 2

Advertisements
Advertisements

Explain Stack pointer (SP).

Advertisements

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



      Forgot password?
Use app×