the code is simple as:


define osc 20
main:
high portb.0
pause 1000
low portb.0
pause 1000
goto main