28.2.18 __builtin_div_3216

Architecture

dsPIC33A

Description

Perform a mixed mode integer divide.

Prototype

int16_t __builtin_div_3216(const int32_t x, const int16_t y);

Arguments

x – numerator

y – denominator

Return Value

Returns x/y if the result is in bounds of a 16-bit signed result.

Machine Instruction

divs.l 

Error Messages

None.