120
CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
7.34 MUL (Multiply Word Data)
Multiplies the word data in "Rj" by the word data in "Ri" as signed numbers, and stores
the resulting signed 64-bit data with the high word in the multiplication/division register
(MDH), and the low word in the multiplication/division register (MDL).
■ MUL (Multiply Word Data)
Assembler format: MUL Rj, Ri
Operation: Rj × Ri → MDH, MDL
Flag change:
N: Set when the MSB of the "MDL" of the operation result is "1", cleared when the MSB is "0".
Z: Set when the operation result is "0", cleared otherwise.
V: Cleared when the operation result is in the range -2147483648 to 2147483647, set otherwise.
C: Unchanged
Execution cycles: 5 cycles
Instruction format:
NZVC
CCC–
MSB LSB
10101111 Rj Ri