risc-v

Definition

auipc (RISC-V)

Adds a 20-bit immediate value to the current program counter after shifting the immediate left by 12 bits, and stores the result in register rd.

auipc rd, imm

Equivalent C code:

rd = pc + (imm << 12);