shithub: rgbds

ref: 50aaa6524dbeea1b571132e5f7a63a95b2f6f8f6
dir: /test/asm/unique-id-values.asm/

View raw version
MACRO m
  println "  m: \@"
  for q, \#
    if q % 2 == 0
      println "    q = {d:q}: \@"
    else
      println "    q = {d:q}"
    endc
  endr
  println "  (m: still \@)"
ENDM

for p, 10
  if p % 3 == 0
    println "p = {d:p}: \@"
    m 3
    m 3, 6
    println " (p: still \@)"
  else
    println "p = {d:p}"
  endc
endr