check calibration flag CALFLG 7, 3, 2 and 1 = zero value, 17A, 25A and 30A btfss CALFLG,7 ; zero current output voltage calibration goto CAL0 ; goto calibration 0 value btfss CALFLG,3 ; calibration at 17A goto CAL17 btfss CALFLG,2 ; calibration at 25A goto CAL25 btfss CALFLG,1 ; calibration at 30A goto CAL30