This isn't anything very advanced. @ GOTO $+1 is just a simple assembler instruction
telling it to goto here (which is the current instructions address) +1, which is just the
next instructions address.
This just eats two instruction cycles, and gives you the required delay time in instruction
cycles to generate the frequency you were looking for.
The graphic attachment is just an MPLAB logic analyzer screen capture to show you the
actual timing on the output pin.
You could do the same thing with just a few @ NOP instructions between the GPIO.0 = 1
and GPIO.0 = 0.
It's really simple stuff.




Bookmarks