Macro # arguments
andrew-davie opened this issue · comments
Would be useful to me for macros to have access to the # of arguments passed.
This would allow conditional parameters, effectively.
MAC WHICH
jsr {1}
IF {#} > 1
jsr {2}
ENDIF
ENDM
; usage
WHICH one
WHICH one,two