Jump to main content
Preface
1 AVR Assembler Known Issues
2 AVR Assembler Command Line Options
3 Assembler Source
5.1 BYTE
Reserves bytes for a variable.
5.2 CSEG
Code segment.
5.3 CSEGSIZE
Program Memory Size.
5.4 DB
Define constant byte(s) in program memory and EEPROM.
5.5 DD
Define constant double-word(s) in program memory and EEPROM.
5.6 DEF
Set a symbolic name on a register.
5.7 DQ
Define constant quad-word(s) in program memory and EEPROM.
5.8 DSEG
Data Segment.
5.9 DW
Define constant word(s) in program memory and EEPROM.
5.10 ELIF and ELSE
Conditional assembly.
5.11 ENDIF
Conditional assembly.
5.12 ENDM and ENDMACRO
End macro.
5.13 EQU
Set a symbol equal to an expression.
5.14 ERROR
Outputs an error message string.
5.15 ESEG
EEPROM Segment.
5.16 EXIT
Exit this file.
5.17 IF, IFDEF, and IFNDEF
Conditional assembly.
5.18 INCLUDE
Include another file.
5.19 LIST
Turn the listfile generation on.
5.20 LISTMAC
Turn macro expansion on.
5.21 MACRO
Begin macro.
5.22 MESSAGE
Output a message string.
5.23 NOLIST
Turn listfile generation OFF.
5.24 ORG
Set program origin.
5.25 OVERLAP and NOOVERLAP
Set up overlapping section.
5.26 SET
Set a symbol equal to an expression.
5.27 UNDEF
Undefine a register symbolic name.
5.28 WARNING
Outputs a warning message string.
7 Expressions
The Assembler incorporates constant expressions.
7.1 Functions
Functions defined for the assembler.
7.2 Operands
7.3 Operators
8 AVR Instruction Set
9 Revision History
Legal Disclaimer
The Microchip Web Site
Customer Change Notification Service
Customer Support
Microchip Devices Code Protection Feature
Legal Notice
Trademarks
Quality Management System Certified by DNV
Worldwide Sales and Service

The online versions of the documents are provided as a courtesy. Verify all content and data in the device’s PDF documentation found on the device product page.