#include <cruntime.h> uint16_t __uint16_mod_asgn(uint16_t *dividend, uint16_t divisor);
__uint16_mod_asgn updates the 16-bit unsigned integer pointed to by dividend by assigining it the remainder after division of dividend by divisor. The remainder is returned as the result.
__uint16_mod_asgn may not be provided on all implementations of CrossWorks.