beautypg.com

59 a12109: illegal character at the end of line, A12109: illegal character at the end of line, Assembler messages – Motorola HC12 User Manual

Page 298

background image

User’s Manual

MCUez HC12 Assembler

298

Assembler Messages

MOTOROLA

Assembler Messages

12.3.59 A12109: Illegal Character at the End of Line

Type:

Error

Description:

An invalid character or sequence of characters is detected at the
end of an instruction. This message can be generated when:

• A comment specified after the instruction does not start with

a comment character (;).

• An additional operand is specified in the instruction.

Example:

DataSec: SECTION

var: DS.B 1

CodeSec: SECTION

LDAA var Load A with the value of ‘var’

LDAA var, #$44

Tips:

• Remove the invalid character or sequence of characters from

the line.

• Insert the start of comment character at the beginning of the

comment.

• Remove the extra operand.

Example:

DataSec: SECTION

var: DS.B 1

CodeSec: SECTION

LDAA var

;Load

A

with

the

value

of

‘var’

LDAA var