I'm getting an "Undefined symbol EPROM2" error when trying to compile this code. Should I just ignore it or is there another way of jumping out of the assembly code?
Main:
pin5 = 1 'Output on GP2/pin5
Pause msec
If pin2=0 then Frequp
If pin3=0 then Freqdown
Asm
btfss GPIO.1
goto EPROM2 ;Checks for Eeprom button
Endasm
Goto Main
Eprom2:
High LED
Write 0,msec.BYTE0 'Write current msec value into EEprom
Write 1,msec.BYTE1
Goto Main