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
Select Listing Options
.optionoption1[, option2,. . .]
The .option directive selects options for the assembler output listing. The options must be separated by commas; each option selects a listing feature. Options are not case sensitive. These are valid options:
A | turns on listing of all directives, data, subsequent expansions, macros, and blocks. | |
B | limits the listing of .byte and .char directives to one line. | |
H | limits the listing of .half and .short directives to one line. | |
L | limits the listing of .long directives to one line. | |
M | turns off macro expansions in the listing. | |
N | turns off listing (performs .nolist). | |
O | turns on listing (performs .list). | |
R | resets any B, H, M, T, and W (turns off the limits of B, H, M, T, and W). | |
T | limits the listing of .string directives to one line. | |
W | limits the listing of .word and .int directives to one line. | |
X | produces a cross-reference symbol listing. You can also obtain this listing by invoking the assembler with the --asm_cross_reference_listing option (see Section 4.14). |
This example limits listings of .byte, .char, .int, long, .word, and .string to one line each.
1 *****************************************************
2 ** Limit the listing of .byte, .char, .int, .long, **
3 ** .word, and .string directives to 1 line each. **
4 *****************************************************
5 .option B, W, T
6 00000000 BD .byte -'C', 0B0h, 5
7 00000003 BC .char -'D', 0C0h, 6
8 00000008 0000000A .int 10, 35 + 'a', "abc"
9 0000001c AABBCCDD .long 0AABBCCDDh, 536 + 'A'
10 00000024 000015AA .word 5546, 78h
11 0000002c 45 .string "Extended Registers"
12
13 ****************************************************
14 ** Reset the listing options. **
15 ****************************************************
16 .option R
17 0000003e BD .byte -'C', 0B0h, 5
0000003f B0
00000040 05
18 00000041 BC .char -'D', 0C0h, 6
00000042 C0
00000043 06
19 00000044 0000000A .int 10, 35 + 'a', "abc"
00000048 00000084
0000004c 00000061
00000050 00000062
00000054 00000063
20 00000058 AABBCCDD .long 0AABBCCDDh, 536 + 'A'
0000005c 00000259
21 00000060 000015AA .word 5546, 78h
00000064 00000078
22 00000068 45 .string "Extended Registers"
00000069 78
0000006a 74
0000006b 65
0000006c 6E
0000006d 64
0000006e 65
0000006f 64
00000070 20
00000071 52
00000072 65
00000073 67
00000074 69
00000075 73
00000076 74
00000077 65
00000078 72
00000079 73