mpir/yasm/modules/objfmts/elf/tests/amd64/elf-rip.asm
2009-07-25 00:50:29 +00:00

8 lines
106 B
NASM

[bits 64]
[extern sym]
mov eax, [rip]
mov eax, [rip+2]
mov eax, [rip+sym]
mov eax, [sym wrt rip]
call sym