TAL Reference Manual
TAL Syntax Summary (Bracket-and-Brace Diagrams)
Appendix C—526371.001
C-21
CODE Statement
CODE Statement
The CODE statement specifies machine-level instructions and pseudocodes to compile
into the object file.
instruction has one of the following forms:
DO Statement
The DO statement is a posttest loop that repeatedly executes a statement until a
specified condition becomes true.
DROP Statement
The DROP statement disassociates an identifier from an index register reserved by a
USE statement or from a label.
FOR Statement
The FOR statement is a pretest loop that repeatedly executes a statement while
incrementing or decrementing an index.
GOTO Statement
The GOTO statement unconditionally transfers program control to a labeled statement.
CODE ( instruction [ ; instruction ] ... )
No. Instruction Form
1. { mnemonic }
2. { mnemonic [ . | @ ] identifier }
3. { mnemonic constant }
4. { mnemonic register }
5. { mnemonic [ . | @ ] identifier [ , register ] }
6. { mnemonic constant [ , register ] }
DO [ statement ] UNTIL condition
DROP identifier [ , identifier ] ...
FOR index := initial-value { TO } limit [ BY step ]
{ DOWNTO }
DO [ statement ]