SLAU131V October 2004 – February 2020
ADDX .macro dst, imm
.var TMP
.asg :imm(1):, TMP
.if $symcmp(TMP,"#") = 0
ADD imm, dst
.else
.emsg "Bad Macro Parameter"
.endif
.endm
ADDX R9, #100 ; macro call
ADDX R9, R8 ; macro call