URL
https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 16 |
Rev 160 |
Line 1699... |
Line 1699... |
#endif
|
#endif
|
reloc_type = keep_reloc ? BFD_RELOC_16_PCREL : BFD_RELOC_NONE;
|
reloc_type = keep_reloc ? BFD_RELOC_16_PCREL : BFD_RELOC_NONE;
|
reloc_adjust = 1;
|
reloc_adjust = 1;
|
break;
|
break;
|
case OPCODE (OT_beq, 5): /* BEQ.A - synthetic. */
|
case OPCODE (OT_beq, 5): /* BEQ.A - synthetic. */
|
op[0] = 0x1e; /* bne.s .+4. */
|
op[0] = 0x1d; /* bne.s .+5. */
|
op[1] = 0x04; /* bra.a dsp:24. */
|
op[1] = 0x04; /* bra.a dsp:24. */
|
disp -= 1;
|
disp -= 1;
|
#if RX_OPCODE_BIG_ENDIAN
|
#if RX_OPCODE_BIG_ENDIAN
|
op[2] = (disp >> 16) & 0xff;
|
op[2] = (disp >> 16) & 0xff;
|
op[3] = (disp >> 8) & 0xff;
|
op[3] = (disp >> 8) & 0xff;
|
Line 1737... |
Line 1737... |
#endif
|
#endif
|
reloc_type = keep_reloc ? BFD_RELOC_16_PCREL : BFD_RELOC_NONE;
|
reloc_type = keep_reloc ? BFD_RELOC_16_PCREL : BFD_RELOC_NONE;
|
reloc_adjust = 1;
|
reloc_adjust = 1;
|
break;
|
break;
|
case OPCODE (OT_bne, 5): /* BNE.A - synthetic. */
|
case OPCODE (OT_bne, 5): /* BNE.A - synthetic. */
|
op[0] = 0x15; /* beq.s .+4. */
|
op[0] = 0x15; /* beq.s .+5. */
|
op[1] = 0x04; /* bra.a dsp:24. */
|
op[1] = 0x04; /* bra.a dsp:24. */
|
disp -= 1;
|
disp -= 1;
|
#if RX_OPCODE_BIG_ENDIAN
|
#if RX_OPCODE_BIG_ENDIAN
|
op[2] = (disp >> 16) & 0xff;
|
op[2] = (disp >> 16) & 0xff;
|
op[3] = (disp >> 8) & 0xff;
|
op[3] = (disp >> 8) & 0xff;
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.