Docsity

This course based on new circulation, Lectures de Sciences sociales

Toggle sidebar
bg1
1
Hawassa University, Institute of Technology School of Electrical and Computer Engineering
OUTLINE OF THE CHAPTER
MICROCOMPUTER AND INTERFACING
(ECEG4161)
HAWASSA UNIVERSITY
INISTITUTE OF TECHNOLOGY
DEPARTMENT OF ELECTRICAL AND COMPUTER
ENGINEERING
BY NIGATU A.
MICROCOMPUTER AND INTERFACING
(ECEG4161)
CHAPTER ONE
INTRODUCTION TO MICROPROCESSORS & COMPUTERS
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16

Aperçu partiel du texte

Télécharge This course based on new circulation et plus Lectures au format PDF de Sciences sociales sur Docsity uniquement!

OUTLINE OF THE CHAPTER

MICROCOMPUTER AND INTERFACING

(ECEG4161)

HAWASSA UNIVERSITY

INISTITUTE OF TECHNOLOGY

DEPARTMENT OF ELECTRICAL AND COMPUTER

ENGINEERING

BY NIGATU A.

MICROCOMPUTER AND INTERFACING

(ECEG4161)

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

Inside CPU

 (^) 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

 In the 1940s , CPUs were designed using vacuum tubes.
 The first large-scale digital computer, ENIAC, consumed
130,000 watts of power and occupied 1500 square feet.
 The invention of transistors changed all of that.
 In the 1950s , transistors replaced vacuum tubes in the design of
computers.
 Then in 1959 , the first IC (integrated circuit) was invented.
 It was not until the 1970s that the entire CPU was put on a single
IC chip.
 The first working CPU on a chip was invented by Intel in 1971.
 This CPU was called a microprocessor.

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 RISCRISC:-  (^) 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 processorsThe Start of microprocessor (Intel 4004):

  • (^) The 1 st

Microprocessor, called a 4-bit

microprocessor

  • (^) Able to address 4096, 4 bit wide memory = 4 K

nibble or 2 Kbytes.

  • (^) Instruction set contained only 45 instructions.
  • (^) Instruction execution rate was 50 KIPs (kilo-

instructions per second).

  • (^) Most calculators are still based on 4-bit

microprocessors that process 4-bit BCD (binary-

coded decimal) codes.

Intel 8085 Microprocessor

Intel 8085:-

  • (^) In 1977, Intel Corporation introduced the last 8 bit microprocessor.
  • (^) Execution rate 769,230 per second.
  • (^) 246 instructions
  • (^) The main advantages of the 8085 were :
    • (^) Its internal clock generator,
    • (^) Internal system controller, and
    • (^) Higher clock frequency.
  • (^) This higher level of component integration reduced the 8085's cost and increased its usefulness.

Evolution from 8080/8085 to 8086

 Intel 8086:-

  • (^) In 1978 , Intel Corporation introduced a 16-bit microprocessor called the 8086.
  • (^) This processor was a major improvement over the previous generation 8080/8085 series Intel microprocessors in several ways.  (^) First, the 8086's capacity of 1 megabyte of memory exceeded the 8080/8085’s capability of handling a maximum of 64K bytes of memory.  (^) Second, the 8086 is a 16-bit microprocessor.  (^) Third, the 8086 was a pipelined processor, as opposed to the nonpipelined 8080/8085.
  • (^) In a system with pipelining, the data and address buses are busy transferring data while the CPU is processing information, thereby increasing the effective processing power of the microprocessor.