shithub: rgbds

ref: e2136d60b2db6c714a0c7c84f38bbcad5c519b71
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