Dear Friends,
In a project, I have used two successive "goto" codes. As the project shows erratic operation i.e. sometimes the MCU gets locked, I fear if the two successive "goto" codes make any problem. Please confirm whether it is beyond the rule.
swapan
In a project, I have used two successive "goto" codes. As the project shows erratic operation i.e. sometimes the MCU gets locked, I fear if the two successive "goto" codes make any problem. Please confirm whether it is beyond the rule.
swapan
Code:
MOVLW D'140'
SUBWF AD_VALUE1,W
BTFSC STATUS,C
GOTO BAT_CHK2
GOTO INV_ON