Handbook
Glossary
%call ( word -- )
CPU architecture description model
Prev:
%xor-imm ( dst src1 src2 -- )
Next:
%epilogue ( n -- )
Vocabulary
cpu
.
architecture
Inputs
word
a
word
Outputs
None
Word description
Emits code for calling a Factor word.
Definition
USING:
system
;
IN:
cpu.architecture
HOOK:
%call
cpu
( word -- )
Methods
USING:
compiler.codegen.relocation
compiler.constants
cpu.architecture
cpu.arm.64
cpu.arm.64.assembler
system
;
M:
arm.64
%call
-16
stack-reg
stack-reg
STRpre
0
BL
rc-relative-arm64-branch
rel-word-pic
16
stack-reg
stack-reg
LDRpost
;
USING:
compiler.codegen.relocation
compiler.constants
cpu.architecture
cpu.x86.assembler
system
;
M:
x86
%call
0
CALL
rc-relative
rel-word-pic
;