blob: 9f3650fb8aa02b908ffaca6aa35eafb88def32c5 [file] [log] [blame]
|
| This code generates an incorrect pc relative offset
|
bug: movel #4,%d7
jsr table(%pc,%d7.w) | wrong
jsr %pc@(table-.-2:b,%d7:w) | correct but cryptic
nop
nop
table:
bra junk
bra junk
bra junk
junk:
nop
rts