User manual

ST Assembler-Linker Assembler directives
Doc ID 11392 Rev 4 75/89
Description
The Motorola style:
>AB Hexadecimal
~17 Octal
?100 Binary
17 Decimal (default)
$ Current program counter
This directive forces the Texas Instruments format to be required during the assembly.
Example
TEXAS
ld X,>FFFF
See also INTEL, MOTOROLA, ZILOG
Table 76. TITLE
Purpose Define main title for listing.
Format TITLE “<Title string>”
Description
The first fifty-nine characters of the argument (which must be enclosed in double-
quotes) will be included on the first line of each page in a listing as the main title for the
listing. We suggest you set the title in the include file called by each module in your pro-
gram, and give each module a separate subtitle (see SUBTTL section). This directive
does not generate assembly code or data.
Example TITLE “ST7 controller program”
See also SUBTTL
Table 77. UNTIL
Purpose Assembly time loop terminator.
Format UNTIL <exp>
Description
Related to REPEAT directive: if the expression in the argument resolves to a non zero
value then the assembler returns to the line following the last REPEAT directive. This
directive cannot be used inside macros.
Example
val CEQU 0
REPEAT
DC.L {10 mult val}
val CEQU {val+1}
UNTIL {val eq 50}
See also CEQU, REPEAT
Table 78. WORD
Purpose Define word in object code.
Format WORD <exp>[, <exp>...]
Table 75. TEXAS