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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gdb-7.2/] [gdb/] [testsuite/] [gdb.asm/] [arm.inc] - Blame information for rev 861

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

Line No. Rev Author Line
1 330 jeremybenn
        comment "subroutine prologue"
2
        .macro gdbasm_enter
3
        mov ip, sp
4
        stmdb sp!, {fp, ip, lr, pc}
5
        sub fp, ip, #4
6
        .endm
7
 
8
        comment "subroutine epilogue"
9
        .macro gdbasm_leave
10
        ldmea fp, {fp, sp, pc}
11
        .endm
12
 
13
        .macro gdbasm_call subr
14
        bl \subr
15
        .endm
16
 
17
        .macro gdbasm_several_nops
18
        nop
19
        nop
20
        nop
21
        nop
22
        .endm
23
 
24
        comment "exit (0)"
25
        .macro gdbasm_exit0
26
        mov r0, #0
27
        swi 0x00123456
28
        .endm
29
 
30
        comment "crt0 startup"
31
        .macro gdbasm_startup
32
        mov fp, #0
33
        mov r7, #0
34
        .endm
35
 

powered by: WebSVN 2.1.0

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