Daddi, Doubleword add immediate – NEC Network Controller uPD98502 User Manual
Page 470

APPENDIX A MIPS III INSTRUCTION SET DETAILS
470
Preliminary User’s Manual S15543EJ1V0UM
DADDI
Doubleword Add Immediate
DADDI
rs
DADDI
0 1 1 0 0 0
rt
immediate
31
26 25
21 20
16 15
0
6
5
5
16
Format:
DADDI rt, rs, immediate
Description:
The 16-bit
immediate is sign-extended and added to the contents of general register rs to form the result. The
result is placed into general register
rt.
An overflow exception occurs if carries out of bits 62 and 63 differ (2’s complement overflow). The destination
register
rt is not modified when an integer overflow exception occurs.
This operation is defined in 64-bit mode or in 32-bit kernel mode. Execution of this instruction in 32-bit user or
supervisor mode causes a reserved instruction exception.
Operation:
64
T:
GPR [rt]
← GPR [rs] + (immediate
15
)
48
|| immediate
15...0
Exceptions:
Integer overflow exception
Reserved instruction exception (32-bit user mode/supervisor mode)