DADDIU 010111 |
rt |
rs |
immediate |
6 |
5 |
5 |
16 |
DADDIU rt, rs, immediate |
microMIPS64 |
Doubleword Add Immediate Unsigned |
Doubleword Add Immediate Unsigned
To add a constant to a 64-bit integer
GPR[rt] = GPR[rs] + sign_extend(immediate)
The 16-bit signed immediate is added to the 64-bit value in GPR rs and the 64-bit arithmetic result is placed into
GPR rt.
No Integer Overflow exception occurs under any circumstances.
GPR[rt] = GPR[rs] + sign_extend(immediate)
Reserved Instruction
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.