projects
/
deliverable
/
binutils-gdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
This commit was generated by cvs2svn to track changes on a CVS vendor
[deliverable/binutils-gdb.git]
/
gas
/
testsuite
/
gas
/
xstormy16
/
reloc-2.s
1
.text
2
; check that forward references work for all operands.
3
inc r0,#fwd1
4
set1 0,#fwd1
5
bn 0,#fwd1,.
6
add r0,#fwd1
7
mov r0,(r0,fwd1)
8
mov fwd1,#0
9
mov rx,#fwd1
10
mov 0,#fwd1
11
jmpf fwd1
12
bge fwd1+.
13
bge Rx,#0,fwd1+.
14
bge r0,r0,fwd1+.
15
br fwd1+.
16
fwd1 = 1
17
18
; check that global references work for those operands that support them
19
.globl global
20
21
mov global,#0
22
mov rx,#global
23
mov 0,#global
24
; jmpf global
25
bge global
26
bge Rx,#0,global
27
bge r0,r0,global
28
br global
29
30
; check branch operations to local labels
31
bge .L1
32
bge Rx,#0,.L1
33
bge r0,r0,.L1
34
br .L1
35
.L1:
36
bge .L1
37
bge Rx,#0,.L1
38
bge r0,r0,.L1
39
br .L1
40
41
; check immediate operands thoroughly
42
mov 0,#global+4
43
mov 0,#.L1
44
mov 0,#.L1+4
45
mov 0,#global-.
46
mov 0,#global-.L1
47
48
jmpf global
This page took
0.032055 seconds
and
5
git commands to generate.