ERROR - Issue an Error Message

MPASM Assembler

ERROR - Issue an Error Message

Syntax

error "<text_string>"

Description

<text_string> is printed in a format identical to any MPASM assembler error message. <text_string> may be from 1 to 80 characters.

Example

error_checking macro arg1

if arg1 >= 55 ; if arg is out of range

error "error_checking-01 arg out of range"

endif

endm

See Also

MESSG


Microchip Technology Inc.
Microchip's Web Site
Voice: (480) 792-7200
Fax: (480) 899-9210
Microchip's E-mail Address
PreviousNext