TSK3000A Generic Instruction - SLTU

Frozen Content

Instruction:    Set On Less Than Unsigned

Assembler Format
Example
Translates to...

sltu rC, rB

sltu $3, $4

sltu rC, rC, rB (with rA = rC)

sltu rC, rA, IMM32

sltu $3, $2, 0x12345678

see note 2

sltu rC, IMM32 (see note 1)

sltu $3, 0x12345678

see note 2

Notes

  1. This format can also be written as: sltu rC, rC, IMM32 (with rA = rC)
     
  2. If the signed IMM32 operand fits into a signed 16-bit operand, then these two macro formats translate into single SLTIU machine instructions:
     

    sltu rC, rA, IMM32

    translates to.....

    sltiu rC, rA, IMM16

    sltu rC, IMM32

    translates to.....

    sltiu rC, rC, IMM16 (with rA = rC)

     
    If the IMM32 operand does not fit, or has an unknown value, then these two macro formats translate to"
     
    li $at, IMM32
    sltu rC, rA, $a
You are reporting an issue with the following selected text and/or image within the active document: