mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-12-15 09:09:58 +08:00
22 lines
184 B
NASM
22 lines
184 B
NASM
|
%ifdef ERROR
|
||
|
%define ERR(x) x
|
||
|
%else
|
||
|
%define ERR(x)
|
||
|
%endif
|
||
|
|
||
|
bits 16
|
||
|
|
||
|
rdpid eax
|
||
|
ERR(rdpid ax)
|
||
|
|
||
|
bits 32
|
||
|
|
||
|
rdpid ebx
|
||
|
ERR(rdpid bx)
|
||
|
|
||
|
bits 64
|
||
|
|
||
|
rdpid rcx
|
||
|
rdpid ecx
|
||
|
ERR(rdpid cx)
|