Computer Technology & Abstraction

Size: px
Start display at page:

Download "Computer Technology & Abstraction"

Transcription

1 Orange Coast College Business Division Computer Science Department CS 116- Computer Architecture Computer Technology & Abstraction

2 Civilization advances by extending the number of operations which can be performed without thinking about them Alfred North Whitehead An Introduction to Mathematics, 1911 OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 2 2

3 Science Fiction or Science Fact Yesterday's Dreams -> Today's Reality ATM Embedded Computers Laptops, Palmtops, Wearable Computers The Internet, eh OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 3 3

4 Science Fact and Science Fiction Today's Dream -> Tomorrow's Technology Cashless Society Computers Automated Machines Artificial People What else? OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 4 4

5 Rapid Pace of Technology Hardware Vacuum Tube 1897 Edison Labs Transistor 1947 AT&T Labs Integrated Circuit 1958 Texas Instruments Fairchild Camera OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 5 5

6 Rapid Pace of Technology Currently the largest processor: ~400,000,000 transistors OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 6 6

7 Summarized Computer technology advances rapidly Processor Logic capacity: increases ~ 30% / yr Clock rate: increases ~ 20% / yr Memory DRAM capacity: increases ~ 60% / yr Memory speed: increases ~ 10% / yr Cost per bit: increases ~ 25% / yr Disk Capacity: increases ~ 60% / yr OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 7 7

8 Moore's Law Transistor count doubles of every 18 months Generalized Computer technology doubles every 18 months See Page 30 OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 8 8

9 The Virtuous Circle Result of Moore's Law Competition Advances in technology Low prices & better products New market & companies New applications OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 9 9

10 Rapid Pace of Technology But what about Software Has also evolved Machine Language: On/Off, 1/0, Up/Down Assembly Language: Mnemonic High-level languages: Fortran Block languages- Functions and logic Object Oriented Language- Data encapsulation OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 10 10

11 Evolution of Languages Machine Language MOV 42, R1 STORE R1, $A Assembly A = (42 + B) / C High level OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 11 11

12 Nathan's First of Law of Software Software is a gas. It expands to fill the container holding it Meaning: Software continues to acquire features that demand faster processors, bigger memories, & more I/O capacities Corollary: Wirth's Law -Nathan Myhrvold Software gets slower faster than hardware gets faster -Niklaus Wirth OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 12 12

13 The Language Barrier There is a large gap between what is convenient for computers & what is convenient for humans Translation and/or Interpretation is needed OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 13 13

14 Machine Language Is the language of the machines Based on a two letter alphabet 1 and 0 (binary) Basis for everything a computer deals with Instructions Data Tedious to handle OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 14 14

15 Assembly Language One line for every instruction 1-to-1 correspondence to machine language Programmer thinks as the machine Machine-dependent Assembler is needed to translate into machine language Assembler is itself software OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 15 15

16 High Level Languages High-level languages One line to many assembly instructions Near natural language Machine independent Compiler is needed to translate into either assembly or machine language Subroutine libraries Modular Code reuse OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 16

17 Bringing it all together swap (int v[], int k) { int temp temp = v[k]; v[k] = v[k+1]; v[k+1] = temp; } swap: muli $2, $5, 4 add $2, $4, $2 lw $15, 0($2) lw $18, 4($2) sw $18, 0($2) sw $15, 4($2) jr $ High-level language C - Compiler Assembly language Assembler Machine language m/c Interpreter Control Signals OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 17 17

18 Hardware-Software Link Hardware Computer components CPU Memory Peripherals Software System SW Compilers/Interpreters Linkage editors Operating system Application SW MS-Office OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) A p S pli c a ti o n s ys t e m s s o s o f f t w a Hardware t w a r e r e User

19 Another way of looking at it... Problem-oriented language level Application programs Symbolic Translation (Compiler) Assembly language level Translation (Assembler) Operating system machine level Partial interpretation (OS) Instruction set architecture(isa) level Systems programs Numeric Micro-architecture level Interpretation (microprogram) or direct execution Hardware Digital logic level Device (transistor) level OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 19

20 Hardware and Software Components Hardware Memory components Registers Register file Memory Disks Functional components Adder, multiplier, dividers,... Comparators Control signals Software Data Simple Characters Numbers Structured Arrays Structures/Objects Instructions Data transfer Arithmetic Control flow OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 20

21 Closer look at Software Components... Software Applications Software Systems Software MS Office... Compilers Operating Systems Assemblers as... Virtual Memory File System I/O device drivers OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 21 21

22 What we will learn Basic foundation on how computers work Assembly language introduction/review How to analyze program performance How to design processor components How to enhance processors performance (caches, pipelines, parallel processors, multiprocessors) OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 22

23 Organization and Architecture Architecture is a Specification Organization is the Implementation OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 23

24 Architecture is Specification Attributes visible to the programmer Attributes: Instruction set Number of bits representing data I/O mechanism Addressing modes used Has direct impact on logical program execution Example Itanium OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 24

25 Organization is Implementation Operational units and their interconnection that realizes the architecture Attributes: HW details Control signals I/O interfaces Memory technology used Example McKinley OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 25

26 The Motherboard 1. RAM sockets 2. Power connectors 3. Cache 4. CPU socket 5. Floppy & hard drives 6. External connectors for I/O devices 7. Expansion slots OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 26

27 More Motherboard Main memory DRAM (Dynamic Random Access Memory) Mounted on SIMM Slots (Single Inline Memory Module) Contains instructions & data Processor Covered by heat sinks for cooling Connectors for I/O devices Audio/MIDI Parallel/Serial PCI card slots ISA card slots IDE connectors Four ISA card slots Four PCI card slots Audio Four SIMM slots Parallel/ Serial CPU Two IDE Connectors OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 27 27

28 Computer Components Logical Components Input Mouse, Keyboard Output Display, Printer Memory Hard disk, DRAM, Cache CPU Datapath [ALU + Registers] Control Path OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 28

29 The Breakdown Computer Processor (CPU) Data path Control Memory Output Input Printer Screen Disk... keyboard Mouse Disk... OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 29

30 Lets look a little closer... Processor(CPU): Active part of the motherboard Performs calculations & activates devices Gets instructions & data from memory Components are connected via Buses Bus: Collection of parallel wires Transmits data, instructions, or control signals Motherboard Physical chips for I/O connections, memory, & CPU OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 30

31 The CPU Datapath (ALU+ Registers): Performs arithmetic & logical operations ALU = Arithmetic Logic Unit Register= Source of operands for the ALU Control (CU): Controls the data path, memory, & I/O devices Sends signals that determine operations of datapath, memory, input & output OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 31 31

32 Details of the CPU Example: Intel Pentium Area: 91 mm2 ~ 3.3 million transistors ( 1 million for cache memory) Data cache Control Branch Instruction cache Bus Integer datapath Floatingpoint datapat h OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 32

33 A more modern approach... OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 33

34 Memory Volatile memory Loses information when power is switched-off RAM Non-volatile memory Keeps information when power is switched-off Hard disk, Tape OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 34

35 Volatile Memory Cache Fast but expensive Smaller capacity Placed closer to the processor Main Memory (RAM) Less expensive Slower than cache LOTS more capacity OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 35

36 Non-volatile memory Secondary Memory Low cost Slower than RAM Hard disks 2003: $1/GB ($.001/MB) 1988: $11.54/MB Flash Devices USB Key Almost unlimited capacity Think Internet OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 36

37 Input/Output (I/O) I/O devices have the hardest organization Wide range of speeds Graphics vs. keyboard Wide range of requirements Speed Standard Cost... Least amount of research done in this area OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 37 37

38 Networking Connecting computers Extend computing power Communicate Share resources Have non-local access Advantages Communication Resource sharing Non-local access OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 38

39 More Networking... Local-Area Network (LAN) Connects computers on the same floor of a building Example: Ethernet Length ~1 km Speed 100 Mbytes/sec up to 1GBit/sec Wide-Area Network (WAN) Connects computers across continents The backbone of the Internet. Use optical fibers Leased from telecommunication companies OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 39

40 Shameless Plug If you want to know more about Networking CS 191 Thursday night OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 40

41 What is our Primary Concern? The processor (datapath and control) Implemented using millions of transistors Impossible to understand by looking at each transistor We need abstraction Hides lower-level details to offer simple model at higher level OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 41 41

42 Why Abstraction? Intensive & thorough research into the depths Reveals more information Omits unneeded details Helps us cope with complexity Examples of abstraction: Language hierarchy Instruction set architecture (ISA) OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 42

43 Instructions (Finally!) Instruction Smallest operation a processor can perform Add/Multiply two numbers ISA (Instruction Set Architecture) Architecture = Specification ISA is a contract This instruction will have this effect Encompasses information needed to write machinelanguage programs Abstract interface between the hardware and lowest-level software OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 43

44 More ISA ISA considered software Organization = Implementation Several implementations of an ISA may exist Modern ISAs x86: 8086, 286, 386, 486, Pentium, Athlon Others: PowerPC, MIPS, SPARC, Alpha OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 44

45 Why Multiple Implementations? Advantages Easier to change than hardware Standardizes instructions, machine language bit patterns, etc. Increases competetion Disadvantage (why not?) It can prevent new innovations Example: Intel OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 45

46 But how do instructions work? Smallest unit of operation a processor can perform Instruction is represented as a series of bits (1's and 0's) that the processor interprets Based on a given pattern, it does something specific, like add ISA specifies what a particular instruction does What operands it uses Where the result is stored OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 46

47 Basic Flow OP1 + OP2... Op1 Op2 Generalpurpose Registers Bus Op1 Op2 ALU i/p registers ALU OP1 + OP2 ALU o/p register OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 47 47

48 The Instruction Cycle Every processor follows the same cycle Fetch Next Instruction From Memory Decode Instruction determine its size & action Fetch Operand data Execute instruction & compute results or status Called the von Neumann machine OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 48

49 A little closer... Issues to consider Instruction Fetch: What is the instruction Format? How is the instruction decoded? Instruction decoding: Location of operands and result Where is the operand stored? How many explicit operands are allowed for the instruction? How are memory operands located? Which operands can (or cannot) be in memory? OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 49

50 A little closer... Issues to consider Operand fetch: What is the data type & size of the operand? Execution: What are the supported operations? Next Instruction: Should the next instruction to be executed be Successor instruction? Some other instruction? Jumps, conditions, or branches OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 50

51 Typical Instructions Operation Category Data Movement Arithmetic Shift Logical String Control (Jump/Branch) Subroutine Linkage Interrupt Synchronization Graphics (MMX) Examples Memory Load / Store Memory-to-memory move Register-to-register move Input / output (to/from I/O device) Push, pop (to/from stack) Integer (binary + decimal) or FP Add, Subtract, Multiply, Divide Shift left/right, rotate left/right Not, and, or, set, clear Search, translate Unconditional, conditional Call, return Int Test & set (atomic r-m-w) Parallel sub-word ops (4 16bit add) OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 51 51

52 Motivation Not just for chip designers and compiler writers Computers are becoming omnipresent Everywhere you go, there they are Computer Architecture gives you Foundation for understanding how they work Foundation for what they can do Basis for rapidly learning new technology OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 52

53 How to get the most Read textbook (& some topics of the optional texts!) Be up-to-date by continuously searching the library & Internet! Becomes more interesting as you learn more Solve self-exercise and other exercises! Come back with your input & questions for discussion! Appreciate and participate in teamwork! OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 53

54 Homework Team Project: Write a short paper (1-2 pages) comparing two of the hardware characteristics of the following processor families: Pentium Pro Pentium 4 Celeron Athlon UltraSPARC PicoJava Present Results next Monday Short 5-10 minutes OCC - CS/CIS CS116-Ch00-Orientation 1998 Morgan Kaufmann Publishers (Augmented 1998 Morgan & Kaufmann Modified Publishers by M.Malaty ( Augmented and M. & Modified Beers) by M.Malaty) 54

7/28/ Prentice-Hall, Inc Prentice-Hall, Inc Prentice-Hall, Inc Prentice-Hall, Inc Prentice-Hall, Inc.

7/28/ Prentice-Hall, Inc Prentice-Hall, Inc Prentice-Hall, Inc Prentice-Hall, Inc Prentice-Hall, Inc. Technology in Action Technology in Action Chapter 9 Behind the Scenes: A Closer Look a System Hardware Chapter Topics Computer switches Binary number system Inside the CPU Cache memory Types of RAM Computer

More information

Chapter 9: A Closer Look at System Hardware

Chapter 9: A Closer Look at System Hardware Chapter 9: A Closer Look at System Hardware CS10001 Computer Literacy Chapter 9: A Closer Look at System Hardware 1 Topics Discussed Digital Data and Switches Manual Electrical Digital Data Representation

More information

Chapter 9: A Closer Look at System Hardware 4

Chapter 9: A Closer Look at System Hardware 4 Chapter 9: A Closer Look at System Hardware CS10001 Computer Literacy Topics Discussed Digital Data and Switches Manual Electrical Digital Data Representation Decimal to Binary (Numbers) Characters and

More information

CS 101, Mock Computer Architecture

CS 101, Mock Computer Architecture CS 101, Mock Computer Architecture Computer organization and architecture refers to the actual hardware used to construct the computer, and the way that the hardware operates both physically and logically

More information

Chapter 1 Introduction. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan

Chapter 1 Introduction. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan Chapter 1 Introduction Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan Outline Classes of Computing Applications Hierarchical Layers of Hardware and Software Contents

More information

CPS104 Computer Organization Lecture 1

CPS104 Computer Organization Lecture 1 CPS104 Computer Organization Lecture 1 Robert Wagner Slides available on: http://www.cs.duke.edu/~raw/cps104/lectures 1 CPS104: Computer Organization Instructor: Robert Wagner Office: LSRC D336, 660-6536

More information

Introduction. Computer System Organization. Languages, Levels, Virtual Machines. A multilevel machine. Sarjana Magister Program

Introduction. Computer System Organization. Languages, Levels, Virtual Machines. A multilevel machine. Sarjana Magister Program Computer System Organization Sarjana Magister Program Introduction Tb. Maulana Kusuma Week 1 Session 1 Languages, Levels, Virtual Machines A multilevel machine 1 Contemporary Multilevel Machines A six-level

More information

CPS104 Computer Organization Lecture 1. CPS104: Computer Organization. Meat of the Course. Robert Wagner

CPS104 Computer Organization Lecture 1. CPS104: Computer Organization. Meat of the Course. Robert Wagner CPS104 Computer Organization Lecture 1 Robert Wagner Slides available on: http://www.cs.duke.edu/~raw/cps104/lectures 1 CPS104: Computer Organization Instructor: Robert Wagner Office: LSRC D336, 660-6536

More information

ECE 468 Computer Architecture and Organization Lecture 1

ECE 468 Computer Architecture and Organization Lecture 1 ECE 468 Computer Architecture and Organization Lecture 1 September 7, 1999 ece 468 Intro.1 What is "Computer Architecture" Co-ordination of levels of abstraction Application Compiler Instr. Set Proc. Operating

More information

Computers Are Your Future

Computers Are Your Future Computers Are Your Future 2008 Prentice-Hall, Inc. Computers Are Your Future Chapter 6 Inside the System Unit 2008 Prentice-Hall, Inc. Slide 2 What You Will Learn... Understand how computers represent

More information

CISC 360. Computer Architecture. Seth Morecraft Course Web Site:

CISC 360. Computer Architecture. Seth Morecraft Course Web Site: CISC 360 Computer Architecture Seth Morecraft (morecraf@udel.edu) Course Web Site: http://www.eecis.udel.edu/~morecraf/cisc360 Overview Intro to Computer Architecture About the Course Organization

More information

Typical Processor Execution Cycle

Typical Processor Execution Cycle Typical Processor Execution Cycle Instruction Fetch Obtain instruction from program storage Instruction Decode Determine required actions and instruction size Operand Fetch Locate and obtain operand data

More information

Computer Architecture

Computer Architecture Computer Architecture Mehran Rezaei m.rezaei@eng.ui.ac.ir Welcome Office Hours: TBA Office: Eng-Building, Last Floor, Room 344 Tel: 0313 793 4533 Course Web Site: eng.ui.ac.ir/~m.rezaei/architecture/index.html

More information

CS Computer Architecture

CS Computer Architecture CS 35101 Computer Architecture Section 600 Dr. Angela Guercio Fall 2010 Structured Computer Organization A computer s native language, machine language, is difficult for human s to use to program the computer

More information

COMPUTER ORGANIZATION (CSE 2021)

COMPUTER ORGANIZATION (CSE 2021) COMPUTER ORGANIZATION (CSE 2021) HUGH CHESSER CSEB 1012U Agenda Introduction to course Context Hardware - Integrated Circuits (IC s) Software Assembly Language Reading: Patterson, Sections 1.1 1.3. CSE

More information

Topics Power tends to corrupt; absolute power corrupts absolutely. Computer Organization CS Data Representation

Topics Power tends to corrupt; absolute power corrupts absolutely. Computer Organization CS Data Representation Computer Organization CS 231-01 Data Representation Dr. William H. Robinson November 12, 2004 Topics Power tends to corrupt; absolute power corrupts absolutely. Lord Acton British historian, late 19 th

More information

COMPUTER ORGANIZATION (CSE 2021)

COMPUTER ORGANIZATION (CSE 2021) COMPUTER ORGANIZATION (CSE 2021) HUGH CHESSER LAS 1012U Agenda Introduction to course Context Hardware - Integrated Circuits (IC s) Software Assembly Language Reading: Patterson, Sections 1.1 1.3. CSE

More information

Computer Architecture. Fall Dongkun Shin, SKKU

Computer Architecture. Fall Dongkun Shin, SKKU Computer Architecture Fall 2018 1 Syllabus Instructors: Dongkun Shin Office : Room 85470 E-mail : dongkun@skku.edu Office Hours: Wed. 15:00-17:30 or by appointment Lecture notes nyx.skku.ac.kr Courses

More information

Last class: Today: Course administration OS definition, some history. Background on Computer Architecture

Last class: Today: Course administration OS definition, some history. Background on Computer Architecture 1 Last class: Course administration OS definition, some history Today: Background on Computer Architecture 2 Canonical System Hardware CPU: Processor to perform computations Memory: Programs and data I/O

More information

COS 140: Foundations of Computer Science

COS 140: Foundations of Computer Science COS 140: Foundations of Computer Science CPU Organization and Assembly Language Fall 2018 CPU 3 Components of the CPU..................................................... 4 Registers................................................................

More information

PC I/O. May 7, Howard Huang 1

PC I/O. May 7, Howard Huang 1 PC I/O Today wraps up the I/O material with a little bit about PC I/O systems. Internal buses like PCI and ISA are critical. External buses like USB and Firewire are becoming more important. Today also

More information

Alternate definition: Instruction Set Architecture (ISA) What is Computer Architecture? Computer Organization. Computer structure: Von Neumann model

Alternate definition: Instruction Set Architecture (ISA) What is Computer Architecture? Computer Organization. Computer structure: Von Neumann model What is Computer Architecture? Structure: static arrangement of the parts Organization: dynamic interaction of the parts and their control Implementation: design of specific building blocks Performance:

More information

CSCI 402: Computer Architectures. Instructions: Language of the Computer (1) Fengguang Song Department of Computer & Information Science IUPUI

CSCI 402: Computer Architectures. Instructions: Language of the Computer (1) Fengguang Song Department of Computer & Information Science IUPUI Starting Chapter 2: CSCI 402: Computer Architectures Instructions: Language of the Computer (1) Fengguang Song Department of Computer & Information Science IUPUI Contents 2.1 and 2.3 What is instruction?

More information

CSCI 402: Computer Architectures. Instructions: Language of the Computer (1) Fengguang Song Department of Computer & Information Science IUPUI

CSCI 402: Computer Architectures. Instructions: Language of the Computer (1) Fengguang Song Department of Computer & Information Science IUPUI To study Chapter 2: CSCI 402: Computer Architectures Instructions: Language of the Computer (1) Fengguang Song Department of Computer & Information Science IUPUI Contents 2.1-2.3 Introduction to what is

More information

CIT 668: System Architecture

CIT 668: System Architecture CIT 668: System Architecture Computer Systems Architecture I 1. System Components 2. Processor 3. Memory 4. Storage 5. Network 6. Operating System Topics Images courtesy of Majd F. Sakr or from Wikipedia

More information

Technology in Action

Technology in Action Technology in Action Chapter 9 Behind the Scenes: A Closer Look at System Hardware 1 Binary Language Computers work in binary language. Consists of two numbers: 0 and 1 Everything a computer does is broken

More information

Computer Systems. Binary Representation. Binary Representation. Logical Computation: Boolean Algebra

Computer Systems. Binary Representation. Binary Representation. Logical Computation: Boolean Algebra Binary Representation Computer Systems Information is represented as a sequence of binary digits: Bits What the actual bits represent depends on the context: Seminar 3 Numerical value (integer, floating

More information

Computer Organization

Computer Organization INF 101 Fundamental Information Technology Computer Organization Assistant Prof. Dr. Turgay ĐBRĐKÇĐ Course slides are adapted from slides provided by Addison-Wesley Computing Fundamentals of Information

More information

CSE : Introduction to Computer Architecture

CSE : Introduction to Computer Architecture Computer Architecture 9/21/2005 CSE 675.02: Introduction to Computer Architecture Instructor: Roger Crawfis (based on slides from Gojko Babic A modern meaning of the term computer architecture covers three

More information

Computer Organization and Structure. Bing-Yu Chen National Taiwan University

Computer Organization and Structure. Bing-Yu Chen National Taiwan University Computer Organization and Structure Bing-Yu Chen National Taiwan University Textbook D. A. Patterson, J. L. Hennessy. Computer Organization & Design: The Hardware/Software Interface, 4th. ed., Morgan Kaufmann,

More information

Chapter 1. Computer Abstractions and Technology

Chapter 1. Computer Abstractions and Technology Chapter 1 Computer Abstractions and Technology The Computer Revolution Progress in computer technology Underpinned by Moore s Law Makes novel applications feasible Computers in automobiles Cell phones

More information

Overview of Computer Organization. Chapter 1 S. Dandamudi

Overview of Computer Organization. Chapter 1 S. Dandamudi Overview of Computer Organization Chapter 1 S. Dandamudi Outline Introduction Basic Terminology and Notation Views of computer systems User s view Programmer s view Advantages of high-level languages Why

More information

Math 230 Assembly Programming (AKA Computer Organization) Spring MIPS Intro

Math 230 Assembly Programming (AKA Computer Organization) Spring MIPS Intro Math 230 Assembly Programming (AKA Computer Organization) Spring 2008 MIPS Intro Adapted from slides developed for: Mary J. Irwin PSU CSE331 Dave Patterson s UCB CS152 M230 L09.1 Smith Spring 2008 MIPS

More information

Chapter 4 The Components of the System Unit

Chapter 4 The Components of the System Unit Chapter 4 The Components of the System Unit Chapter 4 Objectives Differentiate among various styles of of system units Differentiate among the the various types of of memory Identify chips, adapter cards,

More information

Overview of Computer Organization. Outline

Overview of Computer Organization. Outline Overview of Computer Organization Chapter 1 S. Dandamudi Outline Introduction Basic Terminology and Notation Views of computer systems User s view Programmer s view Advantages of high-level languages Why

More information

CPE300: Digital System Architecture and Design

CPE300: Digital System Architecture and Design CPE300: Digital System Architecture and Design Fall 2011 MW 17:30-18:45 CBC C316 Layered View of the Computer http://www.egr.unlv.edu/~b1morris/cpe300/ 2 Outline Recap Assembly/Machine Programmer View

More information

Course Outline. Introduction. Intro Computer Organization. Computer Science Dept Va Tech January McQuain & Ribbens

Course Outline. Introduction. Intro Computer Organization. Computer Science Dept Va Tech January McQuain & Ribbens Course Outline I. II. Machine language level organization III. Assembly language and assemblers IV. Logic design V. Computer arithmetic VI. Performance VII. Processor design VIII. Memory hierarchy IX.

More information

Latches. IT 3123 Hardware and Software Concepts. Registers. The Little Man has Registers. Data Registers. Program Counter

Latches. IT 3123 Hardware and Software Concepts. Registers. The Little Man has Registers. Data Registers. Program Counter IT 3123 Hardware and Software Concepts Notice: This session is being recorded. CPU and Memory June 11 Copyright 2005 by Bob Brown Latches Can store one bit of data Can be ganged together to store more

More information

Computer Organization & Assembly Language Programming. CSE 2312 Lecture 2 Introduction to Computers

Computer Organization & Assembly Language Programming. CSE 2312 Lecture 2 Introduction to Computers Computer Organization & Assembly Language Programming CSE 2312 Lecture 2 Introduction to Computers 1 Languages, Levels, Virtual Machines A multilevel machine 2 Contemporary Multilevel Machines A six-level

More information

Computer System Overview

Computer System Overview Computer System Overview Operating Systems 2005/S2 1 What are the objectives of an Operating System? 2 What are the objectives of an Operating System? convenience & abstraction the OS should facilitate

More information

Instruction Set Architecture. "Speaking with the computer"

Instruction Set Architecture. Speaking with the computer Instruction Set Architecture "Speaking with the computer" The Instruction Set Architecture Application Compiler Instr. Set Proc. Operating System I/O system Instruction Set Architecture Digital Design

More information

Chapter 5 12/2/2013. Objectives. Computer Systems Organization. Objectives. Objectives (continued) Introduction. INVITATION TO Computer Science 1

Chapter 5 12/2/2013. Objectives. Computer Systems Organization. Objectives. Objectives (continued) Introduction. INVITATION TO Computer Science 1 Chapter 5 Computer Systems Organization Objectives In this chapter, you will learn about: The components of a computer system Putting all the pieces together the Von Neumann architecture The future: non-von

More information

Computer Architecture

Computer Architecture Computer Architecture Context and Motivation To better understand a software system, it is mandatory understand two elements: - The computer as a basic building block for the application - The operating

More information

Computer Organization and Programming

Computer Organization and Programming Sep 2006 Prof. Antônio Augusto Fröhlich (http://www.lisha.ufsc.br) 8 Computer Organization and Programming Prof. Dr. Antônio Augusto Fröhlich guto@lisha.ufsc.br http://www.lisha.ufsc.br/~guto Sep 2006

More information

Computer Architecture and Assembly Language. Spring

Computer Architecture and Assembly Language. Spring Computer Architecture and Assembly Language Spring 2014-2015 What is a computer? A computer is a sophisticated electronic calculating machine that: Accepts input information, Processes the information

More information

CS/COE0447: Computer Organization

CS/COE0447: Computer Organization CS/COE0447: Computer Organization and Assembly Language Terminology and Concepts Sangyeun Cho Dept. of Computer Science Five classic components I am like a control tower I am like a pack of file folders

More information

Computers and Microprocessors. Lecture 34 PHYS3360/AEP3630

Computers and Microprocessors. Lecture 34 PHYS3360/AEP3630 Computers and Microprocessors Lecture 34 PHYS3360/AEP3630 1 Contents Computer architecture / experiment control Microprocessor organization Basic computer components Memory modes for x86 series of microprocessors

More information

Computer Systems Architecture

Computer Systems Architecture Computer Systems Architecture Guoping Qiu School of Computer Science The University of Nottingham http://www.cs.nott.ac.uk/~qiu 1 The World of Computers Computers are everywhere Cell phones Game consoles

More information

Computer Architecture Computer Architecture. Computer Architecture. What is Computer Architecture? Grading

Computer Architecture Computer Architecture. Computer Architecture. What is Computer Architecture? Grading 178 322 Computer Architecture Lecturer: Watis Leelapatra Office: 4301D Email: watis@kku.ac.th Course Webpage: http://gear.kku.ac.th/~watis/courses/178322/178322.html Computer Architecture Grading Midterm

More information

Chapter 2. OS Overview

Chapter 2. OS Overview Operating System Chapter 2. OS Overview Lynn Choi School of Electrical Engineering Class Information Lecturer Prof. Lynn Choi, School of Electrical Eng. Phone: 3290-3249, Kong-Hak-Kwan 411, lchoi@korea.ac.kr,

More information

Real instruction set architectures. Part 2: a representative sample

Real instruction set architectures. Part 2: a representative sample Real instruction set architectures Part 2: a representative sample Some historical architectures VAX: Digital s line of midsize computers, dominant in academia in the 70s and 80s Characteristics: Variable-length

More information

Computer System Overview OPERATING SYSTEM TOP-LEVEL COMPONENTS. Simplified view: Operating Systems. Slide 1. Slide /S2. Slide 2.

Computer System Overview OPERATING SYSTEM TOP-LEVEL COMPONENTS. Simplified view: Operating Systems. Slide 1. Slide /S2. Slide 2. BASIC ELEMENTS Simplified view: Processor Slide 1 Computer System Overview Operating Systems Slide 3 Main Memory referred to as real memory or primary memory volatile modules 2004/S2 secondary memory devices

More information

Computer Architecture

Computer Architecture Computer Architecture Computer Architecture Hardware INFO 2603 Platform Technologies Week 1: 04-Sept-2018 Computer architecture refers to the overall design of the physical parts of a computer. It examines:

More information

About the Presentations

About the Presentations About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning of each presentation. You may customize the presentations

More information

Processing Unit CS206T

Processing Unit CS206T Processing Unit CS206T Microprocessors The density of elements on processor chips continued to rise More and more elements were placed on each chip so that fewer and fewer chips were needed to construct

More information

A+ Guide to Hardware: Managing, Maintaining, and Troubleshooting, 5e. Chapter 1 Introducing Hardware

A+ Guide to Hardware: Managing, Maintaining, and Troubleshooting, 5e. Chapter 1 Introducing Hardware : Managing, Maintaining, and Troubleshooting, 5e Chapter 1 Introducing Hardware Objectives Learn that a computer requires both hardware and software to work Learn about the many different hardware components

More information

Computer Architecture s Changing Definition

Computer Architecture s Changing Definition Computer Architecture s Changing Definition 1950s Computer Architecture Computer Arithmetic 1960s Operating system support, especially memory management 1970s to mid 1980s Computer Architecture Instruction

More information

Orange Coast College. Business Division. Computer Science Department. CS 116- Computer Architecture. Pipelining

Orange Coast College. Business Division. Computer Science Department. CS 116- Computer Architecture. Pipelining Orange Coast College Business Division Computer Science Department CS 116- Computer Architecture Pipelining Recall Pipelining is parallelizing execution Key to speedups in processors Split instruction

More information

CIT 668: System Architecture. Computer Systems Architecture

CIT 668: System Architecture. Computer Systems Architecture CIT 668: System Architecture Computer Systems Architecture 1. System Components Topics 2. Bandwidth and Latency 3. Processor 4. Memory 5. Storage 6. Network 7. Operating System 8. Performance Implications

More information

The Central Processing Unit

The Central Processing Unit The Central Processing Unit All computers derive from the same basic design, usually referred to as the von Neumann architecture. This concept involves solving a problem by defining a sequence of commands

More information

Computer Architecture

Computer Architecture 188 322 Computer Architecture Lecturer: Watis Leelapatra Office: 4301D Email: watis@kku.ac.th Course Webpage http://gear.kku.ac.th/~watis/courses/188322/188322.html 188 322 Computer Architecture Grading

More information

Components of a personal computer

Components of a personal computer Components of a personal computer Computer systems ranging from a controller in a microwave oven to a large supercomputer contain components providing five functions. A typical personal computer has hard,

More information

Computers Are Your Future

Computers Are Your Future Computers Are Your Future Twelfth Edition Chapter 2: Inside the System Unit Copyright 2012 Pearson Education, Inc. Publishing as Prentice Hall 1 Inside the Computer System Copyright 2012 Pearson Education,

More information

Basic Concepts COE 205. Computer Organization and Assembly Language Dr. Aiman El-Maleh

Basic Concepts COE 205. Computer Organization and Assembly Language Dr. Aiman El-Maleh Basic Concepts COE 205 Computer Organization and Assembly Language Dr. Aiman El-Maleh College of Computer Sciences and Engineering King Fahd University of Petroleum and Minerals [Adapted from slides of

More information

Introduction to Computer Systems and Operating Systems

Introduction to Computer Systems and Operating Systems Introduction to Computer Systems and Operating Systems Minsoo Ryu Real-Time Computing and Communications Lab. Hanyang University msryu@hanyang.ac.kr Topics Covered 1. Computer History 2. Computer System

More information

COMPUTER SYSTEM. COMPUTER SYSTEM IB DP Computer science Standard Level ICS3U. COMPUTER SYSTEM IB DP Computer science Standard Level ICS3U

COMPUTER SYSTEM. COMPUTER SYSTEM IB DP Computer science Standard Level ICS3U. COMPUTER SYSTEM IB DP Computer science Standard Level ICS3U C A N A D I A N I N T E R N A T I O N A L S C H O O L O F H O N G K O N G 5.1 Introduction 5.2 Components of a Computer System Algorithm The Von Neumann architecture is based on the following three characteristics:

More information

IT 252 Computer Organization and Architecture. Introduction. Chia-Chi Teng

IT 252 Computer Organization and Architecture. Introduction. Chia-Chi Teng IT 252 Computer Organization and Architecture Introduction Chia-Chi Teng What is computer architecture about? Computer architecture is the study of building computer systems. IT 252 is roughly split into

More information

The Computer Revolution. Chapter 1. The Processor Market. Classes of Computers. Morgan Kaufmann Publishers August 28, 2013

The Computer Revolution. Chapter 1. The Processor Market. Classes of Computers. Morgan Kaufmann Publishers August 28, 2013 Chapter 1 Computer Abstractions and Technology The Computer Revolution Progress in computer technology Underpinned by Moore s Law Makes novel applications feasible Computers in automobiles Cell phones

More information

Homeschool Enrichment. The System Unit: Processing & Memory

Homeschool Enrichment. The System Unit: Processing & Memory Homeschool Enrichment The System Unit: Processing & Memory Overview This chapter covers: How computers represent data and programs How the CPU, memory, and other components are arranged inside the system

More information

EEM 486: Computer Architecture

EEM 486: Computer Architecture EEM 486: Computer Architecture Lecture 1 Course Introduction and the Five Components of a Computer EEM 486 Course Information Instructor: Atakan Doğan (atdogan@anadolu.edu.tr) Office Hours: Anytime Materials:

More information

The Components of the System Unit

The Components of the System Unit The Components of the System Unit The System Unit What is the system unit? Case that contains electronic components of the computer used to process data Sometimes called the chassis system unit system

More information

Instruction Set Design

Instruction Set Design Instruction Set Design software instruction set hardware CPE442 Lec 3 ISA.1 Instruction Set Architecture Programmer's View ADD SUBTRACT AND OR COMPARE... 01010 01110 10011 10001 11010... CPU Memory I/O

More information

CS430 - Computer Architecture William J. Taffe Fall 2002 using slides from. CS61C - Machine Structures Dave Patterson Fall 2000

CS430 - Computer Architecture William J. Taffe Fall 2002 using slides from. CS61C - Machine Structures Dave Patterson Fall 2000 CS430 - Computer Architecture William J. Taffe Fall 2002 using slides from CS61C - Machine Structures Dave Patterson Fall 2000 CS 430 Intro.1 WJ Taffe, Fall 2002 Overview Intro to Machine Structures Organization

More information

A Review of Chapter 5 and. CSc 2010 Spring 2012 Instructor: Qian Hu

A Review of Chapter 5 and. CSc 2010 Spring 2012 Instructor: Qian Hu A Review of Chapter 5 and Chapter 6 Chapter 5 Computer Systems Organization Von Neumann Architecture 4 Components Memory Input/output ALU Control Unit Two major features Stored program concept Sequential

More information

EITF20: Computer Architecture Part2.1.1: Instruction Set Architecture

EITF20: Computer Architecture Part2.1.1: Instruction Set Architecture EITF20: Computer Architecture Part2.1.1: Instruction Set Architecture Liang Liu liang.liu@eit.lth.se 1 Outline Reiteration Instruction Set Principles The Role of Compilers MIPS 2 Main Content Computer

More information

The von Neumann Architecture. IT 3123 Hardware and Software Concepts. The Instruction Cycle. Registers. LMC Executes a Store.

The von Neumann Architecture. IT 3123 Hardware and Software Concepts. The Instruction Cycle. Registers. LMC Executes a Store. IT 3123 Hardware and Software Concepts February 11 and Memory II Copyright 2005 by Bob Brown The von Neumann Architecture 00 01 02 03 PC IR Control Unit Command Memory ALU 96 97 98 99 Notice: This session

More information

Lecture 01: Basic Structure of Computers

Lecture 01: Basic Structure of Computers CSCI2510 Computer Organization Lecture 01: Basic Structure of Computers Ming-Chang YANG mcyang@cse.cuhk.edu.hk Reading: Chap. 1.1~1.3 Outline Computer: Tools for the Information Age Basic Functional Units

More information

Welcome to COMPSCI111/111G!

Welcome to COMPSCI111/111G! Welcome to COMPSCI111/111G! Today s class Introduction to COMPSCI111/111G People Assessment Labs Test and exam Introduction to computer hardware https://www.cs.auckland.ac.nz/courses/compsci111s1c/ Lecturers

More information

Computer Architecture 2/26/01 Lecture #

Computer Architecture 2/26/01 Lecture # Computer Architecture 2/26/01 Lecture #9 16.070 On a previous lecture, we discussed the software development process and in particular, the development of a software architecture Recall the output of the

More information

Data Manipulation. Chih-Wei Tang ( 唐之瑋 ) Department of Communication Engineering National Central University JhongLi, Taiwan

Data Manipulation. Chih-Wei Tang ( 唐之瑋 ) Department of Communication Engineering National Central University JhongLi, Taiwan Data Manipulation Chih-Wei Tang ( 唐之瑋 ) Department of Communication Engineering National Central University JhongLi, Taiwan Outline Computer Architecture Machine Language Program Execution Arithmetic/Logic

More information

CpE 442 Introduction To Computer Architecture Lecture 1

CpE 442 Introduction To Computer Architecture Lecture 1 CpE 442 Introduction To Computer Architecture Lecture 1 Instructor: H. H. Ammar These slides are based on the lecture slides provided with the course text book specified in the course syllabus The original

More information

x86 Architectures; Assembly Language Basics of Assembly language for the x86 and x86_64 architectures

x86 Architectures; Assembly Language Basics of Assembly language for the x86 and x86_64 architectures x86 Architectures; Assembly Language Basics of Assembly language for the x86 and x86_64 architectures topics Preliminary material a look at what Assembly Language works with - How processors work»a moment

More information

Update on logistics ECS 15

Update on logistics ECS 15 Update on logistics ECS 15 Topic 2: 2.2 Digital Logic: Transistors, Topic 3: Computers 3.1 Hardware Lab 4 starts Tues. Building html pages. Progress report due Friday. Get advice at labs this week! Direct

More information

Computers in Engineering COMP 208. Computer Structure. Computer Architecture. Computer Structure Michael A. Hawker

Computers in Engineering COMP 208. Computer Structure. Computer Architecture. Computer Structure Michael A. Hawker Computers in Engineering COMP 208 Computer Structure Michael A. Hawker Computer Structure We will briefly look at the structure of a modern computer That will help us understand some of the concepts that

More information

Microprocessors I MICROCOMPUTERS AND MICROPROCESSORS

Microprocessors I MICROCOMPUTERS AND MICROPROCESSORS Microprocessors I Outline of the Lecture Microcomputers and Microprocessors Evolution of Intel 80x86 Family Microprocessors Binary and Hexadecimal Number Systems MICROCOMPUTERS AND MICROPROCESSORS There

More information

Systems Architecture

Systems Architecture Systems Architecture Friday, 27 April 2018 Systems Architecture Today s Objectives: 1. To be able to explain the purposes and uses of embedded systems. 2. To be able to describe how the CPU executes instructions

More information

Chapter Seven Morgan Kaufmann Publishers

Chapter Seven Morgan Kaufmann Publishers Chapter Seven Memories: Review SRAM: value is stored on a pair of inverting gates very fast but takes up more space than DRAM (4 to 6 transistors) DRAM: value is stored as a charge on capacitor (must be

More information

Computer Architecture. Introduction. Lynn Choi Korea University

Computer Architecture. Introduction. Lynn Choi Korea University Computer Architecture Introduction Lynn Choi Korea University Class Information Lecturer Prof. Lynn Choi, School of Electrical Eng. Phone: 3290-3249, 공학관 411, lchoi@korea.ac.kr, TA: 윤창현 / 신동욱, 3290-3896,

More information

Course overview Computer system structure and operation

Course overview Computer system structure and operation Computer Architecture Week 01 Course overview Computer system structure and operation College of Information Science and Engineering Ritsumeikan University reference information course web site: http://www.ritsumei.ac.jp/~piumarta/ca/

More information

FUNCTIONS OF COMPONENTS OF A PERSONAL COMPUTER

FUNCTIONS OF COMPONENTS OF A PERSONAL COMPUTER FUNCTIONS OF COMPONENTS OF A PERSONAL COMPUTER Components of a personal computer - Summary Computer Case aluminium casing to store all components. Motherboard Central Processor Unit (CPU) Power supply

More information

Week 1. Introduction to Microcomputers and Microprocessors, Computer Codes, Programming, and Operating Systems

Week 1. Introduction to Microcomputers and Microprocessors, Computer Codes, Programming, and Operating Systems Week 1 Introduction to Microcomputers and Microprocessors, Computer Codes, Programming, and Operating Systems 2 Introduction to Microcomputers/ Stored Program C 3 Stored Program Concept There are three

More information

ELEC / Computer Architecture and Design Fall 2013 Instruction Set Architecture (Chapter 2)

ELEC / Computer Architecture and Design Fall 2013 Instruction Set Architecture (Chapter 2) ELEC 5200-001/6200-001 Computer Architecture and Design Fall 2013 Instruction Set Architecture (Chapter 2) Victor P. Nelson, Professor & Asst. Chair Vishwani D. Agrawal, James J. Danaher Professor Department

More information

ECE232: Hardware Organization and Design

ECE232: Hardware Organization and Design ECE232: Hardware Organization and Design Lecture 2: Hardware/Software Interface Adapted from Computer Organization and Design, Patterson & Hennessy, UCB Overview Basic computer components How does a microprocessor

More information

BASIC COMPUTER ORGANIZATION. Operating System Concepts 8 th Edition

BASIC COMPUTER ORGANIZATION. Operating System Concepts 8 th Edition BASIC COMPUTER ORGANIZATION Silberschatz, Galvin and Gagne 2009 Topics CPU Structure Registers Memory Hierarchy (L1/L2/L3/RAM) Machine Language Assembly Language Running Process 3.2 Silberschatz, Galvin

More information

CSE 141 Computer Architecture Spring Lecture 3 Instruction Set Architecute. Course Schedule. Announcements

CSE 141 Computer Architecture Spring Lecture 3 Instruction Set Architecute. Course Schedule. Announcements CSE141: Introduction to Computer Architecture CSE 141 Computer Architecture Spring 2005 Lecture 3 Instruction Set Architecute Pramod V. Argade April 4, 2005 Instructor: TAs: Pramod V. Argade (p2argade@cs.ucsd.edu)

More information

Lecture Objectives. Introduction to Computing Chapter 0. Topics. Numbering Systems 04/09/2017

Lecture Objectives. Introduction to Computing Chapter 0. Topics. Numbering Systems 04/09/2017 Lecture Objectives Introduction to Computing Chapter The AVR microcontroller and embedded systems using assembly and c Students should be able to: Convert between base and. Explain the difference between

More information

1. Fundamental Concepts

1. Fundamental Concepts 1. Fundamental Concepts 1.1 What is a computer? A computer is a data processing machine which is operated automatically under the control of a list of instructions (called a program) stored in its main

More information

Instructions: MIPS arithmetic. MIPS arithmetic. Chapter 3 : MIPS Downloaded from:

Instructions: MIPS arithmetic. MIPS arithmetic. Chapter 3 : MIPS Downloaded from: Instructions: Chapter 3 : MIPS Downloaded from: http://www.cs.umr.edu/~bsiever/cs234/ Language of the Machine More primitive than higher level languages e.g., no sophisticated control flow Very restrictive

More information

Full file at

Full file at Computers Are Your Future, 12e (LaBerta) Chapter 2 Inside the System Unit 1) A byte: A) is the equivalent of eight binary digits. B) represents one digit in the decimal numbering system. C) is the smallest

More information

Chapter 1. EE380, Fall Hank Dietz.

Chapter 1. EE380, Fall Hank Dietz. Chapter 1 EE380, Fall 2012 Hank Dietz http://aggregate.org/hankd/ Course Overview Instruction Set Design, by Architect Machine & Assembly Languages Computer Architecture Instruction Set Architecture/Processor

More information