smulwb

Signed Multiply (Word x Bottom)

SMULWB<c> <Rd>, <Rn>, <Rm>

Multiplies 32-bit Rn by bottom 16-bits of Rm, takes top 32-bits of result.

Details

The Signed Multiply instruction multiplies 32-bit Rn by bottom 16-bits of Rm, takes top 32-bits of result.

Pseudocode Operation

// Multiplies 32-bit Rn by bottom 16-bits of Rm, takes top 32-bits of result

Example

SMULWB r0, r1, r2

Encoding

Binary Layout
cond
00010010
Rd
0000
Rm
1010
Rn
 
Format Multiply
Opcode 0x012000A0
Extension A32 (DSP)

Operands

  • Rd
    Destination general-purpose register
  • Rn
    Word Src
  • Rm
    Half Src