Mulxu (Multiply Extend As Unsigned) - Renesas H8/300 Series Programming Manual

Table of Contents

Advertisement

MULXU (MULtiply eXtend as Unsigned)

<Operation>
Rd × Rs → Rd
<Assembly-Language Format>
MULXU Rs, Rd
<Examples>
MULXU R0H, R3
<Operand Size>
Byte
<Description>
This instruction performs 8-bit × 8-bit → 16-bit multiplication. It multiplies a destination
register by a source register and places the result in the destination register. The source
register is an 8-bit register. The destination register is a 16-bit register containing the data to
be multiplied in the lower byte. (The upper byte is ignored). The result is placed in both bytes
of the destination register. The operation is shown schematically below.
Don't-care
The multiplier can occupy either the upper or lower byte of the source register.
<Instruction Formats>
Addressing
mode
Register direct
Rd
×
Multiplicand
8
Mnem.
Operands
MULXU
Rs, Rd
<Condition Code>
I
— — — — — — — —
I: Previous value remains unchanged.
H: Previous value remains unchanged.
N: Previous value remains unchanged.
Z: Previous value remains unchanged.
V: Previous value remains unchanged.
C: Previous value remains unchanged.
Rs
Multiplier
8
Instruction code
1st byte
2nd byte
5
0
rs
0 rd
90
MULXU
H
N
Z
Rd
Product
16
3rd byte
4th byte
V
C
No. of
states
14

Advertisement

Table of Contents
loading

Table of Contents