28.2.142 __builtin_udivmod_3216
Architecture
dsPIC33A
Description:
Perform a mixed mode unsigned divide, returning the result and the remainder.
Prototype:
uint16_t __builtin_udivmod_3216(const uint32_t x, const uint16_t y, uint16_t *remainder);
Arguments
x
- numerator
y
- denominator
remainder
- location to store the remainder result
Return Value
The function returns x
/y
and
writes the result of
x
%y
to the
storage referenced by remainder
.
Machine Instruction
divu.l
Error Messages
None.