32 a2325: comma or line end expected, A2325: comma or line end expected – Motorola HC12 User Manual

Page 273

Advertising
background image

Assembler Messages

Message Codes

MCUez HC12 Assembler

User’s Manual

MOTOROLA

Assembler Messages

273

12.3.32 A2325: Comma or Line End Expected

Type:

Error

Description:

An incorrect syntax has been detected in a DC, FCB, FDB,
XDEF, PUBLIC, GLOBAL, XREF, or EXTERNAL directive.
This error message is generated when the values listed in one
of the directives are not terminated by an end of line character
or when they are not separated by a comma (,) character.

Example:

XDEF aa1 aa2 aa3 aa4

XREF bb1, bb2, bb3, bb4 This is a comment

dataSec: SECTION

dataLab1: DC.B 2 | 4 | 6 | 8

dataLab2: FCB 45, 66, 88 label3:DC.B 4

Tip:

Use the comma character as a separator between the different
items in the list or insert an end of line character at the end of
the list.

Example:

XDEF aa1, aa2, aa3, aa4

XREF bb1, bb2, bb3, bb4 ;This is a comment

dataSec: SECTION

dataLab1: DC.B 2, 4, 6, 8

dataLab2: FCB 45, 66, 88

label3: DC.B 4

Advertising