Sample Copy. Not For Distribution.

Similar documents
Sample Copy. Not For Distribution.

MICROPROCESSOR AND MICROCONTROLLER BASED SYSTEMS

Chapter 1: Basics of Microprocessor [08 M]

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

1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE:

Architecture of 8085 microprocessor

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

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

History and Basic Processor Architecture

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

1. Internal Architecture of 8085 Microprocessor

Microprocessor Architecture

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

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

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

Microprocessors and Microcontrollers Prof. Santanu Chattopadhyay Department of E & EC Engineering Indian Institute of Technology, Kharagpur

Pin Description, Status & Control Signals of 8085 Microprocessor

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

Sample Copy. Not For Distribution.

Lecture Note On Microprocessor and Microcontroller Theory and Applications

Sample Copy. Not For Distribution.

Instructions Involve a Segment Register (SR-field)

MACHINE CONTROL INSTRUCTIONS: 1. EI

Overview of Intel 80x86 µp

EC4205 Microprocessor and Microcontroller

Basics of Microprocessor

Sample Copy. Not for Distribution.

8085 Microprocessor Architecture and Memory Interfacing. Microprocessor and Microcontroller Interfacing

Microcomputer Architecture and Programming

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

Sample Copy. Not For Distribution.

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

Sample Copy. Not for Distribution.

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

Microcontrollers. Fig. 1 gives a comparison of a microprocessor system and a microcontroller system.

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

Fig 1. Block diagram of a microcomputer

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

Introduction to Microprocessor

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

ROM (4K X 8) ROM (4K X 8) FOLD BACK FOR RAM0 RWM - RAM (2K X 8) RWM - RAM (2K X 8) FOLD BACK FOR RAM1 INPUT DEVICE 1

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

MICROPROCESSOR MEMORY ORGANIZATION

Computer Hardware Requirements for ERTSs: Microprocessors & Microcontrollers

Architecture & Instruction set of 8085 Microprocessor and 8051 Micro Controller

THE MICROCOMPUTER SYSTEM CHAPTER - 2

8085 Interrupts. Lecturer, CSE, AUST

MicroProcessor. MicroProcessor. MicroProcessor. MicroProcessor

Three-box Model: These three boxes need interconnecting (usually done by wiring known as a bus. 1. Processor CPU e.g. Pentium 4 2.

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

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

Types of Interrupts:

Sunday, April 25, 2010

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

Write A General Form Of The Assembly

Microprocessors I MICROCOMPUTERS AND MICROPROCESSORS

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

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

Chapter NINE 8088,80286 MICROPROCESSORS AND ISA BUS


CREATED BY M BILAL & Arslan Ahmad Shaad Visit:

1. Internal Architecture of 8085 Microprocessor

Segment 1A. Introduction to Microcomputer and Microprocessor

Microcomputer System Design

Subject Code: Model Answer Page No: /25


1. Internal Architecture of 8085 Microprocessor

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

Lecture-9 Intel 8085 Microprocessor It is a 40-pin DIP(Dual in package) chip, base on NMOS technology, on a single chip of silicon.

4 Categories Of 8085 Instructions That Manipulate Data

PART B UNIT II PART A

CHAPTER 1 MICROCOMPUTER SYSTEMS. 1.1 Introduction. 1.2 Microcontroller Evolution

Interrupts. by Rahul Patel, Assistant Professor, EC Dept., Sankalchand Patel College of Engg.,Visnagar

Microprocessor, Microcomputer and Associated Languages

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

Computer Organization

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

SYSTEM BUS AND MOCROPROCESSORS HISTORY

Chapter 2 Logic Gates and Introduction to Computer Architecture

MICROCONTROLLERS 8051

Microprocessors/Microcontrollers

UNIT I. Differences between: Microcomputer, Microprocessor and Microcontroller

EKT222 Miroprocessor Systems Lab 5

8051 Microcontrollers

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

MICROPROCESSOR BASICS AND RELATED TERMS

Moodle WILLINGDON COLLEGE SANGLI (B. SC.-II) Digital Electronics

This page intentionally left blank

Program controlled semiconductor device (IC) which fetches (from memory), decodes and executes instructions.

QUESTION BANK CS2252 MICROPROCESSOR AND MICROCONTROLLERS

8086 Interrupts and Interrupt Responses:

8051 Microcontroller

ELCT708 MicroLab Session #1 Introduction to Embedded Systems and Microcontrollers. Eng. Salma Hesham

Q. P. Code : b. Draw and explain the block dig of a computer with microprocessor as CPU.

Microprocessor and Microcontroller question bank. 1 Distinguish between microprocessor and microcontroller.

3.1 Description of Microprocessor. 3.2 History of Microprocessor

EC 6504 Microprocessor and Microcontroller. Unit II System Bus Structure

3. The MC6802 MICROPROCESSOR

Sample Copy. Not For Distribution

Chapter 5 Internal Memory

Transcription:

Microprocessor 8085 i

Publishing-in-support-of, EDUCREATION PUBLISHING RZ 94, Sector - 6, Dwarka, New Delhi - 110075 Shubham Vihar, Mangla, Bilaspur, Chhattisgarh - 495001 Website: www.educreation.in Copyright, 2018, Junied Khalid Khan All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted, in any form by any means, electronic, mechanical, magnetic, optical, chemical, manual, photocopying, recording or otherwise, without the prior written consent of its writer. ISBN: 978-1-5457-2311-1 Price: ` 170.00 The opinions/ contents expressed in this book are solely of the authors and do not represent the opinions/ standings/ thoughts of Educreation or the Editors. The book is released by using the services of self-publishing house. Printed in India ii

Microprocessor 8085 Junied Khalid Khan EDUCREATION PUBLISHING (Since 2011) www.educreation.in iii

iv

Junied Khalid Khan 1. Introduction Microprocessor is an electronic integrated chip (IC) that has computing and decision making ability. In otherwords, microprocessor is an electronic IC that fetches (reads) instructions from memory, execute them and provide results. Number of data bits executed in one machine cycle is known as a bit of microprocessor. Microprocessor 8085 is an 8-bit microprocessor designed by intel in 1977 using NMOS technology and requires +5 V supply and 3MHZ frequency to operate. Microcomputer is a combination of microprocessor, memory and input/output. If all tasks of a CPU are performed by microprocessor than such type of computer is known as microcomputer. Moreover, microcontroller is a microcomputer on a single chip. It is an example of ASIC (Application Specific Integrated Chip) design. Microprocessor contains hardware and software. Software is ROM (Read only Memory) which is an integral part of microprocessor and all system related information is stored in it. ROM comes into the picture at the time of power switch condition. On the other hand RAM (Random Access Memory) is externally interfaced with microprocessor. All instructions and commands are fed into it. Some important terms: Bus: is a group of wires (or parallel combination) that is used for interfacing between two devices. It can be both unidirectional and bidirectional. 1

Microprocessor 8085 Machine Language: If commands and instructions are written in binary pattern than such type of language is known as machine language. It is platform dependent and machine specific language. For example language written for a robot. Assembly Language: In assembly language binary pattern is replaced by english like words called mnemonics. It is also platform dependent or machine specific. Fig 1.1 Assembler: is basically a translator that converts assembly language into machine language. It is a software. If translation task is performed manually than it is known as hand assembly. Compiler: reads program at once from source code, produces its object code that is executed by processor. It is a software mostly used in C, C++. Interpreter: is a software that reads one instruction at a time from source code, produces its object code that is executed by processor before reading next instruction. Low Level Language: All platform or machine specific languages are known as low level language. For example machine language, assembly language. High Level Language: All platform independent languages are known as high level language. For example C, C++, Java etc. Fig 1.2 2

Junied Khalid Khan Faster Execution Require Large Memory to Store Easier Debugging Machine High level language High level language language Assembly language Assembly language Assembly language High level language Machine language Machine Language Table 1.1 Characteristics of different languages Microprocessor Bit of Microprocessor Technology used 4004 4 bit PMOS 8008 8 bit NMOS 8080 8 bit NMOS 8085 8 bit NMOS 8086 16 bit HMOS 80186 16 bit BICMOS 80206 16 bit BICMOS 80306 32 bit BICMOS 80406 32 bit BICMOS 80586 Pentium 64 bit BICMOS Pentium Pro BICMOS P II BICMOS P III BICMOS P IV BICMOS Dual core Core to dual i series (i3, i5, i7, i9...) Table 1.2 Details of different microprocessors Microprocessor 8085 is an advanced version of 8080 microprocessor with backward compatibility. Instruction set of 3

Microprocessor 8085 8085 is an instruction set of 8080 plus RIM (Read Interrupt Mask) and SIM (Set Interrupt Mask). Speed of microprocessor is directly proportional to frequency and frequency is directly proportional to bits of microprocessor. ***** 4

Junied Khalid Khan 2. Architecture of 8085 Microprocessor There are two types of architecture: i. External architecture ii. Internal architecture External Architecture Microprocessor 8085 consists of 40 pins in which pin 20 denotes ground pin. All 40 pins are divided into 6 categories as per their function. Fig 2.1 Pin diagram of 8085 microprocessor 5

Microprocessor 8085 1. Address Pin: They are 16 in number (A15-A8 & A7-A0). 2. Data Pin: They are 8 in number. Lower byte of address pins also work as data pins (A7-A0). 3. Control and status pin: It consists of following: : For input 1, microprocessor communicates to I/0 and if input is 0, microprocessor communicates to memory. Fig 2.2 S i & S o : By measuring this pin we can find out which machine cycle is going on inside the microprocessor. = 0 Write operation is performed on input 0. = 0 Read operation is performed on input 0. But only one operation is performed at a time or. Address Latch Enable (ALE): 8085 processor has 16 address lines for 16 bit address of a memory location. Out of this 16 address lines 8 address lines are solely dedicated to transfer 8 higher order address bits while the remaining lower order 8 bits of the address are sent through another 8 lines multiplexed with the 8 bit data lines. It is the control signal ALE to be sent by the processor in appropriate time to indicate the operation of this 8 bit multiplexed bus whether it will be used to send the lower order 8 address bits or to send the 8 data bits. Making ALE control HIGH the multiplexed 8 bit bus will 6

Junied Khalid Khan act as address bus while making ALE control LOW the same 8 bit multiplexed bus will act as data bus. Thus, ALE = 1 makes the address latched i.e. latch enable and ALE = 0 makes the address bus disable but making it data bus enable. Fig 2.3 Address Latch Enable Flip-Flop is a cross-coupled device which can store maximum of 1 bit. It is edge triggered. Whereas a latch is one of the applications of flip-flop and is level triggered. 4. Frequency and Power Supply Pin: To get 3MHZ frequency 6MHZ crystal oscillator is connected between X1 and X2 and internally divided by 2 to get 3MHZ clockpulse. It also requires +5 V supply to operate. Fig 2.4 7

Microprocessor 8085 5. Serial Data Transfer Pin: There are two instructions in serial data transfer: SID: Serial Input Data by use of RIM instruction. SOD: Serial Output Data by use of SIM instruction. We will discuss RIM and SIM instructions further in detail. 6. Externally Initiated Signal Pins: There are several categories: Interrupts: They are TRAP, RST 7.5, RST 6.5, RST 5.5, INTR or RST 4.5 HOLD: This pin is used in Direct Memory Access (DMA). Ready Pin: With the help of this pin slower peripherals interface with microprocessor. Fig 2.5 RESET Pin: It resets the microprocessor. In 8085 microprocessor 5 pins are active low;,,,. Number of pins in outward direction are 27 and number of pins in inward direction are 21. Memory capacity of microprocessor is represented by 2 n d where n is address pin and d is data pin. Memory word size can be defined as the maximum bit of information that can be stored at a particular memory location. 8

Get Complete Book At Educreation Store www.educreation.in