28.2.91 __builtin_msc_16
Architecture
dsPIC33A, dsPIC33C/E/F, dsPIC30
Description
16-bit multiply and subtract from accumulator.
Example:
volatile register int Accum asm("A");
int16_t a,b;
Accum = __builtin_msc_16(Accum,a,b);
Prototype
int __builtin_msc_16(int Accum, int16_t a, int16_t b);
Arguments
Accum
- Accumulator to accumulate result
a
- left hand side of multiply
b
- right hand side of multiply
Return Value
Returns Accum
-
a
*b
into
accumulator that is input.
Machine Instruction
msc
Error Messages
None.