Explain Stack pointer (SP).
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