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
/
moverm.ms
blob
be8126f3440d09a2b22830e2f8a3d0b5e36ddf2c
1
# mach: crisv3 crisv8 crisv10 crisv32
2
# output: 7823fec2\n10231879\n102318fe\n
3
4
.include "testutils.inc"
5
start
6
7
.data
8
mem1:
9
.dword 0x12345678
10
mem2:
11
.word 0x4567
12
mem3:
13
.byte 0x23
14
.dword 0x76543210
15
.byte 0xaa,0x11,0x99
16
17
.text
18
move.d mem1,r2
19
move.d 0x7823fec2,r4
20
setf nzvc
21
move.d r4,[r2+]
22
test_cc 1 1 1 1
23
subq 4,r2
24
move.d [r2],r3
25
dumpr3 ; 7823fec2
26
27
move.d mem2,r3
28
move.d 0x45231879,r4
29
clearf nzvc
30
move.w r4,[r3]
31
test_cc 0 0 0 0
32
move.d [r3],r3
33
dumpr3 ; 10231879
34
35
move.d mem2,r2
36
moveq -2,r4
37
clearf nc
38
setf zv
39
move.b r4,[r2+]
40
test_cc 0 1 1 0
41
subq 1,r2
42
move.d [r2],r3
43
dumpr3 ; 102318ff
44
45
quit