UD2             Undefined Instruction                Flags: Not altered

UD2 CPU: PPro+

Logic Generate invalid opcode exception

Generates an invalid opcode. This instruction is provided for
software testing to explicitly generate an invalid opcode. The
opcode for this instruction is reserved for this purpose.

Other than raising the invalid opcode exception, this instruction is
the same as the NOP instruction.


Exceptions (All Operating Modes)
#UD Instruction is guaranteed to raise an invalid opcode exception
in all operating modes).


Opcode Format
0F 0B UD2


Length and timing
Operands Bytes 8088 186 286 386 486 Pentium
- 2 - - - - - -