Motorola HC12 User Manual
Page 14

User’s Manual
MCUez HC12 Assembler
14
Table of Contents
MOTOROLA
Table of Contents
Macro Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
Labels Inside Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
Macro Expansion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
Nested Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
Section 10. Assembler Listing File
Absolute (Abs.) Listing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
Relative (Rel.) Listing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
Location (Loc.) Listing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213
Object (Obj.) Code Listing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
Source Line Listing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
Section 11. Operating Procedures
Working with Absolute Sections . . . . . . . . . . . . . . . . . . . . . . . . . 218
Defining Absolute Sections in the Assembly Source File . . . . . . 218
Linking an Application Containing Absolute Sections . . . . . . . . 219
Working with Relocatable Sections . . . . . . . . . . . . . . . . . . . . . . . . . 221
Defining Relocatable Sections in the Assembly Source File. . . . 221
Linking an Application Containing Relocatable Sections . . . . . . 222
Initializing the Vector Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
Initializing the Vector Table in the Linker PRM File . . . . . . . . . 224
Initializing Vector Table in Assembly Source Files
Using a Relocatable Section . . . . . . . . . . . . . . . . . . . . . . . . . . 225
Initializing the Vector Table in the Assembly Source File
Using an Absolute Section . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
Splitting an Application into Different Modules . . . . . . . . . . . . . . . 231