Használati útmutató Microchip AT32UC3C1512C

Olvassa el alább 📖 a magyar nyelvű használati útmutatót Microchip AT32UC3C1512C (45 oldal) a nincs kategorizálva kategóriában. Ezt az útmutatót 4 ember találta hasznosnak és 2 felhasználó értékelte átlagosan 4.5 csillagra

Oldal 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
5.28. WARNING.................................................................................................................................. 24
6. Preprocessor........................................................................................................... 25
6.1. #define........................................................................................................................................25
6.2. #undef........................................................................................................................................ 25
6.3. #ifdef...........................................................................................................................................26
6.4. #ifndef.........................................................................................................................................26
6.5. #if and #elif.................................................................................................................................26
6.6. #else...........................................................................................................................................27
6.7. #endif..........................................................................................................................................27
6.8. #error, #warning, and #message................................................................................................27
6.9. #include...................................................................................................................................... 28
6.10. #pragma, General Purpose........................................................................................................28
6.11. #pragma, AVR Part Related....................................................................................................... 29
6.12. # (empty directive)......................................................................................................................30
6.13. Operators................................................................................................................................... 30
6.13.1. Stringification (#)..........................................................................................................30
6.13.2. Concatenation (##)...................................................................................................... 31
6.14. Pre-defined Macros....................................................................................................................31
7. Expressions............................................................................................................. 33
7.1. Functions....................................................................................................................................33
7.2. Operands....................................................................................................................................33
7.3. Operators................................................................................................................................... 34
8. AVR Instruction Set..................................................................................................40
9. Revision History.......................................................................................................41
The Microchip Web Site................................................................................................ 42
Customer Change Notification Service..........................................................................42
Customer Support......................................................................................................... 42
Microchip Devices Code Protection Feature................................................................. 42
Legal Notice...................................................................................................................43
Trademarks................................................................................................................... 43
Quality Management System Certified by DNV.............................................................44
Worldwide Sales and Service........................................................................................45
AVR Assembler
© 2017 Microchip Technology Inc. User Guide DS40001917A-page 3

Termékspecifikációk

Márka: Microchip
Kategória: nincs kategorizálva
Modell: AT32UC3C1512C

Szüksége van segítségre?

Ha segítségre van szüksége Microchip AT32UC3C1512C, tegyen fel kérdést alább, és más felhasználók válaszolnak Önnek




Útmutatók nincs kategorizálva Microchip

Útmutatók nincs kategorizálva

Legújabb útmutatók nincs kategorizálva