48 a12005: value must be between 1 and 8, 49 a12007: comma expected, A12005: value must be between 1 and 8 – Motorola HC12 User Manual

Page 288: A12007: comma expected, Assembler messages

Advertising
background image

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

Advertising