shithub: rgbds

ref: 797f8bc3a2be6ddec3497496e9989ab66d21800e
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}"