|Instruction||move signed immediate into word|
rB ← σ(IMMED)
movi rB, IMMED
movi r6, -30
Sign-extends the immediate value IMMED to 32 bits and writes it to rB.
The maximum allowed value of IMMED is 32767. The minimum allowed value is
–32768. To load a 32-bit constant into a register, refer to the movhi instruction.
movi is implemented as addi rB, r0, IMMED.
Did you find the information on this page useful?