📄 rec.asm
字号:
<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title></title></head><body><pre id="content" style="width:90%;white-space:normal;word-wrap:break-word;word-break:keep-all;">;--------HAND CODE------------------------------
RCV0 ;
BTFSC RF_P ;WAITING 6.2mS FOR HAED CODE
GOTO FAIL
;--------FIRST CODE-----------------------------
rcv2
movlw 4
movwf cnt1
clrf del1
clrf cnt0
rcv3
call work_1
btfsc rf_p
incf del1
btfss rf_p
clrf del1
btfsc del1,2
goto rcv4
decfsz cnt0
goto rcv3
decfsz cnt1
goto rcv3
goto fail
rcv4
btfsc cnt1,2
goto fail
movlw 24
movwf cnt2
rcv5
clrf del1
clrf cnt0
clrf cnt1
rcv_hi
clrwdt
btfss rf_p
incf del1
btfsc rf_p
clrf del1
btfsc del1,3
goto rcv6
incfsz cnt0
goto rcv_hi
goto fail
rcv6
clrf del1
rcv_lo
clrwdt
btfsc rf_p
incf del1
btfss rf_p
clrf del1
btfsc del1,3
goto compare
incfsz cnt1
goto rcv_lo
goto fail
compare
movlw 80
movwf del1
movfw cnt1
addwf cnt0,w
skpnc
goto fail
subwf del1,w
skpnc
goto fail
movfw cnt1
subwf cnt0,w
rrf csr4
rrf csr3
rrf csr2
call work_1
decfsz cnt2
goto rcv5
</pre></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -