execv.s

来自「莱昂氏UNIX源代码分析UNIXv6src.tar.gz」· S 代码 · 共 32 行

S
32
字号
/ C library -- execv/ execv(file, argv);// where argv is a vector argv[0] ... argv[x], 0/ last vector element must be 0// The _exectrap flags is used by the debugger and causes/ a trace trap on the first instruction of the executed instruction/ to give a chance to set breakpoints..globl	_execv, cerror.comm	__exectrap,2rtt	= 6_execv:	mov	r5,-(sp)	mov	sp,r5	mov	4(r5),0f	mov	6(r5),0f+2	tst	__exectrap	beq	1f	mov	$170020,-(sp)	/ t-bit	mov	$1f,-(sp)	rtt1:	sys	0; 9f	jmp	cerror.data9:	sys	exec; 0:..; ..

⌨️ 快捷键说明

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