28.2.86 __builtin_mpy_32

Architecture

dsPIC33A

Description

32-bit multiply into an accumulator.

Example:

volatile register int Accum asm("A");
int32_t a,b;

A = __builtin_mpy_32(a,b);

Prototype

int __builtin_mpy_32(int32_t a, int32_t b);

Arguments

a - left hand side of the multiply

b - right hand side of the multiply

Return Value

Returns the multiplication result a*b into an accumulator.

Machine Instruction

mpy.l

Error Messages

None.