AUI 000100 |
rt |
00000 |
immediate |
6 |
5 |
5 |
16 |
LUI rt, immediate |
microMIPS, Assembly Idiom Release 6 |
Load Upper Immediate |
Load Upper Immediate
To load a constant into the upper half of a word
GPR[rt] = sign_extend(immediate || 016)
The 16-bit immediate is shifted left 16 bits and concatenated with 16 bits of low-order zeros. The 32-bit result is signextended and placed into GPR rt.
None.
Availability and Compatibility
This instruction has been recoded for Release 6.
GPR[rt] = sign_extend(immediate || 016)
None
In Release 6, LUI is an assembly idiom of AUI with rs=0.