mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-12-21 09:19:31 +08:00
5fc8791857
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
25 lines
365 B
NASM
25 lines
365 B
NASM
bits 32
|
|
vmread dword [0], eax
|
|
vmwrite eax, dword [0]
|
|
vmread [0], eax
|
|
vmwrite eax, [0]
|
|
|
|
bits 64
|
|
vmread qword [0], rax
|
|
vmwrite rax, qword [0]
|
|
vmread [0], rax
|
|
vmwrite rax, [0]
|
|
|
|
%ifdef ERROR
|
|
bits 32
|
|
vmread qword [0], eax
|
|
vmwrite eax, qword [0]
|
|
|
|
bits 64
|
|
vmread dword [0], eax
|
|
vmwrite eax, dword [0]
|
|
|
|
vmread qword [0], eax
|
|
vmwrite eax, qword [0]
|
|
%endif
|