38 a2332: fail found, A2332: fail found, Assembler messages – Motorola HC12 User Manual

Page 278

Advertising
background image

User’s Manual

MCUez HC12 Assembler

278

Assembler Messages

MOTOROLA

Assembler Messages

12.3.38 A2332: FAIL Found

Type:

Warning

Description:

The FAIL directive followed by a number bigger than 500 has
been detected in the source file. This is the normal behavior for
the FAIL directive. The FAIL directive is intended for use with
conditional assembly to detect a user-defined error or warning
condition.

Example:

cpChar: MACRO

IFC "\1", ""

FAIL 200 ; Error

MEXIT

ELSE

LDD \1

ENDIF

IFC "\2", ""

FAIL 600 ; Warning

ELSE

STD \2

ENDIF

ENDM

codeSec: SECTION

Start:

cpChar char1

Advertising