Added test for recursive macro calls
authorLukas Krickl <lukas@krickl.dev>
Thu, 4 Jan 2024 17:29:39 +0000 (18:29 +0100)
committerLukas Krickl <lukas@krickl.dev>
Thu, 4 Jan 2024 17:29:39 +0000 (18:29 +0100)
tests/t0.bin
tests/t0.s

index 03c89e17a30fd94f49614a9effe6dfd1cd4a83a3..2100bc437f2e572d45ed0caa64b14d7d6c2dbdb1 100644 (file)
Binary files a/tests/t0.bin and b/tests/t0.bin differ
index 04c960938300bddd8b83d36ac8be464ced49a709..69260b4959cb0c9b47b03fc3bf3fd8d0d3b93203 100644 (file)
@@ -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