Vocabularycompiler.
codegen.
relocationInputsNone
Outputsn | offset of the code being constructed in the current make sequence. |
Word descriptionThe current compiled code offset. Used for (among other things) calculating jump labels.
ExamplesUSING: compiler.codegen.relocation cpu.x86.assembler
cpu.x86.assembler.operands kernel layouts make prettyprint ;
[ init-relocation RAX 0 MOV compiled-offset ] B{ } make
cell-bits 64 = [
[ 10 = ] [ B{ 72 184 0 0 0 0 0 0 0 0 } = ] bi*
] [
[ 6 = ] [ B{ 72 184 0 0 0 0 } = ] bi*
] if . .
t
t
Definition