Motorola HC12 User Manual

Page of 328
User’s Manual
MCUez HC12 Assembler
288
Assembler Messages
MOTOROLA
Assembler Messages
12.3.48  A12005: Value Must Be Between 1 and 8
Type:
Error
Description:
The expression specified in a pre-increment, post-increment,
pre-decrement, or post-decrement addressing mode is out of
the range [1...8].
Example:
STX   10, SP+
Tip:
According to the HC12 addressing mode notation, the
increment or decrement factor must be bigger than 0 and
smaller than 9.
12.3.49  A12007: Comma Expected
Type:
Error
Description:
A comma character (,) is missing between two instructions or
directive operands.
Example:
DataSec: SECTION SHORT
Data:    DS.B  1
CodeSec: SECTION
  MOVB   #$55 data
Tip:
Use the comma character as a separator between instruction
operands.
Example:
DataSec: SECTION SHORT
Data:    DS.B  1
CodeSec: SECTION
  MOVB   #$55, data