DataBit0One:
bsf DataCode, Bit0
goto DataBit1
DataBit0Zero:
bcf DataCode, Bit0
;------------------------------------------------
DataBit1:
call pGetBit
btfsc errorflag,Bit0
goto doIrCheck
btfss Bit, Bit7
goto DataBit1Zero
DataBit1One:
bsf DataCode, Bit1
goto DataBit2
DataBit1Zero:
bcf DataCode, Bit1
;------------------------------------------------
DataBit2:
call pGetBit
btfsc errorflag,Bit0
goto doIrCheck
btfss Bit, Bit7
goto DataBit2Zero
DataBit2One:
bsf DataCode, Bit2
goto DataBit3
DataBit2Zero:
bcf DataCode, Bit2
;------------------------------------------------
DataBit3:
call pGetBit
btfsc errorflag,Bit0
goto doIrCheck
btfss Bit, Bit7
goto DataBit3Zero
DataBit3One:
bsf DataCode, Bit3
goto DataBit4
DataBit3Zero:
bcf DataCode, Bit3
;------------------------------------------------
DataBit4:
call pGetBit
btfsc errorflag,Bit0
goto doIrCheck
btfss Bit, Bit7
goto DataBit4Zero
DataBit4One:
bsf DataCode, Bit4
goto DataBit5
DataBit4Zero:
bcf DataCode, Bit4
;------------------------------------------------
DataBit5:
call pGetBit
btfsc errorflag,Bit0
goto doIrCheck
btfss Bit, Bit7
goto DataBit5Zero
DataBit5One:
bsf DataCode, Bit5
goto DataBit6
DataBit5Zero:
bcf DataCode, Bit5
;------------------------------------------------
DataBit6:
call pGetBit
btfsc errorflag,Bit0
goto doIrCheck
btfss Bit, Bit7
goto DataBit6Zero
DataBit6One:
bsf DataCode, Bit6
goto DataBit7
DataBit6Zero:
bcf DataCode, Bit6
;------------------------------------------------
DataBit7:
call pGetBit
btfsc errorflag,Bit0
goto doIrCheck
btfss Bit, Bit7
goto DataBit7Zero
DataBit7One:
bsf DataCode, Bit7
goto DataNotBit0
DataBit7Zero:
bcf DataCode, Bit7
;++++++++++++++++++++++++++++++++++++++++++++++++
DataNotBit0:
call pGetBit
btfsc errorflag,Bit0
goto doIrCheck
btfss Bit, Bit7
goto DataNotBit0Zero
DataNotBit0One:
bsf DataCodeNot, Bit0
goto DataNotBit1
DataNotBit0Zero:
bcf DataCodeNot, Bit0
;------------------------------------------------
DataNotBit1:
call pGetBit
btfsc errorflag,Bit0
goto doIrCheck
btfss Bit, Bit7
goto DataNotBit1Zero
DataNotBit1One:
bsf DataCodeNot, Bit1
goto DataNotBit2
DataNotBit1Zero:
bcf DataCodeNot, Bit1
;------------------------------------------------
DataNotBit2:
call pGetBit
btfsc errorflag,Bit0
goto doIrCheck
btfss Bit, Bit7
goto DataNotBit2Zero
DataNotBit2One:
bsf DataCodeNot, Bit2
goto DataNotBit3
DataNotBit2Zero:
bcf DataCodeNot, Bit2
;------------------------------------------------
DataNotBit3:
call pGetBit
btfsc errorflag,Bit0
goto doIrCheck
btfss Bit, Bit7
goto DataNotBit3Zero
DataNotBit3One:
bsf DataCodeNot, Bit3
goto DataNotBit4
DataNotBit3Zero:
bcf DataCodeNot, Bit3
;------------------------------------------------
DataNotBit4:
call pGetBit
btfsc errorflag,Bit0
goto doIrCheck
btfss Bit, Bit7
goto DataNotBit4Zero
DataNotBit4One:
bsf DataCodeNot, Bit4
goto DataNotBit5
DataNotBit4Zero:
bcf DataCodeNot, Bit4
;------------------------------------------------
DataNotBit5:
call pGetBit
btfsc errorflag,Bit0
goto doIrCheck
btfss Bit, Bit7
goto DataNotBit5Zero
DataNotBit5One:
bsf DataCodeNot, Bit5
goto DataNotBit6
DataNotBit5Zero:
bcf DataCodeNot, Bit5
;------------------------------------------------
DataNotBit6:
call pGetBit
btfsc errorflag,Bit0
goto doIrCheck
btfss Bit, Bit7
goto DataNotBit6Zero
DataNotBit6One:
bsf DataCodeNot, Bit6
goto DataNotBit7
DataNotBit6Zero:
bcf DataCodeNot, Bit6
;------------------------------------------------
DataNotBit7:
call pGetBit
btfsc errorflag,Bit0
goto doIrCheck
btfss Bit, Bit7
goto DataNotBit7Zero
DataNotBit7One:
bsf DataCodeNot, Bit7
goto ReceiverEnd
DataNotBit7Zero:
bcf DataCodeNot, Bit7
;++++++++++++++++++++++++++++++++++++++++++++++++
ReceiverEnd:
d