mipsfpu.s

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· S 代码 · 共 36 行

S
36
字号
/*	@(#)mipsfpu.s	4.1	(ULTRIX)	7/3/90				      *//* ------------------------------------------------------------------ *//* | Copyright Unpublished, MIPS Computer Systems, Inc.  All Rights | *//* | Reserved.  This software contains proprietary and confidential | *//* | information of MIPS and its suppliers.  Use, disclosure or     | *//* | reproduction is prohibited without the prior express written   | *//* | consent of MIPS.                                               | *//* ------------------------------------------------------------------ */#include <mips/regdef.h>#include <mips/asm.h>#include <syscall.h>#include <sysmips.h>/* * mipsfpu is implemented via the SYS_mips system call.  The argument is * shuffled back so the MIPS_FPU vector can be put in the first argument. * The SYS_mips system call takes 5 arguments and unused arguments must * have zero values. */LEAF(mipsfpu)	subu	sp,8	sw	zero,16(sp)	move	a3,zero	move	a2,zero	move	a1,a0	li	a0,MIPS_FPU	li	v0,SYS_sysmips	syscall	addu	sp,8	beq	a3,zero,9f	j	_cerror9:	RETEND(mipsfpu)

⌨️ 快捷键说明

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