TSK3000A Generic Instruction - ADDU

Frozen Content

Instruction:    Add Unsigned

Assembler Format
Example
Translates to...

addu rC, rB

addu $3, $4

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

addu rC, rA, IMM32

addu $3, $2, 0x12345678

see note 2

addu rC, IMM32 (see note 1)

addu $3, 0x12345678

see note 2

Notes

  1. This format can also be written as: addu 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 ADDIU machine instructions:
     

    addu rC, rA, IMM32

    translates to.....

    addiu rC, rA, IMM16

    addu rC, IMM32

    translates to.....

    addiu 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
    addu rC, rA, $at
You are reporting an issue with the following selected text and/or image within the active document: