shithub: rgbds

ref: a4ead0c25f7451d24e0ac4b13f2c6e17d7d30ec7
dir: /test/asm/break.asm/

View raw version
FOR V, 1, 100
      PRINTLN "- {d:V}"
      IF V == 5
          PRINTLN "stop"
          BREAK
      ENDC
      PRINTLN "cont"
ENDR
WARN "done {d:V}"
rept 1
  break
  ; skips invalid code
  !@#$%
elif: macro
  invalid
endr
warn "OK"
rept 1
  if 1
    break
  no endc
endr
println "done"