Architecture

SUBU

Subtract Unsigned

SUBU

 

31

26 25

21 20

16 15

11 10

6 5

0

 

 

SPECIAL

 

rs

 

rt

 

 

rd

 

0

 

SUBU

 

 

 

 

 

 

 

 

 

 

 

 

 

000000

 

 

 

 

 

 

 

 

00000

 

100011

 

 

6

5

5

 

 

5

 

5

 

6

 

Format :

SUBU rd, rs, rt

Description :

Subtracts the contents of general-purpose register rt from general-purpose register rs and puts the result in general-purpose register rd. The only difference from SUB is that SUBU cannot cause an overflow exception.

Operation :

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

Exceptions :

None

186

Page 197
Image 197
Toshiba TX39 user manual Subu