SPRUI03E June 2015 – January 2023
Control Listing of False Conditional Blocks
.fclist
.fcnolist
Two directives enable you to control the listing of false conditional blocks:
The .fclist directive allows the listing of false conditional blocks (conditional blocks that do not produce code).
The .fcnolist directive suppresses the listing of false conditional blocks until a .fclist directive is encountered. With .fcnolist, only code in conditional blocks that are actually assembled appears in the listing. The .if, .elseif, .else, and .endif directives do not appear.
By default, all conditional blocks are listed; the assembler acts as if the .fclist directive had been used.
This example shows the assembly language and listing files for code with and without the conditional blocks listed.
Source file:
a .set 0
b .set 1
.fclist ; list false conditional blocks
.if a
MVK 5,A0
.else
MVK 0,A0
.endif
.fcnolist ; do not list false conditional blocks
.if a
MVK 5,A0
.else
MVK 0,A0
.endif
Listing file:
1 00000000 a .set 0
2 00000001 b .set 1
3 .fclist ; list false conditional blocks
4 .if a
5 MVK 5,A0
6 .else
7 00000000 00000028 MVK 0,A0
8 .endif
9 .fcnolist ; do not list false conditional blocks
13 00000004 00000028 MVK 0,A0