














Étudies grâce aux nombreuses ressources disponibles sur Docsity
Gagnz des points en aidant d'autres étudiants ou achete-les avec un plan Premium
Cette page n'est pas visible dans l'aperçu
Ne manques pas les parties importantes!















BY NIGATU A.
CHAPTER ONE INTRODUCTION TO MICROPROCESSORS & COMPUTERS
Some Important Terminology (^) One of the most important features of a computer is how much memory it has. (^) Terms used to describe amounts of memory are: (^) Bit = a binary value which can be 0 or 1. (^) Nibble (4bit) = a group of 4 bits (^) Byte (8bit)= a group of 8 bits (^) Word (2bytes)= a group of 16 bits or a group of 2 bytes. (^) Kilobyte (2^10 bytes = 1,024 bytes) (^) Megabyte (2^20 bytes = 1,048,576) (^) Gigabyte (2^30 bytes, just over one billion bytes) (^) Terabyte (2^40 bytes, just over one trillion bytes) (^) As an example of how some of these terms are used, suppose that a given computer has 16 megabytes of memory. That would be 16 x 2 20 , or 2 4 x 2 20 , which is 2 24 . (^) Therefore 16 megabytes is 2^24 bytes.
INTERNAL ORGANIZATION OF COMPUTERS (^) The internal working of every computer can be broken down into three parts: (^) CPU (Central Processing Unit), (^) Memory, and (^) I/O (input/output) devices. (^) CPU:- (^) To execute (process) information stored in memory. (^) Memory:- (^) To Store data and instruction for CPU (^) I/O devices:- (^) Such as the keyboard and video monitor is to provide a means of communicating with the CPU.
INTERNAL ORGANIZATION OF COMPUTERS (^) The CPU is connected to memory and I/0 through strips of wire called a bus , to carries information from place to place.
More about the data bus: (^) Data buses are bidirectional, since the CPU must use them either to receive or to send data. (^) The processing power of a computer is related to the size of its buses (^) A n 8-bit bus can send out 1 byte a time, but a 16-bit bus can send out 2 bytes at a time, which is twice as fast.
More about the address bus: (^) The number of address buses for a CPU determines the number of locations with which it can communicate. (^) The number of locations is always equal to 2x, where x is the number of address lines, regardless of the size of the data bus. (^) Each location can have a maximum of 1 byte of data. (^) This is due to the fact that all general-purpose microprocessor CPUs are what is called byte addressable. (^) The address bus is a unidirectional bus, which means that the CPU uses the address bus only to send out addresses
(^) A program stored in memory provides instructions to the CPU to perform an action. (^) It is the function of the CPU to fetch these instructions from memory and execute them. (^) To perform these actions all CPUs are equipped with resources such as the following: (^) Registers-store information temporarily (^) ALU-for performing arithmetic and logic functions (^) Program counter-used to point to the address of the next instruction to be executed (^) Instruction decoder used to interpret the instruction fetched into the CPU
Internal working of computers (^) EXAMPLE: (^) Assume that an imaginary CPU has registers called A, B, C, and D. It has an 8-bit data bus and a 16-bit address bus. (^) The action to be performed by the CPU is to put hexadecimal value 21H into register A, and then add to register A values 42H and 12H. (^) Assume that the code for the CPU to move a value to register A is 1011 0000 (B0H) and the code for adding a value to register A is 0000 0100 (04H) in some imaginary instruction format. (^) The necessary steps and code to perform them are as follows_._
History of Microprocessors
(^) The first microprocessor, the Intel 4004 , had a 4-bit data bus and was made of 2300 transistors. (^) It was designed primarily for the hand-held calculator but soon came to be used in applications such as traffic-light controllers. (^) The advances in IC fabrication made during the 1970s made it possible to design microprocessors with an 8-bit data bus and a 16- bit address bus. (^) By the late 1970s, the Intel 8080/85 was one of the most widely used microprocessors, appearing in everything from microwave ovens to homemade computers. (^) Many other companies joined in the race for faster and better microprocessors. (^) Notable among them was Motorola with its 6800 and 68000 microprocessors. (^) Apple's Macintosh computers used the 68000 series microprocessors.
CISC Vs RISC RISC:- (^) Streamline the instructions by simplifying and reducing them from many to few and use all the transistors that are saved to enhance the power of the CPU. (^) The first working single-chip RISC microprocessor was implemented by a group of researchers at the University of California at Berkeley in 1980. (^) Since the late 1980s, many companies designing new CPUs have used the RISC philosophy.
Evolution of the Intel processors The Start of microprocessor (Intel 4004):
Evolution from 8080/8085 to 8086