From: Lukas Krickl Date: Thu, 4 Jan 2024 17:29:39 +0000 (+0100) Subject: Added test for recursive macro calls X-Git-Url: https://git.krickl.dev/?a=commitdiff_plain;h=7145b81b65e257c7f735e33158eff9cd440a0f87;p=ulas%2F.git Added test for recursive macro calls --- diff --git a/tests/t0.bin b/tests/t0.bin index 03c89e1..2100bc4 100644 Binary files a/tests/t0.bin and b/tests/t0.bin differ diff --git a/tests/t0.s b/tests/t0.s index 04c9609..69260b4 100644 --- a/tests/t0.s +++ b/tests/t0.s @@ -143,3 +143,14 @@ l3: .db 1 #endmacro testmacro 1, 2, 3, 4, 5, 6, 7, 8, 60, 61, 62, 63, "test" + +#macro nextlevel +.db $1 +#endmacro + +#macro toplevel +.db $1 +nextlevel 4 +#endmacro + +toplevel 5