Motorola HC12 User Manual

Page of 328
Assembler Directives
Introduction
MCUez HC12 Assembler
User’s Manual
MOTOROLA
Assembler Directives
161
8.2  Introduction
This chapter introduces assembler directives. Functional descriptions and
examples for each directive are provided. The following tables give an
overview of the different directives.
8.2.1  Section Definition Directives
The directives in
8.2.2  Constant Definition Directives
The directives in
8.2.3  Data Allocation Directives
The directives in
Table 8-1. Section Directives
Directive
Description
ORG
Defines an absolute section
SECTION
Defines a relocatable section
OFFSET
Defines an offset section
Table 8-2. Constant Directives
Directive
Description
EQU
Assigns a name to an expression, cannot be redefined
SET
Assigns a name to an expression, can be redefined
Table 8-3. Data Allocation Directives
Directive
Description
DC
Defines a constant variable
DCB
Defines a constant block
DS
Defines storage for a variable