mirror of https://github.com/yasm/yasm.git
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=16350.6.0
parent
3e8d2c2e7a
commit
9b2aaa97bd
4 changed files with 48 additions and 1 deletions
@ -0,0 +1,3 @@ |
|||||||
|
mov ax, 5 |
||||||
|
times ($$-$) & 1Fh nop ; Long word alignment |
||||||
|
mov bx, 5 |
@ -0,0 +1,35 @@ |
|||||||
|
b8 |
||||||
|
05 |
||||||
|
00 |
||||||
|
90 |
||||||
|
90 |
||||||
|
90 |
||||||
|
90 |
||||||
|
90 |
||||||
|
90 |
||||||
|
90 |
||||||
|
90 |
||||||
|
90 |
||||||
|
90 |
||||||
|
90 |
||||||
|
90 |
||||||
|
90 |
||||||
|
90 |
||||||
|
90 |
||||||
|
90 |
||||||
|
90 |
||||||
|
90 |
||||||
|
90 |
||||||
|
90 |
||||||
|
90 |
||||||
|
90 |
||||||
|
90 |
||||||
|
90 |
||||||
|
90 |
||||||
|
90 |
||||||
|
90 |
||||||
|
90 |
||||||
|
90 |
||||||
|
bb |
||||||
|
05 |
||||||
|
00 |
Loading…
Reference in new issue