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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [gdb/] [testsuite/] [gdb.asm/] [xstormy16.inc] - Blame information for rev 842

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
        comment "subroutine prologue"
2
        .macro gdbasm_enter
3
        push r13
4
        mov r13,r15
5
        .endm
6
 
7
        comment "subroutine epilogue"
8
        .macro gdbasm_leave
9
        pop r13
10
        ret
11
        .endm
12
 
13
        .macro gdbasm_call subr
14
        callf \subr
15
        .endm
16
 
17
        .macro gdbasm_several_nops
18
        add r0,#0
19
        add r0,#0
20
        add r0,#0
21
        add r0,#0
22
        .endm
23
 
24
        comment "exit (0)"
25
        .macro gdbasm_exit0
26
        mov.w r2,#0
27
        halt
28
        .endm
29
 
30
        comment "crt0 startup"
31
        .macro gdbasm_startup
32
        mov r15,#2
33
        .endm
34
 

powered by: WebSVN 2.1.0

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