shithub: rgbds

ref: 4e712807d7a2add9f93a265b25638e6f1ca32ff3
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}"