11 lines
153 B
NASM
11 lines
153 B
NASM
global asm_test_rdseed
|
|
|
|
asm_test_rdseed:
|
|
xor rax, rax
|
|
mov eax, 7
|
|
mov ecx, 0
|
|
cpuid
|
|
shr ebx, 18
|
|
and ebx, 1
|
|
mov eax, ebx
|
|
ret |