📄 vstatus.s
字号:
.data| .asciz "@(#)Vstatus.s 1.1 92/07/30 Copyr 1986 Sun Micro" .even .text| Copyright (c) 1986 by Sun Microsystems, Inc.#include "fpcrtdefs.h"VECTORED(status) .textENTER(_fpstatus_) movel sp@(4),a0 | Get address of long argument. movel a0@,d0 | Get long argument. jmp VstatusENTER(getquotient) | Get remainder quotient. JBSR(Vstatus, a0) movel d0,sp@- JBSR(Vstatus, a0) movel sp@+,d0 swap d0 andw #0x7f,d0 btst #23,d0 beqs 1f negw d01: extl d0 | Old quotient. rtsENTER(setquotient) | Set remainder quotient. tstl d0 bpls 1f negb d0 bset #7,d0 bras 2f1: bclr #7,d02: andl #0xff,d0 | Clear other bits. swap d0 movel d0,sp@- JBSR(Vstatus, a0) andl #0xff00ffff,d0 | Clear quotient. orl sp@+,d0 | Insert new quotient. JBSR(Vstatus, a0) rts
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -