Architecture

ADD

Add

ADD

 

31

26 25

21 20

16 15

11 10

6 5

0

 

 

 

SPECIAL

 

rs

 

rt

 

rd

 

0

 

ADD

 

 

 

 

 

 

 

 

 

 

 

 

 

 

000000

 

 

 

 

 

 

 

00000

 

100000

 

 

 

6

 

5

 

5

 

5

 

5

 

6

 

Format :

ADD rd, rs, rt

Description :

Adds the contents of general-purpose registers rs and rt and puts the result in general-purpose register rd. If carry-out bits 31 and 30 differ, a two's complement overflow exception is raised and destination register rd is not modified.

Operation :

T:GPR[rd] GPR[rs] + GPR[rt]

Exceptions :

Overflow

102

Page 113
Image 113
Toshiba TX39 user manual Add