shithub: rgbds

ref: e753b62d1ace56de6f83e058f834c867dbf46476
dir: /test/asm/nested-break.asm/

View raw version
n=1
rept 10
  print "A"
  for x, 10
    print "a"
    if x==n
      break
    endc
    print "z"
  endr
  if n==6
    break
  endc
  println "Z"
n=n+1
endr
println "\nn={d:n} x={d:x}"