Motorola HC12 Manuale Utente

Pagina di 328
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