.error

Name

.error --  generates an error message

Syntax

.error ' string '

Description

The .error directive generates an error message and an assembly error that is included in the count at the end of the program. Both this directive and the .warning directive are useful for parameter checking.

Example

		.if VALUE<16			; test value for < 16
			LD A,#VALUE		; if so, generate instruction
		.else
			.error 'value>=16'	; else generate error
		.endif