Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] Differences between C compilers

2005-08-18 by Dave Hylands

Hi Dennis,

>    Other that that, I find that GCC-AVR does a pretty good job of code
> density - I just don't like the variable referencing and sloppy (or
> perhaps overly hand-holding) job it does with ISR's.

I've noticed that one way to get better ISR's is to ensure that your
ISR doesn't call any other functions (except for inline ones). As soon
as you call another function, the compiler has to save/restore a pile
more registers than if you don't call any other functions.

Just an observation....

-- 
Dave Hylands
Vancouver, BC, Canada
http://www.DaveHylands.com/

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.