版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
1、; UART接收中斷RECIVEINTJ:PUSHAORB INT_MASK1, #02H ORB INT_MASK1, #01H EIPUSH 1AHPUSH AXPUSH BXPUSH CXPUSH DXPUSH SENDPOINT1PUSH SENDPOINT2LDB 1AH, SBUFLDB 1BH, 82C5H00H JBC 1BH, 0, LF6A7HANDB 1BH, #0FEHCMPB 1AH, #41HJNE LF66FHLCALL 0A02AHLJMP LF677HLF66FH:CMPB 1AH, #46HJNE LF68DHLCALL 9FFAHLF677H:LDB 1A
2、H, 82C2H00H ORB 1AH, #02HSTB 1AH, 82C2H00H LDB 1AH, #10HSTB 1AH, SBUFLJMP LF69BHLF68DH:CMPB 1AH, #54HJNE LF69BHORB 1BH, #02HORB INT_PEND, #04H LJMP LF69BHLF69BH:STB 1BH, 82C5H00H CLR 1AHCLR AXLJMP LF6EEHLF6A7H:LDB AX, 8012H00H LDB 1DH, 8013H00H LDB 1BH, 8014H00H JBS AX, 3, LF6E8HJBS AX, 2, LF6E2HJBS
3、 AX, 1, LF6CEHJBS AX, 0, LF6C8HLCALL LF70DHLJMP LF6EEHLF6C8H:LCALL LF768HLJMP LF6EEHLF6CEH:LCALL LF7A2HLDB SENDPOINT2, 82C3H00HJBC SENDPOINT2, 0, LF6DFH CLRB AXCLRB 1DHCLRB 1BHLF6DFH:LJMP LF6EEHLF6E2H:LCALL LF891HLJMP LF6EEHLF6E8H:LCALL LF8A2HLJMP LF6EEHLF6EEH:STB AX, 8012H00HSTB 1DH, 8013H00HSTB 1B
4、H, 8014H00HPOP SENDPOINT2POP SENDPOINT1POP DXPOP CXPOP BXPOP AXPOP 1AHPOPARETLF70DH:JBS 1DH, 0, LF719HSTB 1AH, 8000H00HORB 1DH, #01HRETLF719H:STB 1AH, 8001H00HLD SENDPOINT2,8000H00HCMP SENDPOINT2, #0210HJNE LF730HANDB 1DH, #0FEHORB AX, #01HRETLF730H:CMP SENDPOINT2, #0220HJNE LF744HLDB SENDPOINT1,82C
5、5H00HORB SENDPOINT1, #01HSTB SENDPOINT1,82C5H00HRETLF744H:CMP SENDPOINT2,#0CC10HJNE LF762HLDB 1AH, #01HSTB 1AH, 0CFCEH00HSTB 1AH, 0CFCFH00HSTB 1AH, 0CFD0H00HCLR 1AHCLR AXRSTRETLF762H:RSTCLRB AXCLRB 1DHRETLF768H:JBS 1DH, 0, LF774HSTB 1AH, 8018H00HORB 1DH, #01HRETLF774H:STB 1AH, 8019H00HSCALL 0F600HCL
6、RB 1AHSTB 1AH, 82C3H00HANDB 1DH, #0FEHORB AX, #02HORB 1BH, #80HANDB 1DH, #7FHORB 1BH, #01HLDB SENDPOINT1, #0FFHSTB SENDPOINT1,8016H00HLDB BX, #10HSTB BX, 8017H00HRETLF7A2H:LDB 1FH, 8016H00HXORB 1FH, 1AHSTB 1FH, 8016H00HJBS 1BH, 7, LF7D7HJBC 1DH, 7, LF7C7HJBS 1BH, 0, LF807HJBS 1BH, 1, LF813HJBS 1BH,
7、2, LF81FHJBS 1BH, 3, LF82BHJBS 1BH, 4, LF837HJBS 1BH, 5, LF843HLF7C7H:LD SENDPOINT2,8018H00HDEC SENDPOINT2ST SENDPOINT2,8018H00HLCALL LF879HRETLF7D7H:LD CX, 8004H00HLD DX, #8004HSTB 1AH, CX+ST CX, DXLDB BX, 8017H00HDJNZ BX, LF7FFHANDB 1BH, #7FHPUSH 1AHCLRB 1AHSTB 1AH, 82C4H00HPOP 1AHLCALL LF8D7HLF7F
8、FH:STB BX, 8017H00HLJMP LF868HLF807H:LD CX, 8006H00HLD DX, #8006HLJMP LF84FHLF813H:LD CX, 8008H00HLD DX, #8008HLJMP LF84FHLF81FH:LD CX, 800AH00HLD DX, #800AHLJMP LF84FHLF82BH:LD CX, 800CH00HLD DX, #800CHLJMP LF84FHLF837H:LD CX, 800EH00HLD DX, #800EHLJMP LF84FHLF843H:LD CX, 8010H00HLD DX, #8010HLJMP
9、LF84FHLF84FH:STB 1AH, CX+ST CX, DXLD SENDPOINT1,801AH00HDJNZW SENDPOINT1, LF863HSHLB 1BH, #01HANDB 1DH, #7FHLF863H:ST SENDPOINT1,801AH00HLF868H:LD SENDPOINT2,8018H00HDJNZW SENDPOINT2, LF873HORB AX, #04HLF873H:ST SENDPOINT2,8018H00HRETLF879H:JBS 1DH, 0, LF885HSTB 1AH, 801AH00HORB 1DH, #01HRETLF885H:S
10、TB 1AH, 801BH00HANDB 1DH, #0FEHORB 1DH, #80HRETLF891H:LDB SENDPOINT1,8016H00HCMPB 1AH, SENDPOINT1JNE LF89EHORB AX, #10HLF89EH:ORB AX, #08HRETLF8A2H:JBS 1DH, 0, LF8AEHSTB 1AH, 8002H00HORB 1DH, #01HRETLF8AEH:STB 1AH, 8003H00HLD SENDPOINT2,8002H00HCMP SENDPOINT2, #0310HJNE LF8C7HJBC AX, 4, LF8C7HLCALL
11、LF9CAHLJMP LF8CAHLF8C7H:LCALL LFA12HLF8CAH:CLRB 1DHSTB 1DH, 8013H00HSTB 1DH, 8014H00HRETLF8D7H:PUSH 1AHPUSH AXPUSH BXPUSH CXCLRB 1AHSTB 1AH, 82C3H00H LD AX, #801CH LD CX, #627EH LDB BX, #04HLF8F1H:LDB 1AH, AX+ LDB 1BH, CX+ CMPB 1AH, 1BHJNE LF902HDJNZ BX, LF8F1H LJMP LF905HLF902H:LCALL LF9B6HLF905H:P
12、OP CXPOP BXPOP AXPOP 1AHRET; UART發(fā)送中斷SENDINTJ:PUSHAORB INT_MASK1, #02H ORB INT_MASK1, #01H EIPUSH 1AHPUSH AXLDB 1AH, 0CFCEH00H CMPB 1AH, #00H JE LF927HLJMP LFF70HLF927H:LDB 1AH, 82BEH00H JBS 1AH, 0, LF984H LDB AX, 82C4H00H JBS AX, 0, LF96DH LDB 1BH, 82C3H00H JBS 1BH, 0, LF94DH LDB 1BH, 8012H00H JBS
13、1BH, 4, LF95AH LDB 1AH, #15H LJMP LF95DHLF94DH:CLRB 1BHSTB 1BH, 82C3H00H LDB 1AH, #0FEH LJMP LF95DHLF95AH:LDB 1AH, #06H LF95DH:STB 1AH, SBUFLDB AX, 82C4H00H ORB AX, #01HSTB AX, 82C4H00H LF96DH:CLRB 1BHSTB 1BH, 8012H00H STB 1BH, 8013H00H STB 1BH, 8014H00H POP AXPOP 1AHPOPARETLF984H:LD AX, 835AH00H LD
14、B 1AH, AX+ STB 1AH, SBUFLD 1AH, 82C0H00HDJNZW 1AH, LF9A6HST 1AH, 82C0H00H CLRB 1AHSTB 1AH, 82BEH00H LJMP LF9B0H LF9A6H:ST 1AH, 82C0H00H ST AX, 835AH00H LF9B0H:POP AXPOP 1AHPOPARETLF9B6H:LDB 1AH, #10H STB 1AH, SBUF LDB 1AH, 82C3H00H ORB 1AH, #01H STB 1AH, 82C3H00H RETLF9CAH:LDB 1AH, #10H STB 1AH, SBU
15、F LDB 1AH, 82C2H00H ORB 1AH, #01H STB 1AH, 82C2H00H RETLF9DEH:PUSH 1AHPUSH AXPUSH BXPUSH CXPUSH DXPUSH SENDPOINT1 PUSH SENDPOINT2 PUSH 38HLCALL LFEACHLDB AX, 0CEF6H00H ORB AX, #01H STB AX, 0CEF6H00H LCALL LFA37HPOP 38HPOP SENDPOINT2 POP SENDPOINT1 POP DXPOP CXPOP BXPOP AXPOP 1AHRETLFA12H:LDB 1AH, #1
16、0H STB 1AH, SBUF RETLDB 1BH, #05H LFA1CH:LDB 1AH, AX+ STB 1AH, CX+ DJNZ 1BH, LFA1CH RETLDB 1BH, #03H SJMP LFA1CHLDB 1BH, #02H SJMP LFA1CHLDB 1AH, AX+ STB 1AH, CX+ RETLFA37H:LD AX, #802CHLD CX, #0BB3AHSCALL 0FA30HLD CX, #0BB48HSCALL 0FA30HLD CX, #0BB54HSCALL 0FA30HLD CX, #0BB62HSCALL 0FA30HLD CX, #0B
17、B98HSCALL 0FA19HLD CX, #0BBA4HSCALL 0FA19HLD CX, #0BBC0HSCALL 0FA26HLD CX, #0BBCCHSCALL 0FA26HLD CX, #0BC0CHSCALL 0FA19HLD CX, #0BC34HSCALL 0FA19HLD CX, #0BC5CHSCALL 0FA19HLD CX, #0BC84HSCALL 0FA19HLD CX, #0BCACHSCALL 0FA19HLD CX, #0BCD4HSCALL 0FA19HLD CX, #0BC12HSCALL 0FA19HLD CX, #0BC3AHSCALL 0FA1
18、9HLD CX, #0BC62HSCALL 0FA19HLD CX, #0BC8AHSCALL 0FA19HLD CX, #0BCB2HSCALL 0FA19HLD CX, #0BCDAHSCALL 0FA19HLD CX, #0BC18HSCALL 0FA19HLD CX, #0BC40HSCALL 0FA19HLD CX, #0BC68HSCALL 0FA19HLD CX, #0BC90HSCALL 0FA19HLD CX, #0BCB8HSCALL 0FA19HLD CX, #0BCE0HSCALL 0FA19HLD CX, #0BC1EHSCALL 0FA19HLD CX, #0BC4
19、6HSCALL 0FA19HLD CX, #0BC6EHSCALL 0FA19HLD CX, #0BC96HSCALL 0FA19HLD CX, #0BCBEHSCALL 0FA19HLD CX, #0BCE6HSCALL 0FA19HLD CX, #0BB8AHSCALL 0FA30HLD CX, #0CEB6HSCALL 0FA30HLD CX, #0CEB6HSCALL 0FA30HLD CX, #0CEB6HSCALL 0FA30HLD CX, #0CEB6HSCALL 0FA30HLD CX, #0CEB6HSCALL 0FA30HLD CX, #0CEB6HSCALL 0FA30H
20、LD CX, #0CEB6HSCALL 0FA30HLD CX, #0CEB6HSCALL 0FA30HLD CX, #0CEB6HSCALL 0FA30HLD CX, #0CEB6HSCALL 0FA30HLD CX, #0CEB6HSCALL 0FA30HLD CX, #0CEB6HSCALL 0FA30HLD CX, #0CEB6HSCALL 0FA30HLD CX, #0CEB6HSCALL 0FA30HLD CX, #0CEB6HSCALL 0FA30HLD CX, #0CEB6HSCALL 0FA30HLD CX, #0CEB6HSCALL 0FA30HLD CX, #0BC24H
21、SCALL 0FA19HLD CX, #0BC4CHSCALL 0FA19HLD CX, #0BC74HSCALL 0FA19HLD CX, #0BC9CHSCALL 0FA19HLD CX, #0BCC4HSCALL 0FA19HLD CX, #0BCECHSCALL 0FA19HLD AX, #80E8HLD CX, #6474HLDB 1BH, CXCMPB 1BH, #20HJE LFBA2HLD CX, #0BD14HLJMP LFBA6HLFBA2H:LD CX, #0CEB6HLFBA6H:SCALL 0FA30HLD CX, #0BD51HSCALL 0FA19HLD CX,
22、#0BDA1HSCALL 0FA26HLD CX, #0BDECHSCALL 0FA19HLD CX, #0BE14HSCALL 0FA19HLD CX, #0BE3CHSCALL 0FA19HLD CX, #0BE64HSCALL 0FA19HLD CX, #0BE8CHSCALL 0FA19HLD CX, #0BEB4HSCALL 0FA19HLD CX, #0BDF2HSCALL 0FA19HLD CX, #0BE1AHSCALL 0FA19HLD CX, #0BE42HSCALL 0FA19HLD CX, #0BE6AHSCALL 0FA19HLD CX, #0BE92HSCALL 0
23、FA19HLD CX, #0BEBAHSCALL 0FA19HLD CX, #0BD34HSCALL 0FA30HLD CX, #0BD84HSCALL 0FA19HLD CX, #0BDACHSCALL 0FA26HLD CX, #0BDFEHSCALL 0FA19HLD CX, #0BE26HSCALL 0FA19HLD CX, #0BE4EHSCALL 0FA19HLD CX, #0BE76HSCALL 0FA19HLD CX, #0BE9EHSCALL 0FA19HLD CX, #0BEC6HSCALL 0FA19HLD CX, #0BE04HSCALL 0FA19HLD CX, #0
24、BE2CHSCALL 0FA19HLD CX, #0BE54HSCALL 0FA19HLD CX, #0BE7CHSCALL 0FA19HLD CX, #0BEA4HSCALL 0FA19HLD CX, #0BECCHSCALL 0FA19HLD AX, #8174HLD CX, #6474HLDB 1BH, CXCMPB 1BH, #20HJE LFC6DHLD CX, #0BEF4HLJMP LFC71HLFC6DH:LD CX, #0CEB6HLFC71H:SCALL 0FA30HLD CX, #0BF08HSCALL 0FA30HLD CX, #0BF14HSCALL 0FA30HLD
25、 CX, #0BF58HSCALL 0FA19HLD CX, #0BF64HSCALL 0FA19HLD CX, #0BF80HSCALL 0FA26HLD CX, #0BF8CHSCALL 0FA26HLD CX, #0BFCCH SCALL 0FA19HLD CX, #0BFF4H SCALL 0FA19HLD CX, #0C01CH SCALL 0FA19HLD CX, #0C044H SCALL 0FA19HLD CX, #0C06CH SCALL 0FA19HLD CX, #0C094H SCALL 0FA19HLD CX, #0BFD2H SCALL 0FA19HLD CX, #0
26、BFFAH SCALL 0FA19HLD CX, #0C022H SCALL 0FA19HLD CX, #0C04AH SCALL 0FA19HLD CX, #0C072H SCALL 0FA19HLD CX, #0C09AH SCALL 0FA19HLD CX, #0BFD8H SCALL 0FA19HLD CX, #0C000H SCALL 0FA19HLD CX, #0C028H SCALL 0FA19HLD CX, #0C050H SCALL 0FA19HLD CX, #0C078H SCALL 0FA19HLD CX, #0C0A0H SCALL 0FA19HLD CX, #0BFD
27、EH SCALL 0FA19HLD CX, #0C006H SCALL 0FA19HLD CX, #0C02EH SCALL 0FA19HLD CX, #0C056H SCALL 0FA19HLD CX, #0C07EH SCALL 0FA19HLD CX, #0C0A6H SCALL 0FA19HLD CX, #0BFE4H SCALL 0FA19HLD CX, #0C00CH SCALL 0FA19HLD CX, #0C034H SCALL 0FA19HLD CX, #0C05CH SCALL 0FA19HLD CX, #0C084H SCALL 0FA19HLD CX, #0C0ACH
28、SCALL 0FA19HLD AX, #821DH LD CX, #0C4F4H SCALL 0FA2BHLD CX, #0C51CH SCALL 0FA2BHLD CX, #0C544H SCALL 0FA2BHLD CX, #0C56CH SCALL 0FA2BHLD CX, #0C594H SCALL 0FA2BHLD CX, #0C5BCH SCALL 0FA2BHLD CX, #0C5E4H SCALL 0FA2BHLD CX, #0C60CH SCALL 0FA2BHLD CX, #0C4F9H SCALL 0FA2BHLD CX, #0C521H SCALL 0FA2BHLD C
29、X, #0C549H SCALL 0FA2BHLD CX, #0C571H SCALL 0FA2BHLD CX, #0C599H SCALL 0FA2BHLD CX, #0C5C1H SCALL 0FA2BHLD CX, #0C5E9H SCALL 0FA2BHLD CX, #0C611H SCALL 0FA2BHLD CX, #0C4FEH SCALL 0FA30HLD CX, #0C526H SCALL 0FA30HLD CX, #0C54EH SCALL 0FA30HLD CX, #0C576H SCALL 0FA30HLD CX, #0C59EH SCALL 0FA30HLD CX,
30、#0C5C6H SCALL 0FA30HLD CX, #0C5EEH SCALL 0FA30HLD CX, #0C616H SCALL 0FA30HLD CX, #0C493H SCALL 0FA30HLD CX, #0C4E3H SCALL 0FA30HLD CX, #0C533H SCALL 0FA30HLD CX, #0CEB6H SCALL 0FA26HLD CX, #0C628H SCALL 0FA19HLD AX, #8250H LD CX, #0C0C0H SCALL 0FA30HLD CX, #6474H LDB 1BH, CX CMPB 1BH, #20H JE LFE1AH
31、 LD CX, #0C0D4H LJMP LFE1EH LFE1AH:LD CX, #0CEB6H LFE1EH:SCALL 0FA30HLD CX, #0C110H SCALL 0FA26HLD CX, #0C160H LCALL 0FA26HLD CX, #0C1ACHLCALL 0FA19HLD CX, #0C1D4HLCALL 0FA19HLD CX, #0C1FCHLCALL 0FA19HLD CX, #0C224HLCALL 0FA19HLD CX, #0C24CHLCALL 0FA19HLD CX, #0C274HLCALL 0FA19HLD CX, #0C1B5HLCALL 0
32、FA19HLD CX, #0C1DDHLCALL 0FA19HLD CX, #0C205HLCALL 0FA19HLD CX, #0C22DHLCALL 0FA19HLD CX, #0C255HLCALL 0FA19HLD CX, #0C27DHLCALL 0FA19HLD CX, #0C1BEHLCALL 0FA19HLD CX, #0C138HLCALL 0FA19HLD CX, #0C1C4HLCALL 0FA19HLD CX, #0C11FHLCALL 0FA19HLD CX, #0C147HLCALL 0FA19HLD CX, #0C16FHLCALL 0FA26HRETLFEACH:LDB 1AH, 82C2H00HANDB 1AH, #0F
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 散客旅游合同范本在線查看
- 企業(yè)車輛交易協(xié)議書模板
- 2024體育賽事場地租賃合同
- 2024版土石方運(yùn)輸合同
- 農(nóng)村個人購房合同范例
- 合伙協(xié)議書范例
- 如何簽訂借款合同避免風(fēng)險
- 個人汽車買賣合同樣本模板
- 2023年高考地理專題復(fù)習(xí)新題典題精練-洋流(原卷版)
- 致大海選擇性必修中冊 第四單元課件
- 假期補(bǔ)課協(xié)議書
- 電子商務(wù)支付結(jié)算系統(tǒng)開發(fā)合同
- 服務(wù)質(zhì)量、保證措施
- (必練)廣東省軍隊(duì)文職(經(jīng)濟(jì)學(xué))近年考試真題試題庫(含答案)
- 含羞草天氣課件
- 2024年安全生產(chǎn)知識競賽考試題庫及答案(共五套)
- 22《鳥的天堂》課件
- 農(nóng)業(yè)灌溉裝置市場環(huán)境與對策分析
- 新疆烏魯木齊市第十一中學(xué)2024-2025學(xué)年八年級上學(xué)期期中道德與法治試卷
- 2024年江西省高考地理真題(原卷版)
- 部編版小學(xué)五年級上冊道法課程綱要(知識清單)
評論
0/150
提交評論