summaryrefslogtreecommitdiff
path: root/test/imm64.asm
diff options
context:
space:
mode:
Diffstat (limited to 'test/imm64.asm')
-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 00000000..ac50c624
--- /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