|
|
1.1 root 1: /* @(#)bzero.s 4.2 1/14/83 */
2: /* bzero(base, length) */
3:
4: #include "DEFS.h"
5:
6: ENTRY(bzero)
7: movl 4(ap),r3
8: jbr 2f
9: 1:
10: subl2 r0,8(ap)
11: movc5 $0,(r3),$0,r0,(r3)
12: 2:
13: movzwl $65535,r0
14: cmpl 8(ap),r0
15: jgtr 1b
16: movc5 $0,(r3),$0,8(ap),(r3)
17: ret
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.