Skip to content

Commit 4ed5285

Browse files
authored
UD2 is allowed in Ring 3 code
1 parent f92e24f commit 4ed5285

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/intrinsics/ud2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ void __ud2();
2222

2323
The processor raises an invalid opcode exception if you execute an undefined instruction.
2424

25-
The `__ud2` function is equivalent to the `UD2` machine instruction, and is available only in kernel mode. For more information, search for the document, "Intel Architecture Software Developer's Manual, Volume 2: Instruction Set Reference," at the [Intel Corporation](https://software.intel.com/articles/intel-sdm) site.
25+
The `__ud2` function is equivalent to the `UD2` machine instruction. For more information, search for the document, "Intel Architecture Software Developer's Manual, Volume 2: Instruction Set Reference," at the [Intel Corporation](https://software.intel.com/articles/intel-sdm) site.
2626

2727
## Requirements
2828

0 commit comments

Comments
 (0)