Multiplication/Division Register (Md) - Fujitsu FR Family Instruction Manual

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

Advertisement

3.3.6

Multiplication/Division Register (MD)

The multiplication/division register (MD) is a 64-bit register used to contain the result of
multiplication operations, as well as the dividend and result of division operations.
■ Overview of the Multiplication/Division Register
The multiplication/division register (MD) is a register used to contain the result of multiplication
operations, as well as the dividend and result of division operations. The products of multiplication are
stored in the "MD" in 64-bit format. In division operations, the dividend must first be placed in the lower
32 bits of the "MD" beforehand. Then as the division process is executed, the remainder is placed in the
higher 32 bits of the "MD", and the quotient in the lower 32 bits.
Figure 3.3-15shows an example of the use of the "MD" in multiplication, and Figure 3.3-16shows an
example of division.
Before execution of instruction MUL R00,R01
R00
12345678
R01
76543210
MD
????????????????
Before execution of stepwise division
R00
12345678
MD
????????76543210
Figure 3.3-15 Sample Operation of "MD" in Multiplication
H
H
H
Figure 3.3-16 Sample Operation of "MD" in Division
H
Using R00
H
CHAPTER 3 REGISTER DESCRIPTIONS
After execution of instruction MUL R00,R01
R00
12345678
H
R01
76543210
H
MD
086A1C970B88D780
After execution of stepwise division
R00
12345678
H
MD
091A264000000006
H
H
29

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr series

Table of Contents