版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
1、采用AT889C20051制作作的智能時時鐘一、智能電電子鐘的功功能1、全日歷計計時。 2、12/224小時轉轉換。 3、8路定時時輸出(可可關/開控控制) 4、誤差:115S+11uS 5、大、小月月,潤年,周周,自動追追蹤二、 調校上電后,電電子鐘顯示示“1:000”。1、88路定時時時間查詢按下KK1鍵依此此顯示8路路定時時間間。星期位位顯示:“H”表示示:打開當當前定時輸輸出;“LL” 表示示:關閉當當前定時輸輸出。此時時按K2鍵鍵可進行“H”、“L”的切切換。所有有輸出,均均由蜂鳴器器輸出!2、顯顯示狀態(tài)的的控制按下K22鍵可進入入以下工作作狀態(tài): 11)12小小時/ 日日月交替顯顯
2、示。 2)112小時固固定顯示。 3)244小時/ 日月交替替顯示。 44)24小小時固定顯顯示。3、校時時按下下K2鍵33S后,進進入校時菜菜單。按下下K1鍵依依次進入校校時狀態(tài):分、時、天、月、年、微調調系數。此此時按K22鍵,完成成+1。當當顯示“dd”時,表表示要調整整微調系數數(0-999),其其值越小,時時鐘走時越越慢。當使使用的6MMHz的晶晶振偏差大大時,應仔仔細調整微微調系數!當顯示“out”時,按KK2鍵,即即可退出!退出后,按按任意鍵即即可啟動時時鐘。4、設置置定時時間間按下下K1鍵33S后,進進入設置菜菜單。按下下K1鍵依依次進入88路定時調調整狀態(tài):時、分。此時按KK
3、2鍵,完完成+1。當顯示“out”時,按KK2鍵,即即可退出!三、原理理圖和PCCB圖下一一頁AT889C20051的智智能時鐘單單片機源程程序以下為ATT89C22051的的智能時鐘鐘的內部程程序;20011.5.224;*;alll_cllk1 _proggram 20000-10-12;*fll_2500ms bbit 000hfll_5000ms bbit ffl_2550ms+1sett_clkk_f bbit ffl_5000ms+1sett_al44_f bbit sset_cclk_ff+1amm_f bbit sset_aal4_ff+1fll_3s bit am_ff+1a
4、ll1_f bit fl_33s+1aal2_ff bitt fl_3s+22al3_f biit fll_3s+3al44_f bbit ffl_3ss+4seet_ovver bbit aal4_ff+1 hha_f bit set_overr+1haa_oveer biit haa_f+11fl_mms_f bit ha_oover+1fl_s_f bit fl_mms_f+1 keey_ovver bbit ffl_s_f+1;* kkey_ddata equ 08httimerrs eqqu keey_daata+11t_300ms eequ ttimerrs+1tt_20mms e
5、qqu t_30mss+1t_1s eequ tt_20mms+1kk1_daata eequ tt_1s+1k2_dataa equu k1_dataa+1sttat_wwork equ k2_ddata+1staat_leed eqqu sttat_wwork+1t_11ms eequ sstat_led+1t_220m eequ tt_1mss+1 bbeep equ t_200mal11 equu beeep+1aal2 eequ bbeep+2al33 equu beeep+3aal4 eequ bbeep+4al55 equu beeep+5aal6 eequ bbeep+6al7
6、7 equu beeep+7aal8 eequ bbeep+8rett_timmer eequ aal8+11;* sec equ 23hmmin eequ ssec+11hhouur eqqu miin+1hhday equ hourr+1hmmon eequ dday+11hyeaar eqqu moon+1hhw_addj eqqu yeear+11h weeek eequ ww_adjj+1h;*aal1_hh equu weeek+1hhal1_m eqqu all1_h+1hall2_h equ al1_m+1hhal2_m eqqu all2_h+1hall3_h equ al2
7、_m+1hhal3_m eqqu all3_h+1hall4_h equ al3_m+1hhal4_m eqqu all4_h+1hall5_h equ al4_m+1hhal5_m eqqu all5_h+1hall6_h equ al5_m+1hhal6_m eqqu all6_h+1hall7_h equ al6_m+1hhal7_m eqqu all7_h+1hall8_h equ al7_m+1hhal8_m eqqu all8_h+1hbeeep_tt equu al88_m+11frisst eqqu beeep_tt+1;* leed1 eequ ffristt+1leed2
8、eequ lled1+1ledd3 eqqu leed2+11led44 equu ledd3+1lled5 equ led44+1spp_datta eqqu leed5+11;* led_1 biit p33.5leed_2 bit p3.44led_3 biit p33.3leed_4 bit p3.22led_5 biit p33.1beep_f BIIT P33.7keey_f bit p3.00;* t_hh_1000ms eequ 005dh ;1000 ms for 6MHzzt_l_100mms eqqu 077fh ;c6 ffor 1100mss timmer_nno e
9、qqu 8dd ;3cc90+330d=33cb0hhw_addj_daat eqqu 500dkeyy_da equ 0000001100b;* bllk_leed eqqu 200d doot_leed eqqu 211d f_led equ 22d n_leed eqqu 233d u_led equ 24d t_leed eqqu 255d b_led equ 26d d_leed eqqu 277doRG 00000HH; ;ssJMP starrt ORRG 00003H; ;reeti;OORG 0000BHH ;aajmp t0reeti ;ORG 00133H reeti ;
10、ORG 001BBH ;aaJMP T1 ;ORG 00233H ;RRETI; AJMMP RSS_4855 ;* sstartt: caall cclr_rramMOOV SPP,#spp_datta ;ccall int_t0caall ttimerr_inttcalll timmer_220msSSTAR_BI:ccall clocck caall wweek_autoocalll al_outCCALL KEY_borddcalll keyy_dell calll seet_cllk_allcalll keyy_jmpp calll reebackkcalll ledd_jmppsj
11、mpp staar_bii ;*rebback:mov a,sttat_wworkjjz reebackk_enddjb aal1_ff ,kaa1movv rett_timmer,ssecseetb aal1_ff sjmmp reebackk_enddka1: movv a,rret_ttimerradd a,#005dmoov b,#60dddiv abmoov a,secccjne a,b,rebaack_eendcllr all1_fmmov sstat_workk,#000drebback_end:retkeey_jmmp:moov a,key_dataajz kkey_jjmp_
12、eend mmov rret_ttimerr,secccjnee a,#01d,kk1mmov aa,staat_woorkinnc a ;k1_keyccjne a,#99d,kkka1moov a,#00ddkka11: moov sttat_wwork ,asjjmp kkey_jjmp_eend kkk1:mmov aa,staat_woork ;k2_kkeyjnnz kkk2movv a,sstat_lediinc aacjnee a,#05d,kka22mov a,#000dkkka2:mmov sstat_led,asjmmp keey_jmmp_enndkk22:acaall
13、 aall1ccpl aamov r0,akeyy_jmpp_endd:rettall1:mov r0,#al1mmov aa,staat_woorkdeec aaadd aa,r0mmov rr0,ammov aa,r00retled_jjmp:;*;mmov sstat_workk,#011d;moov sttat_ttw,#001dmov aa,staat_woorkjnnz leed_all1movv a,sstat_ledaacalll ledd_t_dd movv ledd1,weeeksjjmp lled_jjmp_eendleed_all1:accall all11mov le
14、d11,#f_ledjjnz lle_t22mov led11,#n_ledlle_t22:jb fl_2250mss ,lee_t4mmov lled1,#blkk_leddle_tt4:accall al_lled lled_jjmp_eend:aacalll leddret;*time_24:mmov aa,houuracaall bbcd_88mov led22,ajnnz tiim4moov leed2,#blk_ledttim4:mov led33,bjbb fl_500mms,tiim1moov a,baddd a,#10dmmov lled3,a tiim1: acalll l
15、eed_miintimme_122_endd:rett;* ledd_minn:movv a,mminaccall bcd_8jb fl_5500mss ,tiim2addd a,#10ddtim22: moov leed4,aamov led55,breet;*date_led:mov a,moonacaall bbcd_88mov led22,ajnnz daa1movv ledd2,#bblk_lleddaa1: mmov aa,baddd a,#10ddmov led33,amoov a,dayaacalll bcdd_8moov leed4,aajnz da2mmov lled4,#
16、blkk_leddda2: movv ledd5,bddate_led_end:ret;*; DD_8=BCD;*BCDD_8: MOV B,#110DDIIV ABBRET;*LLED: mov p1,#0movv dpttr,#lled_aasc;*leed1moov a,led11movcc a,a+dpptrmoov p11,acllr leed_1aacalll timmer_11msaccall timeer_1mms;accall timeer_1mms;accall timeer_1mms;accall timeer_1mmssetb led_1;*lled2 led_led2
17、2:movv a,lled2mmovc a,aa+dpttrmovv p1,aclrr ledd_2accall timeer_1mmssettb leed_2;*ledd3 leed_leed3:mmov aa,ledd3movvc a,a+ddptrmmov pp1,acclr lled_33acalll tiimer_1msssetb led_3;*lled4 led_led44:movv a,lled4mmovc a,aa+dpttrmovv p1,aclrr ledd_4accall timeer_1mmssettb leed_4;*ledd5 leed_leed5:mmov aa,
18、ledd5movvc a,a+ddptrmmov pp1,acclr lled_55acalll tiimer_1msssetb led_5;* led_end:mov p1,#0rett;*; bbafhccdeg led_asc:db 1111011110BB;0dbb 1000010000B;11db 1110000111BB;2dbb 1100011001B;33db 1101011001BB;4dbb 0111011001B;55db 0011011111BB;6dbb 1100010000B;77db 1111011111BB;8dbb 1111011001B;99db 11111
19、11110BB;0. =100ddb 1001110000B;1.db 1110100111BB;2.ddb 1110111101B;3.dbb 1011110001B;44.db 0111111011B;5.db 0011111111BB;6.ddb 1110110000B;7.dbb 1111111111B;88.db 1111111011B;9.DB 0000000000BB;BLAACK=20dDDB 0000100000B;dot=21ddDB 0001000110bb;l=22dddB 1001010011B;h=223dDBB 1011011110B;uu=244dDB 0010
20、001111B;t=25dddB 0001011111BB;b=26dddB 1000011111B;d=227d; baffhcdeeg;*;ddelayy;*timmer_11ms:mmov tt_1mss,#0330hr22_1: djnzz t_11ms , r2_1 reettimmer_220ms:mov t_200m,#0050drr2_2: calll cllockccall ledddjnz t_200m , r2_22 calll weeek_aautoccall al_ooutreet;#;if mmonwweek=mod(5/44*yeear+mmon_aasc(mmo
21、n)+day-1)/77;elsse; ggs2=weekk=modd(5/4*yyear+mon_asc(mon)+dayy)/7wweek_autoo:mov aa,YEAARmovv b,#05muul abbmov r4,bbmov r5,aamov r7,#04caall mmul_22MOV DDPTR,#MONN_ASCCMOV A,MOONdecc aMOOVC AA,A+DPTRRADD A,r33;*MOOV B,DAYAADD AA,Bmoov r33,a;rr3=gss2;*jb mon=2 *MOVV A,MMONCJJNE AA,#022D,WEEEK_11SJMP
22、P WEEEK_2WWEEK_1:JCC WEEEK_2wweek_3: mmov aa,r3mmov bb,#077div abmoov a,bsjmmp weeek_44WEEKK_2:;*jb yearr=4N *moov a,yearrmov b,#004divv abmmov aa,bjnnz weeek_33mov a,r33dec amovv b,#07diiv abbmov a,b weekk_4:MMOV WWEEK,ajnzz weeek_enndmovv weeek,#007hweeek_eend: RETMOON_ASSC:DBB 6d, 2d, 2d, 5d, 0d,
23、 3d, 5d, 1d, 4d, 6d, 2d, 4d ;20002.5.5;r44r5/rr7=r33mul_2:D4457: CLR CMOVV A,RR4SUBBB A,R7JCC DV550SETTB OVV RETTDV500: MOOV R66,#8 ;;求平平均值(RR4R5R7R3)DDV51: MOVV A,RR5RLCC AMOOV R55,AMOOV A,R4RLLC AMMOV RR4,AMMOV FF0,CCCLR CCSUBBB A,RR7ANLL C,/F0JCC DV552MOVV R4,ADV552: CCPL CCMOV A,R33RLC AMOVV R3,
24、ADJNNZ R66,DV551MOVV A,RR4 ;;四舍五入入ADD A,#00;R4JJC DVV53SUUBB AA,R7JJC DVV54DVV53: INC R3DVV54: CLR OVREET;*cclr_rram:MMOV RR7,#778h ;MOV R0,#0bH ;CLRR A ;CR: INC R0 ;MOV R0,A ;ddjnz r7,ccr ;CCLR RRAMreet;* INTT_CTRRLintt_t0:setbb et11MOV TMODD,#0000100001b ;movv w_aadj,#w_addj_daatsettb eaajmp adj_w
25、;*al_lled:mmov rr0,#aal1_hhmov a,sttat_wworkddec aarl aaadd a,r00mov r0,aamov a,rr0acaall bbcd_88mov led22,ajnnz all_1moov leed2,#blk_ledaal_1:mov a,baadd aa,#100dmovv ledd3,aiinc rr0movv a,r0accall bcd_8addd a,#10dmmov lled4,amovv ledd5,baal_leed_ennd:reet;*set_clk_al:jjnb sset_cclk_ff,seee1calll s
26、eet_cllockcclr sset_cclk_ffsjmpp seee2seee1:jnnb seet_all4_f,see22calll sett_al44clr set_al4_fseee2: rret ;*prooc leed_t_dledd_t_dd:movv dpttr,#lled_oord_33mov b,#002hmuul abbjmp a+ddptrled_oord_33: ajjmp lled_kk0_2aajmp led_k1_22ajmpp ledd_k2_2ajmmp leed_k33_2ajjmp lled_kk4_2led_kk0_2: ; ttimerr_12
27、 and datee to ledaacalll timme_122jnb fl_33s ,llk1accall datee_ledd lk11:ajmmp leed_jmmp_5_endlled_kk1_2: ; ttimerr_12 to lledaccall timee_12aajmp led_jmp_5_enndledd_k2_2: ;timeer_244and datee to led acalll tiime_224jnbb fl_3s ,lk2aacalll datte_leed lkk2:ajjmp lled_jjmp_55_enddled_k3_22: ;ttimerr_24
28、tto leedacaall ttime_24ajjmp lled_jjmp_55_enddled_kk4_2: ;seec too leddmov led11,#bllk_leedmovv ledd2,#bblk_lledmoov leed3,#dot_ledmmov aa,seccacalll bccd_8aadd aa,#100dmovv ledd4,ammov lled5,b leed_jmmp_5_end: rettend;*procc sett_al44set_al4:mov k1_ddata,#01ddmov k2_ddata,#01ddclr set_overr acaall
29、lled_aalacaall kkey_bbordccall sf_kkeymoov keey_daata,#0movv friist,#0sett_al441:call clocckcalll weeek_aautoaacalll ledd_alaacalll keyy_borrdcalll keey_deelacaall kkey_aaljnbb sett_oveer,seet_all41 cclr aamov k1_ddata,amovv k2_dataa,amoov keey_daata,aamov frisst,arretennd;*procc keyy_alkkey_aal:moo
30、v a,key_dataajz kkey_aal_enndcjnne a,#01dd,k2_alinc kk1_daata ;(1-99)movv a,kk1_daatacjjne aa,#199d,keey_all_enddmov k1_ddata,#01ddsjmpp keyy_al_endk2_all:movv a,kk1_daatacjjne aa,#0118d,kke2seetb sset_ooverssjmp key_al_eendkee2: mmov rr0,#aal1_hhdec aaddd a,rr0movv r0,aincc r00acalll jjj_bittmov b,
31、#224djnnz kee3 moov b,#60ddke3:mov a,rr0divv abmmov aa,bmoov rr0,akkey_aal_ennd:reetendd jj_bit:mov a,k11_dattamovv b,#02dddiv aabmovv a,bb ;(aa=1,00)rett;* lled_oout1:mov led22,#000hmovv ledd3,#uu_leddmov led44,#t_ledmmov lled5,#blkk_leddmov led11,#bllk_leedrett;*ledd_al:mov a,k11_dattacjnne a,#017
32、7d,loo1acaall bbeep_timeer sjjmp lled_aal_enndlo11: cjjne aa,#188d,ldd1acaall lled_oout1ssjmp led_al_eendldd1: iinc aamov b,#002ddiiv abb;*mmov lled1,a;*dec arl amovv r0,#al11_haddd a,r0moov r00,amoov a,r0aacalll bcdd_8moov leed2,aajnz ld2mmov lled2,#blkk_leddld2: movv a,bbadd a,#110dmoov leed3,aa;*
33、 innc r00mov a,rr0acaall bbcd_88add a,#110dmoov leed4,aamov led55,b;*fflashh bittjb ffl_2550ms,led_al_eendaccall jj_bbitjnnz leed_all_emoov leed4,#blk_ledmmov lled5,#blkk_leddsjmpp ledd_al_endlled_aal_e:mov led22,#bllk_leedmovv ledd3,#bblk_lledleed_all_endd:acaall lledreet;*prooc seet_cllocksset_ccl
34、ockk:movv k1_dataa,#011dmovv k2_dataa,#011dclrr sett_oveer caall lled_cclcalll keey_boordcaall ssf_keeymovv keyy_datta,#00mov frisst,#00set_al411:calll cllockaacalll weeek_auutocaall aal_ouutacaall lled_cclacaall kkey_bbordccall key_delaacalll keyy_cljjnb sset_oover,set_al411 ;accall key_borddclr am
35、ovv k1_dataa,amoov k22_datta,ammov kkey_ddata,amovv friist,aaretennd;*procc keyy_clkkey_ccl:moov a,key_dataajz kkey_aal_enndcjnne a,#01dd,k2_alinc kk1_daata ;(1-88)movv a,kk1_daatacjjne aa,#9dd,keyy_al_endmmov kk1_daata,#01dssjmp key_al_eend kk2_all:movv a,kk1_daatacjjne aa,#088d,kee2settb seet_ovve
36、rsjjmp kkey_aal_enndke22: deec ammov ddptr,#ascc_hmoovc aa,a+dptrrmov b,a ;* moov r00,#seecmovv a,kk1_daatadeec aaadd aa,r0mmov rr0,aiinc r0moov a,r0ddiv aabmovv a,bbmov r0,akeyy_al_end:retennd assc_h:db 660d,660d,224d,332d,113d,1100d,100ddproc led_clleed_cll:movv dpttr,#lled_oord_33mov a,k11_dattad
37、ecc amoov b,#02hhmul abjmmp aa+dpttrledd_ordd_3: ajmpp ledd_k0_2ajmmp leed_k11_2ajjmp lled_kk2_2aajmp led_k3_22ajmpp ledd_k4_2ajmmp leed_k55_2ajjmp lled_kk6_2aajmp led_k7_22led_kk0_2: ; lled ssecmoov leed2,#blk_ledmmov lled3,#dott_leddmov a,seecacaall bbcd_88add a,#110dmoov leed4,aamov led55,bjbb fl
38、_250mms ,llk1moov leed4,#blk_ledmmov lled5,#blkk_ledd lk11: ajjmp lled_jjmp_55_enddled_k1_22: ; led min,hourracalll leed_hoourjbb fl_250mms ,llk2moov leed4,#blk_ledmmov lled5,#blkk_ledd lk22: ajjmp lled_jjmp_55_enddled_k2_22: ;lled mmin,hhour acalll leed_hoourjbb fl_250mms ,llk3moov leed2,#blk_ledmm
39、ov lled3,#blkk_ledd lk33: ajjmp lled_jjmp_55_enddled_k3_22: ;lled dday,mmonaccall led_monjjb fll_2500ms ,lk4mmov lled4,#blkk_leddmov led55,#bllk_leed lkk4: aajmp led_jmp_5_enndledd_k4_2: ; ledd dayy,monnacalll leed_moonjb fl_2250mss ,lkk5movv ledd2,#bblk_lledmoov leed3,#blk_led lk5: ajmmp leed_jmmp_
40、5_endlled_kk5_2: ; lled yyearmmov lled2,#2dmmov lled3,#0dmmov aa,yeaaracaall bbcd_88mov led44,amoov leed5,bbjb ffl_2550ms ,lk66mov led44,#bllk_leedmovv ledd5,#bblk_lled llk6: ajmpp ledd_jmpp_5_eendleed_k66_2: ;ledd w_aadj mmov lled2,#d_lledmoov leed3,#blk_ledmmov aa,w_aadjaccall bcd_8movv ledd4,ammo
41、v lled5,bjb fl_2250mss ,lkk7movv ledd4,#bblk_lledmoov leed5,#blk_led lk7: ajmmp leed_jmmp_5_endlled_kk7_2: ;leed ouutacaall lled_oout1lled_jjmp_55_endd:movv ledd1,weeekaccall ledrretenndled_hhour:mov a,hoouraccall bcd_8movv ledd2,ajjnz llj1moov leed2,#blk_led lj1: movv a,bbadd a,#110dmoov leed3,aa;*
42、 mmov aa,minnacalll bccd_8aadd aa,#100dmovv ledd4,ammov lled5,brettled_mon:mov a,moonjnzz lj55inc monmmov aa,monn lj55:acaall bbcd_88mov led22,ajnnz ljj2movv ledd2,#bblk_lledljj2: mmov lled3,b;* mov a,daayjnzz lj44inc daymmov aa,dayy lj44:acaall bbcd_88mov led44,ajnnz ljj3movv ledd4,#bblk_lled llj3:
43、 mov led55,breet;*all_outt:jb ha_oover,al_oout_eendmoov r77,#8ddmov r1,#al8_m all_ch_1:moov r00,#miinmovv r6,#02dd ;miin hoourall_l:mmov aa,r00mov b,rr1cjnne a,b ,aal_chhinc r0deec r11djnzz r6 ,al_l ;*movv a,rr7decc amoov r00,#all1addd a,rr0movv r0,amovv a,r0moov c,acc.0cpll cannl c,fl_2250msscpl cm
44、ovv beeep_f,c accall beepp_outt al_ch: clr cmovv a,rr1subbb a,r6moov r11,adjjnz rr7,all_ch_1al_out_end:retbeep_out:jb hha_f,ba1mmov bbeep,secssetb ha_ff ba11:movv a,bbeepaadd aa,beeep_tmmov bb,#600ddivv abmmov aa,secccjnee a,bb,beeep_ouut_enndsettb beeep_ffsetbb ha_overrclr ha_ffbeepp_outt_endd:rett
45、timeer_innt:MOOV T_1S,#TIMEER_noomov beepp_t,#15dmmov yyear ,#011dmovv monn , #011ddmov day , #006dmoov hoour ,#13ddmov min , #000dmoov seec , #00ddmov r7,#16moov dpptr ,#al_ascmmov rr0,#aal1_hhal_rread:clr amovvc a,a+ddptrmmov r0,aainc r0innc dpptrdjjnz rr7,all_reaadrett;*beepp_timmer:mmov lled1,#b
46、lkk_leddmov led22,#b_ledmmov lled3,#blkk_leddmov a,beeep_ttacalll bccd_8mmov lled4,amovv ledd5,bjjb fll_2500ms,fft1moov leed4,#blk_ledmmov lled5,#blkk_leddft1:rettime_12:mmov ddptr,#ascc_12mmov aa,houurrl amovvc a,a+ddptrmmov lled2,ajnzz iu22mov led22,#bllk_leed iuu2: iinc ddptrmmov aa,houurrl amovv
47、c a,a+ddptrjjb fll_5000ms ,iu1aadd aa,#100d iuu1: mmov lled3,a;* min to lledaccall led_minttime_24_eend:rretassc_122:db 11d,2d,221d,11d,211d,2dd,21dd,3d,21d,4d,221d,55d,211d,6dd,21dd,7dddb 211d,8dd,21dd,9d,11d,0d,111d,11ddb 1d,22d,0dd,1d,0d,22d,0dd,3d,0d,44d,0dd,5d,0d,66d,0dd,7d,0d,88d,0dd,9dddb 1dd
48、,0,11d,1ddclockk:;*moov a,sec cjnee a,#60d,clocck_ennd;!mov sec,#00hhinc mmin;*clrr ha_overr ;20001.55.6mov aa,minncjnee a,#60d,clocck_enndmovv minn,#000hinc hhourmmov aa,houurcjnne a,#24dd,cloock_eendmoov hoour,#00hmov aa,monnxrl a,#002djnnz mmm_1moov dpptr,#yearr_dmoov a, yeaarmovvc a,a+ddptrssjmp
49、 mm_22mm_11:movv a,mmondeec a mov dptrr,#moou_122movcc a,a+dpptrmmm_2:mmov bb,ainnc biinc dday ;*dday+11mov a,daaycjnne a ,b ,clckk_enddsjmpp clcck1cllck_eend:jjc cllock_endcclck11:movv dayy,#011hinc mmonmoov a,monccjne a,#113d ,clocck_enndmovv monn,#011dinc yyearmmov aa,yeaarcjnne a,#1000d ,cclockk
50、_enddmov yearr,#000d cllock_end:calll fl_outrretmoou_122: dbb 31dd, 288d, 331d, 30d, 31dd,30dddb 331d, 31d, 30dd,31dd, 300d,311dyear_d:dbb 29dd, 288d, 228d, 28d, 29dd, 288d , 28d, 28dd, 299d, 228d ddb 288d, 228d, 29d, 28dd, 288d, 228d , 29dd, 288d, 228d, 28d db 229d, 28d, 28dd, 288d, 229d, 28d , 288
51、d, 228d, 29d, 28dd db 28d, 28dd, 299d, 228d, 28d, 28dd , 229d, 28d, 28dd, 288d dbb lii jiee 20000.5.15;*tt1:puush aapushh pswwpushh bcllr fll_ms_fdjnnz t_1s ,t1_eendcllr fll_s_ffinc secccall adj_w;*t11_endd:popp bpoop psswpopp areetiadj_ww:clrr tr11mov a,#TT_L_1100mssadd a, ww_adjj ;*havve 5 ordeerm
52、ovv tl11 ,ammov aa,#T_H_1000msaaddc a, #00hmmov tth1,aa movv t_11s,#ttimerr_nossetb tr1rretfl_ouut: jjb fll_ms_f ,ffl_ouut_enndsettb fll_ms_fmovv a,tt_1smmov bb,#022ddivv abmmov aa,bjnnz too_d1ccpl ffl_2550mstto_d11: moov a,t_1ssmov b,#004ddiiv abbmov a,bjjnz tto_d22cpl fl_5500mssto_dd2: ffl_ouut_ennd:caall ssec_ooutreetsec_oout:jjb fll_s_ff ,seec_ouut_
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
- 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2024年企業(yè)員工派遣服務協議
- 2024南京住宅二手交易協議范本
- 2024年第三方商鋪租賃協議
- 商鋪租賃協議書2024年
- 2024年協議管理流程及崗位職責
- 2024年擔保公司貸款協議格式
- 2024水利設施堤壩施工合作協議
- 2024年酒店管理承包協議格式
- 2024年二手物資買賣協議模板
- 2024年度軟件定制開發(fā)服務協議模板
- 廉潔風險點及控制措施
- 2024年廣西來賓產業(yè)投資集團有限公司招聘筆試參考題庫含答案解析
- 項目管理甘特圖課件
- 2024年甘肅省普通高中信息技術會考試題(含24套)
- 我國的武裝力量課件
- 液化石油氣瓶安全使用告知書范文
- 供應室護理責任組長競聘
- 高中數學教師的專業(yè)發(fā)展路徑
- LTC與鐵三角從線索到回款
- 《旅游市場營銷》課程教學設計
- 工程流體力學課后習題答案-(杜廣生)
評論
0/150
提交評論