Architecture

ADDI

Add Immediate

ADDI

 

31

26 25

21 20

16 15

0

 

 

 

ADDI

 

rs

 

rt

 

immediate

 

 

 

 

 

 

 

 

 

 

001000

 

 

 

 

 

 

 

 

 

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] + (immediate15 )16 immediate15..0

Exceptions :

Overflow

103

Page 114
Image 114
Toshiba TX39 user manual Addi