⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 setjmp.s

📁 klibc精简化的c程序库
💻 S
字号:
## arch/m68k/setjmp.S## setjmp/longjmp for the m68k architecture### The jmp_buf is assumed to contain the following, in order:#	%d2..%d7#	%a2..%a7#	return address#	.text	.align 2	.globl setjmp	.type setjmp, @functionsetjmp:	move.l	(%sp)+, %d0		| Return address	movea.l	(%sp), %a0		| Buffer address	| Postincrement mode is not permitted here...	movem.l	%d2-%d7/%a2-%a7, (%a0)	move.l	%d0, 48(%a0)		| Return address	move.l	%d0, -(%sp)		| Restore return address	clr.l	%d0			| Return value	movea.l	%d0, %a0		| Redundant return...	rts	.size setjmp,.-setjmp	.text	.align 2	.globl longjmp	.type longjmp, @functionlongjmp:	move.l	4(%sp), %a0		| Buffer address	move.l	8(%sp), %d0		| Return value	movem.l	(%a0)+, %d2-%d7/%a2-%a7	movea.l	(%a0), %a1	movea.l	%d0, %a0		| Redundant return...	jmp.l	(%a1)	.size longjmp,.-longjmp

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -