aboutsummaryrefslogtreecommitdiff
path: root/modules/objfmts/win64/tests/win64-dataref2.asm
blob: 75bb4d09dadb8ed717906750ead413509dbea68e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
bits 64

section .text

bar:

mov eax, [foo wrt rip]
shl dword [foo wrt rip], 5
cmp dword [foo wrt rip], 16
cmp word [foo wrt rip], 10000
cmp dword [foo wrt rip], 10000000
je bar

section .data

foo:
dd 5