I have some unrolled loops that look a bit like this, with the loop body in a macro 'TDMR1COL'.
Code:
move.l .td_mr1_jt(pc,d5.w),a5
jmp (a5)
.td_mr1_jt:
dc.l .td_mr1_1
dc.l .td_mr1_2
dc.l .td_mr1_3
dc.l .td_mr1_4
dc.l .td_mr1_5
dc.l .td_mr1_6
dc.l .td_mr1_7
dc.l .td_mr1_8
TDMR1COL: MACRO
.td_mr1_\1: ...
ENDM
TDMR1COL 8
TDMR1COL 7
TDMR1COL 6
TDMR1COL 5
TDMR1COL 4
TDMR1COL 3
TDMR1COL 2
TDMR1COL 1
Is there a way to set up something like this with a REPT (or two) in vasm? I can't see a way to construct the .td_mr1_X labels automatically by including a symbol generated from the repeat count in a label name, either a REPTN or a SET-value.