Add basic tests for d10v-elf simulator.
This commit is contained in:
parent
1e639cb27b
commit
db511584c9
2 changed files with 14 additions and 0 deletions
8
sim/testsuite/d10v-elf/exit47.s
Normal file
8
sim/testsuite/d10v-elf/exit47.s
Normal file
|
@ -0,0 +1,8 @@
|
|||
.text
|
||||
.align 2
|
||||
.globl _start
|
||||
_start:
|
||||
# exit (47)
|
||||
ldi r6, 1
|
||||
ldi r2, 47
|
||||
trap 15
|
6
sim/testsuite/d10v-elf/loop.s
Normal file
6
sim/testsuite/d10v-elf/loop.s
Normal file
|
@ -0,0 +1,6 @@
|
|||
.text
|
||||
.globl _start
|
||||
|
||||
_start:
|
||||
bra _start
|
||||
nop
|
Loading…
Reference in a new issue