Toshiba TX39 Computer Hardware User Manual


 
Architecture
103
ADDI Add Immediate ADDI
31 26 25 21 20 16 15 0
ADDI
001000
rs rt immediate
6 5 5 16
Format :
ADDI rt, rs, immediate
Description :
Sign-extends a 16-bit immediate value, adds it to the contents of general-purpose register rs and puts
the result in general-purpose register rt. If carry-out bits 31 and 30 differ, a two's complement
overflow exception is raised and destination register rt is not modified.
Operation :
T:
GPR[rt] GPR[rs] + (immediate
15
)
16
|| immediate
15..0
Exceptions :
Overflow