LCALLDS_DISPLAY;006DJNZR6,DS_KKRETTIME_DELAY:;设定时间,键延时用MOVR6,#0AH;#10TIME_KK:LCALLCHULIMOVR0,#TIME_DATALCALLDISPMOVR0,#TIME_DATACALLTIME_DISPLAYDJNZR6,TIME_KKRETDATE_DELAY:;设定日期,键延时用MOVR6,#0AHDATE_KK:LCALLCHULIMOVR0,#DATE_DATALCALLDISPMOVR0,#DATE_DATACALLTIME_DISPLAYDJNZR6,DATE_KKRET;==================================================;蜂鸣器响一声子程序(适用交流蜂鸣器);==================================================BEEP_BL:MOVR6,#100BL2:CALLDEX1CPLBEEPDJNZR6,BL2MOVR5,#10CALLDELAY_BLRETDEX1:MOVR7,#180DE2:NOPDJNZR7,DE2RETDELAY_BL:;(R5)*延时10MSMOVR6,#50DL1:MOVR7,#100DJNZR7,$DJNZR6,DL1DJNZR5,DELAY_BLRET;******************************************************TAB_NU:DB28h,7eh,0a2h,62h,74h,61h,21h,7ah,20h,60hDB0FFH;灭DB30h,25h,0a9h,26h,0a1h,0b1h;A-F《共阳数码管》;******************************************************END