谁能给我一点8051单片机汇编程序的实例?谢谢答:;汇编冒泡排序,从小到大 ORG 0000H LJMP MAIN ORG 0030H MAIN: DEC 4FH MOV R6,4FH MA: MOV R0,#50H MOV R1,#51H MOV B,4FH LOOP: MOV A,@R0 MOV 60H,@R1 CLR C CJNE A,60H,NEXT NEXT: JNC EXCH ;JC EXCH 从大到小 LJMP LOOP1 EXCH: XCH A,60H MOV @R0,A MOV @...
单片机中断系统综合实例设计答:定时器中断的简单时钟程序,给你一个吧。include<reg51.h>#define uchar unsigned charuchar code ledtab[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x40};//0-9unsigned char sec=0,min=0,hour=12,scanled;unsigned char key,flashbit,mode,time; unsigned char disdat...