mpir/yasm/modules/objfmts/elf/tests/amd64/elf-rip.asm

8 lines
106 B
NASM
Raw Normal View History

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