http://www.codebf.com/read/4343/34586
http://www.codebf.com/read/4698/38633
1单字节无符号数并归排序实例 DATS EQU 20H N EQU 5DH DATS1 EQU 21H TEST: MOV DPTR,#LIST MOV P2,#DATS MOV R0,#0 MOV R2,#N CPY: CLR A MOVC A,@A+DPTR MOVX @R0,A INC DPTR INC R0 DJNZ
http://www.codebf.com/read/4755/39563
DATA EQU 20H N EQU 8 TEST: MOV DPTR,#LIST MOV R0,#DATS MOV R2,#N CPY: CLR A MOVC A,@A+DPTR MOV @R0,A INC R0 INC DPTR DJNZ R2,COPY LCALL BUBSORT LIST: DB 53H,87H,12H,
http://www.codebf.com/read/4755/39564
DATS EQU 20H N EQU 5DH QUEUE EQU 1FH F DATA 3CH R DATA 3DH TST: MOV DPTR,#LIST MOV P2,#DATS MOV R0,#0 MOV R2,#N CPY: CLR A MOVC A,@A+DPTR MOVX @R0,A INC DPTR
http://www.codebf.com/read/4755/39565
DATA EQU 20H N EQU 8 SSSRT: MOV DPTR,#LIST MOV R0,#DATS MOV R2,#N CPY: CLR A MOVC A,@A+DPTR MOV @R0,A INC R0 INC DPTR DJNZ R2,CPY LCALL SELSORT LIST: DB 53H,87H,12H
http://www.codebf.com/read/4755/39566
N DATA 30H NFACT EQU 31H TST: MOV N,#5 LCALL FACT0 MOV N,#8 LCALL FACT0 MOV N,#10 LCALL FACT0 STOP: LJMP STOP FACT0: MOV A,N LCALL
http://www.codebf.com/read/4755/39567
COUNT: EQU 03H TABLE: DEFB 01H,20H,50H,3AH,2BH,E5H DSRT: MOV R6,#00H MOV R7,#COVNT DEC R1 MOV R0,#TAB MOV R1,#23H LOOP: MOV 2AH,@R0 INC R0 MOV 2BH,@R0 MOV 2CH,@R1 INC R
http://www.codebf.com/read/4755/39569
FDD2: MOV R2,#0 MOV A,R7 DEC A MOV R3,A MOV R6,DPH MOV R7,DPL FD81: CLR C MOV A,R3 SUBB A,R2 JC FD89 RRC A ADD A,R2 MOV R1,A
http://www.codebf.com/read/4755/39570
FINDS: MOV B,A MOV DPL,R1 MOV DPH,R0 FINDB1: MOVX A,@DPTR CJNE A,B,FINDB2 MOV R1,DPL MOV R0,DPH CLR A RET FIND2: INC DPTR DJNZ R7,FINDB1 MOV A,#0FFH R
http://www.codebf.com/read/4755/39571
虫虫下载站 半导体技术网 电子研发网 源码地带 电源技术网 单片机技术网 医疗电子技术 嵌入式系统与单片机