Chap. 0 Introd. to Computer1 0. Introduction to Computer 0.1 Binary Number System 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 0 1 10 11 100 101 110 111.

Slides:



Advertisements
Similar presentations
Microprocessors. Microprocessor Buses Address Bus Address Bus One way street over which microprocessor sends an address code to memory or other external.
Advertisements

Parts & Functions of a Computer. 2 Functions of a Computer.
Chapter 1: An Overview of Computers and Programming Languages J ava P rogramming: From Problem Analysis to Program Design, From Problem Analysis to Program.
CHAPTER 4 COMPUTER SYSTEM – Von Neumann Model
The Analytical Engine Module 6 Program Translation.
Computer Hardware Processing and Internal Memory.
The processor and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
COMP 14 Introduction to Programming
The central processing unit and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
Chapter 5 Computing Components. 2 Chapter Goals Read an ad for a computer and understand the jargon List the components and their function in a von Neumann.
UNIT 9 Computer architecture
6. The CPU and Memory Chapt. 7.
CPU Registers PC Arith Logic Unit Bus Interface I/O Bridge System bus Memory bus Main Memory USB Controller Graphics Adapter Disk Controller I/O Bus Mouse.
WHAT IS A COMPUTER??? An electronic device that accepts: n Input n Processes the input n Stores the results of the processing n provides Output Computers.
Sudeshna Sarkar, IIT Kharagpur 1 Programming and Data Structure Sudeshna Sarkar Lecture 1.
Stuart Cunningham - Computer Platforms COMPUTER PLATFORMS Input, Output, and Storage & Introduction to Basic Computer Architecture Week 2.
CSCI 125 & 161 Lecture 2 Martin van Bommel. Hardware vs Software Hardware - physical components you can see and touch –e.g. processor, keyboard, disk.
Computers: Information Technology in Perspective By Long and Long Copyright 2002 Prentice Hall, Inc. Computers: Information Technology in Perspective.
Computers Central Processor Unit. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS Memory.
Lecture 8 Presented By Dr. Shazzad Hosain Asst. Prof. EECS, NSU.
1 Inside the Computer Chapter 6 Copyright Prentice-Hall, Inc
CS 1308 Computer Literacy and the Internet Computer Systems Organization.
CPU Computer Hardware Organization (How does the computer look from inside?) Register file ALU PC System bus Memory bus Main memory Bus interface I/O bridge.
Hardware & Software The CPU & Memory.
An Introduction to Computers August 12, 2008 Mrs. C. Furman.
Computer Systems Organization CS 1428 Foundations of Computer Science.
Hardware: The CPU & Storage Chapter 5 How to Buy a Multimedia Computer.
ECE 103 Engineering Programming Chapter 5 Programming Languages Herbert G. Mayer, PSU CS Status 6/19/2015 Initial content copied verbatim from ECE 103.
Introduction to Computer Architecture. What is binary? We use the decimal (base 10) number system Binary is the base 2 number system Ten different numbers.
Computer Architecture And Organization UNIT-II Structured Organization.
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages.
IT Groundwork ICS3UC - Unit 1 Hardware. Overview of Computer System.
1 Hardware and Software b Hardware the physical, tangible parts of a computerthe physical, tangible parts of a computer keyboard, monitor, wires, chips,
CPU How It Works. 2 Generic Block Diagram CPU MemoryInputOutput Address Bus Data Bus.
School of Computer Science & Information Technology G6DICP Introduction to Computer Programming Milena Radenkovic.
Chapter 5 Computing Components. 5-2 Chapter Goals List the components and their function in a von Neumann machine Describe the fetch-decode-execute cycle.
© 2005 Pearson Addison-Wesley. All rights reserved Figure 2.1 This chapter focuses on key hardware layer components.
General Concepts of Computer Organization Overview of Microcomputer.
Computer Organization & Assembly Language © by DR. M. Amer.
1 st Semester Introduction to Computer and Programming Computer Engineering Department Kasetsart University, Bangkok, THAILAND.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Lesson 3 0x Hardware Components
12/13/ _01 1 Computer Organization EEC-213 Computer Organization Electrical and Computer Engineering.
CS 1308 Computer Literacy and the Internet. Objectives In this chapter, you will learn about:  The components of a computer system  Putting all the.
A.Abhari CPS1251 Topic 1: Introduction to Computers Computer Hardware Computer components Connecting Computers Computer Software Operating System (OS)
Computer Systems. Bits Computers represent information as patterns of bits A bit (binary digit) is either 0 or 1 –binary  “two states” true and false,
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Control Unit.
Computer Organization and Assembly Languages Yung-Yu Chuang 2005/09/29
CS 125 Lecture 2 Martin van Bommel. Hardware vs Software Hardware - physical components you can see and touch –e.g. processor, keyboard, disk drive Software.
Chapter 1 An Overview of Computers and Programming Languages.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Control Unit.
CS 1410 Intro to Computer Tecnology Computer Hardware1.
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
Introduction to Programming. Key terms  CPU  I/O Devices  Main memory  Secondary memory  Operating system  User interface  Application  GUI 
Introduction to Computers - Hardware
Machine and Assembly Language
ECE 103 Engineering Programming Chapter 5 Programming Languages
UNIT 9 Computer architecture
Gunjeet Kaur Dronacharya Group of institutions
Introduction to Programming
Introduction to Computer Architecture
Lecture on Microcomputer
Lesson 3 0x Hardware Components
Chapter 1: An Overview of Computers and Programming Languages
Computer Organization & Assembly language
عمارة الحاسب.
Computer Electronic device Accepts data - input
Computer Organization and Assembly Languages Yung-Yu Chuang 2005/09/29
Presentation transcript:

Chap. 0 Introd. to Computer1 0. Introduction to Computer 0.1 Binary Number System A B C D E F Dec Binary Hex Physical Representation 0 1 NS NS Conversion(Bin Dec) = Units : bit Byte(8 bit) word(2 or 4 B) KB(1,024 B) MB(1,024 KB) GB(1,024 MB) binary digit 2 8 = 256

Chap. 0 Introd. to Computer2 0.2 Organization of a Hypothetic-Computer CPU: Cent’l Proc. Unit bus: CU: Control Unit ALU: Arith./ Logic Unit PC: Program Counter IR: Instruction Register ID: Instruction Decoder Flag Reg: o, s, z, c Registers: AX - DX clock: clock generator Interface Card R: Ready bit data: buffer register PC IR ID AX BX CX DX oszc CUALU clock A 0B MEMORY INPUT R data R OUTPUT CPU

Chap. 0 Introd. to Computer3 0.3 Instruction Set Machine code 0010RdMm 0011MmRs 0100RdRs 0101RdRs 0110Mm 0111Mm 1000Mm 1001RdPt 1010PtRs RdRs Mnemonic code LOAD Rd, Mm STORE Mm, Rs ADD Rd, Rs SUB Rd, Rs JMP Mm JL Mm JZ Mm IN Rd, Pt OUT Pt, Rs HALT MOV Rd, Rs Operation Rd (Mm) Mm (Rs) Rd (Rd) + (Rs), set Flag Rd (Rd) - (Rs), set Flag PC Mm PC Mm, if S=1 PC Mm, if Z=1 Rd (Pt) Pt (Rs) PC (PC) Rd (Rs) Group Arithmetic Branch Input/Output Control Transfer Rd: destination register Rs: source register Mm: memory address PC: program counter Pt: port number

Chap. 0 Introd. to Computer4 0.4 Machine Language Program vs Assembly Language Program To store the bigger of A and B to C PC IR ID AX BX CX DX oszc ALU CUALU clock A.... LOAD AX, A LOAD BX, B SUB AX, BX JL ITSB LOAD BX, A ITSB: STORE C, BX HALT A: DS 2 B: DS 2 C: DS 2 Assemble Assembly L. Prog. Execut e Fetc h Machine Lang. Prog. Stored Prog. von Neumann

Chap. 0 Introd. to Computer5 0.5 Programming Languages Low-level PL High-level PL Machine Language Assembly Language Interpreter L compiler L Basic APL Smalltalk... Fortran, Cobol, PL/1 Pascal, Ada C, C++, C = A 20 if (B>A) then C = B if (A>B) then C := A else C := B; C = (A>B)? A : B;

Chap. 0 Introd. to Computer6 개인용 컴퓨터의 규격 CPU Memory Secondary Storage I/O Device

Chap. 0 Introd. to Computer7 CPU Microprocessor –8088, 80286, 80386, –Pentium II, III, IV –Celeron CPU 의 속도 –MHz (650 MHz, 800 MHz, 1 GHz)

Chap. 0 Introd. to Computer8 Memory Cache Memory – 용량 : 256 KB, 512 KB (L1 cache, L2 cache) DRAM –Dynamic Random Access Memory - 휘발성 – 용량 : 128 MB, 256 MB –DIMM, SIMM ROM –Read Only Memory (ROM BIOS) - 비휘발성

Chap. 0 Introd. to Computer9 Secondary Storage Hard Disk –Magnetic Storage –Seek time + Rotational delay + Transfer time – 용량 : 20 GB, 30 GB CD-ROM – 속도 : 48 배속, 용량 : 650 MB (DVD: 4 GB) Floppy Disk –3.5” 2HD = 1.44 MB, ZIP: 100 MB Magnetic Tape –Sequential Storage (DAT: 4GB ~ 8GB)

Chap. 0 Introd. to Computer10 I/O Device Graphics Card  Video Adapter –Pixel: 1280  1024 (640  480, 1024  768) –Frame Buffer: 1028  1024  3B  8  32 MB Sound Card –Analog to Digital Converter Modem: 56 Kbps Keyboard, Mouse