1|
2| This code generates an incorrect pc relative offset
3|
4bug:       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
9table:
10           bra    junk
11           bra    junk
12           bra    junk
13
14junk:
15    nop
16    rts
17