shithub: rgbds

ref: 12ba057b4f74a6ef4989d0ceb4075ef74bcc6ea2
dir: /test/asm/opt-r-decrease.asm/

View raw version
MACRO m
  DEF depth += 1
  IF depth == 10
    OPT r9
  ENDC
  println "at depth {d:depth}"
  m
ENDM

  DEF depth = 0
  m