TSK3000A Core Instruction - LUI

Frozen Content

Instruction:

Load Upper Immediate

Assembler Format:

lui rB, IMM16

Example:

lui $3, 0x0123456F + 2

Description:

Left-shifts 16-bit immediate value, IMM16, by 16 bits, zero-fills the low-order 16 bits of the word, and puts the result in GPR rB.

Operation:

rB <-- ((IMM16 << 16) : 0000h)

Instruction Type:

I-Type

Instruction Fields:

rB = Register index of destination

IMM16 = 16-bit immediate data value

Encoding:

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 1 1 1 1 0 0 0 0 0
rB
IMM16

Latency: 1

You are reporting an issue with the following selected text and/or image within the active document: