Hardware Stacks Question

Status
Not open for further replies.

Luis Daniel Bolaños

Member level 2
Joined
Apr 4, 2014
Messages
47
Helped
2
Reputation
4
Reaction score
2
Trophy points
8
Visit site
Activity points
342
Hello everybody,

I'm learning about the PIC16F887 and trying to understand the concept of the 8 levels stacks of memory.

As far as I understand the stacks save the return point for a subroutine to keep working. So if I have 8 levels, I could only create 8 subroutines each one inside the other, is that right?

I don't get much about the concept. I need a simple explanation.

Thanks!!
 

The following reference manual contains an in-depth discussion concerning the midrange PIC stack along with many other topics:

Reference: PICmicro MID-RANGE MCU FAMILY, Section:6.2.5 Stack, Page: 6-6



BigDog
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…