Single quadrant division (i.e. both operands positive) of a 32-bit integer dividend and a 16-bit integer divisor, returning a 16-bit result. If both operands are equal, returns $7FFF (occurs naturally).
Word16 __div_ls_int(Word16 s_denominator, Word32 l_numerator)
int s1 = 0x2000; /* 8192 */ long s2 = 0x08000000; /* 134217728 */ int result; result = div_s_int (s1,s2); // Expected value of result: 134217728 / 8192 = 16384 = 0x4000