Assembler






8087 ,
. . 7.12
8087.
 

8088. . 7.12
, WAIT,
WAIT.
, ,
FN
.
 
. 7.13
8087. FENI, FDISI, FCLEX
8087.
, ,
. 8087
FENI FDISI;
STI CLI 8088,
,
8087. FCLEX
. 8087 ,

, .
FCLEX - .
 

--------------------------------------------------------
FINIT 8087.
FENI
FDISI
FLDCW 8087
FSTCW 8087
FSTSW 8087
FCLEX
FSTENV 8087
FLDENV 8087
FSAVE 8087
FRSTOR 8087
FINCSTP
FDECSTP
FFREE
FNOP
FWAIT WAIT
--------------------------------------------------------
 
. 7.13
 

8087.
FLDCW, FSTCW FSTSW .
8087
, ;
14 . 7.14
, 8087 .
-
8087,
. 20=
, 8087.
.
8087
.
 

Ŀ
15 0
Ŀ
+0
Ĵ
+2
Ĵ
+4
Ĵ
IP15-0 +6
ܠ Ĵ
۠ IP19-16 0 +8
Ĵ
OP15-0 +10
ܠ Ĵ
OP19-16 0 +12

 
. 7.14 8087
 
8087 -
. 8087
10= , 94 . 7.15
8087,
.
.
8087, ,
8087.
,
.
 
- FINCSTP FDECSTP -
; .
, .. "" .
,
"" ,
. =
- . FFREE
, ""
, .
FFREE ,
,
.
A

Ŀ
15 0
Ŀ
+0
Ĵ
+2
Ĵ
+4
Ĵ
IP15-0 +6
ܠ Ĵ
۠ IP19-16 0 +8
Ĵ
OP15-0 +10
ܠ Ĵ
OP19-16 0 +12
Ĵ
15-0 +14
Ĵ
31-16 +16

:ST 47-32 +18
Ĵ
63-48 +20
Ĵ
s 14-0 +22
Ĵ
15-0 +24
Ĵ
31-16 +26
Ĵ
47-32 +28
Ĵ
63-48 +30
Ĵ
s 14-0 +32
Ĵ
... . . . . . . . ...
Ĵ
15-0 +84
Ĵ
31-16 +86
Ĵ
47-32 +88
Ĵ
63-48 +90
Ĵ
s 14-0 +92

:
S =
0 -

63 - (
, )
. 7.15 8087