This update routine I'm calling at first.Inside it detects a pulse (PORTA,0) & if pulse present it is looping maximum 15 times between Getpulse & Process routines.When pulse stops it will expire the delay inside Getpulse routine & exit the whole routine.
I want to know after this routine calls will it return to the place where it has called?
I want to know after this routine calls will it return to the place where it has called?
Code:
Update --- ;a small delay
---
Getpulse btfsc PORTA,0 ;check the button
goto Process ;yes,it is pressed
--- ;a small delay
--- ;no,then call a delay
goto Getpulse ;
return
Process [COLOR="Red"]call Che_Flag [/COLOR];this is done 15 times
---
---
movwf Data ;final data
goto Getpulse