; program using BTFSS and BTFSC
; BTFSS = Check status of the specified bit number,
;skip one (1) instruction if set as high (on state)
; BTFSC = Check status of the specified bit number,
;skip one (1) instruction if set as low (off state)
; mcu = pic16f84A
; simulate using picsimulatoride
; Set up the pins of the microcontroller
BSF STATUS,5 ; bit set on pin 5 of status register
; from bank0 to bank1...
Continue reading ...