2008-10-07 09:27:30 +08:00
|
|
|
;Testname=O0; Arguments=-O0 -fbin -oaddr64.bin; Files=stdout stderr addr64.bin
|
|
|
|
;Testname=O1; Arguments=-O1 -fbin -oaddr64.bin; Files=stdout stderr addr64.bin
|
|
|
|
;Testname=O2; Arguments=-O2 -fbin -oaddr64.bin; Files=stdout stderr addr64.bin
|
|
|
|
;Testname=O3; Arguments=-O3 -fbin -oaddr64.bin; Files=stdout stderr addr64.bin
|
|
|
|
;Testname=O4; Arguments=-O4 -fbin -oaddr64.bin; Files=stdout stderr addr64.bin
|
|
|
|
;Testname=O5; Arguments=-O5 -fbin -oaddr64.bin; Files=stdout stderr addr64.bin
|
|
|
|
;Testname=Ox; Arguments=-Ox -fbin -oaddr64.bin; Files=stdout stderr addr64.bin
|
2007-10-29 14:23:24 +08:00
|
|
|
bits 64
|
|
|
|
mov rdx,[rax]
|
|
|
|
mov eax,[byte rsp+0x01]
|
|
|
|
mov eax,[byte rsp-0x01]
|
|
|
|
mov eax,[byte rsp+0xFF]
|
|
|
|
mov eax,[byte rsp-0xFF]
|
|
|
|
mov eax,[rsp+0x08]
|
|
|
|
mov eax,[rsp-0x01]
|
|
|
|
mov eax,[rsp+0xFF]
|
|
|
|
mov eax,[rsp-0xFF]
|
|
|
|
mov rax,[rsp+56]
|
|
|
|
mov [rsi],dl
|
|
|
|
mov byte [rsi],'-'
|
|
|
|
mov [rsi],al
|
|
|
|
mov byte [rsi],' '
|