04.03.2013 Views

RL78/D1A User's Manual: Hardware - Renesas

RL78/D1A User's Manual: Hardware - Renesas

RL78/D1A User's Manual: Hardware - Renesas

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<br />

Under development<br />

Preliminary document<br />

Specifications in this document are tentative and subject to change.<br />

<strong>RL78</strong>/<strong>D1A</strong> CHAPTER 18 MULTIPLIER AND DIVIDER/MULTIPLY-ACCUMULATOR<br />

18.4 Operations of Multiplier and Divider/Multiply-Accumulator<br />

18.4.1 Multiplication (unsigned) operation<br />

• Initial setting<br />

Set the multiplication/division control register (MDUC) to 00H.<br />

Set the multiplicand to multiplication/division data register A (L) (MDAL).<br />

Set the multiplier to multiplication/division data register A (H) (MDAH).<br />

(There is no preference in the order of executing steps and . Multiplication operation is automatically<br />

started when the multiplier and multiplicand are set to the MDAH and MDAL registers, respectively.)<br />

• During operation processing<br />

Wait for at least one clock. The operation will end when one clock has been issued.<br />

• Operation end<br />

Read the product (lower 16 bits) from multiplication/division data register B (L) (MDBL).<br />

Read the product (higher 16 bits) from multiplication/division data register B (H) (MDBH).<br />

(There is no preference in the order of executing steps and .)<br />

• Next operation<br />

The next time multiplication, division or multiply-accumulation is performed, start with the initial settings of each<br />

step.<br />

Remark Steps to correspond to to in Figure 18-6.<br />

Figure 18-6. Timing Diagram of Multiplication (Unsigned) Operation (2 3 = 6)<br />

R01UH0317EJ0004 Rev. 0.04 1018<br />

Feb. 22, 2013

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!