.sect .text
.csa:
- move.l (sp)+, a0 ! jump table address
+ ! jump table address in a0
+ ! index in d0
+
move.l (a0)+, a1 ! default address
- move.l (sp)+, d0 ! index
sub.l (a0)+, d0 ! index - lower bound
blt 1f
cmp.l (a0)+, d0 ! rel. index, upper - lower bound
.sect .text
.csb:
- move.l (sp)+, a0 ! case descriptor
- move.l (sp)+, d0 ! index
+ ! case descriptor in a0
+ ! index in d0
+
move.l (a0)+, a1 ! default jump address
move.l (a0)+, d1 ! # entries
beq 3f
-acc -c.s -L -LIB -I../../../h trpstr.c
+m68020 -c.s -L -LIB -I../../../h trpstr.c
sed s/_trpstr/.trpstr/g < trpstr.s > trpstr.ss
mv trpstr.ss trpstr.s