10.63
MUL.L
Double-Precision
Multiplication
Format
MUL.L Rm,Rn
Description
This instruction performs 32-bit multiplication of the contents of general registers Rn and Rm, and
stores the lower 32 bits of the result in the MACL register. The contents of MACH are not
changed.
Operation
MULL(long m, long n) /* MUL.L Rm,Rn */
{
MACL=R[n]*R[m];
PC+=2;
}
Example
MUL.L
R0,R1
STS
MACL,R0
Rev. 2.0, 03/99, page 332 of 396
MULtiply Long
Summary of Operation
Rn×Rm → MACL
;Before execution R0 = H'FFFFFFFE, R1 = H'00005555
;After execution
;Get operation result
Arithmetic Instruction
Instruction Code
0000nnnnmmmm0111 2–5
MACL = H'FFFF5556
Execution
States
T Bit
—