Wed May 7 16:18:30 1997 Manfred Hollstein <manfred@s-direktnet.de>
[binutils-gdb.git] / gas / testsuite / gas / m68k / p2663.s
1 |
2 | This code generates an incorrect pc relative offset
3 |
4 bug: movel #4,%d7
5 jsr table(%pc,%d7.w) | wrong
6 jsr %pc@(table-.-2:b,%d7:w) | correct but cryptic
7 nop
8 nop
9 table:
10 bra junk
11 bra junk
12 bra junk
13
14 junk:
15 nop
16 rts