SLAU131Y October 2004 – June 2021
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 SHIFT .macro dst,amount
2 .loop amount
3 RLA dst
4 .endloop
5 .endm
6
7 .global value
8
9 0000 SHIFT R5,3
1 .loop 3
1 RLA dst
1 .endloop
2 0000 5505 RLA R5
2 0002 5505 RLA R5
2 0004 5505 RLA R5
10 0006 5582 ADD R5,&value
0008 0000!
11
12 .sslist
13
14 000a SHIFT R5,3
1 .loop amount
# .loop 3
1 RLA dst
1 .endloop
2 000a 5505 RLA dst
# RLA R5
2 000c 5505 RLA dst
# RLA R5
2 000e 5505 RLA dst
# RLA R5