#Bruce Dawson Review
04-Jan-89 00:40:31
Sb: #28669-#Bruce Dawson Review
Fm: microsmiths 76004,1766
To: Richard Rae/SYSOP 76703,4253
THe problem is that the table being jumped into by jmp xx(pc,dn) expects all
short branches, but with Manx AS, no error is generated if an explicit "bra.s"
instruction actually assembles into a "bra.l" instruction. This throws the
table off. For example:
jmp mylab(pc,D0)
mylab:
bra.s Func1
bra.s Func2
bra.s Func3
Here, if the bra.s Func2 instruction actually becomes bra.l without warning,
when you try to execute "bra.s Func3" you actually wind up trying to execute
the word offset "Func2".
…cheath