28 a2320: value too small, A2320: value too small – Motorola HC12 User Manual

Page 269

Advertising
background image

Assembler Messages

Message Codes

MCUez HC12 Assembler

User’s Manual

MOTOROLA

Assembler Messages

269

12.3.28 A2320: Value too Small

Type:

Error

Description:

The absolute expression specified in a directive is too small.

This message can be generated if:

• The expression specified in an ALIGN, DCB, or DS

directive is smaller than 1.

• The expression specified in a PLEN directive is smaller than

10. A header is generated on the top of each page from the
listing file. This header contains at least six lines. So a page
length smaller than 10 lines is not feasible.

• The expression specified in an LLEN, SPC, or TABS

directive is smaller than 0 (negative).

Example:

PLEN 5

LLEN -4

dataSec: SECTION

ALIGN 0

label1: DS.W 0

Tip:

Modify the absolute expression to a value in the range specified
in the explanation in

12.3.29 A2321: Value too Big

.

Example:

PLEN 50

LLEN 40

dataSec: SECTION

ALIGN 8

label1: DS.W 1

Advertising