代码搜索:Loop
找到约 10,000 项符合「Loop」的源代码
代码结果 10,000
www.eeworm.com/read/136812/5857149
s ffs.s
.data
/* .asciz "@(#)ffs.s 1.1 92/07/30 SMI" */
.text
#include "DEFS.h"
ENTRY(ffs)
movl PARAM,d0
beqs return
moveq #-1,d1
loop:
lsrl #1,d0
dbcs d1,loop
movl d1,d0
negl d0
return: RET
www.eeworm.com/read/136812/5857159
s strlen.s
.data
/* .asciz "@(#)strlen.s 1.1 92/07/30 SMI" */
.text
#include "DEFS.h"
| Usage: strlen(s)
| Returns the number of
| non-NULL bytes in string argument.
ENTRY(strlen)
movl PARAM,a0 | s
movl a
www.eeworm.com/read/136812/5857305
s bzero.s
/*
* @(#)bzero.s 1.1 92/07/30 Copyr 1987 Sun Micro
*/
#include
ENTRY(bzero)
cmp %o1, 7 ! if small counts, just zero bytes
ble zchar
andcc %o0, 3, %o3 ! if bigger, align
www.eeworm.com/read/136812/5859971
s movc.s
.data
.asciz "@(#)movc.s 1.1 92/07/30 Copyr 1986 Sun Micro"
.even
.text
| Copyright (c) 1984 by Sun Microsystems, Inc.
#include "asm_linkage.h"
ret: rts
|
www.eeworm.com/read/136812/5860324
cshwhatis
.TH CSH 1 csh \- alias: shell macros.
.TH CSH 1 csh \- break: exit while/foreach loop.
.TH CSH 1 csh \- breaksw: exit from switch.
.TH CSH 1 csh \- case: selector in switch.
.TH CSH 1 csh \- cd: chang
www.eeworm.com/read/136812/5860680
s ldstublock.s
/*
* @(#)ldstublock.s 1.1 92/07/30 Copyright(c) Sun Microsystems, Inc.
*/
.seg "text"
.global _mplock
_mplock:ldstub [%o0],%o1
tst %o1
be out
nop
loop: ldub [%o0],%o1
tst %o1
be skip
n
www.eeworm.com/read/135582/5886208
c nxkeyboard.c
/*
* Copyright (c) 2003 Century Software, Inc. All Rights Reserved.
*
www.eeworm.com/read/134007/5896427
c whets.c
/*********************************************************************** */
/* Benchmark #2 -- Single Precision Whetstone (A001) */
/*
www.eeworm.com/read/133772/5902932
changelog
2003-02-24 Jonathan Larmour
* cdl/ser_loop.cdl: Remove irrelevant doc link.
2001-09-10 Jonathan Larmour
* cdl/ser_loop.cdl:
www.eeworm.com/read/132807/5909295
s com.s
.define .com
! #bytes in cx
.text
.com:
mov bx,sp
inc bx
inc bx
sar cx,#1
1:
not (bx)
inc bx
inc bx
loop 1b
ret