0
0
mirror of https://github.com/netwide-assembler/nasm.git synced 2025-07-24 10:25:42 -04:00
nasm/test/while.asm
H. Peter Anvin c5717a8204 preproc: %while ... %endwhile loop
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>
2019-10-08 03:26:39 -07:00

6 lines
55 B
NASM

%assign i 1
%while i
dq i
%assign i i << 1
%endwhile