fpgetsticky.S revision 1.3
1/*
2 * Written by J.T. Conklin, Apr 4, 1995
3 * Public domain.
4 */
5
6#include <machine/asm.h>
7
8ENTRY(fpgetsticky)
9	subl $4,%esp
10	fnstsw (%esp)
11	movl (%esp),%eax
12	notl %eax
13	andl $63,%eax
14	addl $4,%esp
15	ret
16