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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [newlib/] [libc/] [machine/] [h8500/] [setjmp.S] - Blame information for rev 1774

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

Line No. Rev Author Line
1 39 lampret
!
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.