2007-08-29 23:49:53 +08:00
|
|
|
bits 64
|
2007-08-30 00:38:47 +08:00
|
|
|
|
2007-08-30 00:41:43 +08:00
|
|
|
default abs
|
2007-08-30 00:38:47 +08:00
|
|
|
|
|
|
|
mov rax,[foo]
|
|
|
|
mov rax,[123456789abcdef0h]
|
|
|
|
mov rbx,[foo]
|
|
|
|
mov rax,[dword foo]
|
|
|
|
mov rbx,[dword foo]
|
|
|
|
mov rax,[qword foo]
|
|
|
|
mov rax,[rel foo]
|
|
|
|
mov rbx,[rel foo]
|
|
|
|
mov rax,[rel dword foo]
|
|
|
|
mov rax,[rel qword foo]
|
|
|
|
mov rax,[abs foo]
|
|
|
|
mov rbx,[abs foo]
|
|
|
|
mov rax,[abs dword foo]
|
|
|
|
mov rax,[abs qword foo]
|
|
|
|
|
|
|
|
mov rax,[es:foo]
|
|
|
|
mov rax,[es:123456789abcdef0h]
|
|
|
|
mov rbx,[es:foo]
|
|
|
|
mov rax,[dword es:foo]
|
|
|
|
mov rbx,[dword es:foo]
|
|
|
|
mov rax,[qword es:foo]
|
|
|
|
mov rax,[rel es:foo]
|
|
|
|
mov rbx,[rel es:foo]
|
|
|
|
mov rax,[rel dword es:foo]
|
|
|
|
mov rax,[rel qword es:foo]
|
|
|
|
mov rax,[abs es:foo]
|
|
|
|
mov rbx,[abs es:foo]
|
|
|
|
mov rax,[abs dword es:foo]
|
|
|
|
mov rax,[abs qword es:foo]
|
|
|
|
|
|
|
|
mov rax,[fs:foo]
|
|
|
|
mov rax,[fs:123456789abcdef0h]
|
|
|
|
mov rbx,[fs:foo]
|
|
|
|
mov rax,[dword fs:foo]
|
|
|
|
mov rbx,[dword fs:foo]
|
|
|
|
mov rax,[qword fs:foo]
|
|
|
|
mov rax,[rel fs:foo]
|
|
|
|
mov rbx,[rel fs:foo]
|
|
|
|
mov rax,[rel dword fs:foo]
|
|
|
|
mov rax,[rel qword fs:foo]
|
|
|
|
mov rax,[abs fs:foo]
|
|
|
|
mov rbx,[abs fs:foo]
|
|
|
|
mov rax,[abs dword fs:foo]
|
|
|
|
mov rax,[abs qword fs:foo]
|
|
|
|
|
2007-08-30 00:41:43 +08:00
|
|
|
default rel
|
2007-08-30 00:38:47 +08:00
|
|
|
|
2007-08-29 23:49:53 +08:00
|
|
|
mov rax,[foo]
|
|
|
|
mov rax,[123456789abcdef0h]
|
|
|
|
mov rbx,[foo]
|
|
|
|
mov rax,[dword foo]
|
|
|
|
mov rbx,[dword foo]
|
|
|
|
mov rax,[qword foo]
|
|
|
|
mov rax,[rel foo]
|
|
|
|
mov rbx,[rel foo]
|
|
|
|
mov rax,[rel dword foo]
|
|
|
|
mov rax,[rel qword foo]
|
2007-08-30 00:38:47 +08:00
|
|
|
mov rax,[abs foo]
|
|
|
|
mov rbx,[abs foo]
|
|
|
|
mov rax,[abs dword foo]
|
|
|
|
mov rax,[abs qword foo]
|
2007-08-29 23:49:53 +08:00
|
|
|
|
|
|
|
mov rax,[es:foo]
|
|
|
|
mov rax,[es:123456789abcdef0h]
|
|
|
|
mov rbx,[es:foo]
|
|
|
|
mov rax,[dword es:foo]
|
|
|
|
mov rbx,[dword es:foo]
|
|
|
|
mov rax,[qword es:foo]
|
|
|
|
mov rax,[rel es:foo]
|
|
|
|
mov rbx,[rel es:foo]
|
|
|
|
mov rax,[rel dword es:foo]
|
|
|
|
mov rax,[rel qword es:foo]
|
2007-08-30 00:38:47 +08:00
|
|
|
mov rax,[abs es:foo]
|
|
|
|
mov rbx,[abs es:foo]
|
|
|
|
mov rax,[abs dword es:foo]
|
|
|
|
mov rax,[abs qword es:foo]
|
2007-08-29 23:49:53 +08:00
|
|
|
|
|
|
|
mov rax,[fs:foo]
|
|
|
|
mov rax,[fs:123456789abcdef0h]
|
|
|
|
mov rbx,[fs:foo]
|
|
|
|
mov rax,[dword fs:foo]
|
|
|
|
mov rbx,[dword fs:foo]
|
|
|
|
mov rax,[qword fs:foo]
|
|
|
|
mov rax,[rel fs:foo]
|
|
|
|
mov rbx,[rel fs:foo]
|
|
|
|
mov rax,[rel dword fs:foo]
|
|
|
|
mov rax,[rel qword fs:foo]
|
2007-08-30 00:38:47 +08:00
|
|
|
mov rax,[abs fs:foo]
|
|
|
|
mov rbx,[abs fs:foo]
|
|
|
|
mov rax,[abs dword fs:foo]
|
|
|
|
mov rax,[abs qword fs:foo]
|
2007-08-29 23:49:53 +08:00
|
|
|
|
|
|
|
section .data
|
|
|
|
foo equ $
|
|
|
|
|