UNIT 2 Microprocessor Architecture and Operations
UNIT 2 Microprocessor Architecture and Operations
1. Microprocessor
2. External memory
It is a small chip capable of performing ALU (Arithmetic Logical Unit) operations and
communicating with the other devices connected to it.
ALU performs arithmetical and logical operations on the data received from the memory or
an input device.
Operations carried out by Microprocessor
1. Memory Read/Write
2. IO Read/Write
3. Fetch operation
4. Decode operation
5. Instruction Execution
6. Parallel Processing
7. Memory Management
8. Synchronization
computer system's main memory that communicates directly within the CPU, Auxiliary
memory and the Cache memory. Main memory is used to kept programs or data when the
processor is active to use them. When a program or data is activated to execute, the processor
first loads instructions or programs from secondary memory into main memory, and then the
processor starts execution.
a capacitor and a transistor. size of the capacitor and the transistor is so small,
requiring millions of them to store on a single chip. Hence, a DRAM chip can hold more data
than an SRAM chip of the same size. However, the capacitor needs to be continuously
refreshed to retain information because DRAM is volatile. If the power is switched off, the
data store in memory is lost.
SRAM: SRMA (Static Random-Access
Memory) is a type of RAM used to store static data in the memory. It means to store
data in SRAM remains active as long as the computer system has a power supply. However, data
is lost in SRAM when power failures have occurred.
Read-Only Memory (ROM)
ROM is a memory device or storage medium that is used to permanently store information
inside a chip. It is a read-only memory that can only read stored information, data or
programs, but we cannot write or modify anything.
A ROM contains some important instructions or program data that are required to start or
boot a computer. It is a non-volatile memory; it means that the stored information cannot be
lost even when the power is turned off or the system is shut down.
Types of ROM
MROM (Masked Read Only Memory):
Flash ROM:
Secondary Memory : Secondary memory is a permanent storage space to
hold a large amount of data. Secondary memory is also known as external memory that
representing the various storage media (hard drives, USB, CDs, flash drives and DVDs)
on which the computer data and program can be saved on a long term basis.
3) CD (Compact Disc)
A CD is an optical disk storage device, stands for Compact Disc. It is a storage device
used to store various data types like audio, videos, files, OS, Back-Up file, and any other
information useful to a computer. The CD has a width of 1.2 mm and 12 cm in height,
which can store approximately 783 MB of data size. It uses laser light to read and write
data from the CDs.
Types of CDs
1. CD-ROM (Compact Disc Read Only
Memory): It is mainly used for bulk size mass
like audio CDs, software and computer games
at the time of manufacture. Users can only
read data, text, music, videos from the disc,
but they cannot modify or burnt it.
2. CD-R (Compact Disc Recordable): The type of
Compact Disc used to write once by the user;
after that, it cannot be modified or erased.
3. CD-RW (Compact Disc Rewritable): It is a
rewritable CD disc, often used to write or
delete the stored data.
Cache Memory : It is a small-sized chip-based
computer memory that lies between the CPU and
the main memory. It is a faster, high performance
and temporary memory to enhance the
performance of the CPU.
It stores all the data and instructions that are often
used by computer CPUs. It also reduces the
access time of data from the main memory.
It is faster than the main memory, and sometimes,
it is also called CPU memory because it is very
close to the CPU chip. The following are the levels
of cache memory.
Register Memory
The register memory is a temporary storage area for
storing and transferring the data and the instructions to
a computer. It is the smallest and fastest memory of a
computer.
It is a part of computer memory located in the CPU as
the form of registers. The register memory is 16, 32 and
64 bits in size. It temporarily stores data instructions
and the address of the memory that is repeatedly used
to provide faster response to the CPU.
THANK YOU