beautypg.com

37 a2330: string is not allowed, A2330: string is not allowed – Motorola HC12 User Manual

Page 277

background image

Assembler Messages

Message Codes

MCUez HC12 Assembler

User’s Manual

MOTOROLA

Assembler Messages

277

12.3.37 A2330: String is not Allowed

Type:

Error

Description:

A string has been specified as the initial value in a DCB
directive. The initial value for a constant block can be any byte,
word, or long absolute expression as well as a simple
relocatable expression.

Example:

CstSec: SECTION

label: DCB.B 10, “aaaaa”

Tip:

Specify the ASCII code associated with the characters in the
string as the initial value.

Example:

CstSec: SECTION

label: DCB.B 5, $61