shithub: rgbds

ref: 3e945679ad615692c3e9c07f52a21922b561c9a6
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}"