I seem to having endless problems with this simple instruction.
If I have the following code:
movlw b'00000000'
btfsc W, 0
goto Intrusion
goto Main
According to the datasheet - btfsc: If bit is set then skip next instruction. On the above bit zero is clear so it should execute the next instruction. Why's it that my mode keeps jumping to Main
If I have the following code:
movlw b'00000000'
btfsc W, 0
goto Intrusion
goto Main
According to the datasheet - btfsc: If bit is set then skip next instruction. On the above bit zero is clear so it should execute the next instruction. Why's it that my mode keeps jumping to Main