ELSE - Begin Alternative Assembly Block to IF

MPASM Assembler

ELSE - Begin Alternative Assembly Block to IF

Syntax

else

Description

Used in conjunction with an if directive to provide an alternative path of assembly code should the if evaluate to false. else may be used inside a regular program block or macro.

Example

speed macro rate

if rate < 50

dw slow

else

dw fast

endif

endm

See Also

ENDIF IF


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