Chapter_One of Microprocessor
Chapter_One of Microprocessor
Introduction to Microprocessors
1 Compiled by Yilkal B.
Chapter Outline
➢ Introduction to microprocessors
➢ Architectural compatibility
number systems
❖ Each μp has a fixed set of instructions in the form of binary patterns called machine
language.
❖ The binary instructions are given abbreviated names, called mnemonics, form the
assembly language Compiled by Yilkal B. 3
Cntd…
❖ Microprocessor is an electronic circuit that functions as the central processing unit
(CPU) of a computer, providing computational control.
❖ The buses select an I/O or memory device, transfer data between the I/O device or
memory and the MP control the I/O and memory system.
❖ Memory and I/O are controlled through instructions that are stored in the memory and
executed by the MP.
Compiled by Yilkal B. 5
General architecture of microcomputer system
❖ The hardware of a microcomputer system can be divided into four functional sections: the Input
unit, Micro processing Unit, Memory Unit, and Output Unit
❖ The Microprocessor is the part of the microcomputer that executes instructions of the
program and processes data.
❖ It is responsible for performing all arithmetic operations and making the logical decisions
initiated by the computer’s program.
❖ In addition to arithmetic and logic functions, theB.MPU controls overall system operation.
Compiled by Yilkal 5
Cntd…
➢ Input and Output units are the means by which the MPU communicates with the
outside world.
2. Secondary: is normally larger in size and used for long-term storage of information.
Like Hard disk, Floppy, CD, etc.
Compiled by Yilkal B. 7
Types of Microprocessors
❖ Microprocessors generally is categorized in terms of the maximum number of
binary bits in the data they process.
❖ by their word length. Over time, five standard data widths have evolved for
microprocessors: 4-bit, 8-bit, 16-bit (word), 32-bit,64-bit.
Compiled by Yilkal B. 7
Evolution of Microprocessor
➢ here are so many manufacturers of Microprocessors, but only two companies have
been produces popular microprocessors: Intel and Motorola.
Compiled by Yilkal B. 9
Brief History of CPU(Evaluation of Intel’s Microprocessors)
Compiled by Yilkal B. 10
Brief History of CPU(Evaluation of Intel’s Microprocessors)
Compiled by Yilkal B. 11
Brief History of CPU(Evaluation of Intel’s Microprocessors)
➢ They are measured by running a best program called the “drystone program”.
Compiled by Yilkal B. 13
Organization of a microprocessor-based system
Compiled by Yilkal B. 14
Architectural compatibility
❖ Note that the 8086 has data bus width of 16-bit, and it is able to address
1Megabyte of memory.
❖ This mean that 8086/8088 code will run on the 80286, 80386, 80486,and Pentium
Processors,
❖ but the reverse in not true if any of the new instructions are in use
Compiled by Yilkal B. 15
Organization of a microprocessor-based system with Bus
➢ Control Bus: Has Synchronization signals, Timing signals, and Control signals
Compiled by Yilkal B. 16
Buses
❖ A bus is a common group of wires that interconnect components in a computer
system.
❖ They transfer address, data or control information between the MP and its memory
and I/O systems.
Compiled by Yilkal B. 17
Contd…
ALU: In addition to the arithmetic & logic circuits, the ALU includes the accumulator, which
is part of every arithmetic & logic operation.
❖ Also, the ALU includes a temporary register used for holding data temporarily during the
execution of the operation.
❖ The computer's processor then tells the attached hardware what operations carry out.
❖ The functions a control unit performs depend on the type of CPU, due to the variance of
architecture between different manufacturers.
Compiled by Yilkal B. 18
Review of the basic number systems and conversion
❖ The use of the microprocessor requires a working knowledge of binary, decimal, and
hexadecimal numbering systems.
❖ For example, a base 8 (octal) number contains 8 digits: 0 through 7; a base 2 (binary) number
contains 2 digits: 0 and 1.
❖ If the base of a number exceeds 10, the additional digits use the letters of the alphabet,
beginning with an A. For example, a base 12 number contains 10 digits: 0 through 9,
followed by A for 10 and B for 11.
❖ The most common numbering systems used with computers are decimal, binary, and octal,
hexadecimal (base 16).
Compiled by Yilkal B. 19
Number System
Positional Notation
❖ Once the digits of a number system are understood, larger numbers are constructed
by using positional notation.
Conversion
➢ Decimal number to binary number
Note. To the reverse of each of the above and perform arithmetic operation.
Compiled by Yilkal B. 20
End of Chapter One
Any Question?
Compiled by Yilkal B. 21