A Lecture on Computer Architecture For Readers. 2 프로그래머입장에서 바라본 컴퓨터 구조와 보호 모드 컴퓨터 구조에 대한 이해 ; 자신이 작성한 프로그램이 어떻게 수행될지 좀더 세밀하게 이해하기 위해서는 컴퓨터 구조에 대한 이해가.

Slides:



Advertisements
Similar presentations
CPU Structure and Function
Advertisements

IA-32 Processor Architecture
Vacuum tubes Transistor 1948 ICs 1960s Microprocessors 1970s.
X86 segmentation, page tables, and interrupts 3/17/08 Frans Kaashoek MIT
OS Fall ’ 02 Introduction Operating Systems Fall 2002.
TK 2123 COMPUTER ORGANISATION & ARCHITECTURE
OS Spring’03 Introduction Operating Systems Spring 2003.
Assembly Language for Intel-Based Computers Chapter 2: IA-32 Processor Architecture Kip Irvine.
Vacuum tubes Transistor 1948 –Smaller, Cheaper, Less heat dissipation, Made from Silicon (Sand) –Invented at Bell Labs –Shockley, Brittain, Bardeen ICs.
1 CS402 PPP # 1 Computer Architecture Evolution. 2 John Von Neuman original concept.
History of computers 1.
© Prepared By: Razif Razali 1 CHAPTER ONE INTRODUCTION TO BASIC COMPUTER ARCHITECTURE.
Computer Structure.
Computer Architecture (Hardware Engineering) Dr. BEN CHOI Ph.D. in EE (Computer Engineering), The Ohio State University System Performance Engineer, Lucent.
1 Computer Systems. 2 Introduction – What is a Computer? This course is all about how computers work What do computer and computer system mean to you?
Computer Architecture – CSC 345 Dr. Robert Fisher —Office Hours: TTh – 11:00-11:45. Also after class. —Office: CSTI 607 —
01 Introduction – Computer Evolution & Performance Computer Organization.
Functional View & History – Page 1 of 34CSCI 4717 – Computer Architecture CSCI 4717/5717 Computer Architecture Topic: Functional View & History Reading:
Multitasking Mr. Mahendra B. Salunke Asst. Prof. Dept. of Computer Engg., STES SITS, Narhe, Pune-41 STES Sinhgad Institute of Tech. & Science Dept. of.
Fall 2012 Chapter 2: x86 Processor Architecture. Irvine, Kip R. Assembly Language for x86 Processors 6/e, Chapter Overview General Concepts IA-32.
COMP 268 Computer Organization and Assembly Language A Brief History of Computing Architecture.
IAS By : Hajer Ahmed Mohammed. ENIAC - details Decimal (not binary) Its memory contained 20 accumulators of 10 digits. 10 vacuum tubes represented each.
Computer Architecture And Organization UNIT-II General System Architecture.
Computer Evolution. ENIAC - background Electronic Numerical Integrator And Computer Eckert and Mauchly University of Pennsylvania Trajectory tables for.
Introduction to Microprocessors
ENIAC Electronic Numerical Integrator and Computer.
CSC 235 Computer Organization. Computer Organizaton ä Top_Level Structure ä The von-Neumann Machine ä Stack Machine ä Accumulator Machine ä Load/Store.
Microprocessor system architectures – IA32 tasks Jakub Yaghob.
Chapter 5: Computer Systems Design and Organization Dr Mohamed Menacer Taibah University
Von Neumann Computers Article Authors: Rudolf Eigenman & David Lilja
1 Microprocessors CSE Protected Mode Memory Addressing Remember using real mode addressing we were previously able to address 1M Byte of memory.
Main memory Processor Bus Cache memory Figure 1.5.The processor cache.
1 Chapter 2 Computer Evolution and Performance by Sameer Akram.
Lecture 5 Rootkits Hoglund/Butler (Chapters 1-3).
Computer Architecture
Evolution of the Computer. Zeroth Generation- Mechanical 1.Blaise Pascal –Mechanical calculator only perform Von Leibiniz –Mechanical.
BITS Pilani Pilani Campus Pawan Sharma ES C263 Microprocessor Programming and Interfacing.
Chapter Overview General Concepts IA-32 Processor Architecture
William Stallings Computer Organization and Architecture 6th Edition
William Stallings Computer Organization and Architecture 6th Edition
Computer Organization
Memory Management Paging (continued) Segmentation
Chapter 1 Introduction.
Computer Architecture
Anton Burtsev February, 2017
Lecture 1 CS147 Prof. Sin-Min Lee Department of Computer Science
143A: Principles of Operating Systems Lecture 5: Address translation
Protection UQ: Explain the protection mechanism of X86 Intel family microprocessor(10 Marks)
x86 segmentation, page tables, and interrupts
Computer Architecture and Organization
Intel Microprocessor.
CSCI 4717/5717 Computer Architecture
Memory Management Paging (continued) Segmentation
CS 301 Fall 2002 Computer Organization
Overview of Computer Architecture and Organization
AKT211 – CAO 02 – Computer Evolution and Performance
Computer Architecture
PERKEMBANGAN KOMPUTER
Information Security - 2
William Stallings Computer Organization and Architecture 6th Edition
Computer Evolution and Performance
Memory Management Paging (continued) Segmentation
Objectives Describe common CPU components and their function: ALU Arithmetic Logic Unit), CU (Control Unit), Cache Explain the function of the CPU as.
Presentation transcript:

A Lecture on Computer Architecture For Readers

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

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

Registers

11 8bit, 16bit

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

– 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 2 Processor 1

36 Procedure & Stack

37 Stack

38 Stack Frame

39 Calling Conventions __cdecl __stdcall

40 Stack Back Tracing

41 Question And Answer

42 GOOD BYE