Next: Required VOPS, Previous: Assembler Retargeting, Up: Design of CMU Common Lisp [Contents]
VOP writers expect:
You write when you port the assembler.)
Assembler interface like INST. Takes a label you made and says “stick it here.”
Returns a new label suitable for use with EMIT-LABEL exactly once and for referencing as often as necessary.
Recognizes and dispatches to instructions you defined for assembler.
This takes the number of zero bits you want in the low end of the address of the next instruction.
Get ready for assembling stuff. Takes a VOP and arbitrary PROGN-style body. Wrap these around instruction emission code announcing the first pass of our assembler.
This returns a TN for the NFP if the caller uses the number stack, or nil.
This returns the size of some storage base used by the currently compiling component.
;;; ;;; VOP idioms ;;;
These move a value from a register to the control stack, or from the control stack to a register. They take care of checking the TN types, modifying offsets according to the address units per word, etc.