Professional Documents
Culture Documents
1/ Architectures :
Von Neumann Architecture : architecture for a digital computer, model for
designing and building computers. Has 3 characteristics :
1/ Consists of 3 sub-systems :
*Central Processing Unit (CPU) which consists of :
-- Arithmetic & Logic Unit (ALU), Processor Registers
(small fast
storage units) -> Processing Unit (PU)
-- Instruction Pointer (IP) (Program Counter : PC),
Instruction
Register (IR), Instruction Decoder ->
Control Unit (CU)
*Main Memory (RAM) where are stored and loaded both Data and
Instructions
(volatile)
Processing Unit
-- ALU : performs all arithmetic mathematical operation (+,-,*,/...) and logic
ones
(<,<=,>,>=,OR,AND,NOT...) requested by program.
Circuitry designed to do these operations (array of logical gates, switches)
-- Processor Registers : small very fast local memory cells inside CPU.
Used to store intermediate results of ALU, operands and operations from
instructions
--Internal Bus connects the two
Control Unit
Program instructions and data are stored in memory in a form of bits, in readwrite state (binary representation), as machine instructions in binary (000101
in opcode means..)
--Instruction Pointer (IP) : contains the address of the next instruction in
memory to be fetched then decoded and executed (points to it).
Gets incremented after each fetch by CU
--Instruction Register (IR) : where CU loads temporarly the instruction that
it fetched
from memory, during its decoding and execution
--Instruction Decoder : decodes the instruction present in IR. Determines
what to be done. Executes it by sending appropriate signals to concerned parts of
computer by
instruction (ALU, Memory, I/O) and activating, thus, necessary
circuitry
CU continues this sequencially until encoutering HALT instruction (interrupt) or
fatal error