Lesson 3 PDF
Lesson 3 PDF
Lesson 5
Systems architecture
Von Neumann architecture provides the basis for the majority of the computers we use
today. The fetch-decode-execute cycle describes how a processor functions.
Each of these tasks is called an application. Any computer that can have many
applications, such as those listed, is a general purpose computer.
Apart from PCs and laptops, the following devices are also classed as general purpose
computers:
tablets - like PCs, they can run a variety of applications
smartphones - today's smartphones can also run a variety of applications
games consoles - as well as games, modern consoles also allow users to watch
videos, play music and browse the internet
media systems in cars - allow users to navigate, listen to music and connect to a
smartphone
The CPU receives instructions and data from an input or memory. The instructions and
data are processed by the CPU and the results are either sent to an output or
transferred to secondary storage.
Input is from an input device, such as a keyboard, mouse, camera or scanner. Output is
to an output device, such as a monitor, printer or speaker.
All programs and data processing are run in the CPU and all hardware components are,
to some extent, controlled by it.
Control unit
The CU provides several functions:
it fetches, decodes and executes instructions
it issues control signals that control hardware
it moves data around the system
Registers
Registers are small amounts of high-speed memory contained within the CPU. They are
used by the processor to store small amounts of data that are needed during
processing, such as:
the address of the next instruction to be executed
the current instruction being decoded
the results of calculations
Different processors have different numbers of registers for different purposes, but most
have some, or all, of the following:
program counter
memory address register (MAR)
memory data register (MDR)
current instruction register (CIR)
accumulator (ACC)
Cache
Cache is a small amount of high-speed random access memory (RAM) built directly
within the processor. It is used to temporarily hold data and instructions that the
processor is likely to reuse. This allows for faster processing as the processor does not
have to wait for the data and instructions to be fetched from the RAM.
Clock
The CPU contains a clock which is used to coordinate all of the computer's
components. The clock sends out a regular electrical pulse which synchronises (keeps
in time) all the components.
The frequency of the pulses is known as the clock speed. Clock speed is measured
in hertz. The higher the frequency, the more instructions can be performed in any given
moment of time.
Buses
A bus is a high-speed internal connection. Buses are used to send control signals and
data between the processor and other components.
Three types of bus are used:
Address bus - carries memory addresses from the processor to other components
such as primary memory and input/output devices.
Data bus - carries the actual data between the processor and other components.
Control bus - carries control signals from the processor to other components. The
control bus also carries the clock's pulses.