compiled-offset ( -- n )


Vocabulary
compiler.codegen.relocation

Inputs
None

Outputs
noffset of the code being constructed in the current make sequence.


Word description
The current compiled code offset. Used for (among other things) calculating jump labels.

Examples
USING: 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