These instructions are used to move around values on the stack.
Copy a value from one local slot to another.
As discussed previously, procedure arguments and local variables are
allocated to local slots. Guile’s compiler tries to avoid shuffling
variables around to different slots, which often makes
instructions redundant. However there are some cases in which shuffling
is necessary, and in those cases,
mov is the thing to use.
Copy a value from one local slot to another, but addressing slots
relative to the
fp instead of the
sp. This is used when
shuffling values into place after multiple-value returns.
Bump the stack pointer by one word, and fill it with the value from slot src. The offset to src is calculated before the stack pointer is adjusted.
push instruction is used when another instruction is unable
to address an operand because the operand is encoded with fewer than 24
bits. In that case, Guile’s assembler will transparently emit code that
temporarily pushes any needed operands onto the stack, emits the
original instruction to address those now-near variables, then shuffles
the result (if any) back into place.
Pop the stack pointer, storing the value that was there in slot dst. The offset to dst is calculated after the stack pointer is adjusted.
Pop the stack pointer by count words, discarding any values that were stored there.
Shuffle down values from from to to, reducing the frame size
by FROM-TO slots. Part of the internal implementation of
Take the last local in a frame and expand it out onto the stack, as for
the last argument to