[an error occurred while processing this directive]
[an error occurred while processing this directive]
|
movf ACC_REC_TR,W
; ---- Check Parity Bit (Even) ----
movwf COUNT_BIT ;
swapf COUNT_BIT,F ;
xorwf COUNT_BIT,F
clrw
btfsc _C
movlw 1
xorwf COUNT_BIT,F
movf COUNT_BIT,W
rrf COUNT_BIT,F
rrf COUNT_BIT,F
xorwf COUNT_BIT,F
movf COUNT_BIT,W
rrf COUNT_BIT,F
xorwf COUNT_BIT,F ; COUNT_BIT,0 - Parity (Even)
E-mail: info@telesys.ru