Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter 1 Basic Structure of Computers. Chapter Outline computer types, structure, and operation instructions and programs numbers, arithmetic operations,

Similar presentations


Presentation on theme: "Chapter 1 Basic Structure of Computers. Chapter Outline computer types, structure, and operation instructions and programs numbers, arithmetic operations,"— Presentation transcript:

1 Chapter 1 Basic Structure of Computers

2 Chapter Outline computer types, structure, and operation instructions and programs numbers, arithmetic operations, and characters performance issues historical perspective

3 Types of computers Embedded computers Personal computers Servers and Enterprise systems Supercomputers and Grid computers “Cloud” computing

4 Functional units Input: Typical devices – keyboard, touchpad, mouse, microphone, camera, communication lines, the Internet Output: Typical devices – text and graphics displays, printers

5 Functional units Primary memory (also called Main memory) semiconductor bit cells, organized into words of typically 32 bits a 32-bit word contains four 8-bit bytes a personal computer memory might hold 2 to 4 Gigabytes (10 9 bytes) programs and their data must be in this memory to be executed

6 Functional units Secondary memory magnetic disks, optical disks, flash memory devices these devices are used to store program and data files a magnetic disk can store 500 or more Gigabytes

7 Functional units Cache memory an adjunct to the main memory, fabricated on the processor chip much smaller and faster than the main memory holds sections of the program and data currently being executed

8 Functional units Processor logic circuits for performing arithmetic and logic operations on word-size data operands timing and control circuits for fetching program instructions and data from memory, one after another registers (typically 16 or 32), each of which hold one word of operand data

9

10 Instructions and Programs An instruction specifies an operation and the locations of its data operands A 32-bit word typically holds one encoded instruction A sequence of instructions, executed one after another, constitutes a program Both a program and its data are stored in the main memory

11 Instruction types Three basic instruction types: Load - Read a data operand from memory or an input device into the processor Store - Write a data operand from a processor register to memory or an output device Operate - Perform an arithmetic or logic operation on data operands in processor registers

12 Example program A, B, and C, are labels representing memory word addresses ; Ri are processor registers A program for the calculation C = A + B is: LoadR2, A LoadR3, B AddR4, R2, R3 StoreR4, C

13 I/O Memory Reg File ALU Program Counter Instruction Register Control Interconnect Control 1)PC contains mem address of Instruction, 2)From memory, instr. loaded into IR reg 3)Control decodes instruction causing load, store, or arithmetic/logic operation 4)PC is then incremented, offset, or a new address is loaded


Download ppt "Chapter 1 Basic Structure of Computers. Chapter Outline computer types, structure, and operation instructions and programs numbers, arithmetic operations,"

Similar presentations


Ads by Google