%load-immediate ( reg val -- )


Vocabulary
cpu.architecture

Inputs and outputs
rega register symbol
vala value


Word description
Emits code for loading an immediate value into a register. On x86, if val is 0, then an XOR instruction is emitted instead of MOV because the former is shorter.

See also
##load-tagged

Definition


Methods