repo.or.cz
/
qemu
/
qemu_0_9_1_stable.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
All registers are set to 0 on reset (Robert Reif)
[qemu/qemu_0_9_1_stable.git]
/
tests
/
cris
/
check_movucr.s
blob
7c8487d1a242f9b54eb07a3396871e38510f90a8
1
# mach: crisv3 crisv8 crisv10 crisv32
2
# output: 42\n85\n7685\n8765\n0\n
3
4
; Move constant byte
,
word
,
dword to register. Check that zero-extension
5
; is performed.
6
7
.include
"testutils.inc"
8
start
9
moveq
-
1
,
r3
10
movu.
b
0x42
,
r3
11
test_move_cc
0 0 0 0
12
checkr3
42
13
14
moveq
-
1
,
r3
15
movu.
b
0x85
,
r3
16
test_move_cc
0 0 0 0
17
checkr3
85
18
19
moveq
-
1
,
r3
20
movu.w
0x7685
,
r3
21
test_move_cc
0 0 0 0
22
checkr3
7685
23
24
moveq
-
1
,
r3
25
movu.w
0x8765
,
r3
26
test_move_cc
0 0 0 0
27
checkr3
8765
28
29
movu.
b
0
,
r3
30
test_move_cc
0 1 0 0
31
checkr3
0
32
33
quit