Introduction of the term stack pointer register

Give brief introduction of the term stack pointer register?

E

Expert

Verified

  • The Stack pointer is a sixteen bit register employed to point at the stack.
  • In read write memory the positions at that impermanent data and return addresses are stored is named as the stack.
  • In easy words stack acts like an auto decrement facility in the system.
  • The initialization of the stack top is completed with the aid of an instruction LXI SP.
  • So as to prevent program crashes a program must always be written at one end and initialized at the other.

   Related Questions in Basic Computer Science

©TutorsGlobe All rights reserved 2022-2023.