Professional Documents
Culture Documents
MICROPROCESSORS
MICROPROCESSORS
&
MICROCONTROLLERS
-ANKITA BHATT
A Computer is a programmable
machine.
The two principal characteristics of a
computer are:
• It responds to a specific set of
instructions in a well-defined manner.
• It can execute a prerecorded list of
instructions (a program ).
• Modern computers are electronic and
digital.
• The actual machinery wires, transistors,
and circuits is called hardware. the
instructions and data are called software.
• A digital computer is different from a general purpose
calculator in a sense that digital computer is capable of operating
according to the instructions that are stored within the computer
whereas a calculator must be given instructions on a step by step
basis to perform calculations.
•By this definition a programmable calculator can be considered
a computer.
•Historically, digital computers have been categorized according
to the size using the words large, medium, minicomputer and
microcomputer.
• In the early years of development, the emphasis was on
large and more powerful computers.
• Large and medium sized computers were designed to solve
complex scientific and engineering problems.
•In early stage of development these computers were
accessible and affordable only to large corporations, big
universities and government agencies.
•Later on, minicomputers were made available for use in
office, small collage, medium size business organization,
small factory etc.
• As thetechnology has advanced from SSI to VLSI & SLSI, the face of the
computer has changed gradually and it became possible to build the
entire central processing unit (CPU) on a single-chip known as
microprocessor.
•Historically we were having programmable calculators which were an
equivalent to the digital computers.
Digital
computer
SIZE
Micro-
Large & Mini- computer
medium computer
What is a microprocessor ???
An electronic machine
capable of performing
various tasks.
General
purpose Digital
µP
Calculators computer
•A control processing unit (CPU) with its related timing functions on a
single chip known as microprocessor.
•A microprocessor combined with memory and input/output devices
forms a microcomputer.
•The microcomputer is making an impact on every activity of mankind.
It is being used in almost all control applications.
•For example analytical and scientific instruments, data communication,
character recognition, musical instruments, household items, defence
equipments, medical equipments etc.
•Microcomputers or, in general, computers communicate and operate in
binary numbers ‘0’ and ‘1’ also known as bits.
•A bit is the abbreviation for the term binary digit.
•The bit size of a microprocessor refers to the number of bit which can be
processed simultaneously by the arithmetic circuit of the microprocessor.
•A number of bits taken as a group in this manner is called word.
•For example, the first commercial microprocessor the Intel 4004 which
was introduced in 1971 is a 4-bit machine and is said to process a 4-bit
word.
•A 4-bit word is commonly known as nibble and an 8-bit word is commonly
known as byte. Intel 8085A is an 8-bit microprocessor whereas Intel 8086 is
a 16-bit microprocessor.
•Microprocessor is a controlling unit of a micro-computer, fabricated on a
small chip capable of performing ALU (Arithmetic Logical Unit) operations
and communicating with the other devices connected to it.
• Microprocessor consists of an ALU, register array, and a control unit.
• ALU performs arithmetical and logical operations on the data received
from the memory or an input device.
•Register array consists of registers identified by letters like B, C, D, E, H, L
and accumulator.
•The control unit controls the flow of data and instructions within the
computer.
MICROCONTROLLER
Signal
– a variable parameter by which information is conveyed through an electronic
circuit.
Processing
– to perform operations on data according to programmed instructions.
Embedded system: A specialized computer system that is part of a larger
system or machine. Typically, an embedded system is housed on a single
microprocessor board with the programs stored in ROM.
Virtually all appliances that have a digital Interface- watches, microwaves,
VCRs, cars -utilize embedded systems.
Some embedded systems include an operating system, but many are so
specialized that the entire logic can be implemented as a single program.
How does a Microprocessor Work?
The microprocessor follows a sequence: Fetch, Decode, and then
Execute.
Initially, the instructions are stored in the memory in a sequential order.
The microprocessor fetches those instructions from the memory, then
decodes it and executes those instructions till STOP instruction is
reached.
Later, it sends the result in binary to the output port.
Between these processes, the register stores the temporarily data and
ALU performs the computing functions.
List of Terms Used in a Microprocessor
Second generation –
The second generation marked the development of 8-bit microprocessors
from 1973 to 1978. Processors like INTEL 8085 Motorola 6800 and 6801
etc came into existence.
Third generation –
The third generation brought forward the 16-bit processors like INTEL
8086/80186/80286 Motorola 68000 68010 etc. From 1979 to 1980 this
generation used the HMOS technology.
Fourth generation –
The fourth-generation came into existence from 1981 to 1995. The 32-bit
processors using HMOS fabrication came into existence. INTEL 80386 and
Motorola 68020 are some of the popular processors of this generation.
Fifth-generation –
From 1995 till now we are in the fifth generation. 64-bit processors like
PENTIUM, Celeron, dual, quad, and octa-core processors came into
existence.
GENERAL PARTS OF A MICROPROCESSOR
The basic parts of a microprocessor are as follows:
•CPU
•Bus
•Memory
CPU (Central Processing Unit)
This is a really important part of a computer as it performs all the processing
parts of the computer. It processes the data and instructions which the user
gives. Moreover, it carries out the calculations and other such tasks. Other
names of CPU are Central Processor or Main Processor. It has the following
parts:
1. Arithmetic and Logical Unit
As the name suggests, this unit is responsible for performing arithmetic tasks
like addition, subtraction, multiplication, division moreover, it also makes
logical decisions like greater than less than, etc. And hence the name, the
‘brain’ of the computer.
2. Control Unit
This unit is responsible for looking after all the processing. It organizes and
manages the execution of tasks of the CPU.
3. Registers
These are memory areas which the CPU directly uses for processing. So, it’s
function is to store data from input or store data between calculations.
Besides, it also stores the output results. Moreover, accessing registers is
much faster than accessing the RAM.
4. Decoder
It decodes the instructions from high-level language to machine language and
passes them to the CPU.
5. Instruction Register (IR)
It stores the instruction which will execute currently.
Bus
The functional components usually use a bus architecture for
communication. A bus is a collection of wires used for the communication
of different parts of a computer. Further, it uses electric signals to pass the
data and information.
Different Types of Buses used are:
1. Address Bus
The address bus is used to communicate the address of the given data and
instructions.
2.Data Bus
The data bus is used to communicate the data from one part to another.
3. Control Bus
The control bus is used to control the signals between different
devices.Therefore, in conclusion, we can say that these functional
components communicate through this bus architecture. The input device
takes the input, then the data is processed and the output devices display the
results. Besides, the system bus performs all the communication that the
cycle involves.
Memory
The parts of memory are:
Primary Memory
This is the internal memory that stores the data and instructions of the CPU.
It is volatile in nature (data is lost when the power is disconnected).
The primary memory has two types:
RAM (Random Access Memory)
As per the name, data can be accessed randomly and quickly.
ROM (Read Only Memory)
As per the name, we can only read data and cannot write (store) to it.
Secondary Memory
As we know that the primary memory is volatile therefore, we need some
devices to store the data permanently so we use some external storage
devices for this purpose which we name as the secondary memory. Some
examples: CD, DVD, etc.
A TYPICAL MICROPROCESSOR STRUCTURE
Frequently Asked Questions (FAQs)
Q1. What is a microprocessor?
Q2. What are the types of microprocessors?
Q3. What are the basic parts of a microprocessor?
8085 MICROPROCESSOR