mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-21 03:14:19 +08:00
4402af0c59
Not all covered but still worth to put in Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
20 lines
356 B
NASM
20 lines
356 B
NASM
;Testname=unoptimized; Arguments=-O0 -fbin -oalign13.bin; Files=stdout stderr align13.bin
|
|
;Testname=optimized; Arguments=-Ox -fbin -oalign13.bin; Files=stdout stderr align13.bin
|
|
|
|
; Test of non-power-of-2 alignment
|
|
|
|
bits 32
|
|
|
|
inc eax
|
|
inc eax
|
|
align 13
|
|
inc eax
|
|
inc eax
|
|
align 13
|
|
inc eax
|
|
inc eax
|
|
align 13
|
|
align 13 ;should do nothing
|
|
inc eax
|
|
inc eax
|