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

📄 syscall.s

📁 klibc精简化的c程序库
💻 S
字号:
/* * arch/m32r/syscall.S * *     r7 contains the syscall number (set by stub); * r0..r3 contains arguments 0-3 per standard calling convention; * r4..r5 contains arguments 4-5, but we have to get those from *        the stack. */	.section ".text","ax"	.balign	4	.globl	__syscall_common	.type	__syscall_common,@function__syscall_common:	ld	r4,@sp	ld	r5,@(4,sp)	trap	#2	cmpi	r0, #-4096	bnc	1f	jmp	r141:	seth	r2,#high(errno)	or3	r2,r2,#low(errno)	neg	r1,r0	st	r1,@r7	ldi	r0,#-1	jmp	r14	.size	__syscall_common,.-__syscall_common

⌨️ 快捷键说明

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