> If you look in the avr-libc manual under Frequently Asked
> Questions you can find FAQ #3: "How to permanently bind a
> variable to a register".
> That allows you to assign particular registers to variables,
> although care must be used when using the avr-libc library functions.
I had fac
All,
Stu Bell wrote:
If you look in the avr-libc manual under Frequently Asked Questions you
can find FAQ #3: "How to permanently bind a variable to a register".
That allows you to assign particular registers to variables, although
care must be used when using the avr-libc library functions.
Tuesday, December 30, 2008 9:13 AM
> To: Dave Hylands; dlc
> Cc: avr-gcc List
> Subject: RE: [avr-gcc-list] On getting an ISR leaner with GCC
>
> If you look in the avr-libc manual under Frequently Asked
> Questions you can find FAQ #3: "How to permanently bind a
> variab
If you look in the avr-libc manual under Frequently Asked Questions you
can find FAQ #3: "How to permanently bind a variable to a register".
That allows you to assign particular registers to variables, although
care must be used when using the avr-libc library functions.
I agree with Dave that cal
Thanks all for the suggestions. I was tempted by the "naked" function,
but that required a total re-write mostly in assembly to get it right
and I have found that sometimes the "register" variables get slammed by
something else, so something I was doing wasn't reliable. The code
generated by
Hi Dennis,
On Fri, Dec 26, 2008 at 11:52 PM, dlc wrote:
> The subject says it all. I've an ISR that is using too many cycles for
> something that kicks every 10us. I'm very experienced with the PIC and know
> how to specify registers that are not touched outside of the ISR to avoid
> lots of "p