Presentation is loading. Please wait.

Presentation is loading. Please wait.

HOW a Computer Works ? Anatomy of Microprocessor.

Similar presentations


Presentation on theme: "HOW a Computer Works ? Anatomy of Microprocessor."— Presentation transcript:

1 HOW a Computer Works ? Anatomy of Microprocessor

2 Microprocessor Millions of super-fast transistor switches control streams of binary data

3 CPU (Central Processing Unit) CPU runs Program Stored in Memory –typically RAM or ROM

4 Structure of Memory Memory stores Instructions and Data in an array of registers that can be accessed by a unique address value.

5 Binary (Machine) Instructions Instruction Structure Architecture (ISA) – User’s view of Microprocessor

6 Assembly Code Programming Language (Code) provides the required Algorithm: Assembly - low level C - higher level

7 Control Unit and ALU Digital Systems split into Data Path and Control Path

8 Data Registers ALU result stored in a Register (sometimes called Accumulator). Registers are controlled by the Set and Enable Signals from CU.

9 CPU System Bus CPU Registers belong to Data Path. They are attached to the CPU System Bus.

10 Registers Latch Data Data on Data Bus is changing fast. Registers hold the values captured at different times.

11 Instruction register (IR) At times System Bus carries Instructions... they are captured in IR for use by CU ↑ IR

12 Flags Register Flags: Zero (ZF), Carry (CF), Overflow (OV), Sign (SF) etc Flags Register stores the status following ALU operation:

13 Program Counter (PC) ↑ PC Program Counter holds the memory address of the current instruction

14 Memory Address Register (MAR) ↑ MAR MAR holds the memory address of the data to be fetched.

15 Conditional Instructions Conditional instructions provide the algorithmic Flow Control

16 Ports ↑ Interface to External World A Port normally involves a group of registers holding data and port configuration

17 Microprocessor Pins There is always shortage of pins, so some have multiple (configurable) options.

18 Motherboard

19 Non-volatile Storage Non-volatile memory keeps data even if power is off. Examples: ROM or FLASH ROM.

20 Hard Drive (HD) Hard Drive is a non-volatile storage medium. Unlike random addressable memory, HD uses data formatting so the processor cannot run any code stored on HD directly from there.

21 Computer System Microprocessor = CPU on a single IC chip Microcontroller = CPU + MEMORY + PORTS on a single IC chip


Download ppt "HOW a Computer Works ? Anatomy of Microprocessor."

Similar presentations


Ads by Google