Texas Instruments TMS320C54x User Manual page 129

Digital signal processors
Hide thumbs Also See for TMS320C54x:
Table of Contents

Advertisement

.fclist/.fcnolist
Control the Listing of False Conditional Blocks
Syntax
Description
Example
4-46
.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:
AAA
.set
1
BBB
.set
0
.fclist
.if
AAA
ADD
#1024, A
.else
ADD
#1024*10, A
.endif
.fcnolist
.if
AAA
ADD
#1024, A
.else
ADD
#1024*10, A
.endif
Listing file:
1
0001
2
0000
3
4
5 000000 F000
000001 0400
6
7
8
9
10
11
13 000002 F000
000003 0400
AAA
.set
1
BBB
.set
0
.fclist
.if
AAA
ADD
#1024, A
.else
ADD
#1024*10, A
.endif
.fcnolist
ADD
#1024, A

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TMS320C54x and is the answer not in the manual?

Table of Contents