8 conditional assembly directives, Conditional assembly directives, Assembler directives – Motorola HC12 User Manual

Page 164

Advertising
background image

User’s Manual

MCUez HC12 Assembler

164

Assembler Directives

MOTOROLA

Assembler Directives

8.2.8 Conditional Assembly Directives

The directives in

Table 8-8

are used for conditional assembling.

Table 8-8. Conditional Assembly Directives

Directive

Description

ELSE

Alternate of conditional block

ENDIF

End of conditional block

IF

Start of conditional block. A Boolean expression follows this

directive.

IFC

Tests if two string expressions are equal

IFDEF

Tests if a symbol is defined

IFEQ

Tests if an expression is null

IFGE

Tests if an expression is greater than or equal to 0

IFGT

Tests if an expression is greater than 0

IFLE

Tests if an expression is less than or equal to 0

IFLT

Tests if an expression is less than 0

IFNC

Tests if two string expressions are different

IFNDEF

Tests if a symbol is undefined

IFNE

Tests if an expression is not null

Advertising