repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Automatic date update in version.in
[binutils-gdb.git]
/
sim
/
testsuite
/
cris
/
asm
/
movesmp.ms
blob
a85dfc8f85b66a426f2b9f10d51713ed9992d6bb
1
# mach: crisv3 crisv8 crisv10
2
# output: bed0bed1\nabedab0d\nbed0bed1\n
3
4
# Test that move to and from special register and memory clears the
5
# "prefixed" bit.
6
7
.include "testutils.inc"
8
.data
9
w:
10
.dword 0
11
y:
12
.dword 0xbed0bed1
13
z:
14
.dword 0xabedab0d
15
16
start
17
x:
18
move.d y,r3
19
clear.d [w]
20
move.d [r3],r3
21
dumpr3 ; bed0bed1
22
move.d z,r3
23
move [w+4],srp
24
move.d [r3],r3
25
dumpr3 ; abedab0d
26
move srp,r3
27
dumpr3 ; bed0bed1
28
quit