39 a2333: forward reference not allowed, A2333: forward reference not allowed – Motorola HC12 User Manual

Page 279

Advertising
background image

Assembler Messages

Message Codes

MCUez HC12 Assembler

User’s Manual

MOTOROLA

Assembler Messages

279

12.3.39 A2333: Forward Reference not Allowed

Type:

Error

Description:

A forward reference has been detected in an EQU instruction.
This is not allowed.

Example:

CstSec: SECTION

label: DCB.B 10, $61

equLab: EQU label2

...

label2: DC.W $6754

Tip:

Move the EQU after the definition of the label it refers to.

Example:

CstSec: SECTION

label: DCB.B 10, $61

...

label2: DC.W $6754

equLab: EQU label2 + 1

Advertising