File: br2496848.asm

package info (click to toggle)
nasm 2.14-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 9,364 kB
  • sloc: ansic: 91,190; asm: 21,678; perl: 5,874; makefile: 546; sh: 313; python: 78; sed: 11
file content (42 lines) | stat: -rw-r--r-- 844 bytes parent folder | download | duplicates (18)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
;Testname=unoptimized; Arguments=-O0 -fbin -o br2496848.bin; Files=stdout stderr br2496848.bin
;Testname=optimized;   Arguments=-Ox -fbin -o br2496848.bin; Files=stdout stderr br2496848.bin

bits 64

foo:

default abs

mov al, [qword 0xffffffffffffffff]
mov al, [qword 0x1ffffffffffffffff]

mov cl, [byte 0x12345678]

default rel

mov cl, [foo]
mov cl, [foo + 0x10000000]
mov cl, [foo + 0x100000000]

mov cl, [0x100]
mov cl, [$$ + 0x100]

mov cl, [rax - 1]
mov cl, [rax + 0xffffffff]
mov cl, [rax + 0x1ffffffff]

bits 32
mov cl, [eax - 1]
mov cl, [eax + 0xffffffff]
mov cl, [eax + 0x1ffffffff]
mov cl, [byte eax + 0xffffffff]
mov cl, [byte eax + 0x1ffffffff]
mov cl, [byte eax + 0x1000ffff]

bits 16
mov cl, [di - 1]
mov cl, [di + 0xffff]
mov cl, [di + 0x1ffff]
mov cl, [byte di + 0xffff]
mov cl, [byte di + 0x1ffff]
mov cl, [byte di + 0x10ff]