Marie_Chapter4

Marie_Chapter4 - Outline MARIE: An Introduction to a Simple...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
1 CS 3401 Comp. Org. & Assembly MARIE -- Chapter 4 1 MARIE: An Introduction to a Simple Computer CS 3401 Comp. Org. & Assembly MARIE -- Chapter 4 2 Outline Learn the components common to every modern computer system. Be able to explain how each component contributes to program execution. Understand a simple architecture invented to illuminate these basic concepts, and how it relates to some real architectures. Know how the program assembly process works. CS 3401 Comp. Org. & Assembly MARIE -- Chapter 4 3 4.1 Introduction Chapter 1 presented a general overview of computer systems. In Chapter 2, we discussed how data is stored and manipulated by various computer system components. Chapter 3 described the fundamental components of digital circuits. Having this background, we can now understand how computer components work, and how they fit together to create useful computer systems. CS 3401 Comp. Org. & Assembly MARIE -- Chapter 4 4 4.1.1 CPU Basic Organization The computer’s CPU fetches, decodes, and executes program instructions. The two principal parts of the CPU are the datapath and the control unit. – The datapath consists of an arithmetic-logic unit and storage units (registers) that are interconnected by a data bus that is also connected to main memory. – Various CPU components perform sequenced operations according to signals provided by its control unit.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 CS 3401 Comp. Org. & Assembly MARIE -- Chapter 4 5 4.1.1 CPU Basic Organization Registers hold data that can be readily accessed by the CPU. They can be implemented using D flip-flops. – A 32 - bit register requires 32 D flip -f lops. The arithmetic-logic unit (ALU) carries out logical and arithmetic operations as directed by the control unit. The control unit determines which actions to carry out according to the values in a program counter register and a status register. CS 3401 Comp. Org. & Assembly MARIE -- Chapter 4 6 4.1.2 The BUS The CPU shares data with other system components by way of a data bus. – A bus is a set of wires that simultaneously convey a single bit along each line. Two types of buses are commonly found in computer systems: point-to-point, and multipoint buses. This is a point-to-point bus configuration: CS 3401 Comp. Org. & Assembly MARIE -- Chapter 4 7 4.1.2 The BUS Buses consist of data lines, control lines, and address lines. While the data lines convey bits from one device to another, control lines determine the direction of data flow, and when each device can access the bus. Address lines determine the location of the source or destination of the data. CS 3401 Comp. Org. & Assembly MARIE -- Chapter 4 8 4.1.2 The BUS
Background image of page 2
3 CS 3401 Comp. Org. & Assembly MARIE -- Chapter 4 9 4.1.2 The BUS A multipoint bus is shown below. Because a multipoint bus is a shared resource,
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/06/2010 for the course CS it666 taught by Professor Tony during the Spring '06 term at 東京大学.

Page1 / 15

Marie_Chapter4 - Outline MARIE: An Introduction to a Simple...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online