Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4923

[AVR] about Stack pointer

$
0
0
Hi,
Since the size of the stack pointer depends on the amount of data memory a microntroller contains
I want to understand what happens when stack pointer meets user's data in SRAM :eek:
If it's true that SP points to next available location, in the event that no memory location were available , what happens ?


Edit:
is that called overflow Stack ?
what is the underflow stack ?
Thanks

Viewing all articles
Browse latest Browse all 4923

Trending Articles