TSK3000A Generic Instruction - SUBU

Frozen Content

Instruction:    Subtract Unsigned

Assembler Format
Example
Translates to...

subu rC, rB

subu $3, $4

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

subu rC, rA, IMM32

subu $3, $4, 0x12345678

see note 2

subu rC, IMM32 (see note 1)

subu $3, 0x12345678

see note 2

Notes

  1. This format can also be written as: subu rC, rC, IMM32 (with rA = rC)
     
  2. If the negated signed IMM32 operand fits into a signed 16-bit operand, then these two macro formats translate into a single ADDIU machine instruction, with the IMM32 operand negated.
     
    If the IMM32 operand does not fit, or has an unknown value, then these two macro formats translate to:
     
    li $at, IMM32
    subu rC, rA, $a
You are reporting an issue with the following selected text and/or image within the active document: