Download presentation
Presentation is loading. Please wait.
Published byAbner Perkins Modified over 8 years ago
1
A Lecture on Computer Architecture For Readers
2
2 프로그래머입장에서 바라본 컴퓨터 구조와 보호 모드 컴퓨터 구조에 대한 이해 ; 자신이 작성한 프로그램이 어떻게 수행될지 좀더 세밀하게 이해하기 위해서는 컴퓨터 구조에 대한 이해가 필수적이다. 정 덕 영 Software Design & Developer human@ahnlab.com andymail@korea.com
3
3 Agenda First Computer ENIAC von Neumann 80xx Protected Mode Descriptor PDE, PTE IDT (Interrupt Descriptor Table) I/O Privilege Organization Pipe Line Super scalar Cache Hyper Threading Procedure & Stack Stack Stack Frame Calling Conventions Stack Back Tracing
4
4 First computer
5
5 ENIAC - background Electronic Numerical Integrator And Computer University of Pennsylvania Started 1943 Finished 1946 Too late for war effort Used until 1955 Programmed manually by switches (hard wired) 18,000 vacuum tubes 30 tons 15,000 square feet 140 kW power consumption 5,000 additions per second
6
6 von Neumann Stored Program concept Main memory storing programs and data ALU operating on binary data Control unit interpreting instructions from memory and executing Input and output equipment operated by control unit Princeton Institute for Advanced Studies IAS Completed 1952
7
7 Structure of von Neumann machine
8
8 Structure of ISA (Instruction Set Architecture) 1000 x 40 bit words Binary number 2 x 20 bit instructions Set of registers (storage in CPU) Memory Buffer Register Memory Address Register Instruction Register Instruction Buffer Register Program Counter Accumulator Multiplier Quotient
9
9 80xx
10
10 8086 Registers
11
11 8bit, 16bit
12
12 80386 Registers
13
13 Protected Mode
14
14 Protected Mode
15
15 Protected Mode – Memory Access
16
16 Protected Mode – Descriptor Table
17
17 Protected Mode – Descriptor
18
18 Protected Mode – updating segment 데이터 세그먼트 갱신 (DS, ES, FS, GS) 스택 세그먼트 갱신 (SS)
19
19 Protected Mode – call gate 코드 세그먼트 갱신 (CS)
20
20 Protected Mode – Jump Kernel using Interupt
21
21 Protected Mode – Paging
22
22 Protected Mode – Paging
23
23 Protected Mode – PDE, PTE
24
24 Protected Mode – I/O Privilege
25
25 Protected Mode – IDT (Interrupt Descriptor Table)
26
26 Exception, Interrupt (Intel)
27
27 Page Fault Handler
28
28 Organization
29
29 80486 – Pipe Line
30
30 Pentium – Super scalar
31
31 Cache - Direct mapping
32
32 Cache - Associative mapping
33
33 Cache - Set Associative mapping
34
34 Pentium’s cache
35
35 Pentium 4(xeon) – Hyper Threading Processor 2 Processor 1
36
36 Procedure & Stack
37
37 Stack
38
38 Stack Frame
39
39 Calling Conventions __cdecl __stdcall
40
40 Stack Back Tracing
41
41 Question And Answer
42
42 GOOD BYE
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.