The built-in functions are interesting,
http://gcc.gnu.org/onlinedocs/gcc/AVR-Built_002din-Functions.html ,
especially __builtin_avr_insert_bits() which lets you do arbitrary bit
ordering and substitutions. Definitely worth a look.
Thanks Georg-Johann!
David
On 3/20/12, Joerg Wunsch wrote:
> R
Ruud Vlaming wrote:
> On http://gcc.gnu.org/gcc-4.7/changes.html
> i saw some very interesting changes listed
> regarding the AVR.
Well, Georg-Johann Lay was very active in pushing many
things into AVR-GCC lately. A big "Thanks!" to him!
--
cheers, J"org .-.-. --... ...--