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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [newlib/] [newlib/] [libc/] [sys/] [sysvi386/] [_setjmp.s] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 39 lampret
/
2
/ our buffer looks like:
3
/  eax,ebx,ecx,edx,esi,edi,esp,ebp,pc
4
 
5
        .globl  _setjmp
6
        .globl  setjmp
7
_setjmp:
8
setjmp:
9
        pushl   %ebx
10
        movl    8(%esp), %ebx
11
        movl    %eax, (%ebx)
12
        popl    %eax
13
        movl    %eax, 4(%ebx)
14
        movl    %ecx, 8(%ebx)
15
        movl    %edx, 12(%ebx)
16
        movl    %esi, 16(%ebx)
17
        movl    %edi, 20(%ebx)
18
        movl    %esp, 24(%ebx)
19
        movl    %ebp, 28(%ebx)
20
        movl    (%esp), %eax
21
        movl    %eax, 32(%ebx)
22
        xorl    %eax, %eax
23
        ret
24
 

powered by: WebSVN 2.1.0

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