Fixed jump address calculation

This commit is contained in:
Eduard Urbach 2024-07-26 19:33:51 +02:00
parent de608a74a7
commit 86e7ade051
Signed by: eduard
GPG key ID: 49226B848C78F6C8
3 changed files with 53 additions and 24 deletions

View file

@ -0,0 +1,16 @@
main() {
f(1, 2, 3, 4, 5, 6)
}
f(a, b, c, d, e, f) {
return g(f, e, d, c, b, a)
}
g(a, b, c, d, e, f) {
assert a == 6
assert b == 5
assert c == 4
assert d == 3
assert e == 2
assert f == 1
}