SPRUI03E June 2015 – January 2023
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 00000000 .bss x,4
2 00000004 .bss y,4
3 00000008 .bss z,4
4
5 addm .macro src1,src2,dst
6 LDW *+B14(:src1:), A0
7 LDW *+B14(:src2:), A1
8 NOP 4
9 ADD A0,A1,A0
10 STW A0,*+B14(:dst:)
11 .endm
12
13 00000000 addm x,y,z
1 00000000 0000006C- LDW *+B14(x), A0
1 00000004 0080016C- LDW *+B14(y), A1
1 00000008 00006000 NOP 4
1 0000000c 000401E0 ADD A0,A1,A0
1 00000010 0000027C- STW A0,*+B14(z)
14
15 .sslist
16 00000014 addm x,y,z
1 00000014 0000006C- LDW *+B14(:src1:), A0
# LDW *+B14(x), A0
1 00000018 0080016C- LDW *+B14(:src2:), A1
# LDW *+B14(y), A1
1 0000001c 00006000 NOP 4
1 00000020 000401E0 ADD A0,A1,A0
1 00000024 0000027C- STW A0,*+B14(:dst:)
# STW A0,*+B14(z)
17