Introduction To Microprocessors
Introduction To Microprocessors
Assembly Language
History of Microprocessor
A microprocessor (sometimes abbreviated
µP) is a digital electronic component with
transistors on a single semiconductor
integrated circuit (IC).
A Central processing unit (CPU) in a
computer system or handheld device
consists of one or more microprocessors.
A Microprocessor is essentially a set of
switches. Using photographic technology a
massive set of electronic switches is
superimposed onto a very small piece of
silicon.
Through the use of binary language, which
consists of only two states; one and zero (on
and off), these can be used to store
information and perform operations on it.
A bit refers to one binary digit; a zero or one. In
computer memory and processing this refers to
the state of one switch. The transistors are
arranged into groups in order to represent
complex numbers and instructions
The very first microprocessor is considered to
be the Intel 4004. It was released in 1971 and
was a 4 Bit processor.
Then the 8 bit 8008 microprocessor. It was
developed by Intel in 1972
The first multi-chip 16 bit processor was
released by National Semiconductor in 1973
Intel upgraded the 8008 into a 16 bit version
they called the 8086. It was the first of the
x86 family by which many modern PCs are
powered.
32 bit designs didn't require much to improve
performance since it has double the size of
instructions as well as the amount of
addressable memory.
68000 by Motorola was one of the first
microprocessors developed to 32 bit
architectures. It was released in 1979 and
continued to be in use today.
Most of today's computers are turning to 64
bit designs to handle dealing with very large
amounts of data. This is needed especially as
demand for 3D Graphics and fast video has
risen. E.g. AMD Athlon, Pentium i5/i7
processors.
Microprocessors are classified into different types on the basis of the
bit of operation. Based on bit of operation at a time, the following are
the types of microprocessors:
==> 4 bit. e.g. Intel 4004
==> 8 bit. e.g. Intel 8085, 8088, Zilog Z80, Z180
==> 16 bit. e.g. Intel 8086, 80186, 80286, 80386,
==> 32 bit. e.g. Intel Pentium, Celeron, AMD Sempron
==> 64 bit. e.g. AMD Athlon.
D E
H L
Arithmetic and
Logic Unit Stack Pointer
Instruction
decoder
Program Counter
Incrementer/ Decrementer
Address latch
8- bit External
Data bus
Program counter – 16 bit register which holds the address of the next
instruction to be executed
Zero flag: If the result of the latest operation is zero, then zero flag will be set;
otherwise it be reset.
Auxiliary Carry Flag: This flag is not accessible to programmer. This flag will
be used by the system during BCD (binary-coded decimal) operations.
Parity Flag: If the result of the latest operation is having even number of ‘1’s,
then this flag will be set. Otherwise this will be reset to ‘0’. This is used for error
checking.
Carry Flag: If the result of the latest operations exceeds 8-bits then this flag will
be set. Otherwise it be reset.
An example assembly
language program
Address Instruction
Address Instruction/Data
202A MVI A,
202B 21
202C MVI B,
202D 2A
202E ADD B
202F STA
2030 FF
2031 41
2032 HLT
Another example assembly
language program
Address Instruction
http://www.cpu-world.com/Arch/8085.html
http://www.ehow.com/way_5230222_8085-
microprocessor-tutorial.html
http://www.brighthub.com/engineering/electric
al/articles/51225.aspx