Basics

b_book1.gif (162 bytes)CPU & Memory
Overview | CPU Features | CPU Areas (CU, ALU, Memory) | Memory (ROM, RAM) | Interaction (CPU, Memory) | CPU Performance (MHz, MIPS) | Power On Self Test | CISC/RISC/EPIC
l_stone.gif (2795 bytes)

Overview

[CPU chip]The Central Processing Unit (CPU) controls and manipulates data, and may be thought of as the "brain" of a computer. The main areas in a CPU are;
  • control unit (the manager)
  • ALU (the mathematician) and
  • Memory (Instructions and data Storage).

[CPU interation]


CPU features

[486DX 2/66 - ant-icipating!]
  • A unit containing chips that process data and executes basic instructions and calculations.
    • Controls the flow of data between all other components
    • Decides which path to take at each decision point in the program currently being run.
    • Rapidly executes a list of simple instructions and calculations
    • Responds to interrupts from the outside world.
    • Made up of three main areas;
      • Control Unit
      • Arithmetic and Logic Unit
      • Memory

CPU Main Areas (CU, ALU, Memory)

[CPU interation]

Control Unit

  • It directs the step-by-step operation of the entire computing system
  • fetches, decodes and executes machine language instructions by prompting ALU or I/O processor

Arithmetic and Logic Unit (ALU)

  • does comparisons, addition, subtraction, multiplication and division, fixed and floating point arithmetic when requested by CPU

Memory

  • Holds data and instructions after input until needed by the CPU. Inputs are received from Disk, Keyboard, Mouse, other peripherals

Memory

Read only Memory (ROM)

Random Access Memory (RAM) (includes Cache RAM)

[4MB 72pin SIMM]

4MB RAM 32bit (Non-parity) 72 pin SIMM (Single inline memory module)


Interaction

Central Processing Unit (CPU)

Memory

[CPU and socket]
  • The CPU keeps a copy in RAM of the data and instructions (program) that is currently being used.
  • When the data is changed and the CPU is asked to save it, then a copy of the new version of the file is sent to the disk for long term storage.
  • When a new program needs to be run then a copy of it is read from the disk to the RAM for the CPU to run it.
  • When a program requires data that was stored earlier, then the CPU reads a copy of it from the disk.

CPU performance measures

MHz, megahertz

MIPS

Since both measurements have their limitations, other measures are continually being developed;


Power on self test (POST)

1. PC switch turned on

2. Signal sent to CPU to clear registers

3. Program counter set to F000 (address of first instruction of a program in ROM (called BIOS)).

[Inside a PC system unit]

4. BIOS invokes power on self tests (POSTs) which checks;


CISC/RISC/EPIC

CISC - Complex instruction set computing

RISC - Reduced instruction set computing

EPIC - Explicit parallel instruction computing

b_ref.gif (1385 bytes)Ref: Buesse, T (1997, Oct)

[Rev: 19/1/98] Jun-97 © 1997-98 V/2-Com (Verhaart), P O Box 8415, Havelock North, New Zealand.