---------------------------------------------------------------
:
---------------------------------------------------------------
3
1.1 32- 3
1.2 4
1.3 5
1.4 6
1.5 6
1.6 8086/80286 6
1.7 7
7
2.1 7
2.1.1 7
2.1.2 8
2.1.3 8
2.2 9
2.2.1 9
2.2.2 10
2.2.3 10
2.2.4 11
2.3 12
2.3.1 12
2.3.2 14
2.3.3 15
2.3.3.1 15
2.3.3.2 15
2.3.3.3 16
16
3.1 16
3.2 17
3.2.1 18
3.2.2 18
3.3 19
3.3.1 19
3.3.2 20
3.3.3 22
3.3.4 23
3.4 25
3.4.1 25
3.4.2 26
3.4.3 26
3.4.4 27
3.5 27
3.6 29
3.6.1 29
3.6.2 30
3.7 / 31
32
4.1 80286 32
4.2 8086 32
34
5.1 34
5.2 35
5.2.1 36
5.2.2 36
5.2.3 36
5.2.4 37
5.2.5 37
5.2.6 38
5.2.7 38
39
6.1 39
6.2 40
6.2.1 40
6.2.2 (CLK2) 40
6.2.3 (D0-D31) 40
6.2.4 (BE0#-BE3#, A2-A31) 40
6.2.5 42
6.2.6 43
6.2.6.1 43
6.2.6.2 (ADS#) 43
6.2.6.3 (READY#) 43
6.2.6.4 (NA#) 43
6.2.6.5 16- (BS16#) 43
6.2.7 44
6.2.7.1 44
6.2.7.2 (HOLD) 44
6.2.7.3 (HLDA) 44
6.2.8 44
6.2.8.1 44
6.2.8.2 (PEREQ) 45
6.2.8.3 (BUSY#) 45
6.2.8.4 (ERROR#) 45
6.2.9 46
6.2.9.1 46
6.2.9.2 (INTR) 46
6.2.9.3 (NMI) 46
6.2.9.4 ( ){RESET} 46
6.2.10 47
6.3 49
6.3.1 49
6.3.2 / 50
6.3.3 / 50
6.3.4 51
6.3.5 32 16 52
6.3.6 54
6.4 54
6.4.1 54
6.4.2 55
6.4.3 56
6.4.3.1 56
6.4.3.2 57
6.4.3.3 59
6.4.3.4 60
6.4.3.5 62
6.4.3.6 63
6.4.4 (INTA) 64
6.4.5 65
6.4.6 65
6.5 65
6.6.1 / 65
6.6.2 66
6.6.3 RESET 66
6.7 67
80386 32-
,
.
, ,
, -
, 80386.
, 80386.
80386
, 3 4
, 32- , 4
(2 )
.
,
80386
,
, 8086 80286.
80386, , 80386
,
, , UNIX MS-DOS.
16-
32- .
, 80386
,(*`./`.f%aa.`-ke . , -
,
80386. , ,
, ,
,
. ,
, 32-
, .
80386.
32- 80386,
, :
- ,
- ,
- ,
- ,
- 8086/80286
1.1 32-
32- 80386 ,
" " ,
, ,
( ) ..
80386 2 4
; 2
64 (). 32- 80386
.
8, 16 32 ,
, , , ,
. 80386
,
. 80386
:
, , , .
1.2
32-
.
,
,
.
80386
.
80386
CH MOSIII - ,
HMOS
. 1,5
80386 275000
. 80386,
I2 I6 , 80386
16 3-4
.
80386 6
.
, , 32
. 80386
.
, 80386
./%` f() .
/ 80386 32- 9-
41 , ;
32- 38 (
) 43 ( ).
80386 1 64
.
32- , , ,
,
, . ,
, ,
. 32-
.
80386
.
, , , ,
.
,
, .
,
.
,
, ,
. ,
;
IEEE754
. 80386
. 80386
80287, 80387.
;
80386 ,
, IEEE754. 80386 80387
1,8 .
32- , 16 ,
, ,
. 80386 ,
,
. , , 80386
/.
( 80386
4 ,
). (
/)
3
.
, 80386, ,
.
, ,
,
, #(ab` +l-k) ,
.
1.3
,
(), 400 .
( ,
),
(
) (
, ).
. 80386
.
16- ,
64 . 80386
4 ;
80386
. 80386
, ,
.
80386
,
, 80386 .
80386 -
. - (
, TLB) 32
, .
80386 4 , 128
, TLB 80386
,
. 98-99%
TLB.
1.4
3-4 , 80386
, .
, ,
.
,
.
.
.
, 80386:
- ;
- 0-4 ;
- (, HALT);
- (,
a%#,%-b );
- (,
);
- .
80386 .
1.5
80386
.
, ,
. ,
,
. 80386
, .
( -
) ,
,
, .
, 80386
,
. ,
, ,
.
. , ,
, ,
. ,
80386
.
1.6 8086/80286
86
80386 - 80286 8086, 80386
.
,
,
86.
80386, ,
8086, 80286
80386. 80386
, VIRTUAL 86 ( 86),
8086
80386. 8086
, 80386 8086
1
80386. ,
80386 ,
8086
. , 8086
80386 ,
86.
1.7
80386
,
. 80386
$.ab b.g-. :
,
,
.
,
,
, .
,
. 8086 32-
,
8086.
80386
.
,
,
.
80386
32-
.
:
1);
2) ;
3) .
2.1
, 80386,
,
. , ,
,
, ,
. 80386
,
80287 80387.
80386, ,
, .
.
2.1.1
.2-1, 80386
32 , ,
32 .
80386 32- .
,
16- , ,
80386 16 , 32- .
.2-1
16 32- ,
8- .
.
, , . ,
.
, ESP
.
2.1.2
.2-2 80386.
: , .
,
. ,
,
. ,
,
.
.
,
.
. ( 3).
80386.
1 -
2 -
3 -
4 -
5 -
6 -
7 -
80386, EIP, 32
. (
)
I.
,
,
, , .
2.1.3
, .2-3,
.
80386 80287
80387 80386.
,
,
880 .
, .
, ,
(, )
, .
,
,
, ,
- .
1-REGISTER STACK
79 78 64 65 0
+----------------------------------------+
| | SIGNIFICAND | EXSPONENT |
+--+---------------+---------------------|
| | 2 | 3 |
+--+---------------+---------------------|
| | | |
+--+---------------+---------------------|
| | | |
+--+---------------+---------------------|
| | | |
+--+---------------+---------------------|
| | | |
+----------------------------------------+
15 0
+---------------------+
4 -| CONTHOL REGISTER |
+---------------------|
5 -| STATUS REGISTER |
+---------------------+
.2-3 ; 1 -
; 2 - ; 3 - ; 4 -
; 5 - .
2.2
4
80386
.
,
. 3,
80386
.
, 80386
,
, , 2 . ,
.
, ,
; 80386
, . ,
,
,
.
2.2.1
,
.
,
,
. , 1516-
1516 , , 8 (,
1028X1028X8)
. ,
80386 ,
. (,
3, ;
, , ,
, ,
, ).
80386 1
4.
' $ --k) , .
32-
, ,
. ,
,
3.
,
.
2.2.2
,
, 80386
. 80386
, 16- 32-
(. .2-4).
.
,
,
.
, , .
1 - 2 -
+---------------+
47 3 31 32 4 0 | | |
+-------------------------+ | | |
| | | | | |
+-------------------------+ | | |
| | | 5 | | 7
| | +-----------| |
| +--------------?| | | 2
| | +-----------| |
| | | | |
| +-----------------+ | | | |
| | | | | | |
| | | +-----?| | |
| | 8 | | | | |
| +-----------------+ | +-----------+ |
+--?| ------ ----
+-----------------+
| |
| |
+-----------------+
.2-4.
2.2.3
80386
6 (. .2-5) 1.
1 - 2 -
15 0 63 0
+---------------+ +------------------------------+
| 3- | |4- , ..| 5
| | | |
+---------------| +------------------------------|
| | | | 6
+---------------| +------------------------------|
| | | | 7
+---------------| +------------------------------|
| | | | 7
+---------------| +------------------------------|
| | | | 7
+---------------| +------------------------------|
| | | | 7
+---------------+ +------------------------------+
,
.
( " "
). ,
,
,
. 80386
,
.
, .
:
, .
CS, SS, DS, ES, FS GS
.
.
.
,
,
. (,
; ).
( CS), ESP
(
SS).
. ,
, , CS SS, .
,
.
,
.
, 0, -
4 , 4
.
,
4 32-
. , .2-6,
0 4,
.
, ,
, , 32-
. , 80386
4 . ,
, 4
+.#(g%a*(, , ,
32- .
2.2.4
80386
, ,
, .
80386
, (),
, .
80386. 80386
:
= + ( X ) +
, .
, ,
.
.
()
1,2,4 8,
.
8 32
.
,
80386:
- : ;
- : ;
- : + ;
- : ( );
- : ( ) +
;
- : + ( );
- : +
( ) + ;
2.3
,
.
(, ),
.
, , /
3.
2.3.1
. 2-1 ,
80386.
. , (
)
, .
2-1
+------------------------------------------------------------------------------+
| | | 3
+--------------+----------------+----------------------------------------------|
| , | 8, 16, 32 | , , , , |
| | | , , , , , |
| | | , , "",|
| | | "", "". |
| | | |
| | | , , , , |
| | | 1, 1, |
| | | ( /) |
+------------------------------------------------------------------------------+
+------------------------------------------------------------------------------+
| | 1 | , , |
| | | , |
+--------------+----------------+----------------------------------------------|
| | 2 | , |
| | | |
+--------------+----------------+----------------------------------------------|
| | 0-4 | , , , |
| , ,| | , , |
| | | |
+--------------+----------------+----------------------------------------------|
| | 1-4 | , , |
| | | , , |
| | | , , |
+--------------+----------------+----------------------------------------------|
| | 32 | (. ) |
| | | |
+--------------+----------------+----------------------------------------------|
| | 48 | |
| | | 3
+------------------------------------------------------------------------------+
: - 32 ,
/.
- ,
. .2-7 ,
.
, , ,
,
.
, ,
..
| 5 | 4 | 3 | 2 | 1 | 0 | -1
+------------------------------------------------------------
---------------- - 2
7 0
+-------+
| |3
| |
+-------+
+-----------+
4 |
--------
31 0
+------------------------+
| | |5
| | |
+------------------------+
-------- - 4 -
L------- 6
7 0
+-------+
| |7
| |
L--------
7 3 0
+-------+
| | |8
| | |
L---+----
+------- ------------------------+
| | | | | | | 9
| | | | | | |
+------- ------------------------+
10 -------
31 0
+-----------------------+
| | 11
| |
+-----------------------+
47 31 0
+--------------------------------+
| | | 12
| 13 | 14 |
+--------------------------------+
+--------------------------------+
2.3.2
80287 80387
80386 , .2-2.
,
,
,
, .
,
. ,
.
, ,
.
.2-8 ,
.
2-2
+------------------------------------------------------------------------+
| | |
|
+------------------------------------------------------------------------+
+------------------------------------------------------------------------+
| | 16,32,64 | , , , |
| | | , , , |
+--------------+--------------+------------------------------------------|
| | 18 | , |
| | | |
+------------------------------------------------------------------------+
+------------------------------------------------------------------------+
|| 32,64 | , , |
| | | , , , |
+--------------+--------------+------------------------------------------|
| | 80 | , , , , |
|| | , , |
| | | , |
| | | , , |
| | | , |
| | | , , , , |
| | | , , 2-1,Y*LOG(X+1), |
| | | Y*LOG(X), (0.0, , |
| | | ..) (80387 , , |
| | | , |
| | | ). |
+------------------------------------------------------------------------+
+-------------------------------------------------------------------+
| 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | - 1 |
+-------------------------------------------------------------------+
--------------- - 2
79 71 3 0
--------+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| | | | | | | | | | | | | | | | | | |
+-----------------------------------------+ 5
| L-------- 4 ----------------
L------- - 3
31 23 0
+----------------------+ 7
| | | |
| | | |
+----------------------+
|L---T---L- --
| L-------- 6
L-------------
60 51 0
+--------------------------------------------+ 8
| | | |
| | | |
+--------------------------------------------+
| +-------------+ +------- ---------
| L------
L---------------
79 62 0
--T-----------T--T---------------------------+
| | | | |
+--------------------------------------------+ 9
| L-----T------ L------ 4 ---------
| L------------------
L------- - 3
.2-8.
2.3.3
80386 .
.
2.3.3.1
80386 ,
, , SS
ESP. PUSH , POP
. PUSH ALL
, POP ALL
. INTER ( ) LEAVE (
)
. ENTER ,
.
LEAVE
, .
2.3.3.2
JUMP ()
.
( 2 )
.
, .. ;
,
.
,
. (
CS, -
EIP).
, ;
,
2 .
()
CALL (),
RETURN (). ,
,
, ,
, CS EIP.
,
( CS,
).
EIP , , CS.
,
.
, , 80386
LOOP (
).
ECX; ECX 1
*., -$k , ECX
. ,
.
" ", "",
ECX=0
0 .
2.3.3.3
BOUND ( ) 80386
, .
80386 ,
.
80287 80387 ,
,
,
.
, , 80386 "
".
,
. , 80386
,
.
80386 ,
.
3.1
, ,
80386,
.3-1. (
; ).
80386;
. ,
. ,
CR2;
.
,
. ( ,
).
47 15 0
+-----------------------------+
| | . |
+----------------+------------+
| | |
+-----------+----------------+------------+
| | | |
L-----------+----------------+-------------
+-----------------------------------------+
31 0
+-------------------------+
| |
+-------------------------|
| |
+-------------------------|
| | .
+-------------------------|
| |
| |
+-------------------------+
3.2
80386
, , ,
80386
.
,
;
,
,
.
,
, . (
" " "").
,
.
; ,
( )
.
: - ,
, - .
, . ,
, ..
,
,
. , ,
.
, " ".
,
. ,
,
.
80386
, .
3.2.1
(TSS)
, 80386.
, " "
. TSS(..3-2) ,
;
. 80386 TSS,
. TSS
80386
. TSS
a(ab%,.) , , ,
, ..
TSS
, .
80386 TSS,
.
+--------------------------------------+
| ( ) |
. .
+--------------------------------------|
| |
+--------------------------------------|
| |
+--------------------------------------|
| |
. .
+--------------------------------------|
| |
+--------------------------------------|
+--------------------------------------|
| |
. .
+--------------------------------------|
| |
. .
+--------------------------------------+
3.2.2
???????
.
. ???????? , 80386
. ????
????? ,
?????,
. 80386
????? ??????
????????
TSS ?????? ,
TSS, TR (
), .
TSS,
TSS. ,
.
TSS ,
, TSS,
. 17
( 16 ).
3.3
.
(),
, ,
, .
,
.
:
,
(
"" "").
,
.
,
.
,
.
.
,
.
.
.
, .
.
,
.
. ,
,
,
,
. 80386 ,
,
. 80386
.
3.3.1
80386 .3-3.
, .3-3,
, .
, ,
.
,
.
,
80386 32- .
: ,
.
.
+--------------+
| |
| |
+--------------+
---------+-+
+-----------------+ | | +--------+ +--+
||+->|+--->| +--+ +----T-+
L--------+--------- | | L--------- L--- | |
47 31 0 L----------- 31 0 | |
| |
+-------------------------------------------+ |
| +--------------+
| +-----------+ | 31
0
| | | |--------------------+
| | | +--+ |
| +-----------+ |-+------------------+
| |+--------------------------+
31 | 0 | 31 0 |
+----------------+ +---------------------++------------------+|
| +-->| +-->| +--
+----------------+ +---------------------++------------------+
, .. .
.
32-
. , ,
, .
, 80386
. .
,
,
4.
80386
(, ,
) ( 4
), .
,
, ,
.
80386 .
1,5 . ,
, 80386
( ,
).
3.3.2
,
, ..
.
.
,
,
,
.
,
,
.
,
, ,
. 80386
, ,
.
2, 80386
,
a.ab.oi%#. .
80386
,
.
,
.
.
,
(,
CS). ,
, ,
.
.
, .3-4 .
.
, 80386
, , .
, ,
.
---------------------+
-----------------------------------------+ |
----------------------------------------+ | |
------------------------------+ | | |
------------------+ | | | |
| | | | |
+--------------+
| | | | | |
+------------------------------|
| |
+------------------------------|
| |
+------------------------------+
. ,
(GDT)
(LTD). (
, ).
8192
.
, ,
,
GDT, LDT . GDT
LDT ,
.
,
,
GDT.
( )
, ,
GDT.
' $ g .
LDT
(LDTR),
( , )
TSS .
(. .3-5):
1. , GDT,
.
2. , LDT, ,
LDT,
.
3. LDT
, .
,
, .
3.3.3
,
,
.
,
.
, ,
.
.
80386 4 .
.
-,
-,
,
. (- 80386, ,
). -, 4
.
, ,
"",
.
80386 ,
PG 0
. ,
,
.
.
,
.
- 80386
, .3-6.
. CR3
80386 ( )
.
CR3 ,
TSS .
,
ab` -(g-.) 1024 . ,
4 ,
4 - .
.3-6 80386
,
. 10
.
. 10
,
,
. 12
, 32- .
, ,
, 80386
32- , ,
(), .
(TLB). ,
TLB,
, .
, 98-99% TLB,
.
TLB ,
TLB .
,
.
,
TLB. .3-7
(PTE).
,
, .
-------------------------------------+
---------------------------------------+ |
------------------------------+ | |
----------------------+ | | |
---------------------+ | | | |
--+ | | | | |
| | | | | |
+-----------------------------------------------------------+
| | | | | | | |
+-----------------------------------------------------------+
. 1
, ,
,
.
80786
.
,
,
.
3.3.4
#`c// ,
.
, .
,
.
, " ".
()
. ,
, ,
,
,
. ,
, :
,
( ),
, ()
;
,
;
,
,
.
80786 ,
,
. ,
.
,
, 16- .
, 80786,
.
, ; ,
, .
32-
,
80786.
, .. ,
.
,
,
, .
""
,
.
.
,
, ,
, , , .
a(bc f(( ,
, .
2
, .
, . , ,
,
;
.
,
.
,
, .
,
, ,
,
.
80786
,
.
,
.
,
. ,
,
, . ,
,
80786
, ,
80786
, ,
,
.
,
. , ,
, ,
,
.
,
,
.
3-
,
.
, ,
" /".
3.4
80786 ,
. -
,
.
.
80386
' i(bk ,
. ,
80386 ,
, ()
. 80386
,
.
3.4.1
80386
.
.
,
,
0 - , 3
- .
.3-8 , 80386
.
( ),
0.
3, -
0.
1 2, .
,
(
) 0. 0.
1
,
, ,
. 2
,
2 , 3
.
.
,
, ,
. ,
,
/
().
, .
. (
,
).
3.4.2
,
, ,
. 80386
/.$,-.&%ab". ,
,
. ,
, .
, 0,
.
3.4.3
LDT GDT -
. ,
, ,
,
.
, - ,
80386.
(
), ,
, .
: ,
, , . ,
, 3,
, 3, ,
, 0,
.
:
.
, ,
,
. ,
,
( ),
(,
) .
: ,
, .
, ,
, , ,
,
- . ,
, , ,
, JUMP TSS,
.
: ,
,
.
.
.
, , .
, ,
, .
0.
,
(.. )
, , ,
, , .
, ,
.
3.4.4
, ,
(
).
, 80386
.
: .
3,
,
0, 1 2,
.
80386 ,
,
. ,
. ,
,
,
, , ,
, .
3.5
, .
80386
0/ ,
. ,
,
( , , ).
, 0,
, ,
,
.
. ,
,
,
. , ,
,
,
. 80386
(. .3-9).
+------------------------------------------------+
| | | | | |
+------------------------------------------------|
| |
+------------------------------------------------+
,
:
. , , ,
. ,
,
80386 ,
.
.3-9,
. -
.
, ,
, ,
. .3-10 .
3, 2
. 0,
1. ( 2 ).
, .
. 3,
.
1,
,
, ,
.
,
, .
,
, ,
.
,
.
,
( TSS ) .
( ,
,
,
).
,
. 80386
(
80386,
). ,
,
.
3.6
, ,
,
,
.
,
. ,
, 80386 ,
.
, 80386
` aa, b`(" %b .
0 255, 80386
, ,
.
80386,
, .3-1.
.
8259
,
. 8259 80386
.
. ,
INTEL 0
71 , .3-1.
.
3-1
+-----------------------------------------------------------+
| | |
+----------------+------------------------------------------|
| 00 | 0 |
| 01 | |
| 03 | |
| 04 | |
| 05 | |
| 06 | |
| 07 | |
| 08 | |
| 10 | TSS |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 16 | |
+-----------------------------------------------------------+
3.6.1
,
80386
(IDT). IDT ,
IDT
(IDTR). GDT
LDT, IDT ,
, IDT. IDT
(IDT ,
).
80386
,
. 80386
, ,
. ,
, 80386
. IDT ,
(. .3-2).
,
, 80386
.
(IF)
"e.$% ,
, ,
,
. - 80386
, TSS - ,
.
3-2
+-----------------------------------------------------------+
| | | |
+------------+----------------------+-----------------------|
| | | |
| | | |
| | | ( IF ) |
+-----------------------------------------------------------+
-
, (..
) ,
. 16--
3,6 .
: ,
. ,
, .
,
,
.
, , , ,
, . ,
(,
), - ,
.
(17 3,6),
. ,
,
.
3.6.2
80386
,
. 80386
, .3-11.
,
, .. , ,
.
,
,
,
.
80386
1.
( TF -
),
,
`%#(ab`." . ,
,
.
,
,
.
80386
,
.
,
MOVE. 32-
, 2- ,
DR7.
,
. ,
1. 3
:
1) ;
2) ;
3) .
3.7/
, 80386,
/
/. /,
,
, , MOVE, OR
. , ,
808386.
80386
64- /. ,
, ,
, .
, , EAX-.
,
.
- 80386 .
,
/ (IOPL),
,
/ (IOPL TSS,
IOPL). , IOPL 1,
-, ,
0 1. IOPL
, ,
,
0, -
1,
IOPL 1, ,
IOPL , ,
, -
,
,
.
, (DMA)
/, 80386
d('(g%a*() DMA ,
/ , DMA-
, .
" -"
-
.
80386 80286 8086.
80386 80286
8086,
. 80386 80286 80386
, , 86 80386,
8086 .
80386
, ,
.
4.1 80286
80286
80386. 80386 80286,
, .., 80286
, 80386
.
, ,
, ,
80286 , 80386.
80386 ,
80286, ,
,
80386 (, 32-
).
, 32- .
, 16-
80286, 32- ,
.
4.2 8086
80386 80386
2 : 86.
80386 .
,
8086.
,
8086.
80386 8086
: 8086,
(,
), ,
80386. 8086
- , .. 80286.
86 8086
80386. ,
, ,
86 80386.
86, ,
8086, ,
80386 (, ,
80286, 80386).
86
8086, 80286 80386 .
3 ,
. VM86
, TSS,
8086 80386. 80386
TSS, VM86 ,
86.
,
TSS, VM86 ,
86.
80386 8086 VM86. 80386
86,
,
.
, 86,80386
86.
8086 1 , ,
86,
80386. ,
86,
,
.
80386
, 86,
.
,
, 86,
, 86,
80386.
, 86,
,
. ,
,
. ,
86, ,
, .
80386 , ,
86, /
, .
, 86,
86
.
,
. ,
VM86 ,
,
86,
,
86. ,
8086,
, , 80386
, 80386,
8086.
, 80386
8086,
86
. , 8086
,
.
,
,
.
, 80386 ,
, ,
8086,
, 80386
,
86.
, 8086
.
80386 , 86
.
80386, .4-1. IOPL
86 ,
3, 80386
/ 8086.
80386
/, ,
, .
, (
) (
).
80386, ,
275000 ,
CHMOS III .
80386
, 80386
.
5.1
.5.1.
80386. 6
,
.
.
,
. ,
.
,
, .
.
32-
2 . / 32-
c,-.&%-(% 9 41 ,
, 32- 38 42 ,
, .
,
, 64
. ,
, 80386 4,4
.
+--------------------+ +------------+ +-------------------+
| | | | | |
| | | | | |
| | | | | |
+--------------------| | | | |
| | | | | |
| | | | | |
+--------------------| +------------| +-------------------|
| / | | | | |
+--------------------+ | | | |
| +->| +->| |
| | L-----T------- L---------T----------
| | | ---------
+--------T------------ | |
| | | | +-------------+
| | | | | |
| L----------T-------------------------+ +-+
| | +-------------+ |
| +---------------+ +------------------------+ |
| | |<-+ -|<---
| | | | |
| +---------------| +------------------------|
| | | | |
L-------------+ | | |
+---------------+ +------------------------+
,
.
(MMU) , ,
. MMU
, .
(
, ,
, ,
).
,
( 80386
, ).
80386
, .5-1.
.
, 80386.
c/` "+%-(o
. , ,
,
.
,
,
.
32-
(TLB),
,
. TLB,
( 98-99%) ,
.
,
TLB TLB
,
.
5.2
.5-2. - ,
80386. , -
.
.5-3 80386 ,
.
, .
5.2.1
80386 12,5 16 .
(CLK2) ,
. 82384
CLK2, 80386 ,
.
5.2.2
80386 32-
.
16 32 .
.
80386 8-, 16- 32-
. ,
,
. 30 A2-A31.
BE0-BE3 ( ) ,
. BE0 D0-
D7, BE1 D8-D15 ..
, 32-
,
(..5-4). , ,
,
, A0 A1
BE0-BE3 4 .
80386 -
, ,
, .
, ,
, - , 4.
( 32 ,
, 4-
#` -(f e ). 80386
, , ,
, , ,
4, 16- .
5.2.3
80386 ,
ADS
( ).
W/R, D/C M/IO.
,
/ , .
80386 LOCK ( )
. ,
,
. 80386 LOCK,
,
, ,
EXCHANGE. EXCHANGE
" ",
. , ,
,
LOCK.
5.2.4
80386
: .
2- -
( K-
,
).
, 80386
.
NA ( ), .
,
80386 -
() ,
,
,
.
80386 , ,
,
READY. , ,
80386, READY
, .
,
. ,
,
READY , ..
. 32-
,
80386 32
16 25 12,5
.
80386
,
.
80386
.
,
,
.
,
.
NA, 80386
,
, READY (..5-6).
5.2.5
( /)
. :
1. 16- 32- ,
32-
, 16- 32-
;
2. 16- ,
MULTIBUS I;
3. 16-
( ),
16-, 32- .
" 16" (BS16),
,
16 .
BS16 , 32-, 80386
BS16 , [
/.
5.2.6
(
, -),
80386
HOLD.
HLDA ( )
( ),
, HOLD . 80386
,
HLDA , -
, .
80386
,
INTR ( ), NMI
( ).
INTR
. NMI,
,
.
INTR
8259 (). 8259 8
, 8259
, 64
.
8259
(),
. 8259
80386 ,
. 80386 ,
.
RESET
( )
FFFFFFF04.
5.2.7
80386
80287 80387 /
64-
/ .
A31 /I0. 80386
,
16- 80287 32- 80387.
80386 , 80387,
80287.
BUSY
. 80386
, BUSY - .
80386 ,
WAIT, 80386 , BUSY
. ERROR,
,
, 80386
, 7.
PEREQ
80386
6.1
80386
.
80386 : .
- 32- .
32
, , 2
4 (
), 30
.
.
()
32-, 16-
(. 6.3.4).
,
16- ,
80386
.
N- 32-
16- ,
. 80386 ,
32- 16-
,
(
).
(. 6.4.2).
,
. 16 ,
100
( ), ,
.
, 80386
(
),
.
,
, -,
-
.
.
.
80386
. 80386
32- 16 ,
80386
32 /. ,
,
.
READY
() 80386.
80386 ,
, ,
. ,
HLDA, 80386,
.
(
).
. -,
(. 6.2 ). ,
(. 6.3
, 6.4 6.5
).
6.2
6.2.1
80386, . ,
# ,
- . ,
# ,
.
: M/IO#
- .
-
/.
, "t25 Reset/Setup Time" (
) "t26 Reset Hold Time" (
). 7-4
7-6.
6.2.2 (CLK2)
CLK2 80386.
,
,
.
: " " " ".
. .6-2 .
,
RESET,
, t25
t26 (setup and hold times).
6.2.3 (D0-D31)
80386 .
/
"1" .
32-, 16-
,
;
BS16# (. 6.2.6
).
t21 t22 .
(
) 80386 32 ,
16 .
6.2.4 (BE0#-BE3#, A2-A31)
/.
4
( 00000000H FFFFFFFFH)
/ 64 ( 00000000H 0000FFFFH)
/.
/,
80386 ,
/ 800000F8H 800000FFH,
:
31
M/IO#.
BE0#-BE3#
32- ,
.
.
BE0# D0-D7,
BE1# -"- D8-D15,
BE2# -"- D16-D23,
BE3# -"- D24-D31.
BE0#-BE3#,
, (1,2,3 4 )
(. 6.3.6 ).
/, 16
(D16-D31),
16 (D0-D15).
16- .
BE0#-BE3#.
6-1
BE0#-BE3#
+-------------------------------------------------------------------+
| 80386| 80386 | |
+----T----T----T----+-------T-------T------T-----+ |
|BE3#|BE2#|BE1#|BE0#|D24-D31|D16-D23|D8-D15|D0-D7| ? |
+----+----+----+----+-------+-------+------+-----+------------------|
|.|.|.|.|. |. |.| | |
+----+----+----+----+-------+-------+------+-----+------------------|
|.|.|.|.|. |. | || |
+----+----+----+----+-------+-------+------+-----+------------------|
|.|.|.|.|. | |.| | |
+----+----+----+----+-------+-------+------+-----+------------------|
|.|.|.|.| D |. | D || |
+----+----+----+----+-------+-------+------+-----+------------------|
|.|.|.|.|. |. | | | |
+----+----+----+----+-------+-------+------+-----+------------------|
|.|.|.|.|. | | || |
+----+----+----+----+-------+-------+------+-----+------------------|
|.|.|.|.| D | | D | | |
+----+----+----+----+-------+-------+------+-----+------------------|
|.|.|.|.|. | | | | |
+----+----+----+----+-------+-------+------+-----+------------------|
|.|.|.|.| D | | || |
+----+----+----+----+-------+-------+------+-----+------------------|
|.|.|.|.| D | | | | |
+-------------------------------------------------------------------+
: D = D24-D31
C= -"- D16-D23
B= -"- D8-D15
A= -"- D0-D7
6.2.5
(W/R#, D/C#, M/IO#, LOCK#)
. W/R#
. D/C#
. M/IO#
/. LOCK#
.
W/R#,
D/C# M/IO#,
ADS# ( ). LOCK#
, (,
)
ADS# (.
6.4.3.4 ).
W/R#,
D/C# M/IO# .6-2.
W/R#, D/C# M/IO#,
ADS# (, ,
""
, ADS#).
M/IO#, D/C# W/R#
ADS#,
.
6-2
+-------------------------------------------------------------------+
| M/IO# | D/C# | W/R# | | |
| | | | | ? |
+-------+-------+-------+-----------------------------+-------------|
| | | | | |
+-------+-------+-------+-----------------------------+-------------|
| | || | |
+-------+-------+-------+-----------------------------+-------------|
| || | | |
| | | | / | |
+-------+-------+-------+-----------------------------+-------------|
| ||| | |
| | | | / | |
+-------+-------+-------+-----------------------------+-------------|
|| | | | |
+-------+-------+-------+-----------------------------+-------------|
|| || : : | |
| | | | =2 =0 | |
| | | | | |
| | | | (BE0#. (BE0# | |
| | | | BE1#. BE1#. | |
| | | | BE2#. BE2#. | |
| | | | BE3#. BE3#. | |
| | | | A2-A31.) A2-A31.)| |
+-------+-------+-------+-----------------------------+-------------|
||| | | |
| | | | | |
+-------+-------+-------+-----------------------------+-------------|
|||| | |
| | | | | |
+-------------------------------------------------------------------+
6.2.6
6.2.6.1
,
,
.
6.2.6.2 (ADS#)
80386
, , (W/R#,
D/C#, M/IO#, BE0# - BE3# A2-A31). ADS
1 2 (
a.ab.o-(oe . 6.4.3.2
6.4.3.4 ).
6.2.6.3 (READY#)
, ,
,
BE0#-BE3# BE16#, .
READY#, 80386 ""
. READY# ,
. READY#
, READY#
,
READY#. READY#
,
. t19
t20 READY#
(. 6.4
).
6.2.6.4 (NA#)
. ,
80386 BE0#-BE3#,
A2-A31, W/R#, D/C# M/IO#,
READY#.
80386 NA# ,
,
(. 6.4.2
6.4.3 ).
6.2.6.5 16- (BS16#)
BS16#
80386 32- 16- .
,
(D0-D15) BE0# BE1#.
BS16# (
) ,
BE0# BE3#,
BS16# ( ) 80386
()
() D0-D16.
BS16#
, 80386 16-
. t17
t18 BS16#
.
/, 80386
, BS16#.
80287 80387 ERROR#
RESET. 80386
16- 80287,
80386 80387
32- . , BS16#
80287,
80387 BS16# .
6.2.7
6.2.7.1
,
, (. 6.6.1).
6.2.7.2 (HOLD)
, -
80386 .
HOLD
,
. HOLD
RESET. RESET
HOLD, RESET
,
( ).
HOLD , HOLD
,
. HOLD - .
t23 t24
.
6.2.7.3 (HLDA)
HLDA ,
80386
HOLD
.
. HLDA -
, 80386.
(D0-D31, BE0#-BE3#, A2-A31, W/R#, D/C#,
M/IO#, LOCK# ADS#) ()
, .
,
, (.
7.2.3 ). ,
,
NMI , ,
HOLD.
80386 (
) ,
,
, .
6.2.8
6.2.8.1
,
.
, ,
, 80386
80287 80387.
6.2.8.2 (PEREQ)
,
,
/ .
80386 /
, 80386
a./`.f%aa.`., . 80386
, , 80386
. 80386
PEREQ. PEREQ
CLK2.
6.2.8.3 (BUSY#)
,
.
80386 ,
( ) (..
, "POP" - ( )
), WAIT,
BUSY#
, BUSY#
.
BUSY#
.
FNINIT FNCLEX
BUSY#,
- .
80386 BUSY#.
BUSY# CLK2.
BUSY# .
RESET BUSY#
, 80386
(. 6.6.3
RESET). BUSY#
, .
6.2.8.4 (ERROR#)
,
,
.
80386
ERROR#,
ERROR#, 80386 7,
.
, ,
,
80386 7,
ERROR#. FNINIT,
FNCLEX, FSTSW, FSTSWAX, FSTCW, FSTENV, FSAVE, FESTENV FESAVE.
80386 ERROR#.
ERROR# CLK2.
ERROR# .
ERROR# , 20
CLK2 RESET,
, 80386
, ,
80387 ( ET CR0
1).
80287
( ET CR0 0). .
6.6.3
RESET. ERROR#
b.+l*. ET.
EM MP CR0. ,
80287 ,
,
EM CR0 (
EM ,
). ERROR#
80387 ( ERROR
),
EM (EM=1), 80386 ,
.
6.2.9
6.2.9.1
,
.
6.2.9.2 (INTR)
, IF
Flag Register 80386.
INTR 80386
"" 8- ,
D0-D7, . 80386
INTR.
INTR CLK2. ,
, INTR
.
6.2.9.3 (NMI)
, .
,
() 2
. NMI,
, NMI,
.
80386
NMI. NMI
CLK2. NMI,
8-
CLK2,
NMI 8-
CLK2.
NMI,
NMI
IRET,
NMI. , -
NMI,
NMI
IRET.
6.2.9.4 ( ){RESET}
80386 , .
80386 RESET
15- CLK2 ( 78
CLK2 ).
c`."%-l RESET,
,
.5-3.
RESET HOLD,
RESET. RESET
, 80386
RESET.
80386 (
) RESET. RESET
CLK2. ,
, 80386
,
t25 t26
RESET.
6-3
( )
RESET
+-----------------------------------------------------------------+
| | RESET |
+-------------------------+---------------------------------------|
| ADS# | |
+-------------------------+---------------------------------------|
| D0-D31 | ( ) |
+-------------------------+---------------------------------------|
| BE0#-BE3# | |
+-------------------------+---------------------------------------|
| A2-A31 | |
+-------------------------+---------------------------------------|
| W/R# | |
+-------------------------+---------------------------------------|
| D/C# | |
+-------------------------+---------------------------------------|
| M/IO# | |
+-------------------------+---------------------------------------|
| LOCK# | |
+-------------------------+---------------------------------------|
| HLDA | |
+-----------------------------------------------------------------+
6.2.10
.6-4 80386
.
6-4
80386
+------------------------------------------------------------------------------+
| | | | / | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | CLK2 | HLDA? |
+----------+---------------+----------+-------+-------------+------------------|
| CLK2 | | - | | - | - |
+----------+---------------+----------+-------+-------------+------------------|
| D0-D31 | | | / | S | |
| | | | | | |
+----------+---------------+----------+-------+-------------+------------------|
| E0#-BE3# | | | | - | |
+----------+---------------+----------+-------+-------------+------------------|
| A2-A31 | | | | - | |
+------------------------------------------------------------------------------+
+------------------------------------------------------------------------------+
| W/R# | | | | - | |
| | | | | | |
| | | | | | |
+----------+---------------+----------+-------+-------------+------------------|
| D/C# | | | | - | |
| | | | | | |
| | | | | | |
| | | | | | 3
3 | | | | | |
+----------+---------------+----------+-------+-------------+------------------|
| M/IO# | | | | - | |
| | | | | | |
| | /| | | | |
+----------+---------------+----------+-------+-------------+------------------|
| LOCK# | | | | - | |
| | | | | | |
+----------+---------------+----------+-------+-------------+------------------|
| ADS# | | | | - | |
+----------+---------------+----------+-------+-------------+------------------|
| NA# | | | | S | |
| | | | | | |
| | | | | | |
+----------+---------------+----------+-------+-------------+------------------|
| BS16# | 16- | | | S | |
| | | | | | |
+----------+---------------+----------+-------+-------------+------------------|
| READY# | | | | S | |
| | | | | | |
+----------+---------------+----------+-------+-------------+------------------|
| HOLD | | | | S | |
| | | | | | |
+----------+---------------+----------+-------+-------------+------------------|
| HLDA | | | | S | |
| | | | | | |
+----------+---------------+----------+-------+-------------+------------------|
| PEREQ | | | | A | |
| | | | | | |
+----------+---------------+----------+-------+-------------+------------------|
| BUSY# | | | | A | |
| | | | | | |
+----------+---------------+----------+-------+-------------+------------------|
| ERROR# | | | | A | |
| | | | | | |
+----------+---------------+----------+-------+-------------+------------------|
| INTR | | | | A | |
| | | | | | |
| | | | | | |
+----------+---------------+----------+-------+-------------+------------------|
| NMI | | | | A | |
| | | | | | |
| | | | | | |
+----------+---------------+----------+-------+-------------+------------------|
| RESET | | | |A{}| |
+------------------------------------------------------------------------------+
:
,
t25
t26 RESET.
6.3
6.3.1
.
,
.
( )
,
. (.6.3.4 6.3.6
.)
80386
. A2-A31.
BE0#-BE3#
32- .
.
BE0#-BE3#
,
, .6-
6.
.aci%ab"(bl ,
BE0#-BE3# ,
.
A0-A1
, (, Multibus I
Multibus II), .
A0 A1 BE0#-BE3#
.6-6. A0 A1 .6-
3.
6-6
+-----------------------------------------------------------+
| | |
+----------------+------------------------------------------|
| BE0# | D0-D7 ( 0 - ) |
+----------------+------------------------------------------|
| BE1# | D8-D15 ( 1) |
+----------------+------------------------------------------|
| BE2# | D16-D23 ( 2) |
+----------------+------------------------------------------|
| BE3# | D24-D31 ( 3 - ) |
+-----------------------------------------------------------+
6-6
A0-A31 BE0#-BE3# A2-A31
+-----------------------------------------------------------+
| 80386 |
+-----------------------------------------------------------|
| A31 ......... A2 | BE3# | BE2# | BE1# | BE0# |
+--------------------------+-------+-------+-------+--------|
| | | | | | |
+----+---------------------| | | | |
|A31 | .... | A2 | A1 | A0 | | | | |
+----+------+----+----+----+-------|-------+-------+--------|
|A31 | .... | A2 | 0 | 0 | X | X | X | |
+----+------+----+----+----+-------+-------+-------+--------|
|A31 | .... | A2 | 0 | 1 | X | X | | |
+----+------+----+----+----+-------+-------+-------+--------|
|A31 | .... | A2 | 1 | 0 | X | || |
+----+------+----+----+----+-------+-------+-------+--------|
|A31 | .... | A2 | 1 | 1 | ||| |
+-----------------------------------------------------------+
.6-3. A0, A1
BE0#-BE3#
K - MAP for A1 Signal - A1.
.
.
,
. . 6.4 .
(
),
80386 4-
,
32
/ (80386-16 16 ).
6.3.2 /
/.
,
/, .
.6-4,
00000000H FFFFFFFFH (4 ),
/ - 00000000H 0000FFFFH (64
), /.
/,
/.
800000F8H 800000FFH
/
, A31 M/IO#.
FFFFFFFFh+------------+ + - - - - - - - +
| | | |
| |
| | | |
| |
| | | |
| |
| | | |
| | 800000FFh+---------------+
| | 800000F8h| | (80387 80287)
| | (.1)+---------------+
| | | |
| |
| 4 | | |
| |
| | 0000FFFFh+---------------|
| | | 64 |
| | | | /
00000000h+------------+ 00000000h+---------------+
/
:
A31, A31
.
.6-4 /
6.3.3 /
80386
/ 32 16 . 32-
/
32-
. /
4- (
) . ( )
D0-D7; - D24-D31.
80386 , BS16#,
16-
/,
16- . 16- 32-
/
, BS16#
. . 6.3.4
. BE0#-BE3#
/ (32-
16-).
6.3.4
80386,
32-
16- /.
.
/ 32- 16-
.
BS16# 16- ,
BS16# 32- .
BS16#,
16
16-
, . BS16#
D0-D16. 16-
/
D0-D16. .
BS16# ,
BE2# / BE3#. D0-D15,
BS16# ,
16-
BS16#. ,
BS16# ,
.
,
BS16# ,
BE0#-BE3# :
- :
BE2# / BE3#;
- , :
BE1#
BE2# ( BE0# / BE3#).
BS16# "
":
BS16# "
" 80386
16
16 . ..
D16-D31 BE2# BE3#
D0-D16.
BS16# "
":
BS16# "
"
.
BE2# / BE3#, 80386 D16-D31
D0-D15 (. . 6-1).
80386 , 32-
16- .
BS16# "
ab `h%) ":
BS16#
" "
16-
. 0 1 (
BE0# BE1#)
D0-D16. 2 3 ( BE2# BE3#)
D0-D16.
D16-D31 16- .
BE0# BE1#
16- .
BS16#
16- . . .6-14, 2 2.
BS16# ( )
" ":
BS16#
" "
80386 16-
.
D0-D15
0 1 (
BE0# BE1#) D0-D16. 80386
2 3 D0-D15, (
BE2# BE3#)
D0-D16. BE0# BE1#
16-
. BS16#
16- . . .6-14,
1 1.
6.3.5 32 16
32- ,
.6-5, ,
4. A2-A31
, BE0#-BE3# -
BS16#
, 32-
.
16- ,
.6-6, 16-
2. ,
ADDRESS DECODER
BS16# , 16-
,
BE0#-BE3# W/R#,
,
BS16#. . 6.4.3.7
16- .
A2-A31 32-
16- . 16-
A1 .
A1
16- ,
BE0#-BE3# .
6-7. BE0#-BE3#,
80386. BE0#-
BE3#
X. BE0#-BE3#
.
6-7
A1, BHE# BLE#
16-
+-----------------------------------------------------------+
| 80386 | 16- | |
| | | |
+-------------------+-----------------------| |
|BE3#|BE2#|BE1#|BE0#| A1 | BHE# | BLE# (A0) | |
+----+----+----+----+----+------+-----------+---------------|
| H* | H* | H* | H* | X | X | X | X - |
| | | | | | | | - |
| | | | | | | | |
+----+----+----+----+----+------+-----------+---------------|
| H | H | H | L | L | H | L | |
+----+----+----+----+----+------+-----------+---------------|
| H | H | L | H | L | L | H | |
+----+----+----+----+----+------+-----------+---------------|
| H | H | L | L | L | L | L | |
+----+----+----+----+----+------+-----------+---------------|
| H | L | H | H | H | H | L | |
+----+----+----+----+----+------+-----------+---------------|
| H* | L* | H* | L* | X | X | X | X - |
| | | | | | | | |
+----+----+----+----+----+------+-----------+---------------|
| H | L | L | H | L | L | H | |
+----+----+----+----+----+------+-----------+---------------|
| H | L | L | L | L | L | L | |
+----+----+----+----+----+------+-----------+---------------|
| L | H | H | H | H | L | H | |
+----+----+----+----+----+------+-----------+---------------|
| L* | H* | H* | L* | X | X | X | X - |
| | | | | | | | |
+----+----+----+----+----+------+-----------+---------------|
| L* | H* | L* | H* | X | X | X | X - |
| | | | | | | | |
+----+----+----+----+----+------+-----------+---------------|
| L | L | H | H | H | L | L | |
+----+----+----+----+----+------+-----------+---------------|
| L* | L* | H* | L* | X | X | X | X - |
| | | | | | | | |
+----+----+----+----+----+------+-----------+---------------|
| L | L | L | H | L | L | H | |
+----+----+----+----+----+------+-----------+---------------|
| L | L | L | L | L | L | L | |
+-----------------------------------------------------------+
BLE# ( )
D0-D7 16- .
BHE# ( )
D8-D15 16- .
A1 ; A1
.
:
X - ;
H - ;
L - ;
* - BE0#-BE3#:
- ,
;
- ,
.
6.3.6
80386
,
/, 32-
( ), 4,
16- (),
.
,
. 6-8
,
, .
, (
BS16#, 16-
, ).
6-8
,
+-----------------------------------------------------------+
| | |
| +-------------------------------------------|
| | 1 | 2 | 4 |
+---------------+---+-------------------+-------------------|
| |XX | 00 | 01 | 10 | 11 | 00 | 01 | 10 | 11 |
| | | | | | | | | | |
| | | | | | | | | | |
| * | | | | | | | | | |
| | | | | | | | | | |
+---------------+---+----+----+----+----+----+----+----+----|
| |b | W | W | W |hb, | d |hb, |hw, |h3, |
| 32-| | | | |lb | |l3 |lw |lb |
| | | | | | | | | | |
+---------------+---+----+----+----+----+----+----+----+----|
| |b | W |lb,*| W |hb,*|lw,*|hb, |hw, |mw, |
| 16-| | |hb* | |lb* |hw* |lb,*|lw |hb,*|
| | | | | | | |mw* | |lb |
+-----------------------------------------------------------+
:
b =
w =
l =
m =
=
* = BS16#
3 = 3-
d =
h =
6.4
6.4.1
80386 :
. - 32- .
- 32 : 30 -
2 4-
.
. :
M/IO#, W/R# D/C#.
BE0#-BE3# A2-A31.
80386
.
,
"".
:
1) ;
2) ;
3) ;
4) ;
5) / ( );
6) / ( );
7) ;
8) .
. 6-2
. . 6.2.5
.
, 32- 16-.
80386
BS16#.
.
80386
,
,
.
, 80386
(ADS#)
,
.
80386
(HLDA).
.
( CLK2).
,
.
80386 .
1 2.
( 2- )
/,
.
,
,
-.
,
,
80386 READY#.
2,
,
a.ab.o-() 1 2. , READY#
( 2), 2
, READY#
.
6.4.2
.
(NA#).
.
(BE0#-BE3#, A2-A31)
. ,
80386
(ADS#). .6-9
. .6-9 ,
, ,
, 1 2.
,
,
,
.
-
.
,
,
.
,
"". , "" ,
(
),
,
. ,
.
, 2
,
.
, ,
,
. .6-10
80386 2- 4- . ,
( 32 ,
16- ).
6.4.3.4 , 6.4.3.5
, 6.4.3.6
6.4.3.7
16-
.
6.4.3
6.4.3.1
, .
" .
: .
:
.
.
,
NA# ( ),
. ,
,
READY#. 80386
NA#, ,
.
: 32 16 .
BS16# ( 16)
,
. BS16# 32-
, () BS16# 16-
. 16- , 80386
,
16- .
16-
. . . 6-7.
, 80386 16- ,
D0-D15 D16-D31.
,
, ,
READY#.
,
.
,
,
READY#.
READY# .
READY#, ,
.6-11.
READY#
, .6-12,
( ),
READY#
.
, READY#.
,
. , 80386
"" ,
. ,
80386
,
.
6.4.3.2
. , .6-11
. .6-
11 , ,
, .
1 2. 1
"k$ nbao
,
(ADS#),
.
. 80386
,
.
80386, 1
,
.
.6-12
, 2 3 .
2 3 READY#
2. READY#
2.
,
. ,
,
() NA#
2, 2
, .6-12 2 3.
NA# 2 (
2), , 2 (
), 2i (
) 2p ( ).
.6-13
,
. 4-
: 1, 2, i h.
1 2, 2 (
). ,
, .. i,
, .. h.
"1"
+-------+
? |
+--------------+
+-----------| Th |?-------------+
| +--------------+ |
| - - |
| +----------+ | |
| | | |
"2" | | "1" |"3" "4" |
----+ | | | "6" |
|"5" | | +--------------|---------------+ |
| | | | | | |
? ? | ? ? ? |
+--------------+ +--------------+ "9" +------------+
+?| | "3" | +-----?| +-+
| | Ti +-----?| T1 | | T2 | |
| | | | |?-----| | |
| +--------------+ +--------------+ "7" +------------+ |
|"2" | - "8" |
+-------+ +------+
"1"-HOLD
"2"-HOLD *
"3"-HOLD * ,
"4"-READY# * HOLD
"5"-RESET
"6"-READY# * HOLD *
"7"-READY# * HOLD *
,
"8"-READY# * NA#
"9"-
T1 (80386
ADS#).
T2 ,
NA#
.
Ti .
Th (80386
HLDA).
: T1 T2.
,
.
: 32 16 , ..
BS16#.
BS16# 16- ,
.
.6-13. 80386 (
)
, ,
, .6-13.
i.
1. 1 2.
2 NA#
, 2 .
2, 1
,
( ), i,
, h,
HOLD.
.6-13
BS16#. 80386
, 16-
, .
16-
16- ,
, .6-13.
80386
, .6-13. .6-20
6.4.3.4 " "
,
.
2:
(80386
ADS#);
2 ,
NA#
;
i ? ;
h (80386
HLDA).
, .
: 32 16 , ..
BS16#.
BS16# 16- ,
.
6.4.3.3
32 , 16 .
,
32 .
READY# 2,
BS16#
,
32 . BS16#,
16 .
BS16#,
16- ,
BS16# .
16- .
, , 16-
READY#.
16-
16- , , 16-
, .
BE0# BE1#,
( ) ,
D0-D15 16- .
.6-14 6-15 ,
BS16# 16-
. .6-14
. .6-15
. , 1 .6-15,
BS16#,
NA#
() 2, () 2.
, 2
BS16#
.
6.4.3.4
, ,
, ,
READY#.
, 80386
ADS#.
NA#.
, NA#
,
. ,
, NA#
2. 2 .6-16,
NA# 2 (NA#
2
).
NA#
, 80386 ,
,
ADS#,
.
,
.
,
80386 :
1. ,
NA#, BS16#
NA# (. .6-16 3 4;
.6-17 2-4); , NA# BS16#
2 ,
BS16#. ,
,
16 , .
.6-18 80386,
.
2. ,
NA# (. .6-16
6-17); 2p.
,
,
NA#, 2p
2i (. .6-19 3). ,
READY#,
2p 80386 .
, ,
ADS#,
.
3. , 80386
NA#, 80386
, .
16-
, BS16#
,
NA# 32-
; ,
NA# , BS16#
(. .6-16, 6-17, 6-19). ,
NA# , 16-
BS16#. . 6.4.3.6 "
".
4. ,
80386 ADS#,
. 80386 ,
* &$k% (. .6-16, 6-
17, 6-19);
5. , ,
;
, (.
.6-19 1). ,
,
.6-20. , ,
,
.
"1"
+----+
? |
+--------+ "2"
----------------+ h |<--------------------------+
| +---------?| | "2" |
|"4" |"1" +--------+?-------------+ |
"5" | +--+ "6" "3"| | |
------+ | |+-----------------|--------------+ | |
? ? || ? | | |
+-----+| +-------+ | +-------+ |
--->| i +- "3" | 1 | L>| 2 +----+ |
| | +------------?| +------------?| |?-+ | |
+---+-----+ +-------+?------------+-------+ | | |
"4" - - "8" | - | | | |
| "8" | "12" | +--+ | | |
|"6 +--------------+ +--------------+ "9" | | |
| | ? "7"| | |
"15"+------+ | +--------+ +------+ | | |
--->| 2i +-- "16" | 2 | "14" | 1 | | | |
| | +------------?| +------------?| +-+ | |
+---+------+ +--------+?------------+------+ | |
| - - - | "13" | | |
| | | +---+ | | |
| | | "11" "17" | "10"| |
| | +----------------------------------------+ | |
| +---------------------------------------------------+ |
+-------------------------------------------------------+
"01"HOLD
"02"READY# * HOLD
"03"HOLD * ,
"04"HOLD *
"05"RESET
"06"READY# * HOLD *
"07"NA#
"08"READY# * HOLD *
,
"09"READY# * NA#
"10" ( * HOLD ) * NA#
* READY#
"11"NA# * (HOLD *
)
"12"READY# * NA# * HOLD
* ,
"13"NA# * HOLD *
' /`.a,
"14"READY#
"15"READY# * ( * HOLD
)
"16"READY# * ,
* HOLD
"17"READY#
:
1? (80386
ADS#).
2? ,
NA#
.
2i ,
NA# ,
, (80386
ADS#).
2? ,
NA#,
, , (80386
ADS#). 1-
.
Ti .
Th (80386
HLDA). NA#
: 2i,2 1.
1 2.
.6-20. (
)
, 1p 2p (,
1 2). 1p
.
6.4.3.5
.6-20,
i,
1p. , i,
1,
. , NA#,
2p,
(
2p ).
:
i,i,i 1-2-2p 1p-2p
1-2-2p - ,
() ,
1p.
:
h, h, h 1-2-2p 1p*2p
.6-17
1. 1
2,
3 4.
NA# , 2, 3 4.
,
,
NA# ,
. , 1
.6-17 NA# 2.
NA#
, 80386 ,
. , 1
,
1, 2p.
2 2,
1p. 2 , READY#
1. 1
.6-17 2 .6-16. .6-17
, ,
. 2 .6-16 ,
.
:
1, 2 (
NA#), 2p ( , 80386
,
). 2p ,
.
(1, 2 2p),
,
, ,
1 .6-17. 2, 3 4 .6-17 ,
, 1p 2p.
,
NA#
, 80386 2p
.
2p ,
. 2p
ADS#. .6-16 6-17
4,
4 2i. ,
80386
4. 2
2i, . ,
NA#. ,
,
. ,
,
,
cab -."+%--k,
NA#.
6.4.3.6
BS16# 16-
. BS16#,
80386
, , 16-
, D0-D16. ,
NA# BS16#
.
,
32- 16-
. 16- 32-
, 80386
,
.
NA#.
NA# , 80386
,
. , NA#
A2-A31, ,
BS16# .
80386
, :
1. 80386 ,
BS16# , NA#
. NA#
, 32
.
2. , NA#
BS16# ,
BS16# NA#
, 80386 ,
NA# . 80386,
.6-18 ,
BS16# NA#
,
.
6.4.4 (INTA)
, INTR,
, 80386
. ,
,
, ,
READY#.
2
. ,
, 4 (31-
3 , 2 , 3#-1# 0# ). ,
, 0 (31-
2 , 3#-1# , 0# ).
LOCK#
. , i,
/`%`k" -(o,
("" ) 160
., 80386,
24 ( CLK2
48 ),
TRHRL 8259.
D0-D31
.
.
80386 D0-D7
. ( 0
255), .
6.4.5
80386 HALT.
.
, 6.2.5
, , 2. 0# 2#
, , 0.
, D0-D31, .
80386 ,
INTR (
), NMI, RESET.
6.4.6
80386
.
.
,
6.2.5 ,
, 0. 0# 2#
, , 2.
, D0-D31, .
READY#.
80386 ,
NMI RESET.
6.5
6.6.1 /
, h,
HOLD.
80386
, HLDA.
HLDA , 80386
.
, HOLD RESET,
( NMI,
,
HOLD ).
Th
, .6-25,
, LOCK#
, .6-26 5-27.
a(#- + S16# 16-
,
HOLD,
.6-13 5-20 .
Th
HOLD. Ti,
.6-25,
. ,
,
1, .6-26
6-27.
Th
RESET.
Th
NMI, 2
Th
, Th 80386.
6.6.2
RESET
HOLD. ,
RESET
Th. RESET
HOLD, 80386
.6-3 "
RESET"
.
HOLD
RESET, 80386
,
, , HOLD
, 80386
. HOLD
RESET, BUSY#
, ,
ERROR# , ,
(
).
6.6.3
RESET
RESET ,
RESET
.
,
.
RESET
15 CLK2,
80386, 78
CLK2, 80386,
RESET.
RESET 15 CLK2
.
RESET 78 CLK2,
, ,
- ,
.
RESET
.
, RESET
b`%!." -(o,, t25
t26,
, .6-28 .7-7.
80386 ,
BUSY# RESET,
.6-28.
[(2^20)+ 60]
CLK2.
.
-
, 80386
, 80386.
RESET ( ,
) 80386
, 350-450
CLK2. ,
CLK2 ( ),
80386 ERROR#,
80387 ,
80287 .
(
80287 ) . 6.6
(
BUSY#
RESET),
80386, AX DX
0000H. 80386.
AX DX
, - 80386 .
6.7
80386, 80386
BH BL. BH 03H
80386. BL ,
.
() 80386 BL :
( )
,
. ,
80386 .
,
, ,
. Intel
.
.6-10
80386
80386
_______________________________
1 8 3.
2 : 1 2.
Last-modified: Sun, 18 Feb 2001 13:22:52 GMT