Can subroutines be located outside of the last 'End' statement in a
program? Here is an example of a subroutine DATAIO defined outside
of the end statement
TRISB = 0
START:
PORTB.1 = 1
Pause 100
Goto DATAIO
PORTB.0
Pause 100
Goto START
End
DATAIO:
Serout PORTB.1, 4, ["Hello World!"]
Pause 100
Return
program? Here is an example of a subroutine DATAIO defined outside
of the end statement
TRISB = 0
START:
PORTB.1 = 1
Pause 100
Goto DATAIO
PORTB.0
Pause 100
Goto START
End
DATAIO:
Serout PORTB.1, 4, ["Hello World!"]
Pause 100
Return