mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-07-24 10:25:42 -04:00
First user of the new loop infrastructure: a %while[n][cond] loop; supports anything that the %if/%elif directives support, too. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
6 lines
55 B
NASM
6 lines
55 B
NASM
%assign i 1
|
|
%while i
|
|
dq i
|
|
%assign i i << 1
|
|
%endwhile
|