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

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

1. Internal Architecture of 8085 Microprocessor

Chapter 1: Basics of Microprocessor [08 M]

Microprocessor Architecture

Basics of Microprocessor

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

History and Basic Processor Architecture

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

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

1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE:

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

Architecture of 8085 microprocessor

Pin Description, Status & Control Signals of 8085 Microprocessor

MICROPROCESSOR AND MICROCONTROLLER BASED SYSTEMS

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

1. Internal Architecture of 8085 Microprocessor

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

1. Internal Architecture of 8085 Microprocessor

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

Architecture & Instruction set of 8085 Microprocessor and 8051 Micro Controller

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

MICROPROCESSOR BASICS AND RELATED TERMS

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

MICROPROCESSOR B.Tech. th ECE

Microcomputer Architecture and Programming

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

Lecture Note On Microprocessor and Microcontroller Theory and Applications

UNIT I. Differences between: Microcomputer, Microprocessor and Microcontroller

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

Subject Code: Model Answer Page No: /25

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

Assembly Language Programming of 8085

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

8086 INTERNAL ARCHITECTURE

Unit 1 8 BIT MICROPROCESSOR ARCHITECTURE

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

3.1 Description of Microprocessor. 3.2 History of Microprocessor

Introduction to Microprocessor

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

Microprocessor Architecture. mywbut.com 1

Chapter Introduction Chapter 1. a) Address translation b) Protection c) Program relocation. type's "««"** ***** ** various

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

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

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

JNTU World. NOTES SUBJECT: Microprocessors and Interfacing Devices

Digital IP Cell 8-bit Microcontroller PE80

Four Categories Of 8085 Instructions That >>>CLICK HERE<<<

LECTURE NOTES MICROPROCESSORS AND INTERFACING DEVICES

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

Microprocessor, Microcomputer and Associated Languages

Microprocessors/Microcontrollers

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

9/25/ Software & Hardware Architecture

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

Intel 8086 MICROPROCESSOR ARCHITECTURE

Intel 8086 MICROPROCESSOR. By Y V S Murthy

EXPERIMENT NO. 1 THE MKT 8085 MICROPROCESSOR TRAINER

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

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

ELE 3230 Microprocessors and Computer Systems

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

Pin diagram Common SignalS Architecture: Sub: 8086 HARDWARE

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


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

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

Its Assembly language programming

Overview of Intel 80x86 µp

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

Write A General Form Of The Assembly

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

MSMF GATE CENTRE. Sub: MICROPROCESSORS. Time: 50min Date: Marks:33

This page intentionally left blank

SAMPLE STUDY MATERIAL

MACHINE CONTROL INSTRUCTIONS: 1. EI

Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices,

4 Categories Of 8085 Instructions That Manipulate Data

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

Sunday, April 25, 2010

STRUCTURE OF DESKTOP COMPUTERS

ELECTRICAL ENGINEERING

EKT222 Miroprocessor Systems Lab 5

8085 Microprocessor Architecture and Memory Interfacing. Microprocessor and Microcontroller Interfacing

ROEVER ENGINEERING COLLEGE

INSTITUTE OF ENGINEERING AND MANAGEMENT, KOLKATA Microprocessor

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

icroprocessor istory of Microprocessor ntel 8086:


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

e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: 8051 Architecture Module No: CS/ES/5 Quadrant 1 e-text

EE309: Computer Organization, Architecture and MicroProcessors. sumantra/courses/up/up.html GND HIGH ORDER ADDRESS BUS

Chapter 1. Microprocessor architecture ECE Dr. Mohamed Mahmoud.

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

8051 Microcontrollers

8051 microcontrollers

Micro computer Organization

1-Operand instruction types 1 INC/ DEC/ NOT/NEG R/M. 2 PUSH/ POP R16/M16/SR/F 2 x ( ) = 74 opcodes 3 MUL/ IMUL/ DIV/ DIV R/M

8085 Interrupts. Lecturer, CSE, AUST

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

8086 Hardware Specification

Transcription:

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

The 8085A(commonly known as the 8085) : Was first introduced in March 1976 is an 8-bit microprocessor with 16-bit address width capable of addressing 64kB of memory has 40 pins Formed with 6500 transistors Requires a +5 volt power supply operates with a 3 MHz frequency

The 8085 is chosen for our look into the microprocessor because: It is still widely in use It is easy to use It has simple architecture and an adequate instruction set that enable students to learn necessary programming concept easily.

The 8085 microprocessor chip has 40 pins.

The pins can be grouped into 6 categories: 1. Address bus 2. Data bus 3. Control & Status bus 4. Power supply & frequency 5. Externally initiated & acknowledgement signals 6. Serial I/O ports

Address bus (16 pins) The 8085 has 16 signal lines (pins) that are used as the address bus for the transferring destination information for data. These lines are split into 2 segments, A 15 A 8 and AD 7 AD 0 Address bus occupied 16 bits wide, therefore 8085 can access 2 16 locations (65,536) with numbers, from 0 to 65,535. These range from 0000 to FFFF and is referred as 64kB of memory space. The 8 signal lines, A 15 A 8, are unidirectional and used for the most significant bits, called the high-order address, of a 16-bit address. The signal lines AD 7 AD 0 are used for a dual purpose : as a lower-order address lines and also as a data bus.

Address bus (16 pins) When the 8085 wants to access a peripheral or a memory location, it places the 16-bit address on the address bus and then sends the appropriate control signals. The high order unidirectional address lines (A 15 A 8 ) are used to verify the memory address or I/O for one data transfer cycle. The low-order bidirectional address lines (AD 7 AD 0 ) are multiplexed with data bus. During the first clock cycle they bring memory address of the low order memory or I/O address. They then become the data bus during the second and third clock cycle.

Address bus (16 pins) The demultiplexing of AD 7 AD 0 is determined by ALE (Address Latch Enable) signal. When this control signal is going high, the content of the address bus is address bits. When ALE is low, data is placed on the bus.

Address bus (16 pins) Problem. Calculate the address lines required for an 8 Kbytes memory chip. 8 Kbytes = 8 x 1024 = 8192 memory locations 2 x = 8192 = log 8192/log 2 = 13 address lines

Data bus (8 pins-multiplexed with low-order Address Bus) The signal lines AD 7 AD 0 are bidirectional : they serve a dual purpose They are used as the low-order address bus as well as the data bus. This is known as multiplexing the bus. The data bus occupy 8 bits wide, used for transferring the data or program instruction. The data flows both ways between the microprocessor & memory or I/O.

Data bus (8 pins-multiplexed with low-order Address Bus) The 8085 uses the data bus to transfer binary information. Since the data bus has 8 bits, then the 8085 can manipulate data 8 bits at a time only. The 8 data lines enable the 8085 to manipulate 8 bits data only at a time, ranging from OO to FF (2 8 = 256 numbers). The largest number that can appear on the data bus is 11111111(255 10 )

Control & Status Bus (6 pins) This group of signal is used to identify the nature of operation. Responsible for overall control & synchronization of the system. This group of signals includes: Two control signals (RD* and WR*), Three status signals (IO/M*, S 1 and S 0 ) One special signal (ALE) RD* - Read : This is a Read control signal (active low). This signal indicates that the selected I/O or memory device is to be read and data are available on the data bus.

Control Bus (6 pins) WR* - Write : This is a Write control signal (active low). This signal indicates that the data on the data bus are to be written into selected memory or I/O location. IO/M* : This is a status signal used to differentiate between I/O and memory operations. When it is high, it indicates an I/O operation & when it is low, it indicates a memory operation. This signal is combined with RD* and WR* to generate I/O and memory control signals. S 1 and S 0 : These status signals, similar to IO/M* can identify various operations, but they are rarely used in small system. ALE Address Latch Enable : This is a positive going pulse generated every time the 8085 begins an operation. It indicates that the bits on AD 7 - AD 0 are address bits.

Power supply & Frequency The power supply & frequency signals are as follows: Vcc : +5 V poser supply Vss : Ground Reference X1, X2 : A crystal ( or RC, LC network) is connected at these pins. The frequency is internally divided by two, therefore operate a system at 3 MHz, the crystal should have a frequency of 6 MHz. CLK OUT (Clock Output) : This signal can be used as the system clock for other devices.

Externally Initiated & Acknowledgement Signals (11 pins) The 8085 has 5 interrupt signal that can be used to interrupt a program execution. (INTR, RST 7.5, RST 6.5, RST 5.5, TRAP)

INTR Interrupt Request Used as a general purpose interrupt RST 7.5 RST 6.5 RST 5.5 Restart Interrupts These are vectored interrupts that transfer the program control to specific memory lecations. They have higher priorities than the INTR interrupt. Among these three, the priority order is 7.5, 6.5, 5.5 TRAP Trap This is a nonmaskable interrupt and has the highest priority INTA* : Interrupt Acknowledge : This is used to acknowledge : This is used to acknowledge an interrupt.

Externally Initiated & Acknowledgement Signals (11 pins) Hold : Indicates that a peripheral such as a DMA (Direct Memory Access) controller is requesting the use of the address and data buses. HLDA (Hold Acknowledge) : Acknowledge the HOLD request. READY : Used to delay the 8085 Read or Write cycles until a slowresponding peripheral is ready to send or accept data. When this signal goes low, the 8085 waits for an integral number of clock cycles until it goes high. RESET IN* : When the signal on this pin goes low, the program counter is set to zero, the buses are tri-stated, and the 8085 is reset. RESET OUT : This signal indicates that the 8085 is being reset. The signal can be used to reset other devices.

Serial I/O ports (2 pins) The 8085 has two signals to implement the serial transmission : SID (Serial Input Data) SOD (Serial Output Data) In serial transmission, data bits are sent over a single line, one bit at a time, such as the transmission over telephone lines.

Internal Diagram of 8085 The internal architecture of the 8085 microprocessor determines how and what operations can be performed with the data. The operation are : Store 8 bit data Perform arithmetic & logical operation Test for condition Sequence the execution of instruction Store data temporary during execution in the defined R/W memory location called the stack. To perform the operations, microprocessor requires ALU, registers, control logic and internal buses.

Internal Diagram of 8085

Internal Diagram of 8085 6 main components of 8085 microprocessor : 1. ALU 2. Timing & Control Unit 3. Instruction Register & Decoder 4. Register Array 5. Interrupt Control 6. Serial I/O Control

Arithmetic Logic Unit (ALU) The ALU performs many of the function that involve arithmetic and logic operations Arithmetic Addition Subtraction (adding the 2 s complement) Multiplication (adding the value multiple times) Division (subtracting the value multiple times) Logic AND, OR, XOR, Incrementing a number The Arithmetic unit also handles all data manipulation, such as shift left/right, rotate, and the 2 s complement operations.

Arithmetic Logic Unit (ALU) The ALU includes: Accumulator Temporary register Arithmetic & logic circuits. Status register (flag flip-flops) ALU Accumulator Accumulator is an 8-bit register that is part of the ALU. It is one of the most used registers, often referred to as the A register and occasionally labeled as Acc. It stores the 8-bit result of an arithmetic operation or a logic operation.

ALU Temporary Register The temporary register is used to hold data during an arithmetic/logic operation. It is used to transfer data to the ALU and usually contains the second value required for arithmetic operations. ALU Status Register (Flag Flip-Flops) The ALU includes 5 flip-flops, known as the status register or the flag flip-flops Flags is status register are set to reset after an operation depending on data conditions of the result in the accumulator and other registers. They are called Zero (Z), Carry (CY), Sign (S), Parity (P) and Auxiliary Carry (AC) flags.

ALU Status Register (Flag Flip-Flops) Their bit positions in status registers are shown below and their indications are listed in the table in the next slide.

ALU Status Register (Flag Flip-Flops) The most commonly used flags are Z, CY and S. The microprocessor uses these flags to test data conditions. These flags have critical importance in the decision-making process of the microprocessor. The conditions (set or reset) of the flags are tested through programming instructions. For example, the instruction JC (Jump on Carry) is implemented to change the sequence of a programming when CY flag is set. The thorough understanding of flags is essential in writing assembly language program.

Timing & Control Unit The timing & control unit of the 8085 is responsible for: Timing of all components (within and outside the microprocessor) Clock input Input and Output traffic flow on all busses External inputs (for example, reset) External outputs (for example, status) Ensures proper traffic flow on all buses

Instruction Register & Decoder When an instruction is fetched from memory, it is loaded in the instruction register. The decoder decodes the instruction & establishes the sequence of events to follow. The instruction register is not programmable & cannot be accessed through any instructions.

Register Array Data registers are locations where data is stored temporary within the microprocessor. These are a larger number of registers in the 8085, each with a specific function. Register are flip-flops configured as memory elements

These are a few types of register such as: Accumulator Status register In ALU Temporary register General-purpose register Program counter Stack pointer Memory address register

Register Array General Purpose Register The 8085 has six 8-bit general purpose registers to store 8- bit data, identified as B, C, D, E, H and L. These registers are used to store various binary values and can be accessed quickly. They can be combined as register pairs, identified as BC, DE and HL to perform some 16-bit operations. These registers are controllable with programming instructions where programmer can use these registers to store or copy data into the registers by using data copy instructions. Register pair HL is usually used as memory pointing operation.

Register Array Program Counter Program counter, often referred to as PC, is a 16-bit register used to hold memory addresses. The microprocessor uses PC register to sequence the execution on the instructions. The function of PC register is to point to the memory address from which the next byte is to be fetched. This register keeps track of the addresses of the instructions as they are being fetched from memory. When a byte (machine code) is being fetched, the program counter is incremented by one to point to the next memory location. The register holds the next address of the memory to the current address that is being executed.

Register Array Stack Pointer Stack pointer, often referred to as SP, is also a 16-bit register used as a memory pointer. It points to a memory location called the stack. The beginning of the stack is defined by loading a 16-bit address in the SP. Used to store the address of the skipped address during CALL function. SP stores (pushes) the address onto a memory area that is often called the stack and removes (pops) the address back whenever required in reverse order. It uses First In Last Out (FILO) and Last In First Out (LIFO) operation.

End