nasmdoc: we still miss Chuck, but...
[nasm/nasm.git] / test / addr64x.asm
blobc7a64f5daba99de82dcafc0419610752cde7d64b
1 ;Testname=O0; Arguments=-O0 -fbin -oaddr64.bin; Files=stdout stderr addr64.bin
2 ;Testname=O1; Arguments=-O1 -fbin -oaddr64.bin; Files=stdout stderr addr64.bin
3 ;Testname=Ox; Arguments=-Ox -fbin -oaddr64.bin; Files=stdout stderr addr64.bin
4 bits 64
5 mov rdx,[rax]
6 mov eax,[byte rsp+0x01]
7 mov eax,[byte rsp-0x01]
8 mov eax,[byte rsp+0xFF]
9 mov eax,[byte rsp-0xFF]
10 mov eax,[rsp+0x08]
11 mov eax,[rsp-0x01]
12 mov eax,[rsp+0xFF]
13 mov eax,[rsp-0xFF]
14 mov rax,[rsp+56]
15 mov [rsi],dl
16 mov byte [rsi],'-'
17 mov [rsi],al
18 mov byte [rsi],' '