Commit | Line | Data |
---|---|---|
6c02a5ea KB |
1 | /*- |
2 | * Copyright (c) 1990 The Regents of the University of California. | |
3 | * All rights reserved. | |
4 | * | |
5 | * This code is derived from software contributed to Berkeley by | |
6 | * the Systems Programming Group of the University of Utah Computer | |
7 | * Science Department. | |
8 | * | |
1c15e888 C |
9 | * Redistribution and use in source and binary forms are permitted provided |
10 | * that: (1) source distributions retain this entire copyright notice and | |
11 | * comment, and (2) distributions including binaries display the following | |
12 | * acknowledgement: ``This product includes software developed by the | |
13 | * University of California, Berkeley and its contributors'' in the | |
14 | * documentation or other materials provided with the distribution and in | |
15 | * all advertising materials mentioning features or use of this software. | |
16 | * Neither the name of the University nor the names of its contributors may | |
17 | * be used to endorse or promote products derived from this software without | |
18 | * specific prior written permission. | |
19 | * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED | |
20 | * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF | |
21 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | |
6c02a5ea KB |
22 | */ |
23 | ||
24 | #if defined(LIBC_SCCS) && !defined(lint) | |
1c15e888 | 25 | .asciz "@(#)umodsi3.s 5.1 (Berkeley) 6/7/90" |
6c02a5ea KB |
26 | #endif /* LIBC_SCCS and not lint */ |
27 | ||
28 | #include "DEFS.h" | |
29 | ||
30 | /* unsigned % unsigned */ | |
31 | ENTRY(__umodsi3) | |
32 | movel sp@(4),d1 | |
33 | divull sp@(8),d0:d1 | |
34 | rts |