EasyManuals Logo
Home>Intel>Computer Hardware>80287

Intel 80287 User Manual

Intel 80287
515 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #462 background imageLoading...
Page #462 background image
NUMERIC PROGRAMMING EXAMPLES
ASSUME
INITIALIZED
REENTRANT
PROC
SAVE
CPU
REGISTERS,
ALLOCATE
STACK
SPACE
FOR
80287
STATE
IMAGE
PUSH
BP
MOV
BP,SP
SUB
SP,94
SAVE
STATE,
LOAD
NEW
CONTROL
WORD,
FOR
COMPLETION,
ENABLE
CPU
INTERRUPTS
FNSAVE
[BP-941
FLDCW
LOCAL_CONTROL
S T I
APPLICATION
EXCEPTION
HANDLING
CODE
GOES
HERE.
AN
UNMASKED
EXCEPTION
GENERATED
HERE
WILL
CAUSE
THE
EXCEPTION
HANDLER
TO
BE
REENTERED.
IF
LOCAL
STORAGE
IS
NEEDED,
IT
MUST
BE
ALLOCATED
ON
THE
CPU
STACK.
CLEAR
EXCEPTION
FLAGS
IN
STATUS
WORD
RESTORE
MODIFIED
STATE
IMAGE
MOV
BVTE
PTR
[BP-921,
OH
FRSTOR
[BP-941
DE-ALLOCATE
STACK
SPACE,
RESTORE
CPU
REGISTERS
MOV
SP,BP
POP
BP
RETURN
POINT
OF
INTERRUPTIOH
IRET
REENTRANT
ENDP
Figure 4-5. Reentrant Exception Handler
4-6
pcjs.org

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Intel 80287 and is the answer not in the manual?

Intel 80287 Specifications

General IconGeneral
BrandIntel
Model80287
CategoryComputer Hardware
LanguageEnglish

Related product manuals