The Built-in Assembler
With Borland's built-in assembler, you can write 8086/8087 and 80286/80287 assembler code directly inside your Pascal programs.
Index to Built-in Assembler Help
Using the Built-in Assembler
You access the built-in assembler through(with the directive).
Built-in assembler procedures and functions must obey the same rules asprocedures and functions.
Borland's built-in assembler operands are. The basic elements of an expression are constants, registers, symbols, and operators.
The built-in assembler divides expressions into three classes:
The built-in assembler provides access to almost all Pascal symbols in assembler expressions, including labels, constants, types, variables, procedures, and functions.
In addition to any currently declared Pascal types, the built-in assembler provides several.
Borland's built-in assembler supports two types of constants:
Opcodes, Operators, and Directives
Borland's built-in assembler supports:
- All 8086/8087 and 80286/80287 instructions
- Most Turbo Assembler
- Turbo Assembler's define byte, define word, and define double word
directives ( )
Most operations implemented through Turbo Assembler directives are matched by corresponding Turbo Pascal constructs.
The built-in assembler also implements a large subset of the syntax supported by Turbo Assembler and Microsoft's Macro Assembler.