mullhwu

Multiply Low Halfword Unsigned

mullhwu RT, RA, RB

Unsigned Multiply Low Halfword.

Details

Multiplies the zero-extended bottom halfword of RA by the zero-extended bottom halfword of RB, storing the low 32 bits of the product in RT. This is an unsigned 16×16→32 multiply operation on the lower halves. No condition register or status flags are affected.

Pseudocode Operation

a ← (RA[16:31])
b ← (RB[16:31])
RT ← (a × b)[32:63]

Example

mullhwu r3, r4, r5

Encoding

Binary Layout
4
0
RT
6
RA
11
RB
16
392
21
0
31
 
Format XO-form
Opcode 0x10000310
Extension Embedded

Operands

  • RT
    Target
  • RA
    Src A
  • RB
    Src B