So, I've been doing some coding in good-old Asmone on the Amiga 500 for the first time in years (or rather decades almost...)
Having a bit of trouble recalling the syntax of how stuff is done though, and I can't find any manual online.
Right now I'm struggling with labels inside REPT blocks. I'm not even sure if there is a solution for this:
REPT 20
move.b (a0)+,d0
sub.b d1,d0
bpl skip
eor.b d0,d0
skip:
move.b d0,(a1)+
ENDR
As it is now, I ofcourse get 20 redifinitions of skip, and it won't compile. Using local variables won't help either, since a non-local variable is needed before it is allowed to assign it again.
Is there a way to get around this?