swapgs
Swap GS Base Register
SWAPGS
Swaps user/kernel GS base address (System).
Details
The Swap GS Base Register instruction swaps user/kernel GS base address (System).
Pseudocode Operation
// Swaps user/kernel GS base address (System)
Example
SWAPGS
Encoding
Binary Layout
0F
+0
01
+1
F8
+2