Toshiba TX39 Computer Hardware User Manual


 
Architecture
166
MULT Multiply MULT
31 26 25 21 20 16 15 11 10 6 5 0
SPECIAL
000000
rs rt rd
0
00000
MULT
011000
6 5 5 5 5 6
Format :
MULT rs, rt
MULT rd, rs, rt
Description :
Multiplies the contents of general-purpose register rs by the contents of general register rt, treating
both register values as 32-bit two's complement values. This instruction cannot raise an integer
overflow exception.
The low-order word of the multiplication result is put in general register rd and in special register
LO, whereas the high-order word of the result is put in special register HI.
If rd is omitted in assembly language, 0 is used as the default value.
Operation :
T:
t GPR[rs]*GPR[rt]
LO t
31..0
HI t
63..32
GPR[rd] t
31..0
Exceptions :
None