Anyone know what the size of the subroutine stack is for the 18F2620?
Joe
Anyone know what the size of the subroutine stack is for the 18F2620?
Joe
Thanks Bruce! How about the 16F687, which I'm trying to make interchangeable PBP code for?
Hi Joe,
The return stack for 14-bit core is 8 levels deep.
In the data sheet look in the Program Memory Organization section for stack
size information.
Yes, I saw that the PIC stack is 8 levels deep, but what is the PBP subroutine maximum stack depth (nesting)?
Hi Joe,
Subroutine nesting is normally restricted to 4 levels deep on 14-bit core, and
27 levels deep for 18Xxxx parts.
Look in the manual under GOSUB.
Bookmarks