5.7 Stacks

Stacks are used for two different purposes by programs running on 8-bit PIC devices: one stack is for storing function return addresses and one or two other stacks are used for data allocation.