von neumna
von neumna
von neumna
Registers
Registers are high speed storage areas in the CPU. All data must be
stored in a register before it can be processed.
The ALU allows arithmetic (add, subtract etc) and logic (AND, OR,
NOT etc) operations to be carried out.
Control Unit (CU)
The control unit also provides the timing and control signals required
by other computer components.
Buses
Buses are the means by which data is transmitted from one part of a
computer to another, connecting all major internal components to the
CPU and memory.
Loading data from permanent memory (hard drive), into the faster and
directly accessible temporary memory (RAM), allows the CPU to
operate much quicker.
Harvard Architecture
Buses
Buses are used as signal pathways. In Harvard architecture, there are separate
buses for both instruction and data. Types of Buses:
Data Bus: It carries data among the main memory system, processor, and I/O
devices.
Data Address Bus: It carries the address of data from the processor to the
main memory system.
Instruction Bus: It carries instructions among the main memory system,
processor, and I/O devices.
Instruction Address Bus: It carries the address of instructions from the
processor to the main memory system.
Operational Registers
There are different types of registers involved in it which are used for storing
addresses of different types of instructions. For example, the Memory Address
Register and Memory Data Register are operational registers.
1. Program Counter: It has the location of the next instruction to be executed.
The program counter then passes this next address to the memory address
register.
Arithmetic and Logic Unit: The arithmetic logic unit is part of the CPU that
operates all the calculations needed. It performs addition, subtraction,
comparison, logical Operations, bit Shifting Operations, and various arithmetic
operations.
Control Unit: The Control Unit is the part of the CPU that operates all processor
control signals. It controls the input and output devices and also controls the
movement of instructions and data within the system.
Input/Output System: Input devices are used to read data into main memory
with the help of CPU input instruction. The information from a computer as
output is given through Output devices. The computer gives the results of
computation with the help of output devices.
INSTRUCTION SET ARCHITECTURE: RISC and CISC
Arithmetic/Logic Instructions:
These Instructions perform various Arithmetic & Logical
operations on one or more operands.
Data Transfer Instructions:
These instructions are responsible for the transfer of instructions
from memory to the processor registers and vice versa.
Branch and Jump Instructions:
These instructions are responsible for breaking the sequential
flow of instructions and jumping to instructions at various other
locations, this is necessary for the implementation
of functions and conditional statements.
R-Instruction Format
I-Instruction Format
J-Instruction Format
Microarchitecture
Register Denotations
The letter R and a number are used to identify a register.
R0-R3 are used to hold variables or temporary values and are also
involved in subroutine calls.
R4 through R12 are all-purpose.
The stack pointer, R13, also known as SP. The programme can store data
that it will need to retrieve later at a memory address that is contained in
the stack pointer.
Pipeline Design