Microprocessors A Beginning.

Slides:



Advertisements
Similar presentations
The CPU The Central Presentation Unit What is the CPU?
Advertisements

Computer Architecture
Microprocessors and Interfacing
Microprocessors.
Parul Polytechnic Institute
MICROPROCESSORS TWO TYPES OF MODELS ARE USED :  PROGRAMMER’S MODEL :- THIS MODEL SHOWS FEATURES, SUCH AS INTERNAL REGISTERS, ADDRESS,DATA & CONTROL BUSES.
The 8085 Microprocessor Architecture
EEE226 MICROPROCESSORBY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM.
Microprocessor and Microcontroller
Processor System Architecture
MICRO PROCESSER The micro processer is a multipurpose programmable, clock driven, register based, electronic integrated device that has computing and decision.
1-1 Microprocessor Engineering Microprocessor Systems Microcontrollers Infineon 16-bit Processor Family  specifically 167CS microcontroller C Programming.
1 Sec (2.1) Computer Architectures. 2 For temporary storage of information, the CPU contains cells, or registers, that are conceptually similar to main.
The processor and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
Chapter 4 Processor Technology and Architecture. Chapter goals Describe CPU instruction and execution cycles Explain how primitive CPU instructions are.
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.
GCSE Computing - The CPU
Unit-1 PREPARED BY: PROF. HARISH I RATHOD COMPUTER ENGINEERING DEPARTMENT GUJARAT POWER ENGINEERING & RESEARCH INSTITUTE Advance Processor.
Microcontroller based system design
Chapter 17 Microprocessor Fundamentals William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper.
The Computer Processor
Group 5 Alain J. Percial Paula A. Ortiz Francis X. Ruiz.
Atmega32 Architectural Overview
Lecture#14. Last Lecture Summary Memory Address, size What memory stores OS, Application programs, Data, Instructions Types of Memory Non Volatile and.
Internal hardware and external components of a computer Three-box Model  Processor The brain of the system Executes programs A big finite state machine.
created by :Gaurav Shrivastava
Microcontrollers Microcontroller (MCU) – An integrated electronic computing device that includes three major components on a single chip Microprocessor.
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.
Stack Stack Pointer A stack is a means of storing data that works on a ‘Last in first out’ (LIFO) basis. It reverses the order that data arrives and is.
Computer Organization - 1. INPUT PROCESS OUTPUT List different input devices Compare the use of voice recognition as opposed to the entry of data via.
Lecture 2 Microprocessor Architecture Image from:
8085. Microcomputer Major components of the computer - the processor, the control unit, one or more memory ICs, one or more I/O ICs, and the clock Major.
Introduction to Microprocessors
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Structure & Architecture 7b - CPU & Buses.
HOW a Computer Works ? Anatomy of Microprocessor.
Electronic Analog Computer Dr. Amin Danial Asham by.
Computer and Information Sciences College / Computer Science Department CS 206 D Computer Organization and Assembly Language.
Programmable Logic Controllers LO1: Understand the design and operational characteristics of a PLC system.
Introduction to Microprocessors - chapter3 1 Chapter 3 The 8085 Microprocessor Architecture.
Computer operation is of how the different parts of a computer system work together to perform a task.
The Central Processing Unit (CPU)
Computer Architecture Lecture 4 by Engineer A. Lecturer Aymen Hasan AlAwady 17/11/2013 University of Kufa - Informatics Center for Research and Rehabilitation.
MICROPROCESSOR DETAILS 1 Updated April 2011 ©Paul R. Godin prgodin gmail.com.
MODULE 5 INTEL TODAY WE ARE GOING TO DISCUSS ABOUT, FEATURES OF 8086 LOGICAL PIN DIAGRAM INTERNAL ARCHITECTURE REGISTERS AND FLAGS OPERATING MODES.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
Capability of processor determine the capability of the computer system. Therefore, processor is the key element or heart of a computer system. Other.
8085 INTERNAL ARCHITECTURE.  Upon completing this topic, you should be able to: State all the register available in the 8085 microprocessor and explain.
8085 FAQ R.RAJKUMAR DEPT OF CSE SRM UNIVERSITY. FAQ What is a Microprocessor? - Microprocessor is a program-controlled device, which fetches the instructions.
BASIC COMPUTER ARCHITECTURE HOW COMPUTER SYSTEMS WORK.
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.
Gandhinagar Institute of Technology
GCSE Computing - The CPU
Unit Microprocessor.
COURSE OUTCOMES OF Microprocessor and programming
Atmega32 Architectural Overview
The 8085 Microprocessor Architecture
Introduction of microprocessor
Microprocessor and Assembly Language
CENTRAL PROCESSING UNIT CPU (microprocessor)
Computer Architecture
Teaching Computing to GCSE
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
Number Representations and Basic Processor Architecture
Morgan Kaufmann Publishers Computer Organization and Assembly Language
Central Processing Unit
The 8085 Microprocessor Architecture
GCSE OCR 1 The CPU Computer Science J276 Unit 1
GCSE Computing - The CPU
Objectives Describe common CPU components and their function: ALU Arithmetic Logic Unit), CU (Control Unit), Cache Explain the function of the CPU as.
Presentation transcript:

Microprocessors A Beginning

A hardwired system can fulfil only the purpose for which it was designed. It uses fixed logic gates and chips to perform its given function. Changing the function of the system requires changing circuitry which is an unrealistic proposition in todays fast changing world. Micros and Hardwired

Micro’s versus Hardwired Microprocessors have the following advantages Flexibility Customizable Very powerful and continuously adaptable Far less electronic “real estate” required per function Micro’s versus Hardwired

Micro’s versus Hardwired Microprocessors do have some small drawbacks They are in most cases not quite as fast at performing a given function as a dedicated hardwired system would be There is a learning curve associated with the programming and debugging of microprocessors Micro’s versus Hardwired

Von Nuemman vs Harvard Architecture Microprocessors and microcontrollers are almost always based on one of two different architectures (named below). This short flash movie should go some way to explaining the major differences between them. http://www.pictutorials.com/Harvard_vs_Von_ Nuemann_Architecture.htm Von Nuemman vs Harvard Architecture

Von Nuemman vs Harvard Architecture One key difference between Von Nuemman and Harvard architecture is that Harvard systems have a separate bus for loading program instructions. This tends to make Harvard systems able to achieve faster execution speeds for a given clock frequency. Von Nuemman vs Harvard Architecture

The Bus System

Microprocessor Architecture

Internal Structure of a Z80

Common Features of a Microprocessor Data bus Carries the data associated with a processing function of the microprocessor, either fetched from memory written to memory or sent to the input/output interfaces Address bus Each memory storage location has a unique address allowing the system to select a unique memory address in the memory. When an address is selected, the code required to select a given space in memory is placed on the address bus Common Features of a Microprocessor

Common Features of a Microprocessor Control bus Carries signals associated with the control actions of the microprocessor. For example it is necessary for the microprocessor to inform memory devices whether they are to read from or write to memory. The control bus is also used to carry the system clock signals which synchronise all of the actions of the microprocessor. The control bus carries the data generated by the control unit. Common Features of a Microprocessor

Common Features of a Microprocessor Memory ROM = Read Only Memory. This is persistent memory which will remain stored even when the system is switched off RAM = Random Access Memory, random refers to the fact that any memory address in RAM is as easily accessible as any other. Common Features of a Microprocessor

Common Features of a Microprocessor Arithmetic and logic unit This element is responsible for data manipulation and carries out arithmetic operations of addition, subtraction and logic operations AND, OR, NOT and EXCLUSIVE OR Common Features of a Microprocessor

Common Features of a Microprocessor Registers These are memory locations within the microprocessor and are used to store information involved in program execution. As you can see by studying the diagram. The microprocessor has a few different registers which all serve different functions. Common Features of a Microprocessor

Common Features of a Microprocessor Accumulator Is a temporary storage area for data which the arithmetic and logic unit (ALU) will be working on. If it helps you can think of this unit as a queue of numbers all waiting to be processed. This unit is important when several different types of data are required to complete a program instruction. The data is passed into the ALU processed then passed back to the ALU, where it waits to be directed to other memory locations or input/output latches and interfaces. Common Features of a Microprocessor

Common Features of a Microprocessor Registers These are memory locations within the microprocessor and are used to store information involved in program execution. As you can see by studying the diagram. The microprocessor has a few different registers which all serve different functions. Common Features of a Microprocessor

Common Features of a Microprocessor Flag and Status Registers These registers carry information about the latest result of an arithmetic operation in the ALU. The register contains individual bits known as flags. The flags can indicate the result of the operation whether it was a 1 or a 0, whether a number was carried out, whether the result caused an overflow or whether the program is allowed to be interrupted so an external event can occur. The program can then take actions based on the value of the flags in the various registers Common Features of a Microprocessor

Common Features of a Microprocessor Program Counter This register is used to allow the microprocessor to keep track of its position in a program. This register contains the address of the memory location that contains the next and program instruction. Therefore as each instruction is executed the program counter is updated so that it contains the address of the next instruction. This counter is incremented by a 1 each time so that the microprocessor executes the instructions sequentially Common Features of a Microprocessor

Common Features of a Microprocessor Memory Address Register This register is used for storing addresses. For example in an arithmetic operation the address register is loaded with the address of the first number. The data at this address is then moved to the accumulator. The address of the second number is then loaded into the address register and then moved to the accumulator as well. Common Features of a Microprocessor

Common Features of a Microprocessor Stack Pointer Register Another form of address register is the stack pointer register. The stack is a special area in memory where program counter values can be stored when a subroutine is called. Common Features of a Microprocessor

Common Features of a Microprocessor Instruction Register This stores an instruction. After fetching an instruction from the memory, the CPU stores it in the instruction register. It can then be decoded and used to execute an operation. Common Features of a Microprocessor