Encoding:

SPECIAL

000000

rs

rt

rd

0

00000

DSUBU

101111

6

5

5

5

5

6

Format:

DSUBU rd, rs, rt

MIPS64

Doubleword Subtract Unsigned

Purpose:

Doubleword Subtract Unsigned

To subtract 64-bit integers

Description:

 GPR[rd] = GPR[rs] - GPR[rt]

The 64-bit doubleword value in GPR rt is subtracted from the 64-bit value in GPR rs and the 64-bit arithmetic result is placed into GPR rd.

No Integer Overflow exception occurs under any circumstances.

Restrictions:

Operation: 64-bit processors

GPR[rd] = GPR[rs] - GPR[rt]

Exceptions:

Reserved Instruction

Programming Notes:

The term "unsigned" in the instruction name is a misnomer; this operation is 64-bit modulo arithmetic that does not trap on overflow. It is appropriate for unsigned arithmetic, such as address arithmetic, or integer arithmetic environments that ignore overflow, such as C language arithmetic.