Sure. If you want to re-start from location 0, then;
This isn't exactly the same as a hardware reset, but it's close.Code:X VAR BYTE TOGGLE 0 Main: FOR X = 0 TO 50 IF X = 20 THEN PCLATH = 0 @ GOTO 0 ' start over from 0 if X = 20 ENDIF NEXT X GOTO Main END
Bookmarks