yasm/libyasm/tests/opt-oldalign.asm
Peter Johnson 9b2aaa97bd Fix #77 by performing symrec-symrec -> subst placeholder transformation
recursively in yasm_expr__bc_dist_subst(); before this we would only do
one level, which fails on simple structures like the old NASM align approach
of "($$-$) & value" (as the $$-$ is one level down in the expression).

svn path=/trunk/yasm/; revision=1635
2006-09-30 05:13:41 +00:00

3 lines
65 B
NASM

mov ax, 5
times ($$-$) & 1Fh nop ; Long word alignment
mov bx, 5