lui
The RISC-V instruction that puts a number into the upper part of a register, ready for addi to fill in the low 12 bits.
lui rd, imm20 writes imm20 << 12, sign-extended to 64 bits on RV64, to rd; lui followed by addi builds any 32-bit signed constant (the li pseudo-instruction expands to such sequences).
Examples
lui a0, 0x12345setsa0to0x12345000;addi a0, a0, 0x678then gives0x12345678.
See also