Chapter 38. TIC54X Dependent Features
217
.sslist
.ssnolist
Controls the inclusion of subsym replacement in the listing output. Ignored.
.string "string" [,...,"string_n"]
.pstring "string" [,...,"string_n"]
Place 8 bit characters from
string
into the current section.
.string
zero fills the upper 8 bits
of each word, while
.pstring
puts two characters into each word, filling the most significant
bits first. Unused space is zero filled. If a label is used, it points to the first word initialized.
[stag] .struct [offset]
[name_1] element [count_1]
[name_2] element [count_2]
[tname] .tag stagx [tcount]
...
[name_n] element [count_n]
[ssize] .endstruct
label .tag [stag]
Assign symbolic offsets to the elements of a structure.
stag
defines a symbol to use to reference
the structure.
offset
indicates a starting value to use for the first element encountered; otherwise
it defaults to zero. Each element can have a named offset,
name
, which is a symbol assigned the
value of the element's offset into the structure. If
stag
is missing, these become global symbols.
count
adjusts the offset that many times, as if
element
were an array.
element
may be one of
.byte
,
.word
,
.long
,
.float
, or any equivalent of those, and the structure offset is adjusted
accordingly.
.field
and
.string
are also allowed; the size of
.field
is one bit, and
.string
is considered to be one word in size. Only element descriptors, structure/union tags,
.align
and conditional assembly directives are allowed within
.struct
/
.endstruct
.
.align
aligns
member offsets to word boundaries only.
ssize
, if provided, will always be assigned the size of
the structure.
The
.tag
directive, in addition to being used to define a structure/union element within a struc
ture, may be used to apply a structure to a symbol. Once applied to
label
, the individual struc
ture elements may be applied to
label
to produce the desired offsets using
label
as the structure
base.
.tab
Set the tab size in the output listing. Ignored.
[utag] .union
[name_1] element [count_1]
[name_2] element [count_2]
[tname] .tag utagx[,tcount]
...
[name_n] element [count_n]
[usize] .endstruct
label .tag [utag]
Similar to
.struct
, but the offset after each element is reset to zero, and the
usize
is set to the
maximum of all defined elements. Starting offset for the union is always zero.
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved