repo.or.cz
/
qemu
/
mdroth.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
json-lexer: make lexer error-recovery more deterministic
[qemu/mdroth.git]
/
tests
/
cris
/
check_bas.s
blob
11929d420200dc893179e702d7efd0662acf6a97
1
# mach: crisv32
2
# output: 0\n0\n0\nfb349abc\n0\n12124243\n0\n0\neab5baad\n0\nefb37832\n
3
4
.include
"testutils.inc"
5
start
6
x
:
7
setf zncv
8
bsr
0
f
9
nop
10
0
:
11
test_cc
1 1 1 1
12
move srp
,
r3
13
sub.
d
0
b
,
r3
14
checkr3
0
15
16
bas
1
f
,
mof
17
moveq
0
,
r0
18
6
:
19
nop
20
quit
21
22
2
:
23
move srp
,
r3
24
sub.
d
3
f
,
r3
25
checkr3
0
26
move srp
,
r4
27
subq
4
,
r4
28
move.d
[
r4
],
r3
29
checkr3 fb349abc
30
31
basc
4
f
,
mof
32
nop
33
.dword 0x12124243
34
7
:
35
nop
36
quit
37
38
8
:
39
move mof
,
r3
40
sub.
d
7
f
,
r3
41
checkr3
0
42
43
move mof
,
r4
44
subq
4
,
r4
45
move.d
[
r4
],
r3
46
checkr3 eab5baad
47
48
jasc
9
f
,
mof
49
nop
50
.dword 0xefb37832
51
0
:
52
quit
53
54
quit
55
9
:
56
move mof
,
r3
57
sub.
d
0
b
,
r3
58
checkr3
0
59
60
move mof
,
r4
61
subq
4
,
r4
62
move.d
[
r4
],
r3
63
checkr3 efb37832
64
65
quit
66
67
4
:
68
move mof
,
r3
69
sub.
d
7
b
,
r3
70
checkr3
0
71
move mof
,
r4
72
subq
4
,
r4
73
move.d
[
r4
],
r3
74
checkr3
12124243
75
basc
5
f
,
bz
76
moveq
0
,
r3
77
.dword 0x7634aeba
78
quit
79
80
.space 32770,0
81
1
:
82
move mof
,
r3
83
sub.
d
6
b
,
r3
84
checkr3
0
85
86
bsrc
2
b
87
nop
88
.dword 0xfb349abc
89
3
:
90
91
quit
92
93
5
:
94
move mof
,
r3
95
sub.
d
7
b
,
r3
96
checkr3
0
97
move.d
8
b
,
r6
98
jasc
r6
,
mof
99
nop
100
.dword 0xeab5baad
101
7
:
102
quit