×
BE SO GOOD THEY CAN'T IGNORE YOU
--Your friends at LectureNotes
Close

Lab Manual for Microprocessor and Interfacing - MPI by Mohit Katiyar

  • Microprocessor and Interfacing - MPI
  • Practical
  • 6 Views
  • Uploaded 1 month ago
Mohit Katiyar
Mohit Katiyar
0 User(s)
Download PDFOrder Printed Copy

Share it with your friends

Leave your Comments

Text from page-1

MICROPROCESSOR AND INTERFACING (EE-319-F) LAB MANUAL V SEMESTER Department of Electrical & Electronics Engineering Dronacharya College of Engineering Khentawas, Gurgaon – 123506

Text from page-2

MP LAB (EE-329-F) MICROPROCESSOR AND INTERFACING LAB LIST OF EXPERIMENTS V SEM.(ECE, CSE, IT,BME) S.NO. NAME OF THE EXPERIMENT 1 STUDY ARCHITECTURE OF 8085 & 8086 AND FAMILIARIZATION WITH ITS HARDWARE, COMMANDS & OPERATION OF MICROPROCESSOR KIT. 2 WRITE A PROGRAM USING 8085 & VERIFY FOR : A. ADDITION OF TWO 8-BIT NUMBERS. B. ADDITION OF TWO 16-BIT NUMBERS. (WITH CARRY) 3 Page No. 3 9 WRITE A PROGRAM USING 8085 & VERIFY FOR : A. SUBTRACTION OF TWO 8-BIT NUMBERS. (DISPLAY OF BARROW) B. SUBTRACTION OF TWO 16-BIT NUMBERS. (DISPLAY OF BARROW) 14 4 WRITE A PROGRAM USING 8085 & TEST FOR TYPICAL DATA: A. MULTIPLICATION OF TWO 8-BIT NUMBERS BY BIT ROTATION METHOD B. DIVISION OF TWO 8-BIT NUMBERS BY REPEATED SUBTRACTION METHOD 19 5 WRITE A PROGRAM USING 8086 FOR DIVISION OF A DEFINED DOUBLE WORD BY ANOTHER WORD & VERIFY. 25 6 WRITE A PROGRAM USING 8085 FOR FINDING SQUARE-ROOT OF A NUMBER & VERIFY. 28 7 WRITE A PROGRAM USING 8086 FOR COPYING 12 BYTES OF DATA FROM SOURCE TO DESTINATION & VERIFY. 31 8 WRITE A PROGRAM USING 8086 FOR ARRANGING AN ARRAY OF NUMBERS IN DESCENDING ORDER & VERIFY. 34 9 WRITE A PROGRAM TO INTERFACE ADC & DAC WITH 8085 & DEMONSTRATE GENERATION OF SQUARE WAVE. 38 10 WRITE A PROGRAM TO CONTROL THE OPERATION OF STEEPER MOTOR USING 8085 AND 8255 PPI. 41 11 WRITE A PROGRAM TO CONTROL THE TRAFFIC LIGHT SYSTEM USING 8085 AND 8255 PPI. 44 LAB MANUAL ( V SEM ECE) Page 2

Text from page-3

MP LAB (EE-329-F) EXPERIMENT NO. 1(A) AIM : STUDY OF 8085-MICROPROCESSOR KIT. APPARATUS: 8085 microprocessor kit. . THEORY : Intel 8085 is an 8-bit microprocessor. It is 40-pin IC package fabricated on a single LSI chip. It uses a single +5 V supply. Its clock speed is about 3 MHz. It consists of three main sections: 1.ALU (Arithmetic and logic unit):The ALU performs the arithmetic and logical operation, addition, subtraction, logical AND, OR, EXOR, Complement, Increment, Decrement, shift, clear. 2.Timing and Control Unit:It generates timing and control signals, which are necessary for the execution of instruction. 3.Registers: These are used for temporary storage of data and instruction. INTEL 8085 has following registers: i) One 8 bit accumulator ii) Six 8 bit registers (B, C, D, E, H, L) iii) One 16 bit stack pointer, SP iv) One 16 bit program counter, PC v) Instruction register vi) Status register vii) Temporary registers PC contains the address of next instruction. IR holds the instruction until it is decoded. SP holds the address of the stack top. Accumulator is used during execution of program for temporary storage of data. Status flags are as follows: i) Carry (CS) ii) Zero (Z) iii) Sign (S) iv) Parity (P) v) Auxiliary Carry (AC) PSW This 8-bit program status word includes status flags and three undefined bits. LAB MANUAL ( V SEM ECE) Page 3

Text from page-4

MP LAB (EE-329-F) Data and Address bus Data bus is 8- bit wide and 8 bits of data can be transmitted in parallel. It has 16-bit wide address bus as the memory addresses are of 16 bits. CIRCUIT DIAGRAM(PIN DIAGRAM):36 1 2 5 6 9 8 7 10 11 29 33 39 35 RST-IN X1 X2 SID TRAP RST 5.5 RST 6.5 RST 7.5 INTR INTA S0 S1 HOLD READY AD0 AD1 AD2 AD3 AD4 AD5 AD6 AD7 A8 A9 A10 A11 A12 A13 A14 A15 ALE WR RD IO/M RST-OT CLKO SOD HLDA 12 13 14 15 16 17 18 19 21 22 23 24 25 26 27 28 30 31 32 34 3 37 4 38 PIN CONFIGURATION A8-A15 (Output):These are address bus and used for the most significant bits of memory address. AD0-AD7 (Input/Output):These are time multiplexed address data bus. These are used for the least significant 8 bits of the memory address during first clock cycle and then for data during second and third clock cycle ALE (Address Latch Enable) It goes high during the 1st clock cycle of a machine. It enables the lower 8 bits of address to be latched either in the memory or external latch. IO/M It is status signal, when it goes high; the address on address bus is for I/O device, otherwise for memory. LAB MANUAL ( V SEM ECE) Page 4

Lecture Notes