Microprocessor and Microcontroller Based Systems Instructor: Eng.Moayed N. EL Mobaied The Islamic University of Gaza Faculty of Engineering Electrical.

Slides:



Advertisements
Similar presentations
Computing Systems Organization
Advertisements

The CPU The Central Presentation Unit What is the CPU?
The Microprocessor and its Architecture
Processor System Architecture
MICRO PROCESSER The micro processer is a multipurpose programmable, clock driven, register based, electronic integrated device that has computing and decision.
Khaled A. Al-Utaibi  Computers are Every Where  What is Computer Engineering?  Design Levels  Computer Engineering Fields  What.
DH2T 34 Computer Architecture 1 LO2 Lesson Two CPU and Buses.
Computer Organization. This module surveys the physical resources of a computer system. –Basic components CPUMemoryBus I/O devices –CPU structure Registers.
Room: E-3-31 Phone: Dr Masri Ayob TK 2123 COMPUTER ORGANISATION & ARCHITECTURE Lecture 5: CPU and Memory.
CHAPTER 4 COMPUTER SYSTEM – Von Neumann Model
Recap – Our First Computer WR System Bus 8 ALU Carry output A B S C OUT F 8 8 To registers’ input/output and clock inputs Sequence of control signal combinations.
Microcontroller based system design
 Central Processing Unit(CPU) Central Processing Unit(CPU)  Components of the CPU Components of the CPU  Actions Performed by CPU Actions Performed.
Chapter 17 Microprocessor Fundamentals William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper.
 Chasis / System cabinet  A plastic enclosure that contains most of the components of a computer (usually excluding the display, keyboard and mouse)
Computer Architecture and Organization
Lesson 3 — How a Computer Processes Data
Computer Organization Computer Organization & Assembly Language: Module 2.
E0001 Computers in Engineering1 The System Unit & Memory.
created by :Gaurav Shrivastava
Software; Nature, Capabilities and Limitations: describe the need for interfacing with peripherals storage devices, input and output devices and display.
D75P 34R HNC Computer Architecture 1 Week 9 The Processor, Busses and Peripherals © C Nyssen/Aberdeen College 2003 All images © C Nyssen /Aberdeen College.
CPU Computer Hardware Organization (How does the computer look from inside?) Register file ALU PC System bus Memory bus Main memory Bus interface I/O bridge.
Computer Architecture and Organization Introduction.
CHAPTER 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
Basic Architecture Lecture 15. In general, if the number of bits is n, then the number of different combinations of 0s and 1s that can be made is 2 n.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.
Introduction to Computing Systems from bits & gates to C & beyond The Von Neumann Model Basic components Instruction processing.
Fall 2012 Chapter 2: x86 Processor Architecture. Irvine, Kip R. Assembly Language for x86 Processors 6/e, Chapter Overview General Concepts IA-32.
Advanced Computer Architecture 0 Lecture # 1 Introduction by Husnain Sherazi.
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
Computer Organization - 1. INPUT PROCESS OUTPUT List different input devices Compare the use of voice recognition as opposed to the entry of data via.
General Concepts of Computer Organization Overview of Microcomputer.
Computer Architecture Lecture 2 System Buses. Program Concept Hardwired systems are inflexible General purpose hardware can do different tasks, given.
Computer Architecture And Organization UNIT-II General System Architecture.
Computer Organization & Assembly Language © by DR. M. Amer.
Introduction to Microprocessors
INTRODUCTION.  Upon completing this topic, you should be able to: Illustrate a basic elements of digital computer system and their functions, Depicts.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Structure & Architecture 7b - CPU & Buses.
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI CSCI N305 Information Representation: Machine Instructions.
Electronic Analog Computer Dr. Amin Danial Asham by.
Lecture on Central Process Unit (CPU)
The Computer System.
Question What technology differentiates the different stages a computer had gone through from generation 1 to present?
Computer Architecture Lecture 4 by Engineer A. Lecturer Aymen Hasan AlAwady 17/11/2013 University of Kufa - Informatics Center for Research and Rehabilitation.
Simple ALU How to perform this C language integer operation in the computer C=A+B; ? The arithmetic/logic unit (ALU) of a processor performs integer arithmetic.
بسم الله الرحمن الرحيم MEMORY AND I/O.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
8085 INTERNAL ARCHITECTURE.  Upon completing this topic, you should be able to: State all the register available in the 8085 microprocessor and explain.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
Overview of microcomputer structure and operation
Information Technology INT1001 Lecture 2 1. Computers Are Your Future Tenth Edition Chapter 6: Inside the System Unit Copyright © 2009 Pearson Education,
IC 3 BASICS, Internet and Computing Core Certification Computing Fundamentals Lesson 2 How Does a Computer Process Data?
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
Recap – Our First Computer WR System Bus 8 ALU Carry output A B S C OUT F 8 8 To registers’ read/write and clock inputs Sequence of control signal combinations.
Unit Microprocessor.
COURSE OUTCOMES OF Microprocessor and programming
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE
Introduction of microprocessor
Course Name: Computer Application Topic: Central Processing Unit (CPU)
Microprocessor and Assembly Language
Microcomputer Architecture
Number Representations and Basic Processor Architecture
University of Gujrat Department of Computer Science
Information Representation: Machine Instructions
Presentation transcript:

Microprocessor and Microcontroller Based Systems Instructor: Eng.Moayed N. EL Mobaied The Islamic University of Gaza Faculty of Engineering Electrical Engineering Department بسم الله الرحمن الرحيم EELE 4315 — Fall 2010 Lecture 2

Basic Computer Architecture Every Computer system is designed around the same three basic circuits: Central processing unit (CPU). Memory: Data memory and Program Memory. Input/output ports (I/O).

The various circuits inside a typical computer are connected to one another through three sets of electrically conductive paths called busses traced on a printed circuit board. Data bus, which carries data to and from the CPU Address bus, which carries addresses out from the CPU Control bus, which carries coordinating signals among the various circuits.

CPU The CPU, or so called microprocessor, is the brain of a computer. It performs all the arithmetic operations in the computer, does all the logic, and directs all the input and output. Major components of the CPU are: Registers. Control unit. Arithmetic and logic unit (ALU). ALU : Computation or processing of data. Control unit: Movement of data and instructions into and out of the CPU and controls the operation of the ALU.

Memory The memory is used to hold: User data. Programs. It is composed of cells each of which contains a bit of information. Bits are organization sets called memory locations or words, each of which is assigned a unique sequentially numbered address.

A memory containing 2 n words has n address lines. The size of word determines the size of the data bus of the memory. Therefore the size of the memory is determined by two parameters: the word width and the number of words.

Usually each memory location is eight-bits wide referred to as a byte. In theses respects one may imagine a memory as a building consisting of floors (bytes) each of which has eight rooms (bits). The 8086/8088 is a 16-bit processor, which means, among other things, that it is capable of processing memory 16 bits (or 2 bytes) at a time.

When a computer is designed to process 2 or more bytes as a unit, that unit of memory is Known as word.

Execution Instruction in Computer A computer is a machine that can solve problems by carrying instructions given to it. A sequence of instructions describing how to perform a certain task is called a program. While programs are written in different computer languages, they should be converted to the machine language before being executed. The machine language is the computer primitive instructions consisting of zeros and ones.

CPU is prepared to read an instruction or a byte of data from memory. The address of that instruction or that byte of data on the address bus. Signals its intent to read by putting out an ''active" signal on the memory READ line in the control bus. Memory responds by putting the contents of the addressed byte onto the data bus, and the CPU reads the data bus.

When the CPU is prepared to write a byte of data to memory: Puts the address of the byte to be written on the address bus, Puts the contents of the byte on the data bus, Sends out a signal on the memory WRITE line of the control bus. Memory responds by recording the contents of the data bus at the memory location specified by the address bus.

In many cases, the CPU is faster than the memory; therefore a READY signal is used to stretch the memory cycle time. The CPU initiates a memory transaction, and then freezes until the READY indicates that it is safe to continue.

The instruction pointer Instruction Pointer register (IP) holds the address of the instruction to be executed. The basic instruction processing cycle begins with a memory fetch or read in which the instruction machine code is loaded in a special register of the CPU called instruction register (IR). The instruction decoder in the control unit generates the hardware signals that insure the execution of the instruction. For example, if the instruction is to decrement the accumulator register AX in the Intel family then it is expressed in assembly language as dec AX which has a machine language of 48h. The instruction decoder circuit generates a hardware signal that causes the accumulator register to decrement by one.

In summery, the IP points to the instruction to be executed. This instruction is fetched, and executed. Execution of some instructions may generate memory read or write cycles. After processing an instruction the instruction pointer is updated to point to the next instruction to be processed.

Input/Output Computers use peripheral devices for two major purposes: Communications with the outside world Storage of information. keyboards, video monitors, printers, modems, and disk drivers.