Handbook
Glossary
3inputs ( -- vreg1 vreg2 vreg3 )
Generating instructions for accessing the data and retain stacks
Prev:
2inputs ( -- vreg1 vreg2 )
Next:
ds-drop ( -- )
Vocabulary
compiler.cfg.stacks
Inputs
None
Outputs
vreg1
a vreg
vreg2
a vreg
vreg3
a vreg
Word description
Lifts the three topmost values from the datastack and stores them in virtual registers. The datastacks height is decremented by 3.
Definition
USING:
compiler.cfg.registers
sequences
;
IN:
compiler.cfg.stacks
:
3inputs
( -- vreg1 vreg2 vreg3 )
3
ds-loc
load-vregs
first3
;