projects
/
ulas
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29ed1fa
)
Added test for recursive macro calls
author
Lukas Krickl
<lukas@krickl.dev>
Thu, 4 Jan 2024 17:29:39 +0000
(18:29 +0100)
committer
Lukas Krickl
<lukas@krickl.dev>
Thu, 4 Jan 2024 17:29:39 +0000
(18:29 +0100)
tests/t0.bin
patch
|
blob
|
history
tests/t0.s
patch
|
blob
|
history
diff --git
a/tests/t0.bin
b/tests/t0.bin
index 03c89e17a30fd94f49614a9effe6dfd1cd4a83a3..2100bc437f2e572d45ed0caa64b14d7d6c2dbdb1 100644
(file)
Binary files a/tests/t0.bin and b/tests/t0.bin differ
diff --git
a/tests/t0.s
b/tests/t0.s
index 04c960938300bddd8b83d36ac8be464ced49a709..69260b4959cb0c9b47b03fc3bf3fd8d0d3b93203 100644
(file)
--- 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