summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/imm64.asm7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/imm64.asm b/test/imm64.asm
new file mode 100644
index 0000000..ac50c62
--- /dev/null
+++ b/test/imm64.asm
@@ -0,0 +1,7 @@
+ bits 64
+ mov rax,11223344h
+ mov rax,dword 11223344h
+ mov eax,11223344h
+ mov [rax],dword 11223344h ; 32-bit operation
+ mov qword [rax],11223344h
+ mov qword [rax],dword 11223344h