1: /*
   2:  * Copyright (c) 1983 Regents of the University of California.
   3:  * All rights reserved.  The Berkeley software License Agreement
   4:  * specifies the terms and conditions for redistribution.
   5:  */
   6: 
   7: #ifdef LIBC_SCCS
   8:         .asciz  "@(#)bzero.s	5.3 (Berkeley) 3/9/86"
   9: #endif LIBC_SCCS
  10: 
  11: /* bzero(base, length) */
  12: 
  13: #include "DEFS.h"
  14: 
  15: ENTRY(bzero, 0)
  16:         movl    4(ap),r3
  17:         jbr     2f
  18: 1:
  19:         subl2   r0,8(ap)
  20:         movc5   $0,(r3),$0,r0,(r3)
  21: 2:
  22:         movzwl  $65535,r0
  23:         cmpl    8(ap),r0
  24:         jgtr    1b
  25:         movc5   $0,(r3),$0,8(ap),(r3)
  26:         ret

Defined functions

_bzero defined in line 15; used 165 times
Last modified: 1986-03-10
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1125
Valid CSS Valid XHTML 1.0 Strict