Renesas M32R-FPU User Manual

Page 111

Advertising
background image

3

3-73

M32R-FPU Software Manual (Rev.1.01)

MUL

MUL

multiply and divide instruction

Multiply

[Mnemonic]

MUL Rdest,Rsrc

[Function]

Multiply

{ signed64bit tmp;

tmp = ( signed64bit ) Rdest * ( signed64bit ) Rsrc;

Rdest = ( int ) tmp;}

[Description]

MUL multiplies Rdest by Rsrc and puts the result in Rdest.

The operands are treated as signed values.

The contents of the accumulator are destroyed by this instruction. The condition bit (C) is

unchanged.

[EIT occurrence]

None

[Encoding]

dest

0001

MUL Rdest,Rsrc

src

0110

INSTRUCTIONS

3.2 Instruction description

Advertising