MICROPROCESSOR FUNCTION Technician Series Created Mar 2015 gmail.com.

Slides:



Advertisements
Similar presentations
Parul Polytechnic Institute
Advertisements

Microprocessors Typical microprocessor controlled devices: Camera, mobile phone, stereo, mp3 player, electronic toys… High-level microprocessor controlled.
Programmable Interval Timer
EEE226 MICROPROCESSORBY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM.
Microprocessor and Microcontroller
Processor System Architecture
CHAPTER 1 THE 8051 MICROCONTROLLERS. Microcontroller vs. General- Purpose Microprocessor General-purpose microprocessors have ◦ No RAM ◦ No ROM ◦ No I/O.
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.
1.21 Introduction to microprocessors KUEU 2135 / KBEB 2193 Mikropemproses dan Sistemnya.
BLOCK DIAGRAM OF INTEL 8085 GURSHARAN SINGH TATLA
1 TK2633TK Microprocessor Architecture DR MASRI AYOB.
Introduction to Microprocessors Number Systems and Conversions No /6/00 Chapter 1: Introduction to 68HC11 The 68HC11 Microcontroller.
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
Chapter 17 Microprocessor Fundamentals William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper.
ECE 447: Lecture 1 Microcontroller Concepts. ECE 447: Basic Computer System CPU Memory Program + Data I/O Interface Parallel I/O Device Serial I/O Device.
C.S. Choy95 COMPUTER ORGANIZATION Logic Design Skill to design digital components JAVA Language Skill to program a computer Computer Organization Skill.
Intro to CS Chapt 2 Data Manipualtion 1 Data Manipulation How is data manipulated inside a computer? –How is data input? –How is it stored? –How is it.
created by :Gaurav Shrivastava
©2008 The McGraw-Hill Companies, Inc. All rights reserved. Digital Electronics Principles & Applications Seventh Edition Chapter 13 Computer Systems Roger.
Microprocessor Dr. Rabie A. Ramadan Al-Azhar University Lecture 2.
Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)
Slide 1 – CPU Acronym Definition The CPU is a small square unit that sits behind a fan, the fan keeps the CPU from over heating. The CPU (Central Processing.
Computer Organization - 1. INPUT PROCESS OUTPUT List different input devices Compare the use of voice recognition as opposed to the entry of data via.
Computer Organization & Assembly Language © by DR. M. Amer.
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.
MICROOCESSORS AND MICROCONTROLLER:
MICROPROCESSORS AND APPLICATIONS
Computer and Information Sciences College / Computer Science Department CS 206 D Computer Organization and Assembly Language.
1 The Instruction Set Architecture September 27 th, 2007 By: Corbin Johnson CS 146.
Computer operation is of how the different parts of a computer system work together to perform a task.
MICROPROCESSOR DETAILS 1 Updated April 2011 ©Paul R. Godin prgodin gmail.com.
The 8085 Microprocessor Architecture. What 8085 meant for? 80 - year of invention bit processor 5 - uses +5V for power.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
The Processor & its components. The CPU The brain. Performs all major calculations. Controls and manages the operations of other components of the computer.
Chapter Microcontroller
8085 Microprocessor: Architecture & Support Components.
Embedded Systems Introduction. Microprocessor building blocks 1. ALU (Arithmetic Logic Unit): The ALU is a sequential logic circuitry that is intended.
Block diagram of a computer system Basic components of a computer system using block diagrams: Cpu Memory Input and output unit Evolution of microprocessor.
Microprocessors 3 Buses, Addresses and Machine Cycles 1 Modified April 2011 ©Paul R. Godin prgodin gmail.com.
MICROPROCESSOR AMARTYA ROY-72 ANGSHUMAN CHATTERJEE-80 ASHISH LOHIA-70 MOLOY CHAKRABORTY-60.
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
8 085Microprocessor Temp Reg (8) Accumulator (A reg) Flag flip flops(8) Instruction Register (8) Arithmetic Logic Unit ALU Instruction Decoder and Machine.
Architecture of 8085 Nitin Mishra. Registers Microprocessor Instruction Cache Arithmetic & Logic Unit Control Unit Bus Interface Unit Data Cache Instruction.
AMITY UNIVERSITY RAJASTHAN Present By M.Sc Applied Chemistry.
Unit Microprocessor.
IF I ONLY HAD A BRAIN THE MICROCONTROLLER
Microprocessor and Microcontroller Fundamentals
COURSE OUTCOMES OF Microprocessor and programming
Microprocessor and Microcontroller Fundamentals
BLOCK DIAGRAM OF INTEL 8085.
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE
UNIT – Microcontroller.
IPCOWALA INSTITUTE OF ENGINEERING & TECHNOLOGY-DHARMAJ
Introduction of microprocessor
8085 Microprocessor Architecture
EmbedDed Systems – MECT190
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
Interfacing Memory Interfacing.
EmbedDed Systems – MECT190
Morgan Kaufmann Publishers Computer Organization and Assembly Language
Chapter 1 Introduction.
Topics Introduction Hardware and Software How Computers Store Data
8085 Microprocessor Architecture
8085 Microprocessor Architecture
CHAPTER 1 THE 8051 MICROCONTROLLERS
Computer components is a programmable machine that receives input, stores and manipulates data, and provides output in a useful format. Computer The computer.
Presentation transcript:

MICROPROCESSOR FUNCTION Technician Series Created Mar 2015 gmail.com

Microprocessor Function The microprocessor is a logic machine designed to follow a repeating cycle of reading an instruction and executing that instruction. The microprocessor relies on a built-in Instruction Set that internally steers the data and controls mechanisms toward its pre-programmed objective. The external instructions and data are obtained from sources such as memory (ROM or RAM), or Input systems (I/O) such as a keyboard or other external source. 2

Codes and Language The processor manipulates data in several different ways: Moves the data or addresses between different locations Add or subtracts values, more advanced devices can multiply, divide and square root Performs logic operations such as complementing, inverting, comparing, shifting, AND, OR, etc Instructions are in a binary pattern that the processor can interpret. This is called Machine Language. When writing programs people use mnemonics, a short abbreviated name, to make it easier to understand. This is called Assembly Language. 3

Codes and Language Assembly and Machine language are the lowest, most basic way of programming a device. It would be very time consuming and technically difficult to write an advanced set of codes or routines, called a program, using these basic languages. Higher level languages, called programming languages, are used to write more complex routines. Examples of high level languages include C, C++, Java, VHDL, etc…. A compiler is used to convert a high level language to a machine language that can be stored and used by the device. 4

Optcodes and Operands At the device level, the microprocessor processes instructions (OPTCODES) and data (OPERANDS). Sample of the Intel 8085 instructions (of 246 total), written in mnemonics: OPCODEOPERANDDescription MOVRd, RsCopy source register (Rs) to destination register (Rd) ADDMAdd content of memory to value in accumulator STA(address)Copy address in accumulator register to memory 5

Microprocessor Control 6

Control The microprocessor has numerous inputs and outputs for specific applications: Data/Instruction bus which is bi-directional (in or out of the processor) Address bus which is unidirectional (out of the processor) Control lines which can be inputs or outputs but are typically dedicated to specific purposes 7

Microprocessor System μPμP ROM RAM Output Register Input Register Other I/O Address Bus Data Bus Control 8

Selecting There are 2 primary ways a microprocessor enables a specific device on the data bus: Peripheral Mapping where the I/O or memory is selected directly through the use of control outputs. Memory Mapping where the I/O or memory is selected through the use of an address range. 9

Decoding an Address in Memory- Mapped I/O 10 Address 16-bit Upper 3 bits A 15 A 13 3 to 8 Decoder A B C Y0Y0 Y1Y1 Y2Y2 Y3Y3 Y4Y4 Y5Y5 Y6Y6 Y7Y7 Individual Device Enables

Device Select & Status S0, S1: Output indicates what step the micro is on in its processing cycle IO/M, Rd, Wr: Output to enable selected device ALE: Output states when address is on the AD bus 11

Basic Control X1, X2: Clock input CLK: Clock out to other devices Reset in, out: Reset applied to micro, it resets other devices Hold in: Stops microprocessor Hold Out: Micro acknowledges it is in a hold (stopped) state SOD, SID: Serial data in/out 12

Device Interrupt RST & INTR: input to the micro, to tell it to execute an instruction at a specific address 13

Support Circuitry The instructor will provide a handout to analyze 14

Programmable Logic 15

Electronic Trends When learning electronics we used discrete single- function chips as part of the lab activities. Electronics today is very different. What is more commonly used are programmable logic devices: CPLD (Complex Programmable Logic Devices) for basic digital logic operations FPGA (Field Programmable Gate Arrays) for more advanced digital logic functions ARM and microcontrollers such as Arduino, Stamp, and many others for processing capabilities and may be fully functional computers with integrated RAM, ROM, I/O 16

Embedded Systems An embedded system is a computer that is designed and used as a dedicated function. Advantages of embedded systems are numerous: Size, power consumption and price is reduced. May be highly portable. Integrated functions further reduce the amount of support circuitry needed. Examples include ADCs, integrated sensors. Very efficient at its specific task. Firmware may be updated. Programmable logic is more universal, smaller, easily modified, designs are easily transported, etc. 17

Examples of Embedded Systems You likely own many embedded systems: Computer (devices such as HDD, MB and other peripherals have embedded systems) Printer Cell Phone (typically ARM-based) MP3 Player Remotes Calculators Digital Camera Newer vehicle Newer appliances such as dishwashers, clothes washers, microwaves, televisions and even toasters may have embedded systems. 18

Embedded Systems Embedded Systems have several significant disadvantages to a technician: The physical chip may be custom-made or otherwise unavailable The chips are not universal and must remain with the specific vendor The chip may be impossible to physically access The software to program the device is device-specific and may be very expensive The program written for the embedded chip is proprietary and will not be generally available The device input/output values and configurations may be unknown, so it may be difficult to determine if the device is functioning properly. 19

Embedded System The instructor will hand out diagrams to analyze END 20