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

Subversion Repositories or1k

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

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

Line No. Rev Author Line
1 39 lampret
        .file "setjmp.S"
2
 
3
        .section .text
4
        .align 1
5
        .global _setjmp
6
_setjmp:
7
        mov d0,a0
8
        mov d2,(0,a0)
9
        mov d3,(4,a0)
10 56 joel
        mov mdr,d1
11
        mov d1,(8,a0)
12 39 lampret
        mov a2,(12,a0)
13
        mov a3,(16,a0)
14 56 joel
        mov sp,a1
15
        mov a1,(20,a0)
16 39 lampret
        sub d0,d0
17
        rets
18
 
19
        .global _longjmp
20
_longjmp:
21
        mov d0,a0
22 56 joel
        mov (8,a0),d2
23
        mov d2,mdr
24 39 lampret
        mov (0,a0),d2
25
        mov (4,a0),d3
26
        mov (12,a0),a2
27
        mov (16,a0),a3
28 56 joel
        mov (20,a0),a1
29
        mov a1,sp
30
        cmp 0,d1
31
        bne L1
32
        mov 1,d1
33
L1:
34
        mov d1,d0
35
        retf [],0

powered by: WebSVN 2.1.0

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