SPNU118Z September 1995 – March 2023 66AK2E05 , 66AK2H06 , 66AK2H12 , 66AK2H14 , AM1705 , AM1707 , AM1802 , AM1806 , AM1808 , AM1810 , AM5K2E04 , OMAP-L132 , OMAP-L137 , OMAP-L138 , SM470R1B1M-HT , TMS470R1A288 , TMS470R1A384 , TMS470R1A64 , TMS470R1B1M , TMS470R1B512 , TMS470R1B768
Control Listing of Substitution Symbols
.sslist
.ssnolist
Two directives allow you to control substitution symbol expansion in the listing file:
The .sslist directive allows substitution symbol expansion in the listing file. The expanded line appears below the actual source line.
The .ssnolist directive suppresses substitution symbol expansion in the listing file.
By default, all substitution symbol expansion in the listing file is suppressed; the assembler acts as if the .ssnolist directive had been used.
Lines with the pound (#) character denote expanded substitution symbols.
This example shows code that, by default, suppresses the listing of substitution symbol expansion, and it shows the .sslist directive assembled, instructing the assembler to list substitution symbol code expansion.
1 ADDL .macro dest, src
2 .global reset_ctr
3 ADDS dest, dest, src
4 BLCS reset_ctr
5 .endm
6
7 00000000 ADDL R4, R5
1 .global reset_ctr
1 00000000 E0944005 ADDS R4, R4, R5
1 00000004 2BFFFFFD! BLCS reset_ctr
8 00000008 E5954000 LDR R4, [R5]
9 0000000c ADDL R0, R4
1 .global reset_ctr
1 0000000c E0900004 ADDS R0, R0, R4
1 00000010 2BFFFFFA! BLCS reset_ctr
10
11 .sslist
12
13 00000014 E5B53004 LDR R3, [R5, #4]!
14 00000018 E5954000 LDR R4, [R5]
15 0000001c ADDL R4, R3
1 .global reset_ctr
1 0000001c E0944003 ADDS dest, dest, src
# ADDS R4, R4, R3
1 00000020 2BFFFFF6! BLCS reset_ctr