projects
/
deliverable
/
binutils-gdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Add support for Motorola XGATE embedded CPU
[deliverable/binutils-gdb.git]
/
gas
/
testsuite
/
gas
/
xgate
/
insns.s
1
# Test for correct generation of XGATE insns.
2
3
.globl _start
4
.sect .text
5
6
_start:
7
ldw R2, #block+1024
8
ldw R3, #block
9
ldw R1, #1
10
Loop:
11
bra test
12
nop
13
bne Loop
14
Stop:
15
16
.byte 0xcd
17
.byte 3
18
bra _start
19
20
test:
21
ldw R5, #2
22
bra test2
23
rts
24
25
value = 23
26
27
.globl test2
28
test2:
29
ldw R3, #value
30
stw R4, (R3, #0)
31
ldw R4, #24+_start-44
32
bra Stop
33
L1:
34
ldw R1, test2
35
ldw R2, test2
36
rts
37
38
.sect .data
39
40
.sect .bss
41
block:
42
.space 1024
43
block_end:
This page took
0.031315 seconds
and
4
git commands to generate.