OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [maxq20/] [call.s] - Blame information for rev 156

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
;# calls.s
2
;# check program flow instruction involving CALL & RET
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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.