projects
/
platform
/
upstream
/
nasm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0c5462
)
Test of some addressing modes in 64-bit mode.
author
H. Peter Anvin
<hpa@zytor.com>
Mon, 29 Oct 2007 06:23:24 +0000
(23:23 -0700)
committer
H. Peter Anvin
<hpa@zytor.com>
Mon, 29 Oct 2007 06:23:24 +0000
(23:23 -0700)
test/addr64x.asm
[new file with mode: 0644]
patch
|
blob
diff --git a/test/addr64x.asm
b/test/addr64x.asm
new file mode 100644
(file)
index 0000000..
1fbec45
--- /dev/null
+++ b/
test/addr64x.asm
@@ -0,0
+1,15
@@
+ bits 64
+ mov rdx,[rax]
+ mov eax,[byte rsp+0x01]
+ mov eax,[byte rsp-0x01]
+ mov eax,[byte rsp+0xFF]
+ mov eax,[byte rsp-0xFF]
+ mov eax,[rsp+0x08]
+ mov eax,[rsp-0x01]
+ mov eax,[rsp+0xFF]
+ mov eax,[rsp-0xFF]
+ mov rax,[rsp+56]
+ mov [rsi],dl
+ mov byte [rsi],'-'
+ mov [rsi],al
+ mov byte [rsi],' '