Regarding Return,
we recommend treating it as an assignment to the rax register followed by a jump
to the conclusion of the program (so the conclusion needs to be labeled).
I spent a bit of time wondering why my (Jmp 'exit) instruction plus an ending ('exit . ()) block didn't work. It may be worth mentioning that, at least at this point in the project, the student can just assume that a block named 'conclusion already exists, in the correct position.
The text reads:
I spent a bit of time wondering why my
(Jmp 'exit)
instruction plus an ending('exit . ())
block didn't work. It may be worth mentioning that, at least at this point in the project, the student can just assume that a block named'conclusion
already exists, in the correct position.