mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-12-21 09:19:31 +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)
|