nasm/test/align13s.asm
H. Peter Anvin 152656f8d3 Actually make non-power-of-2 alignments work
We can't use ($$-$) % (%1) since the wraparound will be wrong except
for powers of 2.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2008-09-25 02:31:50 -07:00

17 lines
168 B
NASM

; 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