, , ,
(), central processing unit (CPU) - , () () .
:
;
();
, ();
;
, ;
;
.
:
;
;
-;
;
;
. .
, ; .
, .
, . () , ( ) .
-, , :
Q L1 1- , () ( L1 486 386SLC);
Q L2 2- , , ( Pentium II). L2 . - .
, . (CISC, RISC, VLIM . .). , , , . (286, 486, Pentium Pro . .). 386 ( ), Pentium MMX, Pentium HI, Pentium 4.
, . (Slot , Socket -), , .
|
|
() ( ) .
1971 Intel () 4004. , Intel Intel-.
:
1. CISC (Complex Instruction Set Command) .
2. RISC (Redused Instruction Set Command) .
3. VLIW (Very Length Instruction Word)
.
4. MISC (Minimum Instruction Set Command)
. .
. . : , , CISC RISC , ( VLIW 256 ), - 1- ( ), .
Pentium :
;
Execution Unit ;
Integer ALU ( );
Registers ;
Floating Point Unit ;
Primary Cache , (Data Cache) (Code Cache);
Instruction Decode and Prefetch Unit Branch Predictor , ;
Bus Interface , 64- (64-bit Bus) 32- (32-bit Bus) , ( RAM).
:
, (), () () ( );
, ; , ; .
, , ( ) ^ : , , . .
4- 8-, , , 4- , , , DX , , , EDX. 2- 1- , .
|
|
, , DX ( ); , , ( , , , DH (Hight) , AL, BL, CL, DL (Low) 2- ). . :
-, - , , (, ), (, ) ;
;
-, ;
DX - 32- , - . .
CS, DS, SS, ES (), :
( CS);
( DS);
( SS);
( ES), 64 .
IP, SP, BP, SI, DI ( ):
IP (Instruction Pointer) ;
SP (Stack Pointer) ( );
(Base Pointer) , ;
SI, DI (Source Index Destination Index ) .
FL - , ; . 9 : 6 , , ( , , ), , . :
CF (Carry Flag) . (0 1) ;
PF (Parity Flag) . 8 . 0, 1;
AF (Auxiliary Carry Flag) - . 1, . - ASCII;
|
|
ZF (Zero Flag) . 1, 0; 0, ZF ;
SF (Sign Flag) . : 0, 1;
OF (Overflow Flag) . 1 : , . .
:
TF (Trap Flag) (). ( );
IF (Interrupt Flag) . , ;
DF (Direction Flag) . . SI DI 1, ; .