Motorola HC12 User Manual

Page of 328
Operating Procedures
Directly Generating an .abs File
MCUez HC12 Assembler
User’s Manual
MOTOROLA
Operating Procedures
235
11.6.5  Using SHORT Sections
Symbols defined in a section with the qualifier
SHORT
 are always accessed
using the direct addressing mode.
Example:
……
shortSec:SECTION SHORT
DirLabel: DS.B 3
dataSec: SECTION
ExtLabel: DS.B 5
codeSec: SECTION
     LDD   DirLabel ; Direct addressing mode is used.
     LDD   ExtLabel ; Extended addressing mode is used.
11.7  Directly Generating an .abs File
The MCUez assembler generates an .abs file directly from an assembly source
file. A Motorola S file is generated at the same time and can be directly burnt
into an EPROM.