OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [m68k/] [p2663.s] - Rev 38

Go to most recent revision | Compare with Previous | Blame | View Log

|
| 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
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.