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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [gas/] [testsuite/] [gas/] [maxq10/] [call.s] - Blame information for rev 205

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 205 julius
;# 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

powered by: WebSVN 2.1.0

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