Basics of Microprocessor

Similar documents
Chapter 1: Basics of Microprocessor [08 M]

CHAPTER 5 : Introduction to Intel 8085 Microprocessor Hardware BENG 2223 MICROPROCESSOR TECHNOLOGY

1 MALP ( ) Unit-1. (1) Draw and explain the internal architecture of 8085.

1. Internal Architecture of 8085 Microprocessor

Microprocessor Architecture

MICROPROCESSOR MICROPROCESSOR. From the above description, we can draw the following block diagram to represent a microprocessor based system: Output

1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE:

Pin Description, Status & Control Signals of 8085 Microprocessor

8/26/2010. Introduction to 8085 BLOCK DIAGRAM OF INTEL Introduction to Introduction to Three Units of 8085

Architecture of 8085 microprocessor

The functional block diagram of 8085A is shown in fig.4.1.

12-Dec-11. Gursharan Singh Maninder Kaur. Introduction to 8085 BLOCK DIAGRAM OF INTEL Introduction to Introduction to 8085

History and Basic Processor Architecture

Control Unit: The control unit provides the necessary timing and control Microprocessor resembles a CPU exactly.

In this tutorial, we will discuss the architecture, pin diagram and other key concepts of microprocessors.

2. List the five interrupt pins available in INTR, TRAP, RST 7.5, RST 6.5, RST 5.5.

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI UNIT I THE 8085 & 8086 MICROPROCESSORS. PART A (2 Marks)

MICROPROCESSOR AND MICROCONTROLLER BASED SYSTEMS

MICROPROCESSOR BASICS AND RELATED TERMS

QUESTION BANK. EE 6502 / Microprocessor and Microcontroller. Unit I Processor. PART-A (2-Marks)

1. Internal Architecture of 8085 Microprocessor

Microcomputer Architecture and Programming

1. Internal Architecture of 8085 Microprocessor

MICROPROCESSOR B.Tech. th ECE

Lecture Note On Microprocessor and Microcontroller Theory and Applications

UNIT I. Differences between: Microcomputer, Microprocessor and Microcontroller

EC2304-MICROPROCESSOR AND MICROCONROLLERS 2 marks questions and answers UNIT-I

م.م. ماجد عيدان. Introduction to microprocessor and microcomputer

1. What is Microprocessor? Give the power supply & clock frequency of 8085?

ELE 3230 Microprocessors and Computer Systems

S.R.M. INSTITUTE OF SCIENCE & TECHNOLOGY SCHOOL OF ELECTRONICS & COMMUNICATION ENGINEERING

Introduction to Microprocessor

In 8086 Carry flag, Parity flag, Auxiliary carry flag, Zero flag, Overflow flag, Trace flag, Interrupt flag, Direction flag, and Sign flag.

LIST OF PROGRAMS. Prg. Name of the Program. 1 Study of Pin Diagram of Study of Architecture of Study of 8085 Kit.

EXPERIMENT NO. 1 THE MKT 8085 MICROPROCESSOR TRAINER

Architecture & Instruction set of 8085 Microprocessor and 8051 Micro Controller

3.1 Description of Microprocessor. 3.2 History of Microprocessor

Micro computer Organization

Microprocessor, Microcomputer and Associated Languages

Sample Copy. Not For Distribution.

These three counters can be programmed for either binary or BCD count.

Subject Code: Model Answer Page No: /25

UNIT-I. 1.Draw and explain the Architecture of a 8085 Microprocessor?

Unit 1 8 BIT MICROPROCESSOR ARCHITECTURE

UNIT II OVERVIEW MICROPROCESSORS AND MICROCONTROLLERS MATERIAL. Introduction to 8086 microprocessors. Architecture of 8086 processors

Class Notes. Dr.C.N.Zhang. Department of Computer Science. University of Regina. Regina, SK, Canada, S4S 0A2

STRUCTURE OF DESKTOP COMPUTERS

Computer Architecture

JNTU World. NOTES SUBJECT: Microprocessors and Interfacing Devices

Chapter 13 Direct Memory Access and DMA-Controlled I/O

9/25/ Software & Hardware Architecture

It is a program controlled semiconductor device (IC}, which fetches, decode and executes instructions.

Sunday, April 25, 2010

Lecture 5: Computer Organization Instruction Execution. Computer Organization Block Diagram. Components. General Purpose Registers.

Lecture-15 W-Z: Increment-Decrement Address Latch:

Chapter 1 : Introduction

8086 INTERNAL ARCHITECTURE

COSC 243. Computer Architecture 1. COSC 243 (Computer Architecture) Lecture 6 - Computer Architecture 1 1

This page intentionally left blank

UNIT.1 THE 8085 MICROPROCESSOR. SYLLABUS Introduction to 8085 Microprocessor architecture Instruction set Programming the 8085 Code conversion.

MICROPROCESSOR MCQs. 1) What does the microprocessor comprise of? a. Register section b. One or more ALU c. Control unit d.

It is important that a computer remembers what it is doing and the data from inputs such as

Assembly Language Programming of 8085

Pin diagram Common SignalS Architecture: Sub: 8086 HARDWARE

Module 5 - CPU Design

LECTURE NOTES MICROPROCESSORS AND INTERFACING DEVICES

Advanced Parallel Architecture Lesson 3. Annalisa Massini /2015

CREATED BY M BILAL & Arslan Ahmad Shaad Visit:

Interrupt is a process where an external device can get the attention of the microprocessor. Interrupts can be classified into two types:

Fundamentals of Digital Computers The mechanical computer age began with the advent of the abacus in 500 B.C by Babylonians. The abacus, which was

THE MICROCOMPUTER SYSTEM CHAPTER - 2

Microprocessors/Microcontrollers

Advanced Parallel Architecture Lesson 3. Annalisa Massini /2015

Computers and Microprocessors. Lecture 34 PHYS3360/AEP3630

Write A General Form Of The Assembly

EC 6504 Microprocessor and Microcontroller. Unit II System Bus Structure

8086 Interrupts and Interrupt Responses:

ROEVER ENGINEERING COLLEGE

COPYRIGHT IS NOT RESERVED BY AUTHORS. AUTHORS ARE NOT RESPONSIBLE FOR ANY LEGAL ISSUES ARISING OUT OF ANY COPYRIGHT DEMANDS

Chapter NINE 8088,80286 MICROPROCESSORS AND ISA BUS

MACHINE CONTROL INSTRUCTIONS: 1. EI

Chapter 16. Control Unit Operation. Yonsei University


Instructions Involve a Segment Register (SR-field)

8085 Interrupts. Lecturer, CSE, AUST

FIFTH SEMESTER B.TECH DEGREE EXAMINATION MODEL TEST QUESTION PAPER, NOVEMBER CS 305: Microprocessor and Microcontrollers PART A

Digital IP Cell 8-bit Microcontroller PE80

Northern India Engineering College, Delhi (GGSIP University) PAPER I

b. List different system buses of 8085 microprocessor and give function of each bus. (8) Answer:

8051 Microcontroller

8086 Hardware Specification

Outcomes. Lecture 13 - Introduction to the Central Processing Unit (CPU) Central Processing UNIT (CPU) or Processor

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) MODEL ANSWER

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: Ph:

INSTITUTE OF ENGINEERING AND MANAGEMENT, KOLKATA Microprocessor

Lecture 2 Microcomputer Organization: Fig.1.1 Basic Components of Microcomputer

UNIT 1. Introduction to microprocessor. Block diagram of simple computer or microcomputer.

COA. Prepared By: Dhaval R. Patel Page 1. Q.1 Define MBR.

EEE3410 Microcontroller Applications Department of Electrical Engineering Lecture 4 The 8051 Architecture

8085 Microprocessor Architecture and Memory Interfacing. Microprocessor and Microcontroller Interfacing

Transcription:

Unit 1 Basics of Microprocessor 1. Microprocessor Microprocessor is a multipurpose programmable integrated device that has computing and decision making capability. This semiconductor IC is manufactured by using LSI technique. It includes all the functional elements of a CPU (Registers, ALU, CU) on a single chip. 2. Features of Microprocessor (a) Size - Small in size due to LSI technique (b) Power consumption - Low power consumption due to MOS technology (c) Versatility - Keeping the some basic hardware, a microprocessor has wide versatility depending on simple change in software program (d) Reliability - High reliability due to low chip count in the system 3. Applications of Microprocessor (i) Single board microprocessor is the simplest and cheapest general purpose microcomputer based system. (ii) Terminals are used for communicate between a computer system and its user. (iii) Used in personal computers. (iv) Used in CAD machines. (v) Used in instrumentation applications like frequency meter, function generator, spectrum analyzer, pathological analyzer etc. (vi) Used in distributed control system. (vii) Used in various office automation. 4. Micro-Controller It is a device that includes microprocessor, memory and I/O signal lines on a single chip fabricated using VLSI technique. 5. Micro Computer It is a computer that is designed using a microprocessor as its CPU. It includes microprocessor, memory and I/O. 6. Monitor program It is a program that interprets the input from a keyboard and converts the input into its binary equivalent. 7. First Microprocessor INTEL 4004 was the first microprocessor introduced by Intel in 1971. Kinshuk Majumder Page 1

8. Block diagram of a Microprocessor Register Section - A set of registers are used for temporary storage of instructions, data and address of data. Arithmetic and Logic unit (ALU) - ALU is a part of microprocessor that performs arithmetic operations (addition, subtraction, multiplication, division, increment, decrement, compare) and logical operations (AND, OR, XOR, NOT, SHIFT/ROTATE, CLEAR). Control Unit (CU) - CU controls and co-ordinates all the sections of microprocessor and other devices connected to the interface section of microprocessor. Interface Section: I/O lines through which microprocessor communicates with user. It contains address bus, data bus, control bus and utility lines. 9. Functional Block diagram of 8085 Microprocessor Kinshuk Majumder Page 2

10. Pin Details of 8085 Microprocessor Address Bus (AB) - 8085 microprocessor has 8 unidirectional signal lines (A 8 -A 15 ) that are used as high order A/B. Multiplex Address/Data Bus - Bidirectional signal lines (AD 0 -AD 7 ) are used as low order address bus and data bus. Control and Status Signal- (i) Address Latch Enable (ALE) - ALE is a positive going pulse generated every time the 8085 within an operation. This signal is used initially to latch the low order address from the multiplex bus and generated a separate set of 8 address lines A 0 -A 7. These control signals may be used to latch the address information in some external register, so that the memory or I/O devices get complete address information even after a part of it is withdrawn by microprocessor. (ii) RD - This active low read control signal is used to select the I/O or memory device is to be read and data are available on the data bus. (iii) WR - This active low write control signal is used to write data into selected memory or I/O location. (iv) IO/M - This is a status signal is used to differentiate between IO and memory operations. When it is high, it indicates I/O operation. When it is low it indicates memory operation. (v) S 1,S 0. These status signals can identify various operations. Kinshuk Majumder Page 3

Power Supply and Clock frequency - (i) VCC - +5v power supply (ii) VSS - Ground (iii) X 1,X 2 :- A crystal (for RC, LC network) is connected at these two pins. The frequency is initially divided by two pins. (iv) CLK OUT Clock output signal can be used as the system clock for other devices. Interrupt and externally initiated signals: (i) INTR - Interrupt request is used as a general purpose interrupt. (ii) INTA - Interrupt acknowledge is used to acknowledge an interrupt. Microprocessor has two or more control signals which suspends the execution of the current program and jump to a subroutine at a predetermined location. (iii) RST7.5, RST6.5, RST5.5 - These restart interrupts transfer the program control to specific memory locations. These vector interrupts has higher priorities than INTR. (iv) TRAP - This is a non-maskable interrupt and has the highest priority. (v) HOLD - This signal indicates DMA controller is requesting the use of the AB and DB. (vi) HLDA - HOLD acknowledge signal acknowledges the HOLD request. (vii) READY - This signal is used to delay microprocessor R/W cycles until a slow responding peripheral is ready to send or accept data. (viii) RESTIN - When the signal on this pin goes low, the PC is set to 0, the buses are tri-stated and microprocessor is reset. 11. Intel 8085 Programmable Registers (i) Accumulator (ACC) - It is used as a source of operands of instruction and as a destination of result of arithmetic and logical operation. The size of the accumulator indicates to the size of microprocessor. (ii) Flag Register (FR) ALU includes five flip-flops which are set or reset according to data conditions in the ACC and the other registers. They are called Sign (S), Zero (Z), Auxiliary Carry (AC), Parity (P), Carry (C). The flags have critical importance in decision making process of microprocessor. It is also called Status Register / Program Status Word / Condition Code Register. (iii) General Purpose Register (GPR) - A register consist a set of binary storage cells or flipflops with parallel reading and/or writing techniques. Registers are used for temporary storage of instruction, data and address of data. 8085 microprocessor has 6 GPRs to store 8 bit data during program execution. The registers are identified as B, C, D, E, H, L. They are also combined as BC, DE, HL to perform 16 bit operations. (iv) Special Purpose Register (SPR) - (a) Stack Pointer (SP) - It is a 16 bit register used as a memory pointer. It points to a memory location in R/W memory, called stack. Stack is an array of registers organized in LIFO manner. (b) Program Counter (PC) - It is used to store the address of instruction to be executed next. The execution of a program is initialized by loading PC by the address of the first instruction to be executed, PC is automatically incremented (unless jump occurs) to point Kinshuk Majumder Page 4

the next instruction i.e. next memory location. Program counter is a 16 bit Special Purpose Register. 12. Intel 8085 Non-Programmable Registers (i) Memory Address Register (MAR) - Contains the address of location in memory. (ii) Memory Buffer Register (MBR) - Contains a word of data when it is to be written in the memory. (iii) Instruction Register (IR) - Fetch instruction from memory to IR temporarily for decoding. (iv) Temporary Register (TR) - Every microprocessor contains some TR for proper functioning of ALU. 13. Bus Structure Buses are the group of lines use for interconnection between various blocks within a computing system. These lines transmit electrical signals, over them and provide communication between these blocks. Each line is capable of transmitting one electrical pulse representing a bit. (i) Address bus- 8085 microprocessor has 16 unidirectional AB, A 15 -A 8 are upper address lines & AD 7 -AD 0 are lower address lines. If the length of the address bus is n then the microprocessor is capable of addressing 2 n memory locations. (ii) Data Bus-8085 microprocessor has 8 bi-directional data bus. AD 7 -AD 0 are multiplexed AB/DB to transfer data between CPU and peripheral devices. Kinshuk Majumder Page 5