%load-immediate ( reg val -- )


Vocabulary
cpu.architecture

Inputs
rega register symbol
vala value


Outputs
None

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