smlatb

Signed Multiply Accumulate (Top x Bottom)

SMLATB<c> <Rd>, <Rn>, <Rm>, <Ra>

Accumulates (Rn.T * Rm.B) into Ra.

Details

The Signed Multiply Accumulate instruction accumulates (Rn.T * Rm.B) into Ra.

Pseudocode Operation

// Accumulates (Rn.T * Rm.B) into Ra

Example

SMLATB r0, r1, r2, r5

Encoding

Binary Layout
cond
00010000
Rd
Ra
Rm
1010
Rn
 
Format Multiply
Opcode 0x010000A0
Extension A32 (DSP)

Operands

  • Rd
    Destination general-purpose register
  • Rn
    First source / base general-purpose register
  • Rm
    Second source / offset general-purpose register
  • Ra
    Acc