SPRU513Z August 2001 – October 2023 SM320F28335-EP
Define Tab Size
.tab size
The .tab directive defines the tab size. Tabs encountered in the source input are translated to size character spaces in the listing. The default tab size is eight spaces.
In this example, each of the lines of code following a .tab statement consists of a single tab character followed by an NOP instruction.
Source file:
; default tab size
NOP
NOP
NOP
.tab 4
NOP
NOP
NOP
.tab 16
NOP
NOP
NOP
Listing file:
1 ; default tab size
2 000000 7700 NOP
3 000001 7700 NOP
4 000002 7700 NOP
5
7 000003 7700 NOP
8 000004 7700 NOP
9 000005 7700 NOP
10
12 000006 7700 NOP
13 000007 7700 NOP
14 000008 7700 NOP