BR 3392218: Disassemble 82h opcodes
[nasm/nasm.git] / test / br2496848.asm
bloba60b7c9eb451992c4fadae514b42db06219a37d1
1 ;Testname=unoptimized; Arguments=-O0 -fbin -o br2496848.bin; Files=stdout stderr br2496848.bin
2 ;Testname=optimized; Arguments=-Ox -fbin -o br2496848.bin; Files=stdout stderr br2496848.bin
4 bits 64
6 foo:
8 default abs
10 mov al, [qword 0xffffffffffffffff]
11 mov al, [qword 0x1ffffffffffffffff]
13 mov cl, [byte 0x12345678]
15 default rel
17 mov cl, [foo]
18 mov cl, [foo + 0x10000000]
19 mov cl, [foo + 0x100000000]
21 mov cl, [0x100]
22 mov cl, [$$ + 0x100]
24 mov cl, [rax - 1]
25 mov cl, [rax + 0xffffffff]
26 mov cl, [rax + 0x1ffffffff]
28 bits 32
29 mov cl, [eax - 1]
30 mov cl, [eax + 0xffffffff]
31 mov cl, [eax + 0x1ffffffff]
32 mov cl, [byte eax + 0xffffffff]
33 mov cl, [byte eax + 0x1ffffffff]
34 mov cl, [byte eax + 0x1000ffff]
36 bits 16
37 mov cl, [di - 1]
38 mov cl, [di + 0xffff]
39 mov cl, [di + 0x1ffff]
40 mov cl, [byte di + 0xffff]
41 mov cl, [byte di + 0x1ffff]
42 mov cl, [byte di + 0x10ff]