代码搜索:Loop
找到约 10,000 项符合「Loop」的源代码
代码结果 10,000
www.eeworm.com/read/344383/11885015
src main.src
; .\main.SRC generated from: main.c
; COMPILER INVOKED BY:
; C:\Keil\C51\BIN\C51.EXE main.c BROWSE DEBUG OBJECTEXTEND SRC(.\main.SRC)
NAME MAIN
; #pragma asm
; ASSEMBLE CODE HERE
www.eeworm.com/read/155317/11885019
s strcpy.s
;
; char *strcpy(char *dst, char *src)
.text
_strcpy::
mov R26,R16
mov R27,R17
mov R30,R18
mov R31,R19
loop:
ld R0,Z+
st X+,R0
tst R0
brne loop
done:
ret
www.eeworm.com/read/155317/11885050
s cstrcpy.s
;
; char *cstrcpy(char *dst, const char *src)
.text
_cstrcpy::
mov R26,R16
mov R27,R17
mov R30,R18
mov R31,R19
loop:
lpm
adiw R30,1
st X+,R0
tst R0
brne loop
done:
ret
www.eeworm.com/read/344383/11885051
c main.c
#pragma asm
; ASSEMBLE CODE HERE
ORG 0000H
AJMP MAIN
ORG 0100H
MAIN:
LL: MOV A,#0AH
MOV R6,#11H
MOV P0,#40H
LOOP:INC A
MOV R0,A
MOVC A,@A+PC
www.eeworm.com/read/155317/11885098
s mpy16s.s
; fast 16x16=16 multiply
.text
mpy16s::
st -Y,r0
st -Y,r1
clr r0
clr r1
loop:
cpi r16,0
cpc r16,r17
breq done
lsr r17
ror r16
brsh skip
add r0,r18
adc r1,r19
skip:
lsl
www.eeworm.com/read/155317/11885157
s struct.s
; block copy
;
; this routine cannot use R18/R19 w/o saving them because the compiler
; will not save them
; asgnblk
; size in R16/R17
; stack:
; dst
; src
.area text
asgnblk::
st -Y,R
www.eeworm.com/read/155317/11885190
s cstrcpyx.s
;
; char *cstrcpy(char *dst, const char *src)
.text
_cstrcpy::
mov R26,R16
mov R27,R17
mov R30,R18
mov R31,R19
loop:
elpm
adiw R30,1
st X+,R0
tst R0
brne loop
done:
re
www.eeworm.com/read/258041/11892265
asm port1 (2).asm
KEYLEFT BIT P1.0
KEYRIGHT BIT P1.1
LEDLEFT BIT P1.2
LEDRIGHT BIT P1.3 ;位定义
ORG 00H
SETB KEYLEFT
SETB KE
www.eeworm.com/read/258041/11892786
asm audio.asm
OUTPUT BIT P1.0 ;P1.0端口
ORG 00H
LOOP: CLR C ;主程序
MOV OUTPUT,C
CALL DELAY
SETB C
MOV OUTPUT,C ;输出方波
CALL DELAY
www.eeworm.com/read/344239/11895015
java labeledwhile.java
//: control/LabeledWhile.java
// While loops with "labeled break" and "labeled continue."
import static net.mindview.util.Print.*;
public class LabeledWhile {
public static void main(String[]