Microchip AT32UC3L032 Manual


Læs gratis den danske manual til Microchip AT32UC3L032 (45 sider) i kategorien Ikke kategoriseret. Denne vejledning er vurderet som hjælpsom af 17 personer og har en gennemsnitlig bedømmelse på 4.5 stjerner ud af 9 anmeldelser. Har du et spørgsmål om Microchip AT32UC3L032, eller vil du spørge andre brugere om produktet?

Side 1/45
AVR Assembler
AVR Assembler
Preface
Welcome to the Microchip AVR® Assembler.
The Assembler generates fixed code allocations, consequently no linking is necessary.
The AVR Assembler is the assembler formerly known as AVR Assembler 2 (AVRASM2). The former
AVRASM distributed with AVR Studio® 4 has now been obsoleted and will not be distributed with current
products.
For documentation on the instruction set of the AVR family of microcontrollers, refer to the 8-bit AVR
Instruction Set Manual.
© 2017 Microchip Technology Inc. User Guide DS40001917A-page 1
Table of Contents
Preface............................................................................................................................ 1
1. AVR Assembler Known Issues.................................................................................. 4
2. AVR Assembler Command Line Options...................................................................7
3. Assembler Source....................................................................................................11
4. AVR Assembler Syntax............................................................................................12
4.1. Keywords....................................................................................................................................12
4.2. Preprocessor Directives............................................................................................................. 12
4.3. Comments..................................................................................................................................12
4.4. Line Continuation....................................................................................................................... 12
4.5. Integer Constants.......................................................................................................................12
4.6. Strings and Character Constants............................................................................................... 12
4.7. Multiple Instructions per Line......................................................................................................13
4.8. Operands....................................................................................................................................13
5. Assembler Directives...............................................................................................14
5.1. BYTE..........................................................................................................................................14
5.2. CSEG......................................................................................................................................... 14
5.3. CSEGSIZE................................................................................................................................. 14
5.4. DB.............................................................................................................................................. 15
5.5. DD.............................................................................................................................................. 15
5.6. DEF............................................................................................................................................ 16
5.7. DQ..............................................................................................................................................16
5.8. DSEG......................................................................................................................................... 16
5.9. DW............................................................................................................................................. 17
5.10. ELIF and ELSE...........................................................................................................................17
5.11. ENDIF.........................................................................................................................................17
5.12. ENDM and ENDMACRO............................................................................................................18
5.13. EQU............................................................................................................................................18
5.14. ERROR...................................................................................................................................... 18
5.15. ESEG......................................................................................................................................... 19
5.16. EXIT........................................................................................................................................... 19
5.17. IF, IFDEF, and IFNDEF...............................................................................................................19
5.18. INCLUDE....................................................................................................................................20
5.19. LIST............................................................................................................................................20
5.20. LISTMAC....................................................................................................................................21
5.21. MACRO......................................................................................................................................21
5.22. MESSAGE..................................................................................................................................21
5.23. NOLIST...................................................................................................................................... 22
5.24. ORG........................................................................................................................................... 22
5.25. OVERLAP and NOOVERLAP....................................................................................................23
5.26. SET............................................................................................................................................ 23
5.27. UNDEF.......................................................................................................................................23
AVR Assembler
© 2017 Microchip Technology Inc. User Guide DS40001917A-page 2


Produkt Specifikationer

Mærke: Microchip
Kategori: Ikke kategoriseret
Model: AT32UC3L032

Har du brug for hjælp?

Hvis du har brug for hjælp til Microchip AT32UC3L032 stil et spørgsmål nedenfor, og andre brugere vil svare dig