Processor Fundamental
Processor Fundamental
FUNDAMENTAL
THE VON NEUMANN MODEL OF A
COMPUTER SYSTEM
The model has the following basic features:
• There is a processor, a central processing unit.
• The processor has direct access to a memory.
• The memory contains a 'stored program' (which can be replaced by
another at any time)and the data required by the program.
• The stored program consists of individual instructions.
• The processor executes instructions sequentially.
CENTRAL PROCESSING UNIT (CPU)
ARCHITECTURE
COMPONENTS OF THE CPU
The ALU is responsible for any arithmetic or logic processing that might
be needed when a program is running.
Arithmetic Logic Unit performs arithmetic computations and logical
operations.
The arithmetic computations include addition, subtraction, multiplication
and division.
The logical operations involve comparisons asking the computer to
determine if two numbers are equal or if one number is greater than or
less than another number.
THE CONTROL UNIT (CU)
Control Unit is controlling the flow of data throughout the processor and,
indeed, throughout the whole computer system . Another is ensuring that
program instructions are handled correctly.
Control Unit controls the operations of each subsystem and coordinates all
of the processor’s activities.
A vital part of the control unit is a clock which is used by the unit to
synchronize processes. There are two clocks. The first is an internal clock
which controls the cycles of activity within the processor. The other is the
system clock which controls activities outside the processor.
REGISTERS
The other components of the CPU are the registers. These are storage
components which,
because of their proximity to the ALU, allow very short access times. Each
register has limited storage capacity, typically 16, 32 or 64 bits. A register is
either general purpose or special purpose.
Accumulator: a general-purpose register that stores a value before and
after the execution of an instruction by the ALU
Registers are faster stand alone storage locations that hold data temporary.
REGISTERS (CONT…)
Word is a small number of bytes that can be handled as a unit by the computer system.
I/O PORTS