projects
/
external
/
binutils.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* sim/cris/hw: New directory for subdirectories with tests.
[external/binutils.git]
/
sim
/
testsuite
/
sim
/
cris
/
hw
/
rv-n-cris
/
trivial2.ms
1
#mach: crisv32
2
#sim(crisv32): --hw-device "/rv/dummy 0x12"
3
4
# Test dummy settings: set from value.
5
6
.include "testutils.inc"
7
start
8
move.d 0xd0000000,$r0
9
move.d [$r0+],$r3
10
cmp.d 0x12121212,$r3
11
beq ok
12
nop
13
bad:
14
fail
15
ok:
16
moveq -1,$r3
17
move.d $r3,[$r0]
18
cmp.d [$r0],$r3
19
bne bad
20
nop
21
pass