Monday, June 15, 2020

CPU, BUSES, REGISTERS

Architecture of the central processing unit (CPU)

This is a basic concept in computer science

A central processing unit (CPU) is the electronic circuitry within a computer that carries out the instructions of a computer program by performing the basic arithmetic, logical, control and input/output (I/O) operations specified by the instructions. 

CPU:

Below we see a simplified diagram describing the overall architecture of a CPU. You must be able to outline the architecture of the central processing unit (CPU) and the functions of the arithmetic logic unit (ALU) and the control unit (CU) and the registers within the CPU.

Cpu diagram.png


Please know and understand:

  • Memory holds both data and instructions
  • The arithmetic/logic gate unit is capable of performing arithmetic and logic operations on data
  • A processor register is a quickly accessible location available to a digital processor's central processing unit (CPU). Registers usually consist of a small amount of fast storage, although some registers have specific hardware functions, and may be read-only or write-only
  • The control unit controls the flow of data within the CPU - (which is the Fetch-Execute cycle)
  • Input arrives into a CPU via a bus
  • Output exits the CPU via a bus

Parts of a CPU:

  1. ALU - The arithmetic logic unit executes all calculations within the CPU
  2. CU - control unit, coordinates how data moves around

Registers : a memory location within the actual processor that work at very fast speeds. It stores instructions which await to be decoded or executed.

  1. PC - program counter - stores address of the -> next <- instruction in RAM
  2. MAR - memory address register - stores the address of the current instruction being executed
  3. MDR - memory data register - stores the data that is to be sent to or fetched from memory
  4. CIR - current instruction register - stores actual instruction that is being decoded and executed
  5. ACC - accumulator - stores result of calculations

Buses:

  1. address bus - carries the ADDRESS of the instruction or data
  2. data bus - carries data between processor and the memory
  3. control bus - sends control signals such as: memory read, memory write

Together, these buses may be referred to as the “system bus” or the “front-side bus”


No comments:

Post a Comment

e-rupee launch in India

 e-rupee launch in India भारतीय रिजर्व बैंक ने पायलट प्रोजेक्ट के रूप में मुद्रा ई - रूपी मंगलवार को लॉन्च कर दिया।  एसबीआई, आईसीआईसीआई, बैं...