Reverse procedure parameters on the stack

This commit is contained in:
2024-11-28 16:28:19 +01:00
parent f7b36cb81d
commit 147967c04b
3 changed files with 11 additions and 4 deletions

View File

@ -1 +1,2 @@
14
8

View File

@ -1,7 +1,8 @@
proc print2(a: int) {
proc print2(a: int, b: int) {
printi(a);
printi(b);
}
proc main() {
print2(14);
print2(14, 8);
}