la

Load address Pseudo-instruction

Loads the address of label into t1.

RISC-V manual: auipc

Forms

Operands

t1
Any integer register, x0 to x31, or its named alias, such as zero, t0 or t6.
label
A named address in the program, such as the start of a loop or a variable in .data.
# la writes 0x10010000 to t0 (marker is at data address 0x10010000).
.data
marker: .word 17
.text
la t0, marker