xgetbv

Get Value of Extended Control Register

XGETBV

Reads the state of XCR0 (feature mask) into EDX:EAX.

Details

The Get Value of Extended Control Register instruction reads the state of XCR0 (feature mask) into EDX:EAX.

Pseudocode Operation

// Reads the state of XCR0 (feature mask) into EDX:EAX

Example

XGETBV

Encoding

Binary Layout
0F
+0
01
+1
D0
+2
 
Format Legacy
Opcode 0F 01 D0
Extension XSAVE

Operands