$$divU

.  . Single precision divide for unsigned integers.  . . Quotient is truncated towards zero.  . Traps on divide by zero.

INPUT REGISTERS

.  arg0 == dividend . arg1 == divisor . mrp == return pc . sr0 == return space when called externally

OUTPUT REGISTERS

.  arg0 = undefined . arg1 = undefined . ret1 = quotient

OTHER REGISTERS AFFECTED

.  r1 = undefined

SIDE EFFECTS

.  Causes a trap under the following conditions: . divisor is zero . Changes memory at the following places: . NONE

PERMISSIBLE CONTEXT

.  Unwindable.  . Does not create a stack frame.  . Suitable for internal or external millicode.  . Assumes the special millicode register conventions.

DISCUSSION

.  Branchs to other millicode routines using BE: . $$divU_# for 3,5,6,7,9,10,12,14,15 . . For selected small divisors calls the special divide by constant . routines written by Karl Pettis.  These are: 3,5,6,7,9,10,12,14,15.