OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains3x.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
r284@cf-ppc-macosx: monabuilder | 2008-12-07 10:57:41 +0900
[pf3gnuchains/pf3gnuchains3x.git]
/
sim
/
testsuite
/
d10v-elf
/
t-ld-st.s
1
.include "t-macros.i"
2
3
start
4
5
; Test ld and st
6
ld r4, @foo
7
check 1 r4 0xdead
8
9
ldi r4, #0x2152
10
st r4, @foo
11
ld r4, @foo
12
check 2 r4 0x2152
13
14
; Test ld2w and st2w
15
ldi r4, #0xdead
16
st r4, @foo
17
ld2w r4, @foo
18
check2w2 3 r4 0xdead 0xf000
19
20
ldi r4, #0x2112
21
ldi r5, #0x1984
22
st2w r4, @foo
23
ld2w r4, @foo
24
check2w2 4 r4 0x2112 0x1984
25
26
.data
27
.align 2
28
foo: .short 0xdead
29
bar: .short 0xf000
30
.text
31
32
exit0