Hi. The common X-less AVR has a set of 16-bit registers (those have 16-bit atomic access). This registers are listed implicitly, for example, with ATmega48p they are: TCNT1, OCR1A/B, ICR1, TCNT2, ...
But the 'ATxmega A manual' says (page 9): ... each 16-bit register has an 8-bit register for temporary storing the high byte... Is it true with SP? If so it is needed to verify all sources: low byte must read first, high byte must write first. Thanks, Dmitry. _______________________________________________ AVR-libc-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-libc-dev
