Mulh (Multiply Half-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.36

MULH (Multiply Half-word Data)

Multiply the half-word data in the lower 16 bits of "Rj" by the half-word data in the lower
16 bits of "Ri" as signed numbers, and store the resulting signed 32-bit data in the
multiplication/division register (MDL).
The multiplication/division register (MDH) is undefined.
■ MULH (Multiply Half-word Data)
Assembler format:
MULH Rj, Ri
Operation:
Rj × Ri → 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 "MDL" of the operation result is "0", cleared otherwise.
V: Unchanged
C: Unchanged
Execution cycles:
3 cycles
Instruction format:
124
N
Z
V
C
C
C
MSB
1
0
1
1
1
1
1
1
Rj
LSB
Ri

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr series

Table of Contents