banner image
Sedang Dalam Perbaikan

How value of Stack pointer Chages?

How value of Stack pointer (SP) changes after every PUSH or POP instructions?


Whenever an element is pushed on the stack SP is decremented by two and when we pop from it, it increments by 2 as in case of decrementing stack. A decrementing stack moves from higher addresses to lower addresses as elements are added in it
How value of Stack pointer Chages? How value of Stack pointer Chages? Reviewed by MCH on December 25, 2012 Rating: 5

No comments:

Powered by Blogger.