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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib-1.10.0/] [newlib/] [libc/] [sys/] [sysvi386/] [_setjmp.s] - Rev 1773

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

/
/ our buffer looks like:
/  eax,ebx,ecx,edx,esi,edi,esp,ebp,pc
 
	.globl	_setjmp
	.globl	setjmp
_setjmp:
setjmp:
	pushl	%ebx
	movl	8(%esp), %ebx
	movl	%eax, (%ebx)
	popl	%eax
	movl	%eax, 4(%ebx)
	movl	%ecx, 8(%ebx)
	movl	%edx, 12(%ebx)
	movl	%esi, 16(%ebx)
	movl	%edi, 20(%ebx)
	movl	%esp, 24(%ebx)
	movl	%ebp, 28(%ebx)
	movl	(%esp), %eax
	movl	%eax, 32(%ebx)
	xorl	%eax, %eax
	ret
 
 

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

powered by: WebSVN 2.1.0

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