mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-27 08:10:07 +08:00
4402af0c59
Not all covered but still worth to put in Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
21 lines
348 B
NASM
21 lines
348 B
NASM
;Testname=unoptimized; Arguments=-O0 -fbin -oalign13s.bin; Files=stdout stderr align13s.bin
|
|
;Testname=optimized; Arguments=-Ox -fbin -oalign13s.bin; Files=stdout stderr align13s.bin
|
|
|
|
; Test of non-power-of-2 alignment
|
|
|
|
%use smartalign
|
|
|
|
bits 32
|
|
|
|
inc eax
|
|
inc eax
|
|
align 13
|
|
inc eax
|
|
inc eax
|
|
align 13
|
|
inc eax
|
|
inc eax
|
|
align 13
|
|
inc eax
|
|
inc eax
|