FMUL: MOV A,R3 ORL A,R4 JZ MUL6 MOV A,R6 ORL A,R7 JZ MUL5 MOV A,R7 MOV B,R4 MUL AB MOV A,B XCH A,R7 MOV B,R3 MUL AB ADD A,R7 MOV R7,A CLR A ADDC A,B XCH A
http://www.codebf.com/read/4755/39557
MOV R0, #30H MOV R1, #10H MOV R7,#3 CLR C LOOP: MOV A, @R0 SUBB A, @R1 MOV @R1, A INC R0 INC R1 DJNZ R7, LOOP RET
http://www.codebf.com/read/4755/39558
DADD: MOV A,R3 MOV C,ACC.7 MOV SR0,C XRL A,R6 MOV C,ACC.7 MOV A,R3 CLR ACC.7 MOV R3,A MOV A,R6 CLR ACC.7 MOV R6,A JC DAB2 LCALL NADD MOV
http://www.codebf.com/read/4755/39559
FMUL: LCALL MVR0 MOV A,@R0 XRL A,@R1 RLC A MOV 1FH,C LCALL MUL0 LJMP MOV0 MUL0: LCALL MVR1 MUL1: MOV A,R3 ORL A,R4 JZ MUL6 MOV A,R6
http://www.codebf.com/read/4755/39560
ADD0: CLR C ADC0: XCH A,R7 ADDC A,R3 XCH A,R7 XCH A,R6 ADDC A,R2 XCH A,R6 RET
http://www.codebf.com/read/4755/39561
ADD1: CLR C MOV A,@R0 ADDC A,@R1 MOV @R0,A INC R0 INC R1 DJNZ R2,ADD1 JNC OUT MOV @R0,#01H RET OUT: DEC R0 RET
http://www.codebf.com/read/4755/39562
#include // SFR declarations //------------------------------------------------------------------------------------ // Global CONSTANTS //---------------------------------------
http://www.codebf.com/read/4811/41043
#include "c8051F020.h" #include /* 液晶点阵显示试验 -128*64,控制器KS0108 试验准备:将拨码开关S1和S2置于ON位置. 运行此程序,LCD将交替显示"换代创新后的51-高速SOC美国CYGNAL 8051F" "新华龙电子-单片机推广应用急先锋!","汉字". */ #def ...
http://www.codebf.com/read/4811/41046
http://www.codebf.com/read/4811/41051
http://www.codebf.com/read/4811/41065
虫虫下载站 半导体技术网 电子研发网 源码地带 电源技术网 单片机技术网 医疗电子技术 嵌入式系统与单片机