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

Size: px
Start display at page:

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

Transcription

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 Neumann architectures INVITATION TO Computer Science 1 Invitation to Computer Science, 6th Edition, modified by SJF, fall Objectives After studying this chapter, students will be able to: Enumerate the characteristics of the Von Neumann architecture escribe the components of a RAM system, including how fetch and store operations work, and the use of cache memory to speed up access time Explain why mass storage devices are important, and how ASs like hard drives or Vs work iagram the components of a typical ALU and illustrate how the ALU data path operates Invitation to Computer Science, 6th Edition, modified by SJF, fall Objectives (continued) After studying this chapter, students will be able to: escribe the control unit s Von Neumann cycle, and explain how it implements a stored program List and explain the types of instructions and how they are encoded iagram the components of a typical Von Neumann machine Show the sequence of steps in the fetch, decode, and execute cycle to perform a typical instruction escribe non-von Neumann parallel processing systems Invitation to Computer Science, 6th Edition, modified by SJF, fall Introduction This chapter changes the level of abstraction Focus on functional units and computer organization A hierarchy of abstractions hides unneeded details Change focus from transistors, to gates, to circuits as the basic unit Invitation to Computer Science, 6th Edition, modified by SJF, fall Invitation to Computer Science, 6th Edition, modified by SJF, fall

2 The Components of a Computer System Von Neumann architecture Foundation for nearly all modern computers Characteristics: Central Processing Unit (CPU) memory input/output arithmetic/logic unit control unit Stored program concept Sequential execution of instructions Invitation to Computer Science, 6th Edition, modified by SJF, fall Invitation to Computer Science, 6th Edition, modified by SJF, fall volatile RAM nonvolatile Memory Hierarchy Fast, Expensive, Small Slow, Cheap, Large Memory and Cache Information is stored and fetched from memory: Read only Memory (ROM) built in memory that can only be read and not written to Random Access Memory (RAM)- maps addresses to memory locations Cache memory keeps values currently in use in faster memory to speed access times Invitation to Computer Science, 6th Edition, modified by SJF, fall Invitation to Computer Science, 6th Edition, modified by SJF, fall The Components of a Computer System Memory and Cache (continued) Memory: functional unit where data is stored/retrieved Read Only Memory (ROM) can only be read Random access memory (RAM) Organized into cells, each given a unique address Equal time to access any cell Cell values may be read and changed Cell size/memory width typically 8 bits Maximum memory size/address space is 2 N, where N is length of address Largest memory address is 2 n -1 Invitation to Computer Science, 6th Edition, modified by SJF, fall Invitation to Computer Science, 6th Edition, modified by SJF, fall

3 Memory and Cache (continued) Parts of the memory subsystem Fetch/store controller Fetch: retrieve a value from memory (load operation) Store: store a value into memory Memory address register (MAR) Memory data register (MR) Memory cells, with decoder(s) to select individual cells Invitation to Computer Science, 6th Edition, modified by SJF, fall Invitation to Computer Science, 6th Edition, modified by SJF, fall The Components of a Computer System Memory and Cache (continued) Fetch: retrieve from memory (nondestructive fetch) Store: write to memory (destructive store) Memory access time time required to fetch/store Modern RAM requires 5-10 nanoseconds MAR holds memory address to access MR receives data from fetch, holds data to be stored The Components of a Computer System Memory and Cache (continued) Memory system circuits: decoder and fetch/store controller ecoder converts MAR into signal to a specific memory cell One-dimensional versus two-dimensional memory organization Fetch/Store controller = traffic cop for MR Takes in a signal that indicates fetch or store Routes data flow to/from memory cells and MR Invitation to Computer Science, 6th Edition, modified by SJF, fall Invitation to Computer Science, 6th Edition, modified by SJF, fall Memory and Cache (continued) Fetch operation (read) Load the address into the MAR ecode the address in the MAR Copy the contents of that memory location into the MR Memory and Cache (continued) Store operation (write) The address of the cell where the value should go is placed in the MAR Load the new value into the MR ecode the address in the MAR Store the contents of the MR into that memory location. Invitation to Computer Science, 6th Edition, modified by SJF, fall Invitation to Computer Science, 6th Edition, modified by SJF, fall

4 Memory and Cache (continued) Memory register Very fast memory location Given a name, not an address (e.g., R1, PC, IR, MAR) Serves some special purpose (e.g., accumulator) Modern computers have dozens or even hundreds of registers Invitation to Computer Science, 6th Edition, modified by SJF, fall Invitation to Computer Science, 6th Edition, modified by SJF, fall Invitation to Computer Science, 6th Edition, modified by SJF, fall Invitation to Computer Science, 6th Edition, modified by SJF, fall The Components of a Computer System Memory and Cache (continued) RAM speeds increased more slowly than CPU speeds - use the fastest memory to keep up with CPU Registers are fastest but very expensive Cache memory is fast but expensive Principle of locality: Values close to recently accessed memory are more likely to be accessed Load neighbors into cache and keep recent there Cache hit rate: percentage of times values are found in cache The Components of a Computer System Input/Output and Mass Storage Input/Output (I/O) connects the processor to the outside world: Humans: keyboard, monitor, etc. ata storage: hard drive, V, flash drive Other computers: network RAM = volatile memory (gone without power) Mass storage systems = nonvolatile memory irect access storage devices (ASs) Sequential access storage devices (SASs) Invitation to Computer Science, 6th Edition, modified by SJF, fall Invitation to Computer Science, 6th Edition, modified by SJF, fall

5 Input/Output and Mass Storage (continued) Volatile storage Information disappears when the power is turned off Example: RAM, cache, registers Nonvolatile storage Information does not disappear when the power is turned off Example: mass storage devices such as flash drives, disks and tapes Input/Output and Mass Storage (continued) irect access storage devices ata stored on a spinning disk isk divided into concentric rings (tracks) and subdivisions (sectors) Read/write head moves from one ring to another while disk spins Access time depends on: Time to move head to correct sector (seek time) Time for sector to spin to data location (rotational latency) Invitation to Computer Science, 6th Edition, modified by SJF, fall Invitation to Computer Science, 6th Edition, modified by SJF, fall The Components of a Computer System I/O and Mass Storage (continued) ASs Hard drives, Cs, Vs contain disks Tracks: concentric rings around disk surface Sectors: fixed size segments of tracks, unit of retrieval Time to retrieve data based on: seek time latency transfer time Other non-disk ASs: flash memory, optical Invitation to Computer Science, 6th Edition, modified by SJF, fall Invitation to Computer Science, 6th Edition, modified by SJF, fall Access time Seek time time to position the read/write head over the correct track Latency- time needed for the correct sector to rotate under the read/write head Transfer time- time to read or write the data Best Worst Average Seek Time Latency Transfer time Total The Components of a Computer System I/O and Mass Storage (continued) ASs and SASs are orders of magnitude slower than RAM: (microseconds or milliseconds) I/O Controller manages data transfer with slow I/O devices, freeing processor to do other work Controller sends an interrupt signal to processor when I/O task is done Average is half the number of tracks or half a revolution Invitation to Computer Science, 6th Edition, modified by SJF, fall Invitation to Computer Science, 6th Edition, modified by SJF, fall

6 The Arithmetic/Logic Unit (ALU) The ALU performs arithmetic and logical operations and is located on the processor chip. The ALU includes: The registers The ALU circuitry The interconnections These components are called the data path Invitation to Computer Science, 6th Edition, modified by SJF, fall Invitation to Computer Science, 6th Edition, modified by SJF, fall The Components of a Computer System The Arithmetic/Logic Unit ALU is part of central processing unit (CPU) Contains circuits for arithmetic: addition, subtraction, multiplication, division Contains circuits for comparison and logic: equality, and, or, not Contains registers: super-fast, dedicated memory connected to circuits ata path: how information flows in ALU from registers to circuits from circuits back to registers Invitation to Computer Science, 6th Edition, modified by SJF, fall The Arithmetic/Logic Unit (ALU) Actual computations are performed Primitive operation circuits Arithmetic (A, etc.) Comparison (CE, etc.) Logic (AN, etc.) ata inputs and results are stored in registers Invitation to Computer Science, 6th Edition, modified by SJF, fall Invitation to Computer Science, 6th Edition, modified by SJF, fall Invitation to Computer Science, 6th Edition, modified by SJF, fall

7 The Components of a Computer System The ALU (continued) How to choose which operation to perform? Option 1: decoder signals one circuit to run Option 2: run all circuits, multiplexor selects one output from all circuits In practice, option 2 is usually chosen Information flow: ata comes in from outside ALU to registers Signal comes to multiplexor, which operation Result goes back to register, and then to outside The Arithmetic/Logic Unit (continued) ALU process Values for operations are copied into ALU s input register locations All circuits compute results for those inputs Multiplexor selects the one desired result from all values Result value is copied to desired result register Invitation to Computer Science, 6th Edition, modified by SJF, fall Invitation to Computer Science, 6th Edition, modified by SJF, fall Multiplexor A multiplexor is a control circuit that selects one of the input lines to allow its value to be output. To do so, it uses the selector lines to indicate which input line to select. A multiplexor It has 2 N input lines, N selector lines and one output. The N selector lines are set to 0s or 1s. When the values of the N selector lines are interpreted as a binary number, they represent the number of the input line that must be selected. With N selector lines you can represent numbers between 0 and 2 N -1. The single output is the value on the line represented by the number formed by the selector lines. Invitation to Computer Science, 6th Edition, modified by SJF, fall Invitation to Computer Science, 6th Edition, modified by SJF, fall Multiplexor Circuit 2 N input lines N -1 multiplexor circuit..... N selector lines Interpret the selector lines as a binary number. output Suppose that the selector line writes the number which is equal to 1. Invitation to Computer Science, 6th Edition, modified by SJF, fall2012 For our example, the output is the value on the line numbered 1 41 Multiplexor Circuit (continued) multiplexor with N=1 0 1 A multiplexor can be built with AN-OR-NOT gates Invitation to Computer Science, 6th Edition, modified by SJF, fall

8 The Control Unit Manages stored program execution- the fundamental characteristic of the Von Neumann Architecture Task (called the machine cycle) Fetch from memory the next instruction to be executed ecode: determine what is to be done Execute: issue appropriate command to ALU, memory, and I/O controllers Invitation to Computer Science, 6th Edition, modified by SJF, fall Invitation to Computer Science, 6th Edition, modified by SJF, fall The Components of a Computer System The Control Unit Stored program characteristic: Programs are encoded in binary and stored in computer s memory Control unit fetches instructions from memory, decodes them, and executes them Instructions encoded: Operation code (op code) tells which operation Addresses tell which memory addresses/registers to operate on Invitation to Computer Science, 6th Edition, modified by SJF, fall R RECALL: THE ARITHMETIC/LOGIC UNIT USES A MULTIPLEOR Other registers AL1 AL2 Register R circuits multiplexor ALU selector lines condition code register GtT EQ LT output (In the lab you will see where this will go) Invitation to Computer Science, 6th Edition, modified by SJF, fall Machine Language Instructions Are all binary Can be decoded and executed by control unit Parts of instructions Operation code (op code) Unique unsigned-integer code assigned to each machine language operation Address field(s) Memory addresses of the values on which operation will work Invitation to Computer Science, 6th Edition, modified by SJF, fall Invitation to Computer Science, 6th Edition, modified by SJF, fall

9 The Components of a Computer System The Control Unit (continued) Machine language: Binary strings that encode instructions Instructions can be carried out by hardware Sequences of instructions encode algorithms Instruction set: The instructions implemented by a particular chip Each kind of processor speaks a different language Invitation to Computer Science, 6th Edition, modified by SJF, fall Machine Language Instruction A, Y (add contents of addresses, Y and put sum back in Y) Assume that the op code for A is 9 and and Y correspond to addresses 99 and 100 (in decimal values) This is how the instruction would appear in memory Op code Address Address Y Bits Add Y Invitation to Computer Science, 6th Edition, modified by SJF, fall Instruction Set Set of all operations that can be executed by a processor no general agreement. This is why a Power Mac cannot directly run programs designed for an Intel Pentium 4 RISC reduced instruction set computers have limited and simple instruction sets (30-50 instructions), each instruction runs faster CISC complex instruction set computers are more complex, more expensive, more difficult to build ( instructions) Most modern machine use a combination Invitation to Computer Science, 6th Edition, modified by SJF, fall The Components of a Computer System The Control Unit (continued) RISC machines and CISC machines Reduced instruction set computers (RISC): small instruction sets each instruction highly optimized easy to design hardware Complex instruction set computers (CISC): large instruction set single instruction can do a lot of work complex to design hardware Modern hardware: some RISC and some CISC Invitation to Computer Science, 6th Edition, modified by SJF, fall The Components of a Computer System The Control Unit (continued) Kinds of instructions: ata transfer, e.g., move data from memory to register Arithmetic, e.g., add, but also and Comparison, compare two values Branch, change to a non-sequential instruction Branching allows for conditional and loop forms E.g., JUMPLT a = If previous comparison of A and B found A < B, then jump to instruction at address a Invitation to Computer Science, 6th Edition, modified by SJF, fall Operations Available Arithmetic Operations load store clear add increment subtract decrement I/0 Operations in out Logic/Control Operations compare jump jumpgt jumpeq jumplt jumpneq halt There is a different Operation Code (OpCode) for each Operation Invitation to Computer Science, 6th Edition, modified by SJF, fall

10 Machine Language Instructions (continued) Operations of machine language Instruction Set for Our Machine ata transfer Move values to and from memory and registers Arithmetic/logic Perform ALU operations that produce numeric values Compares Set bits of compare register to hold result Branches Jump to a new memory address to continue processing Invitation to Computer Science, 6th Edition, modified by SJF, fall Invitation to Computer Science, 6th Edition, modified by SJF, fall The Components of a Computer System The Control Unit (continued) A Choose larger Control unit contains: Program counter (PC) register: holds address of next instruction Instruction register (IR): holds encoding of current instruction Instruction decoder circuit ecodes op code of instruction, and signals helper circuits, one per instruction Helpers send addresses to proper circuits Helpers signal ALU, I/O controller, memory Invitation to Computer Science, 6th Edition, modified by SJF, fall Invitation to Computer Science, 6th Edition, modified by SJF, fall Invitation to Computer Science, 6th Edition, modified by SJF, fall Invitation to Computer Science, 6th Edition, modified by SJF, fall

11 Putting the Pieces Together---the Von Neumann Architecture Combine previous pieces: Von Neumann machine Subsystems are connected by a bus (wires that permit data transfer) Fetch-ecode-Execute cycle machine repeats until HALT instruction or error also called Von Neumann cycle Fetch phase: get next instruction into memory ecode phase: instruction decoder gets op code Execute phase: different for each instruction Invitation to Computer Science, 6th Edition, modified by SJF, fall Invitation to Computer Science, 6th Edition, modified by SJF, fall Putting the Pieces Together---the Von Neumann Architecture (continued) Notation for computer s behavior: CON(A) A -> B FETCH STORE A Contents of memory cell A Send value in register A to register B (special registers: PC, MAR, MR, IR, ALU, R, GT, EQ, LT, +1) Initiate a memory fetch operation Initiate a memory store operation Instruct the ALU to select the output of the adder circuit SUBTRACT Instruct the ALU to select the output of the subtract circuit Putting the Pieces Together---the Von Neumann Architecture (continued) Fetch phase: 1. PC -> MAR Send address in PC to MAR 2. FETCH Initiate Fetch, data to MR 3. MR -> IR Move instruction in MR to IR 4. PC + 1 -> PC Add one to PC ecode phase: 1. IR op -> instruction decoder Invitation to Computer Science, 6th Edition, modified by SJF, fall Invitation to Computer Science, 6th Edition, modified by SJF, fall ) After a fetch, the PC is incremented by 1. The Control Unit PC +1 4) The decoder sends out signals for execution 2) The fetch places the instruction in the IR. IR address instruction decoder 5) As all instructions use the address, except for halt, the address is sent to either the MAR or PC- which depends on the instruction. line 9 3) The opcode is sent to the decoder enable add Invitation to Computer Science, 6th Edition, modified by SJF, fall Invitation to Computer Science, 6th Edition, modified by SJF, fall

12 Putting the Pieces Together---the Von Neumann Architecture (continued) LOA meaning CON() -> R 1. IR addr -> MAR Send address to MAR 2. FETCH Initiate Fetch, data to MR 3. MR -> R Move data in MR to R STORE meaning R -> CON() 1. IR addr -> MAR Send address to MAR 2. R -> MR Send data in R to MR 3. STORE Initiate store of MR to See animated examples at end Invitation to Computer Science, 6th Edition, modified by SJF, fall Putting the Pieces Together---the Von Neumann Architecture (continued) A meaning R + CON() -> R 1. IR addr -> MAR Send address to MAR 2. FETCH Initiate Fetch, data to MR 3. MR -> ALU Send data in MR to ALU 4. R -> ALU Send data in R to ALU 5. A Select A circuit as result 6. ALU -> R Copy selected result to R JUMP meaning get next instruction from 1. IR addr -> PC Send address to PC Invitation to Computer Science, 6th Edition, modified by SJF, fall Putting the Pieces Together---the Von Neumann Architecture (continued) COMPARE meaning: if CON() > R then GT = 1 else 0 if CON() = R then EQ = 1 else 0 if CON() < R then LT = 1 else 0 1. IR addr -> MAR Send address to MAR 2. FETCH Initiate Fetch, data to MR 3. MR -> ALU Send data in MR to ALU 4. R -> ALU Send data in R to ALU 5. SUBTRACT Evaluate CON() R Sets EQ, GT, and LT Invitation to Computer Science, 6th Edition, modified by SJF, fall Putting the Pieces Together---the Von Neumann Architecture (continued) JUMPGT meaning: if GT = 1 then jump to else continue to next instruction 1. IF GT = 1 THEN IR addr -> PC Invitation to Computer Science, 6th Edition, modified by SJF, fall Non-Von Neumann Architectures Physical limits on speed Problems to solve are always larger Computer chip speeds no longer increase exponentially Reducing size puts gates closer together, faster Speed of light pertains to signals through wire Cannot put gates much closer together Heat production increases too fast Von Neumann bottleneck: inability of sequential machines to handle larger problems Invitation to Computer Science, 6th Edition, modified by SJF, fall Invitation to Computer Science, 6th Edition, modified by SJF, fall

13 Non-Von Neumann Architectures (continued) Non-Von Neumann architectures: Other ways to organize computers Most are experimental/theoretical, ECEPT parallel processing Parallel processing: Use many processing units operating at the same time Supercomputers (in the past) esktop multi-core machines (in the present) The cloud (in the future) Non-Von Neumann Architectures (continued) SIM parallel processing: Single Instruction stream/multiple ata streams Processor contains one control unit, but many ALUs Each ALU operates on its own data All ALUs perform exactly the same instruction at the same time Older supercomputers, vector operations (sequences of numbers) Invitation to Computer Science, 6th Edition, modified by SJF, fall Invitation to Computer Science, 6th Edition, modified by SJF, fall Non-Von Neumann Architectures (continued) MIM parallel processing or clusters: Multiple Instruction streams/multiple ata streams Replicate whole processors, each doing its own thing in parallel Communication over interconnection network Off-the-shelf processors work fine Scalable: can always add more processors cheaply Communication costs can slow performance Invitation to Computer Science, 6th Edition, modified by SJF, fall Invitation to Computer Science, 6th Edition, modified by SJF, fall MIM MIM computing is also scalable. Scalable means that (theoretically) it is possible to match the number of processors to the size of the problem. Massively parallel computers contain 10,000+ processors Grid computing- combining computing resources at multiple locations to solve a single problem Invitation to Computer Science, 6th Edition, modified by SJF, fall Invitation to Computer Science, 6th Edition, modified by SJF, fall

14 Non-Von Neumann Architectures (continued) Varieties of MIM systems: Special-purpose systems, newer supercomputers Cluster computing, standard machines communicating over LAN or WAN Grid computing, machines of varying power, over large distances/internet Example: SETI project e infothome.ssl.berkeley.edu Hot research are: parallel algorithms Need to take advantage of all this processing power Cloud computing Invitation to Computer Science, 6th Edition, modified by SJF, fall Internet based computing where shared Invitation to Computer resources Science, are 6th Edition, provided modified by on SJF, demand. fall Quantum Computing Quantum computing is based on the properties of matter at the atomic and subatomic level. It uses qubits (quantum bits) to represent data and perform operations. Research is being done to use these computers for security and cryptanalysis. Invitation to Computer Science, 6th Edition, modified by SJF, fall Summary of Level 2 Focus on how to design and build computer systems Chapter 4 Binary codes Transistors Gates Circuits Chapter 5 Von Neumann architecture Shortcomings of the sequential model of computing Parallel computers Summary We must abstract in order to manage system complexity Von Neumann architecture is standard for modern computing Von Neumann machines have memory, I/O, ALU, and control unit; programs are stored in memory; execution is sequential unless program says otherwise Memory is organized into addressable cells; data is fetched and stored based on MAR and MR; uses decoder and fetch/store controller Summary (continued) Mass data storage is nonvolatile; disks store and fetch sectors of data stored in tracks I/O is slow, needs dedicated controller to free CPU ALU performs computations, moving data to/from dedicated registers Control unit fetches, decodes, and executes instructions; instructions are written in machine language Parallel processing architectures can perform multiple instructions at one time Invitation to Computer Science, 6th Edition, modified by SJF, fall Invitation to Computer Science, 6th Edition, modified by SJF, fall

15 Some Interesting Resources Massively Parallel Systems Grid computing Using the grid to benefit humanity Some Interesting Resources Cloud computing Quantum computing Invitation to Computer Science, 6th Edition, modified by SJF, fall Invitation to Computer Science, 6th Edition, modified by SJF, fall Examples of instructions: LOA STORE f s LOA STORE A INCREMENT f E+ E E+ E ALU1 & ALU2 E+ A +1 INC

16 COMPARE (assume > E) JUMP f E E ALU1 & ALU2 COM JUMP JUMPLT JUMPLT JUMPLT JUMPLT Similarly for condition code of IN OUT s f IN OUT

Chapter 5: Computer Systems Organization. Invitation to Computer Science, C++ Version, Third Edition

Chapter 5: Computer Systems Organization. Invitation to Computer Science, C++ Version, Third Edition Chapter 5: Computer Systems Organization Invitation to Computer Science, C++ Version, Third Edition Objectives In this chapter, you will learn about: The components of a computer system Putting all the

More information

Chapter 5: Computer Systems Organization

Chapter 5: Computer Systems Organization Objectives Chapter 5: Computer Systems Organization Invitation to Computer Science, C++ Version, Third Edition In this chapter, you will learn about: The components of a computer system Putting all the

More information

CS1004: Intro to CS in Java, Spring 2005

CS1004: Intro to CS in Java, Spring 2005 CS1004: Intro to CS in Java, Spring 2005 Lecture #10: Computer architecture Janak J Parekh janak@cs.columbia.edu HW#2 due Tuesday Administrivia Mass Storage RAM is volatile Not useful for permanent storage,

More information

The Von Neumann Architecture. Designing Computers. The Von Neumann Architecture. CMPUT101 Introduction to Computing - Spring 2001

The Von Neumann Architecture. Designing Computers. The Von Neumann Architecture. CMPUT101 Introduction to Computing - Spring 2001 The Von Neumann Architecture Chapter 5.1-5.2 Von Neumann Architecture Designing Computers All computers more or less based on the same basic design, the Von Neumann Architecture! CMPUT101 Introduction

More information

Designing Computers. The Von Neumann Architecture. The Von Neumann Architecture. The Von Neumann Architecture

Designing Computers. The Von Neumann Architecture. The Von Neumann Architecture. The Von Neumann Architecture Chapter 5.1-5.2 Designing Computers All computers more or less based on the same basic design, the Von Neumann Architecture! Von Neumann Architecture CMPUT101 Introduction to Computing (c) Yngvi Bjornsson

More information

CMPUT101 Introduction to Computing - Summer 2002

CMPUT101 Introduction to Computing - Summer 2002 7KH9RQ1HXPDQQ$UFKLWHFWXUH Chapter 5.1-5.2 Von Neumann Architecture 'HVLJQLQJ&RPSXWHUV All computers more or less based on the same basic design, the Von Neumann Architecture! CMPUT101 Introduction to Computing

More information

Computer Architecture (part 2)

Computer Architecture (part 2) Computer Architecture (part 2) Topics: Machine Organization Machine Cycle Program Execution Machine Language Types of Memory & Access 2 Chapter 5 The Von Neumann Architecture 1 Arithmetic Logic Unit (ALU)

More information

The Von Neumann Architecture Odds and Ends. Designing Computers. The Von Neumann Architecture. CMPUT101 Introduction to Computing - Spring 2001

The Von Neumann Architecture Odds and Ends. Designing Computers. The Von Neumann Architecture. CMPUT101 Introduction to Computing - Spring 2001 The Von Neumann Architecture Odds and Ends Chapter 5.1-5.2 Von Neumann Architecture CMPUT101 Introduction to Computing (c) Yngvi Bjornsson & Vadim Bulitko 1 Designing Computers All computers more or less

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

CMPUT101 Introduction to Computing - Summer 2002

CMPUT101 Introduction to Computing - Summer 2002 7KH9RQ1HXPDQQ$UFKLWHFWXUH 2GGVDQG(QGV Chapter 5.1-5.2 Von Neumann Architecture CMPUT101 Introduction to Computing (c) Yngvi Bjornsson & Vadim Bulitko 1 'HVLJQLQJ&RPSXWHUV All computers more or less based

More information

CMPUT 101 with Solutions Quiz 2 (50 minutes) August 7, 2002

CMPUT 101 with Solutions Quiz 2 (50 minutes) August 7, 2002 CMPUT 101 with Solutions Quiz 2 (50 minutes) August 7, 2002 Last Name: First Name: Section: Instructor: B1 I. E. Leonard Instructions: Read carefully before proceeding. No calculators, books or other aids

More information

CMPUT 101 with Solutions Quiz 2 (50 minutes) November 16, 2000

CMPUT 101 with Solutions Quiz 2 (50 minutes) November 16, 2000 CMPUT 101 with Solutions Quiz 2 (50 minutes) November 16, 2000 Last Name: First Name: Section: Instructor: A6 Yngvi Bjornsson Instructions: Read carefully before proceeding. No calculators, books or other

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

Level 2: The Hardware World Chapters 4 and 5 (topics of other cs courses)

Level 2: The Hardware World Chapters 4 and 5 (topics of other cs courses) Level 2: The Hardware World Chapters 4 and 5 (topics of other cs courses) Invitation to Computer Science, Java Version, Third Edition Chapter 4: The Building Blocks: Binary Numbers, Boolean Logic, and

More information

CS 265. Computer Architecture. Wei Lu, Ph.D., P.Eng.

CS 265. Computer Architecture. Wei Lu, Ph.D., P.Eng. CS 265 Computer Architecture Wei Lu, Ph.D., P.Eng. Part 3: von Neumann Architecture von Neumann Architecture Our goal: understand the basics of von Neumann architecture, including memory, control unit

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

CMPUT 101 with Solutions Quiz 2 (50 minutes) November 7, 2003

CMPUT 101 with Solutions Quiz 2 (50 minutes) November 7, 2003 CMUT 101 with Solutions Quiz 2 (50 minutes) November 7, 2003 Last Name: First Name: Section: Instructor: A1 I. E. Leonard Instructions: Read carefully before proceeding. No calculators, books or other

More information

5 Computer Organization

5 Computer Organization 5 Computer Organization 5.1 Foundations of Computer Science ã Cengage Learning Objectives After studying this chapter, the student should be able to: q List the three subsystems of a computer. q Describe

More information

Von Neumann Architecture

Von Neumann Architecture Von Neumann Architecture Assist lecturer Donya A. Khalid Lecture 2 2/29/27 Computer Organization Introduction In 945, just after the World War, Jon Von Neumann proposed to build a more flexible computer.

More information

The CPU and Memory. How does a computer work? How does a computer interact with data? How are instructions performed? Recall schematic diagram:

The CPU and Memory. How does a computer work? How does a computer interact with data? How are instructions performed? Recall schematic diagram: The CPU and Memory How does a computer work? How does a computer interact with data? How are instructions performed? Recall schematic diagram: 1 Registers A register is a permanent storage location within

More information

Computer Architecture

Computer Architecture Computer Architecture Topics: Machine Organization Machine Cycle Program Execution Machine Language Types of Memory & Access Von Neumann Design 1) Two key ideas 1) The stored program concept 1) instructions

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

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

5 Computer Organization

5 Computer Organization 5 Computer Organization 5.1 Foundations of Computer Science Cengage Learning Objectives After studying this chapter, the student should be able to: List the three subsystems of a computer. Describe the

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

Computer Organization

Computer Organization Objectives 5.1 Chapter 5 Computer Organization Source: Foundations of Computer Science Cengage Learning 5.2 After studying this chapter, students should be able to: List the three subsystems of a computer.

More information

CS 31: Intro to Systems Digital Logic. Kevin Webb Swarthmore College February 3, 2015

CS 31: Intro to Systems Digital Logic. Kevin Webb Swarthmore College February 3, 2015 CS 31: Intro to Systems Digital Logic Kevin Webb Swarthmore College February 3, 2015 Reading Quiz Today Hardware basics Machine memory models Digital signals Logic gates Circuits: Borrow some paper if

More information

CS 31: Intro to Systems Digital Logic. Kevin Webb Swarthmore College February 2, 2016

CS 31: Intro to Systems Digital Logic. Kevin Webb Swarthmore College February 2, 2016 CS 31: Intro to Systems Digital Logic Kevin Webb Swarthmore College February 2, 2016 Reading Quiz Today Hardware basics Machine memory models Digital signals Logic gates Circuits: Borrow some paper if

More information

Introduction to Computer Science. Homework 1

Introduction to Computer Science. Homework 1 Introduction to Computer Science Homework. In each circuit below, the rectangles represent the same type of gate. Based on the input and output information given, identify whether the gate involved is

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

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

Show how to connect three Full Adders to implement a 3-bit ripple-carry adder

Show how to connect three Full Adders to implement a 3-bit ripple-carry adder Show how to connect three Full Adders to implement a 3-bit ripple-carry adder 1 Reg. A Reg. B Reg. Sum 2 Chapter 5 Computing Components Yet another layer of abstraction! Components Circuits Gates Transistors

More information

EE 3170 Microcontroller Applications

EE 3170 Microcontroller Applications EE 3170 Microcontroller Applications Lecture 4 : Processors, Computers, and Controllers - 1.2 (reading assignment), 1.3-1.5 Based on slides for ECE3170 by Profs. Kieckhafer, Davis, Tan, and Cischke Outline

More information

Dec Hex Bin ORG ; ZERO. Introduction To Computing

Dec Hex Bin ORG ; ZERO. Introduction To Computing Dec Hex Bin 0 0 00000000 ORG ; ZERO Introduction To Computing OBJECTIVES this chapter enables the student to: Convert any number from base 2, base 10, or base 16 to any of the other two bases. Add and

More information

CREATED BY M BILAL & Arslan Ahmad Shaad Visit:

CREATED BY M BILAL & Arslan Ahmad Shaad Visit: CREATED BY M BILAL & Arslan Ahmad Shaad Visit: www.techo786.wordpress.com Q1: Define microprocessor? Short Questions Chapter No 01 Fundamental Concepts Microprocessor is a program-controlled and semiconductor

More information

CS101 Lecture 25: The Machinery of Computation: Computer Architecture. John Magee 29 July 2013 Some material copyright Jones and Bartlett

CS101 Lecture 25: The Machinery of Computation: Computer Architecture. John Magee 29 July 2013 Some material copyright Jones and Bartlett CS101 Lecture 25: The Machinery of Computation: Computer Architecture John Magee 29 July 2013 Some material copyright Jones and Bartlett 1 Overview/Questions What did we do last time? Can we relate this

More information

Computer Organization and Assembly Language (CS-506)

Computer Organization and Assembly Language (CS-506) Computer Organization and Assembly Language (CS-506) Muhammad Zeeshan Haider Ali Lecturer ISP. Multan ali.zeeshan04@gmail.com https://zeeshanaliatisp.wordpress.com/ Lecture 2 Memory Organization and Structure

More information

CS 265. Computer Architecture. Wei Lu, Ph.D., P.Eng.

CS 265. Computer Architecture. Wei Lu, Ph.D., P.Eng. CS 265 Computer Architecture Wei Lu, Ph.D., P.Eng. Part 4: Memory Organization Our goal: understand the basic types of memory in computer understand memory hierarchy and the general process to access memory

More information

SAE5C Computer Organization and Architecture. Unit : I - V

SAE5C Computer Organization and Architecture. Unit : I - V SAE5C Computer Organization and Architecture Unit : I - V UNIT-I Evolution of Pentium and Power PC Evolution of Computer Components functions Interconnection Bus Basics of PCI Memory:Characteristics,Hierarchy

More information

Machine Architecture. or what s in the box? Lectures 2 & 3. Prof Leslie Smith. ITNP23 - Autumn 2014 Lectures 2&3, Slide 1

Machine Architecture. or what s in the box? Lectures 2 & 3. Prof Leslie Smith. ITNP23 - Autumn 2014 Lectures 2&3, Slide 1 Machine Architecture Prof Leslie Smith or what s in the box? Lectures 2 & 3 ITNP23 - Autumn 2014 Lectures 2&3, Slide 1 Basic Machine Architecture In these lectures we aim to: understand the basic architecture

More information

CS 265. Computer Architecture. Wei Lu, Ph.D., P.Eng.

CS 265. Computer Architecture. Wei Lu, Ph.D., P.Eng. CS 265 Computer Architecture Wei Lu, Ph.D., P.Eng. Part 3: von Neumann Architecture von Neumann Architecture Our goal: understand the basics of von Neumann architecture, including memory, control unit

More information

VON NEUMANN ARCHITECTURE. VON NEUMANN ARCHITECTURE IB DP Computer science Standard Level ICS3U

VON NEUMANN ARCHITECTURE. VON NEUMANN ARCHITECTURE 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.3 Putting all the Units Together the Von Neumann Architecture 5.4 s Von Neumann Architecture the four components that make up

More information

Chapter 1 Computer System Overview

Chapter 1 Computer System Overview Operating Systems: Internals and Design Principles Chapter 1 Computer System Overview Ninth Edition By William Stallings Operating System Exploits the hardware resources of one or more processors Provides

More information

Introduction to Computers - Chapter 4

Introduction to Computers - Chapter 4 Introduction to Computers - Chapter 4 Since the invention of the transistor and the first digital computer of the 1940s, computers have been increasing in complexity and performance; however, their overall

More information

CS Computer Architecture

CS Computer Architecture CS 35101 Computer Architecture Section 600 Dr. Angela Guercio Fall 2010 Computer Systems Organization The CPU (Central Processing Unit) is the brain of the computer. Fetches instructions from main memory.

More information

Computer System. Hiroaki Kobayashi 7/25/2011. Agenda. Von Neumann Model Stored-program instructions and data are stored on memory

Computer System. Hiroaki Kobayashi 7/25/2011. Agenda. Von Neumann Model Stored-program instructions and data are stored on memory Computer System Hiroaki Kobayashi 7/25/2011 7/25/2011 Computer Engineering 1 Agenda Basic model of modern computer systems Von Neumann Model Stored-program instructions and data are stored on memory Fundamental

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

Computer Fundamentals and Operating System Theory. By Neil Bloomberg Spring 2017

Computer Fundamentals and Operating System Theory. By Neil Bloomberg Spring 2017 Computer Fundamentals and Operating System Theory By Neil Bloomberg Spring 2017 INTRODUCTION This presentation will cover the fundamentals of Computer Operating Systems as a layered architecture using

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

ECE Lab 8. Logic Design for a Direct-Mapped Cache. To understand the function and design of a direct-mapped memory cache.

ECE Lab 8. Logic Design for a Direct-Mapped Cache. To understand the function and design of a direct-mapped memory cache. ECE 201 - Lab 8 Logic Design for a Direct-Mapped Cache PURPOSE To understand the function and design of a direct-mapped memory cache. EQUIPMENT Simulation Software REQUIREMENTS Electronic copy of your

More information

Advanced Parallel Architecture Lesson 3. Annalisa Massini /2015

Advanced Parallel Architecture Lesson 3. Annalisa Massini /2015 Advanced Parallel Architecture Lesson 3 Annalisa Massini - Von Neumann Architecture 2 Two lessons Summary of the traditional computer architecture Von Neumann architecture http://williamstallings.com/coa/coa7e.html

More information

CC411: Introduction To Microprocessors

CC411: Introduction To Microprocessors CC411: Introduction To Microprocessors OBJECTIVES this chapter enables the student to: Use number { base 2, base 10, or base 16 }. Add and subtract binary/hex numbers. Represent any binary number in 2

More information

Advanced Parallel Architecture Lesson 3. Annalisa Massini /2015

Advanced Parallel Architecture Lesson 3. Annalisa Massini /2015 Advanced Parallel Architecture Lesson 3 Annalisa Massini - 2014/2015 Von Neumann Architecture 2 Summary of the traditional computer architecture: Von Neumann architecture http://williamstallings.com/coa/coa7e.html

More information

CSC 553 Operating Systems

CSC 553 Operating Systems CSC 553 Operating Systems Lecture 1- Computer System Overview Operating System Exploits the hardware resources of one or more processors Provides a set of services to system users Manages secondary memory

More information

Chapter 2 Data Manipulation

Chapter 2 Data Manipulation Chapter 2 Data Manipulation Dr. Farzana Rahman Assistant Professor Department of Computer Science James Madison University 1 What the chapter is about? 2.1 Computer Architecture 2.2 Machine Language 2.3

More information

COMPUTER STRUCTURE AND ORGANIZATION

COMPUTER STRUCTURE AND ORGANIZATION COMPUTER STRUCTURE AND ORGANIZATION Course titular: DUMITRAŞCU Eugen Chapter 4 COMPUTER ORGANIZATION FUNDAMENTAL CONCEPTS CONTENT The scheme of 5 units von Neumann principles Functioning of a von Neumann

More information

C Functions and Pointers. C Pointers. CS270 - Fall Colorado State University. CS270 - Fall Colorado State University

C Functions and Pointers. C Pointers. CS270 - Fall Colorado State University. CS270 - Fall Colorado State University 1 C Pointers C unctions and Pointers 3 2 4 5 6 7 8 our-bit Adder Logical Completeness (Example)! Can implement ANY truth table with combo of AN, OR, NOT gates. Implementing a inite tate Machine (equential

More information

MARIE: An Introduction to a Simple Computer

MARIE: An Introduction to a Simple Computer MARIE: An Introduction to a Simple Computer 4.2 CPU Basics The computer s CPU fetches, decodes, and executes program instructions. The two principal parts of the CPU are the datapath and the control unit.

More information

Ceng 111 Fall 2015 Week 5b

Ceng 111 Fall 2015 Week 5b Ceng 111 Fall 2015 Week 5b Computer Organization Credit: Some slides are from the Invitation to Computer Science book by G. M. Schneider, J. L. Gersting and some from the Digital Design book by M. M. Mano

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

UNIT 2 Data Center Environment

UNIT 2 Data Center Environment UNIT 2 Data Center Environment This chapter provides an understanding of various logical components of hosts such as file systems, volume managers, and operating systems, and their role in the storage

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

Computer Organization

Computer Organization Chapter 5 Computer Organization Figure 5-1 Computer hardware :: Review Figure 5-2 CPU :: Review CPU:: Review Registers are fast stand-alone storage locations that hold data temporarily Data Registers Instructional

More information

Electricity: Voltage. Gate: A signal enters the gate at a certain voltage. The gate performs operations on it, and sends it out was a new signal.

Electricity: Voltage. Gate: A signal enters the gate at a certain voltage. The gate performs operations on it, and sends it out was a new signal. Hardware CSCE 101 Electricity: Voltage Gate: A signal enters the gate at a certain voltage. The gate performs operations on it, and sends it out was a new signal. The signals voltage will either be between

More information

CS 140 Introduction to Computing & Computer Technology. Computing Components

CS 140 Introduction to Computing & Computer Technology. Computing Components CS 140 Introduction to Computing & Computer Technology Computing Components We ve looked at the elementary building blocks of computers transistors, gates, and circuits OK, but how do computers really

More information

Summary of Computer Architecture

Summary of Computer Architecture Summary of Computer Architecture Summary CHAP 1: INTRODUCTION Structure Top Level Peripherals Computer Central Processing Unit Main Memory Computer Systems Interconnection Communication lines Input Output

More information

INTRODUCTION TO INFORMATION & COMMUNICATION TECHNOLOGY (ICT) LECTURE 2 : WEEK 2 CSC-111-T

INTRODUCTION TO INFORMATION & COMMUNICATION TECHNOLOGY (ICT) LECTURE 2 : WEEK 2 CSC-111-T INTRODUCTION TO INFORMATION & COMMUNICATION TECHNOLOGY (ICT) LECTURE 2 : WEEK 2 CSC-111-T Credit : (2 + 1) / Week 2 TEXT AND REF. BOOKS Text Book: Peter Norton (2011), Introduction to Computers, 7 /e,

More information

Basic Computer Architecture

Basic Computer Architecture Basic Computer Architecture Some of slides are referred to: [1] Basic Computer Architecture, slideshare. Yong Heui Cho @ Mokwon University Basic Computer Design 1. History of Computers 2. Introduction

More information

Chapter 1 Microprocessor architecture ECE 3120 Dr. Mohamed Mahmoud http://iweb.tntech.edu/mmahmoud/ mmahmoud@tntech.edu Outline 1.1 Computer hardware organization 1.1.1 Number System 1.1.2 Computer hardware

More information

what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored?

what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored? Inside the CPU how does the CPU work? what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored? some short, boring programs to illustrate the

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

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

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

Chapter 4. MARIE: An Introduction to a Simple Computer. Chapter 4 Objectives. 4.1 Introduction. 4.2 CPU Basics

Chapter 4. MARIE: An Introduction to a Simple Computer. Chapter 4 Objectives. 4.1 Introduction. 4.2 CPU Basics Chapter 4 Objectives Learn the components common to every modern computer system. Chapter 4 MARIE: An Introduction to a Simple Computer Be able to explain how each component contributes to program execution.

More information

Segment 1A. Introduction to Microcomputer and Microprocessor

Segment 1A. Introduction to Microcomputer and Microprocessor Segment 1A Introduction to Microcomputer and Microprocessor 1.1 General Architecture of a Microcomputer System: The term microcomputer is generally synonymous with personal computer, or a computer that

More information

Chapter One. Introduction to Computer System

Chapter One. Introduction to Computer System Principles of Programming-I / 131101 Prepared by: Dr. Bahjat Qazzaz -------------------------------------------------------------------------------------------- Chapter One Introduction to Computer System

More information

16.1. Unit 16. Computer Organization Design of a Simple Processor

16.1. Unit 16. Computer Organization Design of a Simple Processor 6. Unit 6 Computer Organization Design of a Simple Processor HW SW 6.2 You Can Do That Cloud & Distributed Computing (CyberPhysical, Databases, Data Mining,etc.) Applications (AI, Robotics, Graphics, Mobile)

More information

1.3 Data processing; data storage; data movement; and control.

1.3 Data processing; data storage; data movement; and control. CHAPTER 1 OVERVIEW ANSWERS TO QUESTIONS 1.1 Computer architecture refers to those attributes of a system visible to a programmer or, put another way, those attributes that have a direct impact on the logical

More information

Chapter 4. MARIE: An Introduction to a Simple Computer

Chapter 4. MARIE: An Introduction to a Simple Computer Chapter 4 MARIE: An Introduction to a Simple Computer Chapter 4 Objectives Learn the components common to every modern computer system. Be able to explain how each component contributes to program execution.

More information

The x86 Microprocessors. Introduction. The 80x86 Microprocessors. 1.1 Assembly Language

The x86 Microprocessors. Introduction. The 80x86 Microprocessors. 1.1 Assembly Language The x86 Microprocessors Introduction 1.1 Assembly Language Numbering and Coding Systems Human beings use the decimal system (base 10) Decimal digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 Computer systems use the

More information

MARIE: An Introduction to a Simple Computer

MARIE: An Introduction to a Simple Computer MARIE: An Introduction to a Simple Computer Outline Learn the components common to every modern computer system. Be able to explain how each component contributes to program execution. Understand a simple

More information

Chapter 6 Part 1 Understanding Hardware

Chapter 6 Part 1 Understanding Hardware Chapter 6 Part 1 Understanding Hardware CS10001- Computer Literacy Chapter 6: Understanding and Assessing Hardware 1 System Evaluation The subsystems to understand: CPU subsystem Memory subsystem Storage

More information

Micro-Operations. execution of a sequence of steps, i.e., cycles

Micro-Operations. execution of a sequence of steps, i.e., cycles Micro-Operations Instruction execution execution of a sequence of steps, i.e., cycles Fetch, Indirect, Execute & Interrupt cycles Cycle - a sequence of micro-operations Micro-operations data transfer between

More information

COA. Prepared By: Dhaval R. Patel Page 1. Q.1 Define MBR.

COA. Prepared By: Dhaval R. Patel Page 1. Q.1 Define MBR. Q.1 Define MBR. MBR( Memory buffer register) A Memory Buffer Register (MBR) is the register in a computers processor that stores the data being transferred to and from the devices It allowing the processor

More information

CS24: INTRODUCTION TO COMPUTING SYSTEMS. Spring 2017 Lecture 13

CS24: INTRODUCTION TO COMPUTING SYSTEMS. Spring 2017 Lecture 13 CS24: INTRODUCTION TO COMPUTING SYSTEMS Spring 2017 Lecture 13 COMPUTER MEMORY So far, have viewed computer memory in a very simple way Two memory areas in our computer: The register file Small number

More information

Memory General R0 Registers R1 R2. Input Register 1. Input Register 2. Program Counter. Instruction Register

Memory General R0 Registers R1 R2. Input Register 1. Input Register 2. Program Counter. Instruction Register CPU Organisation Central Processing Unit (CPU) Memory General R0 Registers R1 R2 ALU R3 Output Register Input Register 1 Input Register 2 Internal Bus Address Bus Data Bus Addr. $ 000 001 002 Program Counter

More information

Chapter 5 Computing Components

Chapter 5 Computing Components Chapter Goals Chapter 5 Computing Components Read an ad for a computer and understand the jargon List the components and their function in a von Neumann machine Describe the fetch-decode-execute cycle

More information

DC57 COMPUTER ORGANIZATION JUNE 2013

DC57 COMPUTER ORGANIZATION JUNE 2013 Q2 (a) How do various factors like Hardware design, Instruction set, Compiler related to the performance of a computer? The most important measure of a computer is how quickly it can execute programs.

More information

Chapter 1 : Introduction

Chapter 1 : Introduction Chapter 1 Introduction 1.1 Introduction A Microprocessor is a multipurpose programmable, clock driven, register based electronic device that reads binary instructions from a storage device called memory,

More information

The Memory Hierarchy 10/25/16

The Memory Hierarchy 10/25/16 The Memory Hierarchy 10/25/16 Transition First half of course: hardware focus How the hardware is constructed How the hardware works How to interact with hardware Second half: performance and software

More information

COSC 243. Computer Architecture 1. COSC 243 (Computer Architecture) Lecture 6 - Computer Architecture 1 1

COSC 243. Computer Architecture 1. COSC 243 (Computer Architecture) Lecture 6 - Computer Architecture 1 1 COSC 243 Computer Architecture 1 COSC 243 (Computer Architecture) Lecture 6 - Computer Architecture 1 1 Overview Last Lecture Flip flops This Lecture Computers Next Lecture Instruction sets and addressing

More information

3.3.3 Computer Architecture

3.3.3 Computer Architecture 3.3.3 Computer Architecture VON NEUMANN ARCHITECTURE (SISD) 1 FLYNN S TAXONOMY 1 THE COMPONENTS OF THE CPU 2 CONTROL UNIT - CU 3 ARITHMETIC AND LOGIC UNIT - ALU 3 INCREMENTER 3 THE REGISTERS OF THE CPU

More information

History. 3rd Generation- Integrated Circuits, Transistors (Integrated Circuit form) for Memory ( memory is now volatile), Terminal/Keyboard for I/O

History. 3rd Generation- Integrated Circuits, Transistors (Integrated Circuit form) for Memory ( memory is now volatile), Terminal/Keyboard for I/O Early History History Know what the contributions of Charles Babbage, Ada Lovelace, and Alan Turing were Know Babbages Analytical Machine, which was limited by current technology Know that Ada Lovelace

More information

Chapter 2 Lecture 1 Computer Systems Organization

Chapter 2 Lecture 1 Computer Systems Organization Chapter 2 Lecture 1 Computer Systems Organization This chapter provides an introduction to the components Processors: Primary Memory: Secondary Memory: Input/Output: Busses The Central Processing Unit

More information

CS429: Computer Organization and Architecture

CS429: Computer Organization and Architecture CS429: Computer Organization and Architecture Dr. Bill Young Department of Computer Sciences University of Texas at Austin Last updated: November 28, 2017 at 14:31 CS429 Slideset 18: 1 Random-Access Memory

More information

(Advanced) Computer Organization & Architechture. Prof. Dr. Hasan Hüseyin BALIK (4 th Week)

(Advanced) Computer Organization & Architechture. Prof. Dr. Hasan Hüseyin BALIK (4 th Week) + (Advanced) Computer Organization & Architechture Prof. Dr. Hasan Hüseyin BALIK (4 th Week) + Outline 2. The computer system 2.1 A Top-Level View of Computer Function and Interconnection 2.2 Cache Memory

More information

Chapter 3 - Top Level View of Computer Function

Chapter 3 - Top Level View of Computer Function Chapter 3 - Top Level View of Computer Function Luis Tarrataca luis.tarrataca@gmail.com CEFET-RJ L. Tarrataca Chapter 3 - Top Level View 1 / 127 Table of Contents I 1 Introduction 2 Computer Components

More information

THE MICROPROCESSOR Von Neumann s Architecture Model

THE MICROPROCESSOR Von Neumann s Architecture Model THE ICROPROCESSOR Von Neumann s Architecture odel Input/Output unit Provides instructions and data emory unit Stores both instructions and data Arithmetic and logic unit Processes everything Control unit

More information

CS429: Computer Organization and Architecture

CS429: Computer Organization and Architecture CS429: Computer Organization and Architecture Dr. Bill Young Department of Computer Sciences University of Texas at Austin Last updated: April 9, 2018 at 12:16 CS429 Slideset 17: 1 Random-Access Memory

More information

Chapter 4: The Building Blocks: Binary Numbers, Boolean Logic, and Gates. Invitation to Computer Science, C++ Version, Third Edition

Chapter 4: The Building Blocks: Binary Numbers, Boolean Logic, and Gates. Invitation to Computer Science, C++ Version, Third Edition Chapter 4: The Building Blocks: Binary Numbers, Boolean Logic, and Gates Invitation to Computer Science, C++ Version, Third Edition Objectives In this chapter, you will learn about: The binary numbering

More information