MICROPROCESSOR 8085 AND ITS INTERFACING SUNIL MATHUR. Second Edition A 1 ALE AD 0 - AD 7. Latch. Keyboard data V CC 8 P A D D 0 7 STB STB G G A

Similar documents
MICROPROCESSOR Architecture, Programming and Interfacing SUNIL MATHUR. Assistant Professor Maharaja Agrasen Institute of Technology Delhi

Honorary Professor Supercomputer Education and Research Centre Indian Institute of Science, Bangalore

Microcontrollers. Principles and Applications. Ajit Pal +5 V 2K 8. 8 bit dip switch. P2 8 Reset switch Microcontroller AT89S52 100E +5 V. 2.

Telecommunication Switching Systems and Networks

FUNDAMENTALS OF DIGITAL CIRCUITS

DIGITA L LOGIC AND COMPUTER ORGA NIZATION

PHI Learning Private Limited

Analysis of Algorithms

CLOUD COMPUTING. M.N. Rao

Object-Oriented Analysis and Design Using UML

DATA COMMUNICATIONS AND COMPUTER NETWORKS

1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE:

INTRODUCTION OF MICROPROCESSOR& INTERFACING DEVICES Introduction to Microprocessor Evolutions of Microprocessor

Fundamentals of Discrete Mathematical Structures

History and Basic Processor Architecture

CS 101 INTRODUCTION TO COMPUTING

COMPUTER GRAPHICS, MULTIMEDIA AND ANIMATION, Second Edition (with CD-ROM) Malay K. Pakhira

A Programming Approach with C DHARMENDER SINGH KUSHWAHA

Microprocessors I MICROCOMPUTERS AND MICROPROCESSORS

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

FUNDAMENTALS OF COMPUTERS

Sample Copy. Not For Distribution.

COMMUNICATION PROTOCOL ENGINEERING

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

Pin Description, Status & Control Signals of 8085 Microprocessor

MICROPROCESSOR AND MICROCONTROLLER BASED SYSTEMS

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

Chapter 1: Basics of Microprocessor [08 M]

Microprocessor Theory

Fundamentals of. Mobile Computing. Second Edition. Prasant Kumar Pattnaik Rajib Mall

Computer Graphics. Apurva A. Desai

Microprocessor Architecture. mywbut.com 1

PART B (5 x 16 =80) ADDRESS BUS The 8085 has eight signal lines, A15 A8 : Unidirectional, known as high order address.

Chapter NINE 8088,80286 MICROPROCESSORS AND ISA BUS

UNIT V MICRO CONTROLLER PROGRAMMING & APPLICATIONS TWO MARKS. 3.Give any two differences between microprocessor and micro controller.

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

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

CREATED BY M BILAL & Arslan Ahmad Shaad Visit:

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

Lecture-55 System Interface:

CONTENTS CHAPTER 1: NUMBER SYSTEM. Foreword...(vii) Preface... (ix) Acknowledgement... (xi) About the Author...(xxiii)

Numerical Methods. with Computer. Programs C++ Pallab Ghosh

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

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

Basics of Microprocessor

TUTORIAL Describe the circumstances that would prompt you to use a microprocessorbased design solution instead of a hard-wired IC logic design.

ECED3204: Microprocessor Part I--Introduction

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

Architecture of 8085 microprocessor


Chapter 1 Basic Computer Organization

Ms. Minerva A. Lagarde

Introduction to Microprocessor

1 Digital tools. 1.1 Introduction

MICROPROCESSOR B.Tech. th ECE

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

THE MICROCOMPUTER SYSTEM CHAPTER - 2

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


Lecture Note On Microprocessor and Microcontroller Theory and Applications

Computer Organization

9. PERIPHERAL CHIPS 9a


HIGHER SECONDARY FIRST YEAR 2 MARK & 5 MARK NOTES CHAPTER 1 1. INTRODUCTION TO COMPUTER

Sample Copy. Not For Distribution.

Laboratory: Introduction to Mechatronics. Instructor TA: Edgar Martinez Soberanes Lab 2. PIC and Programming

THE ARCHITECTURE OF COMPUTER HARDWARE, SYSTEM SOFTWARE, AND NETWORKING

DIGITAL ELECTRONICS. Vayu Education of India

DIRECTORATE OF TECHNICAL EDUCATION DIPLOMA IN ELECTRICAL AND ELECTRONICS ENGINEERING II YEAR M SCHEME IV SEMESTER.

EMBEDDED SYSTEMS: Jonathan W. Valvano INTRODUCTION TO THE MSP432 MICROCONTROLLER. Volume 1 First Edition June 2015

Cryptography and Network Security

Trends in Computer System Capabilities

KULLEĠĠ SAN BENEDITTU Boys Secondary, Kirkop

8085 Microprocessor Architecture and Memory Interfacing. Microprocessor and Microcontroller Interfacing

Microprocessor, Microcomputer and Associated Languages

Interface DAC to a PC. Control Word of MC1480 DAC (or DAC 808) 8255 Design Example. Engineering 4862 Microprocessors

(1) Define following terms: Instruction, Machine Cycle, Opcode, Oprand & Instruction Cycle. Instruction:


Chapter 2: Computers: The Machines Behind Computing.

Overview of a computer

PIO 8255 (cont..) M Krishna kumar MAM/M3/LU9e/V1/2004 1

MICROCONTROLLERS 8051

Microcomputer System Design

ZONAL EDUCATION OFFICE - JAFFNA

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

Computer Evolution. Budditha Hettige. Department of Computer Science

DIRECTORATE OF DISTANCE EDUCATION COMPUTER ORGANIZATION AND ARCHITECTURE/INTRODUCTION TO COMPUTER ORGANIZATION AND ARCHITECTURE

INTRODUCTION TO MICROPROCESSORS

Chapter 1. Computer System Organization

Chapter 4 : Microprocessor System

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

Computer Evolution. Computer Generation. The Zero Generation (3) Charles Babbage. First Generation- Time Line

Chapter ELEVEN 8255 I/O PROGRAMMING

Microprocessors and Microcontrollers (EE-231)

82C55. Programmable Peripheral Interface. Interfacing Part III

I/O Design. Input / Output Instructions. Engineering 4862 Microprocessors. Lecture 23. Cheng Li

1. Internal Architecture of 8085 Microprocessor

END-TERM EXAMINATION

Microprocessors and Microcontrollers. Assignment 1:

Chapter 8 Summary: The 8086 Microprocessor and its Memory and Input/Output Interface

Transcription:

Second Edition MICROPROCESSOR 8085 AND ITS INTERFACING ALE AD 0 - AD 7 LE Latch A 1 A 1 A 0 A 0 A 2 A7 D D 0 7 P A Keyboard data V CC 8 0 8 5 WR RD IO/M 1 2 G2B G G A A 3:8 B Decoder 5 C 3 Gnd IOR IOW Control signal generator RD WR 8 2 5 5 STB IBF STB IBF A 7 A 6 A 5 1 2 G2B G G A Reset out A 4 A 3 A 2 A 3:8 Decoder B 5 C Chip select logic CS Reset SUNIL MATHUR

Microprocessor 8085 and Its Interfacing

Microprocessor 8085 and Its Interfacing Second Edition SUNIL MATHUR Assistant Professor Maharaja Agrasen Institute of Technology Delhi New Delhi-110001 2011

MICROPROCESSOR 8085 AND ITS INTERFACING, Second Edition Sunil Mathur 2011 by PHI Learning Private Limited, New Delhi. All rights reserved. No part of this book may be reproduced in any form, by mimeograph or any other means, without permission in writing from the publisher. ISBN-978-81-203-4390-0 The export rights of this book are vested solely with the publisher. Second Printing (Second Edition) L L L September, 2011 Published by Asoke K. Ghosh, PHI Learning Private Limited, M-97, Connaught Circus, New Delhi-110001 and Printed by Rajkamal Electric Press, Plot No. 2, Phase IV, HSIDC, Kundli-131028, Sonepat, Haryana.

To the memory of my beloved father Late Sh. Raj Singh Mathur

Contents Preface Preface to the First Edition Acknowledgements xxi xxiii xxv Part I 1. Number System 3 18 Introduction 3 1.1 Analog and Digital Signals 4 1.1.1 Analog Signal 4 1.1.2 Digital Signals 4 1.1.3 The Difference between Analog and Digital System 5 1.2 Number Systems 5 1.2.1 Decimal Number System 6 1.2.2 Binary Number System 7 1.2.3 Hexadecimal System 8 1.3 Two s Complement Representation of Binary Numbers 9 1.4 Binary Codes 10 1.4.1 Numeric Codes 10 1.4.2 Alphanumeric Codes 12 1.5 Type of Operations 12 1.5.1 Logical Operations 12 1.5.2 Arithmetic Operations 15 Exercises 15 Multiple Choice Questions 16 vii

viii Contents 2. Architecture and Organization of Microcomputer 19 34 Introduction 19 2.1 Computer 19 2.1.1 Analog Computer 20 2.1.2 Digital Computer 20 2.2 Five Generations of Computers 20 2.2.1 First Generation (1940 1956): Vacuum Tubes 20 2.2.2 Second Generation (1956 1963): Transistors 20 2.2.3 Third Generation (1964 1971): Integrated Circuits 21 2.2.4 Fourth Generation (1971 Present): Microprocessors 21 2.2.5 Fifth Generation (Present and Beyond): Artificial Intelligence 21 2.3 Computer Sizes and Power 22 2.3.1 Supercomputer and Mainframe 22 2.3.2 Minicomputer 22 2.3.3 Workstation 23 2.3.4 Personal Computer 23 2.4 Computer Languages 25 2.4.1 Low Level Language 26 2.4.2 High Level Language 26 2.5 Evolution of Microprocessor 26 2.6 Functional Block Diagram of a Microcomputer 29 2.6.1 Microprocessor 29 2.6.2 I/O Interface 30 2.6.3 RAM 30 2.6.4 ROM 30 2.6.5 Bus System 30 Exercises 31 Multiple Choice Questions 32 3 Architecture and Organization of Microprocessor 35 58 Introduction 35 3.1 Microcomputer System 35 3.1.1 Arithmetic and Logic Unit 36 3.1.2 Register Unit 36 3.1.3 Control Unit 36 3.1.4 Memory 36 3.1.5 System Bus 36 3.2 Microprocessor Operations 36 3.2.1 Microprocessor Initiated Operations 37 3.2.2 Internal Data Operations 37 3.2.3 Peripheral or Externally Initiated Operations 39 3.3 8085 Functional Description 40 3.4 Internal Architecture of 80855 41 3.4.1 Register Unit 41 3.4.2 Control Unit 44 3.4.3 Arithmetic and Logical Unit 44 3.5 8085 System Bus 46

3.6 8085 Pin description 46 3.6.1 Group 1: Power Supply and Frequency Signals 47 3.6.2 Group 2: Higher Order Address Bus (Output) (A 8 A 15 ) 48 3.6.3 Group 3: Multiplexed Address/Data Bus (AD 0 AD 7 ) 48 3.6.4 Group 4: Control and Status Signal 48 3.6.5 Group 5: Serial IO Signal 49 3.6.6 Group 6: Externally or Peripheral Initiated Signals 50 3.7 Demultiplexing of Ad 0 Ad 7 52 3.8 Generation of Control Signals 53 3.9 How a Program is Executed 54 Exercises 55 Multiple Choice Questions 56 Contents ix 4. Instruction Set of 8085 Microprocessor 59 111 Introduction 59 4.1 Instruction Format 60 4.1.1 Instruction Word Size 60 4.1.2 Opcode Format 61 4.2 Addressing Modes of MP 8085 62 4.2.1 Immediate Addressing 62 4.2.2 Register Addressing 63 4.2.3 Direct Addressing 63 4.2.4 Register Indirect Addressing 64 4.2.5 Implicit Addressing 64 4.3 Timing Effects of Addressing Modes 64 4.4 Instruction Set Classification 65 4.4.1 Data Transfer (Copy) Operations 65 4.4.2 Arithmetic Operations 66 4.4.3 Logical Operations 66 4.4.4 Branching Operations 67 4.4.5 Machine-control Operations 67 4.5 Data Transfer Instructions 67 4.5.1 Arithmetic Instructions 78 4.5.2 Logical Instructions 87 4.5.3 Branching Instructions 96 4.5.4 Machine Control Instructions 101 4.6 Complete Instruction Opcodes 104 Exercises 107 Multiple Choice Questions 109 5. Instruction Timing and Operation of 8085 Microprocessor 112 145 Introduction 112 5.1 Instruction Cycle 112 5.2 Basic State Transitions 114 5.3 Introduction to Machine Cycles 114 5.3.1 T-state 114 5.3.2 Machine Cycle 115 5.3.3 Instruction Cycle 115

Microprocessor 8085 And Its Interfacing 30% OFF Publisher : PHI Learning ISBN : 978812034 3900 Author : MATHUR, SUNIL Type the URL : http://www.kopykitab.com/product/74 90 Get this ebook