This content has not been validated; it was AI-generated following the x86-64 ISA Documentation generation process to maintain high quality. However, as no human has verified this data, errors may exist. If the accuracy of this data is critical, please consult the Intel SDM. The model used to generate this is gemma4:31b
XEND
Terminates the current execution of a task by signaling the end of a task switch operation.
The following table covers what the source and destinations can be.
| source | destination(s) |
|---|---|
| #I | #I |
DO NOT support LOCK
XEND is only available in 32-bit mode and compatibility mode. It is not supported in 64-bit mode.
This instruction is used exclusively in conjunction with the Task State Segment (TSS) mechanism. Using XEND in an environment where hardware task switching is not implemented or where the processor is in 64-bit mode SHALL result in an invalid opcode exception.