shithub: rgbds

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