
Preliminary
3.8 Symbols ............................................................................................................ 47
3.8.1 Labels ...................................................................................................... 47
3.8.2 Local Labels ............................................................................................... 47
3.8.3 Symbolic Constants ...................................................................................... 50
3.8.4 Defining Symbolic Constants (-ad Option) ............................................................ 50
3.8.5 Predefined Symbolic Constants ........................................................................ 51
3.8.6 Substitution Symbols ..................................................................................... 53
3.9 Expressions ........................................................................................................ 54
3.9.1 Operators .................................................................................................. 54
3.9.2 Expression Overflow and Underflow ................................................................... 54
3.9.3 Well-Defined Expressions ............................................................................... 55
3.9.4 Conditional Expressions ................................................................................. 55
3.9.5 Legal Expressions ........................................................................................ 55
3.9.6 Expression Examples .................................................................................... 55
3.10 Source Listings .................................................................................................... 57
3.11 Debugging Assembly Source .................................................................................... 58
3.12 Cross-Reference Listings ........................................................................................ 60
4 Assembler Directives ................................................................................................ 61
4.1 Directives Summary .............................................................................................. 62
4.2 Directives That Define Sections ................................................................................. 65
4.3 Directives That Initialize Constants ............................................................................. 67
4.4 Directives That Perform Alignment and Reserve Space ..................................................... 68
4.5 Directives That Format the Output Listings .................................................................... 69
4.6 Directives That Reference Other Files ......................................................................... 70
4.7 Directives That Enable Conditional Assembly ................................................................. 71
4.8 Directives That Define Unions or Structures ................................................................... 72
4.9 Directives That Define Symbols at Assembly Time ........................................................... 74
4.10 Miscellaneous Directives ......................................................................................... 75
4.11 Directives Reference .............................................................................................. 76
5 Macro Language ..................................................................................................... 127
5.1 Using Macros ..................................................................................................... 128
5.2 Defining Macros .................................................................................................. 128
5.3 Macro Parameters/Substitution Symbols ..................................................................... 129
5.3.1 Directives That Define Substitution Symbols ........................................................ 130
5.3.2 Built-In Substitution Symbol Functions ............................................................... 132
5.3.3 Recursive Substitution Symbols ...................................................................... 133
5.3.4 Forced Substitution ..................................................................................... 133
5.3.5 Accessing Individual Characters of Subscripted Substitution Symbols .......................... 134
5.3.6 Substitution Symbols as Local Variables in Macros ............................................... 135
5.4 Macro Libraries ................................................................................................... 136
5.5 Using Conditional Assembly in Macros ....................................................................... 137
5.6 Using Labels in Macros ......................................................................................... 139
5.7 Producing Messages in Macros ............................................................................... 140
5.8 Using Directives to Format the Output Listing ............................................................... 141
5.9 Using Recursive and Nested Macros ......................................................................... 141
5.10 Macro Directives Summary ..................................................................................... 142
6 Archiver Description ............................................................................................... 145
6.1 Archiver Overview ............................................................................................... 146
4 Contents SPRU186P – October 2006
Submit Documentation Feedback
- 1
- 2
前往页