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