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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [machine/] [h8500/] [setjmp.S] - Blame information for rev 207

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
!
2
        .file   "setjmp.S"
3
        .section .text
4
 
5
        .global _setjmp
6
_setjmp:
7
        mov.w   r7,@r0+
8
        mov.w   r6,@r0+
9
        mov.w   r5,@r0+
10
        mov.w   @sp,r1
11
        mov.w   r1,@r0
12
        clr.w   r0
13
        rts
14
 
15
        .global _longjmp
16
_longjmp:
17
        mov.w   @r0+,r7
18
        mov.w   @r0+,r6
19
        mov.w   @r0+,r5
20
        mov.w   @r0,r2
21
        mov.w   r2,@sp
22
        mov.w   r1,r0
23
        tst.w   r0
24
        bne     .L1
25
        mov.w   #1,r0
26
.L1:
27
        rts

powered by: WebSVN 2.1.0

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