- 2.3.7 -
TMT Pascal Language Description
Built-in AssemblerAssembler Opcodes
The opcodes are either instruction mnemonics or assembly directives.
The list of supported instruction opcodes is given below.
The only assembly directives that are allowed in TMT Pascal are
DB, DW, and DD.
Example
asm
DB 'a','b','c'
DB 'This code was copyrighted by GnueWare'
DW 1,2,4,8,16,$20,40h
DD Offset HeapLo
end;
The DB, DW, and DD directive allow variable number of arguments,
separated by commas. The other commonly used assembly directives
can be emulated with Pascal statements. For instance, the EQU directive
is emulated with const, while STRUCTs can be defined with the
type record declaration.
|
|
|
Prefixes |
Table of Content |
Registers |
- 2.3.7 -