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
/
addom.ms
blob
4e4ebb16a814d79d06878479c1f96a2701176b37
1
# mach: crisv32
2
# output: 4455aa77\n4455aa77\nee19ccff\nff22\n4455aa77\nff224455\n55aa77ff\n
3
4
.include "testutils.inc"
5
.data
6
x:
7
.dword 0x55aa77ff
8
.dword 0xccff2244
9
.dword 0x88ccee19
10
y:
11
.dword 32769
12
.word -1
13
.dword 5
14
.byte 3,-4
15
.word 2
16
.dword -76789887
17
18
start
19
moveq -1,r0
20
move.d x-32768,r5
21
move.d y,r13
22
addo.d [r13+],r5,acr
23
move.d [acr],r3
24
dumpr3 ; 4455aa77
25
26
addu.w 32770,r5
27
addo.w [r13+],r5,acr
28
move.d [acr],r3
29
dumpr3 ; 4455aa77
30
31
addo.d [r13],acr,acr
32
addq 4,r13
33
move.d [acr],r3
34
dumpr3 ; ee19ccff
35
36
addo.b [r13+],r5,acr
37
movu.w [acr],r3
38
dumpr3 ; ff22
39
40
addo.b [r13],acr,acr
41
addq 1,r13
42
move.d [acr],r3
43
dumpr3 ; 4455aa77
44
45
addo.w [r13],acr,acr
46
addq 2,r13
47
move.d [acr],r3
48
dumpr3 ; ff224455
49
50
addo.d [r13+],r5,acr
51
add.d 76789885,acr
52
move.d [acr],r3
53
dumpr3 ; 55aa77ff
54
55
quit