172
Section 3: Assembler
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
.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. This directive is a synonym for the .ascii directive. 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 example is shown with the generated code sequence (in hexadecimal).
.cmnt — Begin Comment Block
Syntax
.cmnt
Description
The .cmnt directive begins a comment block. All assembler statements between
this directive and its matching .endc directive are ignored. Pairs of comment
block directives can be nested.
Example
.cmnt
These lines are ignored by the assembler;
no other comment markers are needed.
.endc