TSK3000A Core Instruction - SLTU
Frozen Content
Instruction: | Set On Less Than Unsigned |
Assembler Format: | sltu rC, rA, rB |
Example: | sltu $3, $4, $5 |
Description: | Compares the contents of GPRs rB and rA as 32-bit unsigned integers. If rA is less than rB, a '1' is placed into GPR rC, otherwise GPR rC is loaded with '0'. |
Operation: | If (Unsigned)rA < (Unsigned)rB Then |
Instruction Type: | R-Type |
Instruction Fields: | rA = Register index of operand A rB = Register index of operand B rC = Register index of destination |
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 | 0 | 0 | 0 | 0 | rA | rB | rC | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 |
Latency: 1