diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-09-25 15:39:42 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-09-25 15:39:42 -0700 |
commit | 0bd2565dd7884fc3526b814d19185625b0adf82b (patch) | |
tree | a08f302f23914639b5ea2a0657c21d351e8a36fd /test/movimm.asm | |
parent | cfdf646e9a818067887cdc9c01ade5b79f699190 (diff) | |
download | nasm-0bd2565dd7884fc3526b814d19185625b0adf82b.tar.gz nasm-0bd2565dd7884fc3526b814d19185625b0adf82b.tar.bz2 nasm-0bd2565dd7884fc3526b814d19185625b0adf82b.zip |
Test of immediate handling on 64-bit mode
Diffstat (limited to 'test/movimm.asm')
-rw-r--r-- | test/movimm.asm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/movimm.asm b/test/movimm.asm new file mode 100644 index 0000000..bda7a60 --- /dev/null +++ b/test/movimm.asm @@ -0,0 +1,13 @@ + bits 64 + + mov rax,1234567890abcdefh + mov eax,1234567890abcdefh + mov rax,dword 1234567890abcdefh + mov rax,qword 1234567890abcdefh + mov dword [rsi],1234567890abcdefh + mov qword [rsi],1234567890abcdefh + mov dword [rsi],dword 1234567890abcdefh + mov qword [rsi],dword 1234567890abcdefh +; mov qword [rsi],qword 1234567890abcdefh ; Error +; mov [rsi],qword 1234567890abcdefh ; Error + mov [rsi],dword 1234567890abcdefh |