Chapter 10 Writing Assembler Control Statements
202 Conditional Assembly
10.4.6 #ifb, #ifnb
Syntax
Syntax for #ifb Syntax for #ifnb
#ifb dummy_parameter #ifnb dummy_parameter
block1 block1
[#else [#else
block2] block2]
#endif #endif
Functional description
#ifb
If the dummy_parameter is a null character, block1 will be assembled. If it is not a null character and
an #else directive has been coded, block2 will be assembled.
#ifnb
If the value of expression is not a null character, block1 will be assembled. If it is a null character and
an #else directive has been coded, block2 will be assembled.
Coding rules
These directives can only be used within macro definitions.
The parameter must be a dummy parameter.