1 / 42

A Lecture on Computer Architecture For Readers

A Lecture on Computer Architecture For Readers. 프로그래머입장에서 바라본 컴퓨터 구조와 보호 모드 컴퓨터 구조에 대한 이해 ; 자신이 작성한 프로그램이 어떻게 수행될지 좀더 세밀하게 이해하기 위해서는 컴퓨터 구조에 대한 이해가 필수적이다. 정 덕 영 Software Design & Developer human@ahnlab.com andymail@korea.com. Agenda. First Computer ENIAC von Neumann 80xx

Download Presentation

A Lecture on Computer Architecture For Readers

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. A Lecture on Computer Architecture For Readers

  2. 프로그래머입장에서 바라본 컴퓨터 구조와 보호 모드 컴퓨터 구조에 대한 이해; 자신이 작성한 프로그램이 어떻게 수행될지 좀더 세밀하게 이해하기 위해서는 컴퓨터 구조에 대한 이해가 필수적이다. 정 덕 영Software Design & Developer human@ahnlab.comandymail@korea.com

  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. First computer

  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. 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. Structure of von Neumann machine

  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. 80xx

  10. 8086 Registers

  11. 8bit, 16bit

  12. 80386 Registers

  13. Protected Mode

  14. Protected Mode

  15. Protected Mode – Memory Access

  16. Protected Mode – Descriptor Table

  17. Protected Mode – Descriptor

  18. Protected Mode – updating segment 데이터 세그먼트 갱신 (DS, ES, FS, GS) 스택 세그먼트 갱신 (SS)

  19. Protected Mode – call gate 코드 세그먼트 갱신 (CS)

  20. Protected Mode – Jump Kernel using Interupt

  21. Protected Mode – Paging

  22. Protected Mode – Paging

  23. Protected Mode – PDE, PTE

  24. Protected Mode – I/O Privilege

  25. Protected Mode – IDT (Interrupt Descriptor Table)

  26. Exception, Interrupt (Intel)

  27. Page Fault Handler

  28. Organization

  29. 80486 – Pipe Line

  30. Pentium – Super scalar

  31. Cache - Direct mapping

  32. Cache - Associative mapping

  33. Cache - Set Associative mapping

  34. Pentium’s cache

  35. Pentium 4(xeon) – Hyper Threading Processor 1 Processor 2

  36. Procedure & Stack

  37. Stack

  38. Stack Frame

  39. Calling Conventions __cdecl __stdcall

  40. Stack Back Tracing

  41. Question And Answer

  42. GOOD BYE

More Related