Ifb, #Ifnb - Panasonic PanaXSeries MN1030 Series User Manual

Panasonic microcomputer user's manual
Table of Contents

Advertisement

Chapter 10 Writing Assembler Control Statements

10.4.6 #ifb, #ifnb

Syntax
Syntax for #ifb
#ifb
[#else
#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.
202 Conditional Assembly
dummy_parameter
block1
block2]
Syntax for #ifnb
dummy_parameter
#ifnb
block1
[#else
block2]
#endif

Advertisement

Table of Contents
loading

Table of Contents