On Sunday 04 May 2008 08:33, Dmitry K. wrote:
> We have 3 variants of SFR usage:
>   1. This is default for C/C++.  Port names are like common variables.
>   2. Port names are defined as ordinary numbers, suitable to use with
>   IN/OUT instructions.
>   3. Port names are defined as ordinary numbers (addresses), suitable
>   to use with LDS/STS instruction.
[...]
> Also, I prefer to have default for ASM the variant #3: this is compatible
> with old programs and corresponds to Atmel's datasheet examples. However,
> it too late to change.

Misprint, read above as:
> Also, I prefer to have default for ASM the variant #2: this is compatible

Variant #3 is default for ASM now.

Dmitry.



_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to