OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains4x.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
r6916@monacintosh2: monaka | 2008-11-24 19:18:29 +0900
[pf3gnuchains/pf3gnuchains4x.git]
/
gas
/
testsuite
/
gas
/
maxq10
/
call.s
1
;# calls.s
2
;# check program flow instruction involving CALL & RET in MAXQ10
3
.text
4
foo:
5
Call SmallCall
6
Call LongCall
7
SmallCall:
8
RET
9
RET C
10
RET Z
11
RET NZ
12
RET S
13
RETI
14
RETI C
15
RETI Z
16
RETI NZ
17
RETI S
18
MOVE LC[1], #10h
19
LoopTop:
20
Call LoopTop
21
DJNZ LC[1], LoopTop
22
MOVE LC[1], #10h
23
LoopTop1:
24
Call LoopTop1
25
.fill 0x200, 2, 0
26
DJNZ LC[1], LoopTop
27
LongCall:
28
RETI
29
RETI C
30
RETI Z
31
RETI NZ
32
RETI S