Motorola HC12 User Manual

Page of 328
Assembler Messages
Message Codes
MCUez HC12 Assembler
User’s Manual
MOTOROLA
Assembler Messages
263
12.3.20  A2310: Illegal Size Character
Type:
Error
Description:
An invalid size specification character is detected in a DCB,
DC, DS, FCC, FCB, FDB, RMB, XDEF, or XREF directive.
For XDEF and XREF directives, valid size specification
characters are:
.B
  for symbols located in a section where direct
addressing mode can be used
.W
  for symbols located in a section where extended
addressing mode must be used
For DCB, DC, DS, FCC, FCB, FDB, and RMB directives,
valid size specification characters are:
.B
 for byte variables
.W
  for word variables
.L
  for long variables
Example:
DataSec: SECTION
label1: DS.Q 2
ConstSec: SECTION
label2: DC.I 3, 4, 6
Tip:
Change the size specification character to a valid one.
Example:
DataSec: SECTION
label1: DS.L 2
ConstSec: SECTION
label2: DC.W 3, 4, 6