From c5717a8204b5fcd383cf9e0a237c4727feccb5bd Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Tue, 8 Oct 2019 03:26:39 -0700 Subject: 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 --- test/while.asm | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test/while.asm (limited to 'test') diff --git a/test/while.asm b/test/while.asm new file mode 100644 index 00000000..9b835066 --- /dev/null +++ b/test/while.asm @@ -0,0 +1,5 @@ +%assign i 1 +%while i + dq i + %assign i i << 1 +%endwhile -- cgit v1.2.3