Table 3
LR4102 16-Bit Instruction Set Summary
Load and Store Instructions
LB
1
LBU
1
LH
1
LHU
1
Load Byte
Load Byte Unsigned
Load Halfword
Load Halfword Unsigned
LW
1
SB
1
SH
1
SW
1
Load Word
Store Byte
Store Halfword
Store Word
Arithmetic Instructions: ALU Immediate
LI
1
ADDIU
1
SLTI
1
Load Immediate
Add Immediate Unsigned
Set on Less Than Immediate
SLTIU
1
CMPI
1
–
Set on Less Than Immediate
Unsigned
Compare Immediate
–
Arithmetic Instructions: Two/Three Operand, Register Type
ADDU
SUBU
SLT
SLTU
CMP
NEG
Add Unsigned
Subtract Unsigned
Set on Less Than
Set on Less Than Unsigned
Compare
Negate
AND
OR
XOR
NOT
MOVE
–
Logical AND
Logical OR
Exclusive Logical OR
Logical NOT
Move
–
Shift Instructions
SLL
1
SRL
1
SRA
1
Shift Left Logical
Shift Right Logical
Shift Right Arithmetic
SLLV
SRLV
SRAV
Shift Left Logical Variable
Shift Right Logical Variable
Shift Right Arithmetic Variable
(Sheet 1 of 2)
TinyRISC LR4102 Microprocessor
9