The ESC instruction

Transfer of an instruction to the coprocessor.

The ESC instruction format

InstructionDescription
ESC external-opcode, memoryTransfer the opcode and the operand address to the coprocessor.

The ESC (Escape to Coprocessor) instruction is used to interact with a coprocessor, for example, with the 8087 math coprocessor. The main processor does not execute this instruction itself; it only gives the coprocessor access to the opcode and, possibly, to a memory operand. The coprocessor, which continuously monitors the instruction stream, intercepts this instruction and executes it. This allows the main processor to work with integers and the coprocessor to work with floating-point numbers.

Processor status flags

CF
No
PF
No
AF
No
ZF
No
SF
No
TF
No
IF
No
DF
No
OF
No