mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-21 03:14:19 +08:00
733cbb3197
Using hidden files are rather antisocial, and rather pointless in this particular context. Change .stdout and .stderr to simply stdout and stderr. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
39 lines
595 B
NASM
39 lines
595 B
NASM
;Testname=unoptimized; Arguments=-fbin -otest67.bin -O0; Files=stdout stderr test67.bin
|
|
;Testname=optimized; Arguments=-fbin -otest67.bin -Ox; Files=stdout stderr test67.bin
|
|
|
|
bits 16
|
|
|
|
mov ax,[bx]
|
|
mov ax,[foo]
|
|
mov ax,[word foo]
|
|
mov ax,[dword foo]
|
|
mov ax,[ebx]
|
|
rep movsb
|
|
a16 rep movsb
|
|
a32 rep movsb
|
|
a32 mov ax,bx
|
|
|
|
bits 32
|
|
|
|
mov ax,[bx]
|
|
mov ax,[foo]
|
|
mov ax,[word foo]
|
|
mov ax,[dword foo]
|
|
mov ax,[ebx]
|
|
rep movsb
|
|
a16 rep movsb
|
|
a32 rep movsb
|
|
|
|
bits 64
|
|
|
|
mov ax,[rbx]
|
|
mov ax,[foo]
|
|
mov ax,[qword foo]
|
|
mov ax,[dword foo]
|
|
mov ax,[ebx]
|
|
rep movsb
|
|
a32 rep movsb
|
|
a64 rep movsb
|
|
|
|
foo:
|