1 /* 2 * COPYRIGHT: BSD - See COPYING.ARM in the top level directory 3 * PROJECT: ReactOS CRT library 4 * PURPOSE: Implementation of __rt_udiv 5 * PROGRAMMER: Timo Kreuzer 6 * REFERENCE: http://research.microsoft.com/en-us/um/redmond/projects/invisible/src/crt/md/arm/_div10.s.htm 7 * http://research.microsoft.com/en-us/um/redmond/projects/invisible/src/crt/md/arm/_udiv.c.htm 8 */ 9 10 #define __rt_div_worker __rt_udiv_worker 11 12 #include "__rt_div_worker.h" 13 14 ARM_DIVRESULT 15 __rt_udiv( 16 unsigned int divisor, 17 unsigned int dividend) 18 { 19 ARM_DIVRESULT result; 20 21 __rt_udiv_worker(&result, divisor, dividend); 22 return result; 23 } 24 25