123
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
Section 3: Assembler
3. Assembler ............................................................................................129
3.1. Introduction ......................................................................................................129
3.1.1. Overview.............................................................................................................129
3.1.2. Prerequisite Reading..........................................................................................130
3.1.3. Notational Conventions ......................................................................................131
3.2. Invocation.........................................................................................................131
3.2.1. Command Line Syntax .......................................................................................132
3.2.2. Command Line Flags .........................................................................................132
3.2.3. File Name Conventions ......................................................................................136
3.2.4. Environment Variables .......................................................................................136
3.2.5. Invocation Examples ..........................................................................................137
3.3. Assembly Language.........................................................................................137
3.3.1. Overview.............................................................................................................138
3.3.2. Assembler Statements .......................................................................................138
3.3.2.1. Statement Syntax (asm68)....................................................................138
3.3.2.2. Statement Syntax (asm68k) ..................................................................139
3.3.3. Character Set .....................................................................................................140
3.3.4. Sections..............................................................................................................140
3.3.4.1. Section Types........................................................................................140
3.3.4.2. Creating Sections ..................................................................................141
3.3.4.3. Location Counter ...................................................................................141
3.3.4.4. Structure Templates ..............................................................................141
3.3.5. Symbols..............................................................................................................141
3.3.5.1. Symbol Syntax.......................................................................................142
3.3.5.2. Labels....................................................................................................143
3.3.5.3. Symbol Assignment...............................................................................143
3.3.5.4. Comm and Lcomm Symbols .................................................................144
3.3.5.5. Undefined Symbols ...............................................................................144
3.3.5.6. Compiler Locals.....................................................................................145
3.3.5.7. Floating-Point Symbols..........................................................................145