Handbook
Glossary
%dispatch ( src temp -- )
Vocabulary
cpu
.
architecture
Inputs
src
a register symbol
temp
a register symbol
Outputs
None
Word description
Code emitter for the
##dispatch
instruction.
Definition
USING:
system
;
IN:
cpu.architecture
HOOK:
%dispatch
cpu
( src temp -- )
Methods
USING:
cpu.architecture
kernel
system
;
M:
arm.64
%dispatch
2drop
;
USING:
compiler.codegen.relocation
compiler.constants
cpu.architecture
cpu.x86.assembler
cpu.x86.assembler.operands
kernel
layouts
make
math
namespaces
sequences
system
;
M::
x86
%dispatch
( src temp -- )
temp 0
MOV
0
rc-absolute-cell
rel-here
building
get
length
:>
start temp src 127
[++]
JMP
building
get
length
:>
end
cell
alignment
[
end start
-
+
building
get
set-last
]
[
(align-code)
]
bi
;