4 symbol linkage directives, 5 assembly control directives, Symbol linkage directives – Motorola HC12 User Manual

Page 162: Assembly control directives, Assembler directives

Advertising
background image

User’s Manual

MCUez HC12 Assembler

162

Assembler Directives

MOTOROLA

Assembler Directives

8.2.4 Symbol Linkage Directives

The directives in

Table 8-4

export or import global symbols.

8.2.5 Assembly Control Directives

The general-purpose directives in

Table 8-5

control the assembly process.

Table 8-4. Symbol Linkage Directives

Directive

Description

ABSENTRY

Specifies the application entry point when an absolute file is

generated

XDEF

Makes a symbol public, visible from outside

XREF

Imports reference to an external symbol

XREFB

Imports reference to an external symbol located on the direct page

Table 8-5. Assembly Control Directives

Directive

Description

ALIGN

Defines alignment constraint

BASE

Specifies default base for constant definition

END

End of assembly unit

EVEN

Defines 2-byte alignment constraint

FAIL

Generates user-defined error or warning messages

INCLUDE

Includes text from another file

LONGEVEN

Defines 4-byte alignment constraint

Advertising