shithub: rgbds

ref: 8553b61a946527d12f2af7b75b1a7c66b8044ca1
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}"