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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [newlib/] [libc/] [sys/] [sysvi386/] [_setjmp.S] - Blame information for rev 831

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

Line No. Rev Author Line
1 148 jeremybenn
/
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.