21 a2311: symbol name expected, 22 a2312: string expected, A2311: symbol name expected – Motorola HC12 User Manual

Page 264: A2312: string expected, Assembler messages

Advertising
background image

User’s Manual

MCUez HC12 Assembler

264

Assembler Messages

MOTOROLA

Assembler Messages

12.3.21 A2311: Symbol Name Expected

Type:

Error

Description:

A symbol name is missing after an XDEF, XREF, IFDEF, or
IFNDEF directive.

Example:

XDEF $5645

XREF ; This is a comment

CodeSec: SECTION

IFDEF $5634

Tip:

Insert a symbol name at the requested position.

Example:

XDEF exportedSymbol

XREF importedSymbol; This is a comment

CodeSec: SECTION

IFDEF changeBank

12.3.22 A2312: String Expected

Type:

Error

Description:

A character string is expected at the end of an FCC, IFC, or
IFNC directive.

Example:

expr: EQU $5555

expr2: EQU 5555

DataSec: SECTION

label: FCC expr

CodeSec: SECTION

IFC expr, expr2

Tip:

Insert a character string at the requested position.

Example:

expr: EQU $5555

expr2: EQU 5555

DataSec: SECTION

label: FCC “This is a string”

Advertising