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 <j...@uriah.heep.sax.de> wrote: > Ruud Vlaming <r...@betaresearch.nl> 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 .-.-. --... ...-- -.. . DL8DTL > > http://www.sax.de/~joerg/ NIC: JW11-RIPE > Never trust an operating system you don't have sources for. ;-) > > _______________________________________________ > AVR-GCC-list mailing list > AVR-GCC-list@nongnu.org > https://lists.nongnu.org/mailman/listinfo/avr-gcc-list > _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-gcc-list