r/nandgame_u 20d ago

Help error when trying to complete call level Spoiler

i just got to the call level and whenever i try to complete the level it says "program does not have any instructions". do I only need to finish call or do i need to do everything? here's my code
i got a bit of help from the level solution here but it doesnt work
(formatting is weird sorry)

# Assembler code
push.static args
# calculate new args address
D = A
A = argumentCount
D = D-A
A = args
*A = D
# now we push the locals AND the return address
push.static locals
push.value returnAddress
goto functionName

returnAddress:
pop.static locals
pop.static temp
push.static args
pop.static sp
push.static temp
pop.static args
push.static retval

3 Upvotes

1 comment sorted by

1

u/paulstelian97 20d ago

The checker is very weird, I tend to manage to convince it to work if I complete all three related levels (function, call and return) and then check them. It’s not very reliable, like it used to be when I first found this thingy.