3.2.1.8 -an
-an
turns off all forms processing that would be
performed by the listing directives .psize
, .eject
,
.title
and .sbttl
. The first example shows a
listing where the -an
option was not used. The second example shows a
listing for the same source where the -an
option was used.
Listing File Generated with -al Command Line Option
MPLAB XC32 ASSEMBLY Listing: example2.7.s page 1
User's Guide Example
Listing Options
1 .text
2 .title "User's Guide Example"
3 .sbttl " Listing Options"
4 .psize 10
5 000000 17 00 00 80 mov #5, w0
6 000004 1B 00 00 84 mov #6, w1
7 000008 00 00 21 E0 add w0, w1, w2
MPLAB XC32 ASSEMBLY Listing: example2.7.s page 2
User's Guide Example
Listing Options
8 .eject
MPLAB XC32 ASSEMBLY Listing: example2.7.s page 3
User's Guide Example
Listing Options
9 00000c 0B 00 00 90 mov #2, w4
10 000010 3F 72 repeat #3
11 000012 44 16 mul.uu w4, w4, w4
12 000014 07 00 00 98 mov #1, w6
13 000018 80 01 46 A4 sl w6, #4, w6
14 00001c 46 3C 00 00 cp w4, w6
15 000020 0A 00 00 A6 bra z, done
MPLAB XC32 ASSEMBLY Listing: example2.7.s page 4
User's Guide Example
Listing Options
16 000024 00 01 nop
17 done:
18 000026 00 00 .end
Listing File Generated with -aln Command Line Option
1 .text
2 .title "User's Guide Example"
3 .sbttl " Listing Options"
4 .psize 10
5 000000 17 00 00 80 mov #5, w0
6 000004 1B 00 00 84 mov #6, w1
7 000008 00 00 21 E0 add w0, w1, w2
8 .eject
9 00000c 0B 00 00 90 mov #2, w4
10 000010 3F 72 repeat #3
11 000012 44 16 mul.uu w4, w4, w4
12 000014 07 00 00 98 mov #1, w6
13 000018 80 01 46 A4 sl w6, #4, w6
14 00001c 46 3C 00 00 cp w4, w6
15 000020 0A 00 00 A6 bra z, done
16 000024 00 01 nop
17 done:
18 000026 00 00 .end