pli
Prefixed Load Immediate
pli RT, SI34
Loads a 34-bit signed immediate into a register. (Replaces multiple 'lis/ori' instructions).
Details
The pli instruction is an extended mnemonic for the Add Immediate (addi) instruction. It loads an immediate value into a target register, effectively setting the register to that value.
Pseudocode Operation
RT ← SI
Programming Note
The pli instruction is used to load an immediate value directly into a target register. This is useful for initializing registers with constants or small values. Ensure the immediate value fits within the 16-bit signed integer range to avoid overflow issues.
Example
pli r3, 16
Encoding
Binary Layout
1
0
2
6
R
8
0
9
D0
14
14
32
RT
38
0
43
D1
48
Operands
-
RT
Target -
SI34
Immediate