218
Section 3: Assembler
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
.bss — Begin / Resume the BSS-type Section .bss
Syntax
.bss
Description
The .bss directive begins or resumes the BSS-type section .bss. It is functionally
equivalent to .bsection .bss.
The section .bss contains only uninitialized data; therefore, no object code can
be generated in this section. The section .bss is present in all object files,
regardless of whether it is specified. For more information, see section
3.3.4.1 Section Types.
.byte — Generate Integer Data (Byte)
Syntax
.byte
operand [, operand ] . . .
Description
operand
Specifies an integer expression.
The .byte directive generates byte integer data. The values of the specified
operands are placed in successive bytes beginning at the current location in the
current section. The .byte directive accepts character strings delimited by double
quotes. Escaped characters are also allowed in both character constants and
strings. For additional information, see section 3.3.6.2 Character Constants.
Examples
.byte "Hello!\0"
; 4865 6C6C 6F21 00
.byte 'a'
; 61
.byte %1111,017,15,0xF
; 0F0F 0F0F
.byte 16*4+3
; 43
Each of the above examples is shown with the code sequence (in hexadecimal)
that it generates.