【正文】
參考文獻(xiàn) [1] 王思明 .單片機(jī)原理及設(shè)計(jì)與應(yīng)用 [M].北京:科學(xué)教育出版社, 2021 [2] 胡輝 .單片機(jī)原理與應(yīng)用 [M].北京:中國水利水電出版社, 2021 [3] 戴佳 .51 單片機(jī) C 語言應(yīng)用程序設(shè)計(jì)實(shí)例精講 [M].北京:電子工業(yè)出版社, [4] 張涵 .基于 PROTEUS 的電路及單片機(jī)設(shè)計(jì)與仿真 [M].北京:電子工業(yè)出版社, 單片機(jī)原理及系統(tǒng)課程設(shè)計(jì)報(bào)告 9 附錄:程序清單: ORG 0000H LJMP MAIN ORG 0003H。跳轉(zhuǎn)到換場 ORG 000BH。跳轉(zhuǎn)到時(shí)間中斷程序 MAIN: MOV 20H,00H 。分 MOV 22H,00H 。B 隊(duì)分?jǐn)?shù) 。秒緩沖區(qū) MOV 31H,00H MOV 32H,02H 。A 隊(duì)分?jǐn)?shù)緩沖區(qū) MOV 35H,00H MOV 36H,00H 。工作方式: 16 位定時(shí) /計(jì)時(shí) MOV TH0,03CH 。開 INT TO 中斷 MOV IP,01H。比賽時(shí)間顯示 LCALL DISPF 。比分加減實(shí)現(xiàn)程序: JNB ,AA1 。A 隊(duì)加兩分 JNB ,AA3 。A 隊(duì)減一分 JNB ,BA1 。B 隊(duì)加兩分 JNB ,BA3 。B 隊(duì)減一分 JB ,START CPL TR0 。跳轉(zhuǎn)到分?jǐn)?shù)轉(zhuǎn)換程序 AA2: JNB ,AA2 MOV A,22H ADD A,02 MOV 22H,A LJMP STOREA AA3: JNB ,AA3 MOV A,22H ADD A,03 MOV 22H,A LJMP STOREA AD1: JNB ,AD1 DEC 22H MOV A,22H STOREA: MOV B,0AH 。B 隊(duì)比分轉(zhuǎn)換成 10 進(jìn)制并放緩沖區(qū) 單片機(jī)原理及系統(tǒng)課程設(shè)計(jì)報(bào)告 11 DIV AB MOV 36H,B MOV 37H,A LJMP START DELAY: MOV R4,5H 。時(shí)間中斷程序: TIME: PUSH ACC PUSH PSW MOV TH0,03CH。非 0 分跳轉(zhuǎn) MOV A,20H CJNE A,00H,PFF 。比賽結(jié)束復(fù)位設(shè)置 LCALL DELAY MOV 20H,00H MOV 21H,0CH MOV 30H,00H MOV 31H,00H MOV 32H,02H MOV 33H,01H LJMP RET0 PFF: MOV A,20H CJNE A,0FFH,OUT MOV 20H,59 。16 進(jìn)制到 10 進(jìn)制轉(zhuǎn)化 DIV AB 單片機(jī)原理及系統(tǒng)課程設(shè)計(jì)報(bào)告 12 MOV 30H,B MOV 31H,A MOV A,21H MOV B,0AH DIV AB MOV 32H,B MOV 33H,A RET0: POP PSW POP ACC RETI 。數(shù)碼管為共陰極 MOV A,R3 PLAYT: MOV P2,A MOV A,R0 。輸出字形碼 LCALL DL1 MOV P2,00H; MOV A,R3 RR A 。比分顯示程序: DISPF: MOV R0,34H MOV R3,80H MOV A,R3 PLAYF: MOV P2,A MOV A,R0 MOV DPTR,TABEL MOVC A,A+DPTR MOV P0,A;輸出字形碼 LCALL DL1 MOV P2,00H;共陰極 MOV A,R3 RR A JB ,LD1 INC R0 單片機(jī)原理及系統(tǒng)課程設(shè)計(jì)報(bào)告 13 MOV R3,A LJMP PLAYF AJMP LD1 DL1: MOV R7,05H DL: MOV R6,0FFH DL6: DJNZ R6,DL6 DJNZ R7,DL RET 。檢查按鍵是否被按下 MOV A,22H XCH A,23H MOV 22H,A MOV A,34H XCH A,36H MOV 34H,A MOV A,35H XCH A,37H MOV 35H,A QU: POP ACC POP PSW RETI TABEL: DB 0C0H,0F9H,0A4H,0B0H,99H DB 92H,82H,0F8H,80H,90H END g an employment tribunal clai Employment tribunals sort out disagreements between employers and employees. You may need to make a claim to an employment tribunal if: ? you don39。t appealed against the disciplinary action your employer has taken against you. However, if you win your case, the tribunal may reduce any pensation awarded to you as a result of your failure to appeal. Remember that in most cases you must make an application to an employment tribunal within three months of the date when the event you are plaining about happened. If your application is received after this time limit, the tribunal will not usually accept i. If you are worried about how the time limits apply to you, take advice from one of the anisations listed under Further help. Employment tribunals are less formal than some other courts, but it is still a legal process and you will need to give evidence under an oath or affirmation. 單片機(jī)原理及系統(tǒng)課程設(shè)計(jì)報(bào)告 14 Most people find making a claim to an emplo