summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-08-28 18:05:23 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-08-28 18:05:23 -0700
commit163e5874d905f17c2f28c96166e8d58c0cb86ad2 (patch)
tree908fae5623871cb579a00db68bf8068ce5b89e01 /test
parent5e7d6f1105917d5ef490078a2444aa8523e2d85b (diff)
downloadnasm-163e5874d905f17c2f28c96166e8d58c0cb86ad2.tar.gz
Accept implicit memory size for VMREAD/VMWRITE
Diffstat (limited to 'test')
-rw-r--r--test/vmread.asm4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/vmread.asm b/test/vmread.asm
index 1b6ac708..fa559265 100644
--- a/test/vmread.asm
+++ b/test/vmread.asm
@@ -3,10 +3,14 @@
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