Handbook
Glossary
(cpuid) ( rax rcx regs -- )
Vocabulary
cpu
.
x86
.
features
Inputs
rax
an
object
rcx
an
object
regs
an
object
Outputs
None
Definition
USING:
system
;
IN:
cpu.x86.features
HOOK:
(cpuid)
cpu
( rax rcx regs -- )
Methods
USING:
alien
alien.c-types
cpu.x86.64
cpu.x86.assembler
cpu.x86.assembler.operands
cpu.x86.features
system
;
M:
x86.64
(cpuid)
void
{
uint
uint
void*
}
cdecl
[
RAX
param-reg-0
MOV
RCX
param-reg-1
MOV
RSI
param-reg-2
MOV
CPUID
RSI
[]
EAX
MOV
RSI
4
[+]
EBX
MOV
RSI
8
[+]
ECX
MOV
RSI
12
[+]
EDX
MOV
]
alien-assembly
;