shithub: rgbds

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