1/****************************************************************
2Copyright (C) 1990 Lucent Technologies
3All Rights Reserved
4
5Permission to use, copy, modify, and distribute this software and
6its documentation for any purpose and without fee is hereby
7granted, provided that the above copyright notice appear in all
8copies and that both that the copyright notice and this
9permission notice and warranty disclaimer appear in supporting
10documentation, and that the name of Lucent or any of its entities
11not be used in advertising or publicity pertaining to
12distribution of the software without specific, written prior
13permission.
14
15LUCENT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
16INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.
17IN NO EVENT SHALL LUCENT OR ANY OF ITS ENTITIES BE LIABLE FOR ANY
18SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
19WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
20IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
21ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
22THIS SOFTWARE.
23****************************************************************/
24
25
26.text
27	entry rnd_prod
28rnd_prod:
29	using	rnd_prod,15
30	ld	0,0+64(13)
31	mxd	0,8+64(13)
32	lrdr	0,0
33	b	2(,14)
34	drop
35	entry	rnd_quot
36rnd_quot:
37	using	rnd_quot,15
38	ld	0,0+64(13)
39	ldr	2,0
40	ld	4,8+64(13)
41	ddr	2,4
42	std	2,32(13)
43	mxdr	4,2
44	sdr	2,2
45	sxr	0,4
46	dd	0,8+64(13)
47	sdr	2,2
48	ld	4,32(13)
49	sdr	6,6
50	axr	0,4
51	lrdr	0,0
52	b	2(,14)
53