Possible documentation error

General discussion on mikroBasic PRO for AVR.
Post Reply
Author
Message
stevech
Posts: 38
Joined: 20 Aug 2007 16:47

Possible documentation error

#1 Post by stevech » 15 Oct 2010 05:07

The help file says
Functions reentrancy
Functions [sic] reentrancy is allowed. Remember that the AVR has memory limitations that can vary between MCUs.
This is also said, and it is probably incorrect, being relevant for non-AVR microprocessors, or any microprocessor with with no RAM, only registers.
Divergence from the Basic Standard
Function recursion is not supported because of no easily-usable stack and limited memory
Indeed, I compiled recursive calls for procedures and functions, including some with more parameters than can fit in registers, and it looked to me as if the compiler correctly used stack frames in recursion. Perhaps the document's statement applies to PIC.

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Possible documentation error

#2 Post by filip » 15 Oct 2010 12:13

Hi,

I have notified our help developers regarding this issue,
and they will solve it as soon as possible.

Thank you for your feedback.

Regards,
Filip.

stevech
Posts: 38
Joined: 20 Aug 2007 16:47

Re: Possible documentation error

#3 Post by stevech » 16 Oct 2010 01:05

To clarify: the problem seems to be in the user help file words, not the compiler implementation.

Post Reply

Return to “mikroBasic PRO for AVR General”