User’s Manual MCUez HC12 Assembler
12 Table of Contents MOTOROLA
Table of Contents
Section 8. Assembler Directives
8.1 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
8.2 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
8.2.1 Section Definition Directives. . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
8.2.2 Constant Definition Directives. . . . . . . . . . . . . . . . . . . . . . . . . . . 161
8.2.3 Data Allocation Directives. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
8.2.4 Symbol Linkage Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
8.2.5 Assembly Control Directives. . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
8.2.6 Listing File Control Directives . . . . . . . . . . . . . . . . . . . . . . . . . . 163
8.2.7 Macro Control Directives. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
8.2.8 Conditional Assembly Directives . . . . . . . . . . . . . . . . . . . . . . . . 164
8.3 ABSENTRY — Application Entry Point. . . . . . . . . . . . . . . . . . . . . 165
8.4 ALIGN — Align Location Counter . . . . . . . . . . . . . . . . . . . . . . . . . 166
8.5 BASE — Set Number Base . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
8.6 CLIST — List Conditional Assembly . . . . . . . . . . . . . . . . . . . . . . . 168
8.7 DC — Define Constant. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
8.8 DCB — Define Constant Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
8.9 DS — Define Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
8.10 ELSE — Conditional Assembly . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
8.11 END — End Assembly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
8.12 ENDIF — End Conditional Assembly . . . . . . . . . . . . . . . . . . . . . . . 176
8.13 ENDM — End Macro Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
8.14 EQU — Equate Symbol Value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
8.15 EVEN — Force Word Alignment. . . . . . . . . . . . . . . . . . . . . . . . . . . 178
8.16 FAIL — Generate Error Message. . . . . . . . . . . . . . . . . . . . . . . . . . . 179
8.17 IF — Conditional Assembly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
8.18 IFCC — Conditional Assembly . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
8.19 INCLUDE — Include Text from Another File. . . . . . . . . . . . . . . . . 185