Hardware Reference
In-Depth Information
state2uni
movlw 0xFF
movwf CHANN_PATTERN
movlw '2'
movff WREG,BULKIN
call
ResponseByte
test_state3
btfsc PORTD,6
bra
state3
bra
test_state4
state3
btfsc CHANN_PATTERN,0
bra
state3sep
bra
state3uni
state3sep
movlw ','
movff WREG,BULKIN
call
ResponseByte
state3uni
movlw 0xFF
movwf CHANN_PATTERN
movlw '3'
movff WREG,BULKIN
call
ResponseByte
test_state4
btfsc PORTD,7
bra
state4
bra
test_state_end
state4
btfsc CHANN_PATTERN,0
bra
state4sep
bra
state4uni
state4sep
movlw ','
movff WREG,BULKIN
call
ResponseByte
state4uni
movlw '4'
movff WREG,BULKIN
call ResponseByte
test_state_end
movlw ')'
movff WREG,BULKIN
call ResponseByte
movlw ';'
movff WREG,BULKIN
call
ResponseByte
; set MAV
movlw 0xFF
movwf MAV_FLAG
return
Search WWH ::




Custom Search