developer2112 (sent by Nabble.com) wrote:
Are re-entrant functions supported in winavr? If so, how does one go about writing one? Is there some reentrant keyword that will cause the compiler to use the stack for passing parameters instead of fixed registers?

Just because registers are used for parameter passing, doesn't make a
function any less re-entrant. To be re-entrant, just don't store persistant
state in the function such as with static variables.


_______________________________________________
AVR-chat mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-chat

Reply via email to