I was wondering, when I use an IF THEN statement am I allowed to use a return within the statement? Im just not sure how PBP structures an IF THEN in assembly and I am affraid if I use a return statement within an IF THEN it will cause some kind of stack over flow. EXAMPLE:
MAIN:
GOSUB FLAG:
GOTO MAIN:
FLAG:
IF FLAG0 = 0 THEN
C0ON = C0MAIN
FLAG0 = 1
RETURN
ENDIF
Thanks for the help and info
Bookmarks