mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 22:07:58 +08:00
Test/fix d10v RTE instruction.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
Thu Oct 23 21:13:37 1997 Fred Fish <fnf@cygnus.com>
|
||||||
|
|
||||||
|
* d10v-opc.c (d10v_opcodes): Correct entry for RTE.
|
||||||
|
|
||||||
Mon Dec 8 11:21:07 1997 Nick Clifton <nickc@cygnus.com>
|
Mon Dec 8 11:21:07 1997 Nick Clifton <nickc@cygnus.com>
|
||||||
|
|
||||||
* disassemble.c: Remove disasm_symaddr() function.
|
* disassemble.c: Remove disasm_symaddr() function.
|
||||||
|
@ -15,6 +15,7 @@ t-msbu.s
|
|||||||
t-rac.s
|
t-rac.s
|
||||||
t-rachi.s
|
t-rachi.s
|
||||||
t-rep.s
|
t-rep.s
|
||||||
|
t-rte.s
|
||||||
t-mulxu.s
|
t-mulxu.s
|
||||||
t-sub.s
|
t-sub.s
|
||||||
t-subi.s
|
t-subi.s
|
||||||
|
18
sim/testsuite/d10v-elf/t-rte.s
Normal file
18
sim/testsuite/d10v-elf/t-rte.s
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
.include "t-macros.i"
|
||||||
|
|
||||||
|
start
|
||||||
|
|
||||||
|
PSW_BITS = PSW_C|PSW_F0|PSW_F1
|
||||||
|
|
||||||
|
ldi r6, #success@word
|
||||||
|
mvtc r6, bpc
|
||||||
|
ldi r6, #PSW_BITS
|
||||||
|
mvtc r6, bpsw
|
||||||
|
|
||||||
|
test_rte:
|
||||||
|
RTE
|
||||||
|
exit47
|
||||||
|
|
||||||
|
success:
|
||||||
|
checkpsw2 1 PSW_BITS
|
||||||
|
exit0
|
Reference in New Issue
Block a user