ud2

Undefined Instruction

UD2

Generates an invalid opcode exception.

Details

The Undefined Instruction instruction generates an invalid opcode exception.

Pseudocode Operation

// Generates an invalid opcode exception

Example

UD2

Encoding

Binary Layout
0F
+0
0B
+1
 
Format Legacy
Opcode 0F 0B
Extension Base

Operands