Note: If you use a different assembler software, you must adapt the information to your software.
7 Strings can only be used in conjunction with the DB directive or with the MESSAGE, WARNING or ERROR directives.
3 The higher the precedence, the higher the priority.
4 This operator was introduced in AVR Assembler v2.0.
5 This operator was introduced in AVR Assembler v2.1.
7 Refer to the Assembler Directives Table to a complete list of available Assembler directives.
Assembler Directives Table
A All segments of the same type will be concatenated into one single segment of that type when assembled.
C Cannot be used inside CODE segments.
D Cannot be used inside DATA segments.
I My be used in conditional assembly,
L In order to be able to refer to the reserved location, the directive should be preceded by a LABEL.
V Introduced in AVR Assembler v2.1.
Note: #pragma preprocessor directives will be treated in a separate topic.
Preprocessor Pre-defined Macros
2 Refer to the Preprocessor Directives Table for a complete list of available preprocessor directives.
3 Refer to the Preprocessor Pre-Defined Macro Table for a complete list of available preprocessor pre-defined macros.
4 Refer to the Preprocessor Pragma Directives for a complete list of available preprocessor pragma directives.
AVR Programming - Part I: Assembly Cheat Sheet (DRAFT) by bladabuska
This Cheat Sheet is part of the Ultimate AVR Cheat Sheet Project. This part of the project teaches the basic syntax of the Assembly language for AVRs and brings some tips and tricks on how to program AVR microcontrollers using Assembly language. Caution: All code examples were written to be compatible with AVRASM2 Assembler from Microchip Technology Incorporated (formerly Atmel Corporation). If you use a different assembler program, you must adapt the codes to your program syntax.