]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/testsuite/gas/maxq10/call.s
config:
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / maxq10 / call.s
CommitLineData
7499d566
NC
1;# calls.s
2;# check program flow instruction involving CALL & RET in MAXQ10
3.text
4foo:
5 Call SmallCall
6 Call LongCall
7SmallCall:
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
19LoopTop:
20 Call LoopTop
21 DJNZ LC[1], LoopTop
22 MOVE LC[1], #10h
23LoopTop1:
24 Call LoopTop1
25 .fill 0x200, 2, 0
26 DJNZ LC[1], LoopTop
27LongCall:
28 RETI
29 RETI C
30 RETI Z
31 RETI NZ
32 RETI S