Mul (Multiply Word Data) - Fujitsu FR Family Instruction Manual

32-bit microcontroller
Hide thumbs Also See for FR Family:
Table of Contents

Advertisement

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
Rj × Ri → MDH, MDL
Operation:
Flag change:
N:
Z:
V:
C:
Execution cycles:
5 cycles
Instruction format:
120
N
Z
V
C
C
C
C
Set when the MSB of the "MDL" of the operation result is "1", cleared when the MSB is "0".
Set when the operation result is "0", cleared otherwise.
Cleared when the operation result is in the range -2147483648 to 2147483647, set otherwise.
Unchanged
MSB
1
0
1
0
1
1
1
1
Rj
LSB
Ri

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr series

Table of Contents