mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-27 08:10:07 +08:00
10 lines
277 B
NASM
10 lines
277 B
NASM
;Testname=unoptimized; Arguments=-O0 -fbin -oa32offs.bin; Files=a32offs.bin .stdout .stderr
|
|
;Testname=optimized; Arguments=-Ox -fbin -oa32offs.bin; Files=a32offs.bin .stdout .stderr
|
|
bits 16
|
|
foo: a32 loop foo
|
|
bar: loop bar, ecx
|
|
|
|
bits 32
|
|
baz: a16 loop baz
|
|
qux: loop qux, cx
|