SlideShare a Scribd company logo
1 of 13
Download to read offline
1
LABORATORY MANUAL OF EEC456 & EEE454
Prepared at Ashoka Institute of Technology & Management, Aktha, Sarnath, Varanasi, U.P.
With
Participation & Valuable Contributions from
Er. Anupam Kumar, ECE, HOD & Assistant Professor, AITM
(anupamkumarmtec@gmail.com)
Department of Electronics & Communication Engineering
1 To study 8085 microprocessor System
2 To study 8086 microprocessor System
3 To develop and run a program for finding out the largest/smallest number from a given set of
numbers.
4 To develop and run a program for arranging in ascending/descending order of a set of numbers
5 To develop and run a programme to compute square root of a given number
6 To perform multiplication/division of given numbers
7 To perform floating point mathematical operations (addition, subtraction, multiplication and
division)
8 To obtain interfacing of keyboard controller
9 To perform interfacing of DMA controller
10 To obtain interfacing of RAM chip to 8085/8086 based system
Textbook: Lab Manual EEC456
Additional Readings:
1. Ramesh Gaonkar,”Microprocessor Architecture, Programming, and Applications with the
8051, 5th
Edition, Penram International Publication (India) Pvt. Ltd.
2. Douglas V. Hail,” Microprocessor and Interfacing,”2nd
Edition,TMH,2006
3. User’s Guide (XPO 85/SW), ANSHUMAN Tech Pvt. Ltd.
Course Code: E E C 4 5 6
Course
Title: Microprocessors Laboratory
FACULTY NAME MR. ANUPAM KUMAR
Attendance
Weightages
CA MTE ETE
0 0 0
2
3
 QUICK STEPS TO LEARN OPERATION WITH KIT
Step I:-Procedure to operate kit using assembly language program.
Do connections as per your figure
Switch ON power supply (i.e. SMPS (Switched mode power supply)
ANSHUMAN will be display on display board.
Press ENTER key
Go to command mode
COMMAND=
Press E
EXPAND=
Press A
2 PASS ASSEMBLER?
Press ENTER key 3 times
Files EXIST?
Press ‘N’ (No)
ARE YOU SURE?
Press ENTER KEY
C=
Press ‘W’
0001 ORG 6000H (Write your program here)
0002 MVI A, 22H
0003 MVI B, 33H
0004 ADD B
0005 RST 1
Press Ctrl key+ C
C=
4
Press ‘A’ Key
Will show message save code at DSTN? Y/N
Press ‘Y’ (Yes)
C=
Press ‘ESC’ two times
COMMAND= (Go to command mode)
Execution of the program
Press ‘G’
Go to?
Press ENTER key 2 times
BURST ADDR
GIVE 6000H
Press ENTER Key
COMMAND= (Go to command mode)
Checking contents of registers
Press ‘S’
SUBSTUT?
Press ENTER key
MEMORY
Press ‘any key’ other than ‘Enter Key’ 2 times
IO REGISTER (GIVE THE NAME)
Press ENTER key
NAME
5
A=55(Result i.e. 22+33=55)
 NOTE: - On Pressing Enter subsequently all registers contents will display.
 PROCEDURE TO OPERATE KIT USING DISASSEMBLER
Press E
EXPAND
Press U
Press ENTER key 3 times
STRT
Give 6000
Press ENTER
END
Give 6009
Press ENTER
DSTN
Give 6000
Press ENTER
PRINTER?
Press ‘’CTR+C’’ step by step
ABBREVIATIONS & DESCRIPTIONS:-
 S (SUBSTUT)-Use substitute command to enter program.
 Ctr+U- You can check data previously entered by pressing Ctrl-U key.
 ESC (Display COMMAND) - Come to command mode.
 CR (MEMORY) - Display first mode: Memory.
 BURST- Use to BURST Mode.
 ADDR- Asks the program address.
 COMMAND- Comes back to command mode.
 REGISTER- Display next mode: Register.
 Any key IO- Displays next mode: Input/output port.
6
APPARATUS
8085 TRAINER KIT & 8085 SIMULATOR SOFTWARE
7
INTERFACING STUDY CARDS
8
OTHERS EXPERIMENTS
AIM: Interfacing and control of stepper motor using 8085 microprocessor.
Apparatus required: stepper motor (12 volts)
SAMPLE PROGRAM: Interface a Stepper Motor to the 8085 microprocessor system and
write an 8085 assembly language program to control the Stepper Motor.
Block Diagram:-
SOFTWARE FOR STEPPER MOTOR CONTROL:
As port A is used as an output port, control word for 8255 is 80H. Stepper Motor Control
Program: 6000H Excite code DB 03H, 06H, 09H, and OCH: This is the code sequence for
clockwise rotation Subroutine to rotate a stepper motor clockwise by 360° - Set the counts:
MVI C, 32H: Set repetition count to 50ıο
START: MVI B, 04H: Counts excitation sequence
LXI H, 6000H: Initialize pointer
BACK1: MOV A, M: Get the Excite code
OUT PORTA: Send Excite code
CALL DELAY: Wait
INX H: Increment pointer
DCR B: Repeat 4 times JNZ BACK l
9
Delay subroutine:
Delay: LXI D, Count
Back: DCX D
MOV A, D
ORA E
JNZ Back RET
FLOWCHARTS: Stepper motor subroutine
Conclusion: - A stepper motor is a digital motor. It can be driven by digital signal. Fig.
shows the typical 2 phase motor rated 12V /0.67 A/ph interfaced with the 8085
microprocessor system using 8255. Motor shown in the circuit has two phases, with center-
tap winding. The center taps of these windings are connected to the 12V supply. Due to this,
motor can be excited by grounding four terminals of the two windings. Motor can be rotated
in steps by giving proper excitation sequence to these windings. The lower nibble of port A
of the 8255 is used to generate excitation signals in the proper sequence. These excitation
signals are buffered using driver transistors. The transistors are selected such that they can
source rated current for the windings. Motor is rotated by 1.80 per excitation.
EXPERIMENT
AIM Generation of delay in binary counting using 8085 microprocessor.
SAMPLE PROGRAM Write a program for displaying binary up counter. Counter should
count numbers from 00 to FFH and it should increment after every 0.5 sec.
10
Source Program:
LXI SP, 27FFH: Initialize stack pointer
MVI C, OOH: Initialize counter
BACK: CALL Display: Call display subroutine
CALL Delay: Call delay subroutine
INR C: Increment counter
MOV A, C
CPI OOH: Check counter is > FFH
JNZ BACK: If not, repeat
HLT: Stop
Delay Subroutine: Delay: LXI B, count: Initialize count
BACK: DCX D: Decrement count
MOV A, E
ORA D: Logically OR D and E
JNZ BACK: If result is not 0 repeat
RET: Return to main program
Conclusion: Assume operating frequency of 8085 equal to 2MHz. Display routine is
available.
11
PHOTO GALLARY: STUDENTS PERFORM EXPERIMENTS ON KIT & SIMULATOR
12
13
LAB ASSIGNMENT
1. (A) Addition of two nos. is stored in location 20C0 & 20C1 respective & result is
stored in 20C2. (B) Subtraction of two no.
2. Write a program using 8085 microprocessor for Decimal, Hexadecimal addition and
subtraction of two numbers.
3. To perform multiplication and division of two 8 bit numbers using 8085.
4. To find the largest and smallest number in an array of data using 8085 instruction
set.
5. To write a program to arrange an array of data in ascending & descending order.
6. To convert given Hexadecimal number into its equivalent ASCII number & vice
versa using 8085.

More Related Content

What's hot

Computer architecture pipelining
Computer architecture pipeliningComputer architecture pipelining
Computer architecture pipeliningMazin Alwaaly
 
Question paper with solution the 8051 microcontroller based embedded systems...
Question paper with solution  the 8051 microcontroller based embedded systems...Question paper with solution  the 8051 microcontroller based embedded systems...
Question paper with solution the 8051 microcontroller based embedded systems...manishpatel_79
 
Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor Mustapha Fatty
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacingdeval patel
 
Instruction set of 8086
Instruction set of 8086Instruction set of 8086
Instruction set of 80869840596838
 
Instruction pipeline: Computer Architecture
Instruction pipeline: Computer ArchitectureInstruction pipeline: Computer Architecture
Instruction pipeline: Computer ArchitectureInteX Research Lab
 
Semiconductor memories
Semiconductor memoriesSemiconductor memories
Semiconductor memoriesSambitShreeman
 
Datapath Design of Computer Architecture
Datapath Design of Computer ArchitectureDatapath Design of Computer Architecture
Datapath Design of Computer ArchitectureAbu Zaman
 
Computer Organization and Architecture.
Computer Organization and Architecture.Computer Organization and Architecture.
Computer Organization and Architecture.CS_GDRCST
 
Digital Signal Processing Lab Manual ECE students
Digital Signal Processing Lab Manual ECE studentsDigital Signal Processing Lab Manual ECE students
Digital Signal Processing Lab Manual ECE studentsUR11EC098
 
Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086Jismy .K.Jose
 
Addressing modes of 8086
Addressing modes of 8086Addressing modes of 8086
Addressing modes of 8086saurav kumar
 
Minimum Modes and Maximum Modes of 8086 Microprocessor
Minimum Modes and Maximum Modes of 8086 MicroprocessorMinimum Modes and Maximum Modes of 8086 Microprocessor
Minimum Modes and Maximum Modes of 8086 MicroprocessorNikhil Kumar
 
Concept of Pipelining
Concept of PipeliningConcept of Pipelining
Concept of PipeliningSHAKOOR AB
 
Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)Gaditek
 

What's hot (20)

Computer architecture pipelining
Computer architecture pipeliningComputer architecture pipelining
Computer architecture pipelining
 
8085 alp programs
8085 alp programs8085 alp programs
8085 alp programs
 
Question paper with solution the 8051 microcontroller based embedded systems...
Question paper with solution  the 8051 microcontroller based embedded systems...Question paper with solution  the 8051 microcontroller based embedded systems...
Question paper with solution the 8051 microcontroller based embedded systems...
 
Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor
 
8086 micro processor
8086 micro processor8086 micro processor
8086 micro processor
 
Pipelining & All Hazards Solution
Pipelining  & All Hazards SolutionPipelining  & All Hazards Solution
Pipelining & All Hazards Solution
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacing
 
Instruction set of 8086
Instruction set of 8086Instruction set of 8086
Instruction set of 8086
 
Instruction pipeline: Computer Architecture
Instruction pipeline: Computer ArchitectureInstruction pipeline: Computer Architecture
Instruction pipeline: Computer Architecture
 
Semiconductor memories
Semiconductor memoriesSemiconductor memories
Semiconductor memories
 
ADDRESSING MODES
ADDRESSING MODESADDRESSING MODES
ADDRESSING MODES
 
Datapath Design of Computer Architecture
Datapath Design of Computer ArchitectureDatapath Design of Computer Architecture
Datapath Design of Computer Architecture
 
Computer Organization and Architecture.
Computer Organization and Architecture.Computer Organization and Architecture.
Computer Organization and Architecture.
 
Digital Signal Processing Lab Manual ECE students
Digital Signal Processing Lab Manual ECE studentsDigital Signal Processing Lab Manual ECE students
Digital Signal Processing Lab Manual ECE students
 
Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086
 
Addressing modes of 8086
Addressing modes of 8086Addressing modes of 8086
Addressing modes of 8086
 
8086 memory segmentation
8086 memory segmentation8086 memory segmentation
8086 memory segmentation
 
Minimum Modes and Maximum Modes of 8086 Microprocessor
Minimum Modes and Maximum Modes of 8086 MicroprocessorMinimum Modes and Maximum Modes of 8086 Microprocessor
Minimum Modes and Maximum Modes of 8086 Microprocessor
 
Concept of Pipelining
Concept of PipeliningConcept of Pipelining
Concept of Pipelining
 
Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)
 

Viewers also liked

8085 microprocessor lab manual
8085 microprocessor lab manual8085 microprocessor lab manual
8085 microprocessor lab manualNithin Mohan
 
Microprocessor lab
Microprocessor labMicroprocessor lab
Microprocessor labkpaulraj
 
8080 8085 assembly language_programming manual programando
8080 8085 assembly  language_programming manual programando 8080 8085 assembly  language_programming manual programando
8080 8085 assembly language_programming manual programando Universidad de Tarapaca
 
Microprocessor and Interfacing Lab Notes - Akshansh
Microprocessor and Interfacing Lab Notes - AkshanshMicroprocessor and Interfacing Lab Notes - Akshansh
Microprocessor and Interfacing Lab Notes - AkshanshAkshansh Chaudhary
 
Anshuman Tech Private Limited, Pune, Training Equipment
Anshuman Tech Private Limited, Pune, Training EquipmentAnshuman Tech Private Limited, Pune, Training Equipment
Anshuman Tech Private Limited, Pune, Training EquipmentIndiaMART InterMESH Limited
 
Micro Processor Lab Manual!
Micro Processor Lab Manual!Micro Processor Lab Manual!
Micro Processor Lab Manual!PRABHAHARAN429
 
Microprocessor lab manual
Microprocessor lab manualMicroprocessor lab manual
Microprocessor lab manualDhaval Shukla
 
8085 manual NCIT SAROZ BISTA SIR
8085 manual NCIT SAROZ BISTA SIR8085 manual NCIT SAROZ BISTA SIR
8085 manual NCIT SAROZ BISTA SIRTHEE CAVE
 
computer architecture lab manual
computer architecture lab manualcomputer architecture lab manual
computer architecture lab manualNeelamani Samal
 
Micro Processor Mini Project,Electronic Quiz Table
Micro Processor Mini Project,Electronic Quiz TableMicro Processor Mini Project,Electronic Quiz Table
Micro Processor Mini Project,Electronic Quiz TableSubhashini Sundaram
 
Assemblylanguageprogrammingof8085 100523023329-phpapp02
Assemblylanguageprogrammingof8085 100523023329-phpapp02Assemblylanguageprogrammingof8085 100523023329-phpapp02
Assemblylanguageprogrammingof8085 100523023329-phpapp02Swati Watve-Phadke
 
Unit – 2
Unit – 2Unit – 2
Unit – 2techbed
 

Viewers also liked (20)

Mp lab manual
Mp lab manualMp lab manual
Mp lab manual
 
8085 microprocessor lab manual
8085 microprocessor lab manual8085 microprocessor lab manual
8085 microprocessor lab manual
 
Microprocessor lab
Microprocessor labMicroprocessor lab
Microprocessor lab
 
8080 8085 assembly language_programming manual programando
8080 8085 assembly  language_programming manual programando 8080 8085 assembly  language_programming manual programando
8080 8085 assembly language_programming manual programando
 
8086 microprocessor lab manual
8086 microprocessor lab manual8086 microprocessor lab manual
8086 microprocessor lab manual
 
Microprocessor and Interfacing Lab Notes - Akshansh
Microprocessor and Interfacing Lab Notes - AkshanshMicroprocessor and Interfacing Lab Notes - Akshansh
Microprocessor and Interfacing Lab Notes - Akshansh
 
Anshuman Tech Private Limited, Pune, Training Equipment
Anshuman Tech Private Limited, Pune, Training EquipmentAnshuman Tech Private Limited, Pune, Training Equipment
Anshuman Tech Private Limited, Pune, Training Equipment
 
Micro Processor Lab Manual!
Micro Processor Lab Manual!Micro Processor Lab Manual!
Micro Processor Lab Manual!
 
4 5 marks importnt question dcn
4 5 marks importnt question dcn4 5 marks importnt question dcn
4 5 marks importnt question dcn
 
Microprocessor lab manual
Microprocessor lab manualMicroprocessor lab manual
Microprocessor lab manual
 
Micro prointronprog
Micro prointronprogMicro prointronprog
Micro prointronprog
 
8085 manual NCIT SAROZ BISTA SIR
8085 manual NCIT SAROZ BISTA SIR8085 manual NCIT SAROZ BISTA SIR
8085 manual NCIT SAROZ BISTA SIR
 
computer architecture lab manual
computer architecture lab manualcomputer architecture lab manual
computer architecture lab manual
 
Mp &mc programs
Mp &mc programsMp &mc programs
Mp &mc programs
 
Microprocessor lab
Microprocessor labMicroprocessor lab
Microprocessor lab
 
Micro Processor Mini Project,Electronic Quiz Table
Micro Processor Mini Project,Electronic Quiz TableMicro Processor Mini Project,Electronic Quiz Table
Micro Processor Mini Project,Electronic Quiz Table
 
Assemblylanguageprogrammingof8085 100523023329-phpapp02
Assemblylanguageprogrammingof8085 100523023329-phpapp02Assemblylanguageprogrammingof8085 100523023329-phpapp02
Assemblylanguageprogrammingof8085 100523023329-phpapp02
 
8085 lab
8085 lab8085 lab
8085 lab
 
8085 instruction-set new
8085 instruction-set new8085 instruction-set new
8085 instruction-set new
 
Unit – 2
Unit – 2Unit – 2
Unit – 2
 

Similar to Microprocessor lab manual

Microprocessor and Microcontroller Lab Manual!
Microprocessor and Microcontroller Lab Manual!Microprocessor and Microcontroller Lab Manual!
Microprocessor and Microcontroller Lab Manual!PRABHAHARAN429
 
Introduction to 8085 & it's description(includes basic lab experiments)
Introduction to 8085 & it's description(includes basic lab experiments)Introduction to 8085 & it's description(includes basic lab experiments)
Introduction to 8085 & it's description(includes basic lab experiments)Basil John
 
Microprocessor Lab Manual by Er. Swapnil V. Kaware
Microprocessor Lab Manual by Er. Swapnil V. KawareMicroprocessor Lab Manual by Er. Swapnil V. Kaware
Microprocessor Lab Manual by Er. Swapnil V. KawareProf. Swapnil V. Kaware
 
Temperature Controlled Fan Report
Temperature Controlled Fan ReportTemperature Controlled Fan Report
Temperature Controlled Fan ReportPeeyush Pashine
 
Assembly Language Programming Of 8085
Assembly Language Programming Of 8085Assembly Language Programming Of 8085
Assembly Language Programming Of 8085techbed
 
Mechatronics Manual.docx
Mechatronics   Manual.docxMechatronics   Manual.docx
Mechatronics Manual.docxRavichandran R
 
Pf700 energy savings_lab
Pf700 energy savings_labPf700 energy savings_lab
Pf700 energy savings_labconfidencial
 
Arduino Interfacing with different sensors and motor
Arduino Interfacing with different sensors and motorArduino Interfacing with different sensors and motor
Arduino Interfacing with different sensors and motorAmarjeetsingh Thakur
 
Microprocessorlabmanual ee0310
Microprocessorlabmanual ee0310Microprocessorlabmanual ee0310
Microprocessorlabmanual ee0310Hari Prakash
 
180410227 ae2406-lab-manual-doc
180410227 ae2406-lab-manual-doc180410227 ae2406-lab-manual-doc
180410227 ae2406-lab-manual-dochomeworkping10
 

Similar to Microprocessor lab manual (20)

Lab manual mp
Lab manual mpLab manual mp
Lab manual mp
 
Real Time Embedded System
Real Time Embedded SystemReal Time Embedded System
Real Time Embedded System
 
Microprocessor and Microcontroller Lab Manual!
Microprocessor and Microcontroller Lab Manual!Microprocessor and Microcontroller Lab Manual!
Microprocessor and Microcontroller Lab Manual!
 
Switch Control and Time Delay - Keypad
Switch Control and Time Delay - KeypadSwitch Control and Time Delay - Keypad
Switch Control and Time Delay - Keypad
 
Introduction to 8085 & it's description(includes basic lab experiments)
Introduction to 8085 & it's description(includes basic lab experiments)Introduction to 8085 & it's description(includes basic lab experiments)
Introduction to 8085 & it's description(includes basic lab experiments)
 
EE2356 Microprocessor and Microcontroller Lab Manuel
EE2356 Microprocessor and Microcontroller Lab ManuelEE2356 Microprocessor and Microcontroller Lab Manuel
EE2356 Microprocessor and Microcontroller Lab Manuel
 
Microprocessor Lab Manual by Er. Swapnil V. Kaware
Microprocessor Lab Manual by Er. Swapnil V. KawareMicroprocessor Lab Manual by Er. Swapnil V. Kaware
Microprocessor Lab Manual by Er. Swapnil V. Kaware
 
Analog to Digital Converter
Analog to Digital ConverterAnalog to Digital Converter
Analog to Digital Converter
 
Temperature Controlled Fan Report
Temperature Controlled Fan ReportTemperature Controlled Fan Report
Temperature Controlled Fan Report
 
Mpi lab manual eee
Mpi lab manual eeeMpi lab manual eee
Mpi lab manual eee
 
Assembly Language Programming Of 8085
Assembly Language Programming Of 8085Assembly Language Programming Of 8085
Assembly Language Programming Of 8085
 
Mechatronics Manual.docx
Mechatronics   Manual.docxMechatronics   Manual.docx
Mechatronics Manual.docx
 
Pf700 energy savings_lab
Pf700 energy savings_labPf700 energy savings_lab
Pf700 energy savings_lab
 
Lec03
Lec03Lec03
Lec03
 
Diljit.pdf
Diljit.pdfDiljit.pdf
Diljit.pdf
 
Malp edusat
Malp edusatMalp edusat
Malp edusat
 
Arduino Interfacing with different sensors and motor
Arduino Interfacing with different sensors and motorArduino Interfacing with different sensors and motor
Arduino Interfacing with different sensors and motor
 
Microprocessorlabmanual ee0310
Microprocessorlabmanual ee0310Microprocessorlabmanual ee0310
Microprocessorlabmanual ee0310
 
180410227 ae2406-lab-manual-doc
180410227 ae2406-lab-manual-doc180410227 ae2406-lab-manual-doc
180410227 ae2406-lab-manual-doc
 
CH06 (1).PPT
CH06 (1).PPTCH06 (1).PPT
CH06 (1).PPT
 

More from ASHOKA INSTITUTE OF TECHNOLOGY & MANAGEMENT,VARANASI,U.P.

More from ASHOKA INSTITUTE OF TECHNOLOGY & MANAGEMENT,VARANASI,U.P. (20)

Anupam kumar re2106 a55
Anupam kumar re2106 a55Anupam kumar re2106 a55
Anupam kumar re2106 a55
 
Electronika de fiesta 2014
Electronika de fiesta 2014Electronika de fiesta 2014
Electronika de fiesta 2014
 
Departmental notice,ece
Departmental notice,eceDepartmental notice,ece
Departmental notice,ece
 
Departmental notice,ece
Departmental notice,eceDepartmental notice,ece
Departmental notice,ece
 
Electronics switching-eec-802
Electronics switching-eec-802Electronics switching-eec-802
Electronics switching-eec-802
 
Some advanced instructions of the 8085 microprocessors
Some advanced instructions of the 8085 microprocessorsSome advanced instructions of the 8085 microprocessors
Some advanced instructions of the 8085 microprocessors
 
8254 presentation
8254 presentation8254 presentation
8254 presentation
 
8254 presentation
8254 presentation8254 presentation
8254 presentation
 
8254 presentation
8254 presentation8254 presentation
8254 presentation
 
Cyptography ece 702
Cyptography ece 702Cyptography ece 702
Cyptography ece 702
 
Connecting devices ece 702
Connecting devices ece 702Connecting devices ece 702
Connecting devices ece 702
 
Connecting devices ece 702
Connecting devices ece 702Connecting devices ece 702
Connecting devices ece 702
 
Introduction to-microprocessors-unit-1
Introduction to-microprocessors-unit-1Introduction to-microprocessors-unit-1
Introduction to-microprocessors-unit-1
 
Eec503, mp 30 questions
Eec503, mp 30 questionsEec503, mp 30 questions
Eec503, mp 30 questions
 
Dcn previous que4 with solutions
Dcn previous que4 with solutionsDcn previous que4 with solutions
Dcn previous que4 with solutions
 
Dcn previous que3 with solutions
Dcn previous que3 with solutionsDcn previous que3 with solutions
Dcn previous que3 with solutions
 
Dcn previous que2 with solutions
Dcn previous que2 with solutionsDcn previous que2 with solutions
Dcn previous que2 with solutions
 
Dcn previous que1 with solutions
Dcn previous que1 with solutionsDcn previous que1 with solutions
Dcn previous que1 with solutions
 
Microprocessor paper 4 with solutions
Microprocessor paper 4 with solutionsMicroprocessor paper 4 with solutions
Microprocessor paper 4 with solutions
 
Microprocessor paper 3 with solutions
Microprocessor paper 3 with solutionsMicroprocessor paper 3 with solutions
Microprocessor paper 3 with solutions
 

Recently uploaded

Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesPrabhanshu Chaturvedi
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 

Recently uploaded (20)

Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and Properties
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 

Microprocessor lab manual

  • 1. 1 LABORATORY MANUAL OF EEC456 & EEE454 Prepared at Ashoka Institute of Technology & Management, Aktha, Sarnath, Varanasi, U.P. With Participation & Valuable Contributions from Er. Anupam Kumar, ECE, HOD & Assistant Professor, AITM (anupamkumarmtec@gmail.com) Department of Electronics & Communication Engineering 1 To study 8085 microprocessor System 2 To study 8086 microprocessor System 3 To develop and run a program for finding out the largest/smallest number from a given set of numbers. 4 To develop and run a program for arranging in ascending/descending order of a set of numbers 5 To develop and run a programme to compute square root of a given number 6 To perform multiplication/division of given numbers 7 To perform floating point mathematical operations (addition, subtraction, multiplication and division) 8 To obtain interfacing of keyboard controller 9 To perform interfacing of DMA controller 10 To obtain interfacing of RAM chip to 8085/8086 based system Textbook: Lab Manual EEC456 Additional Readings: 1. Ramesh Gaonkar,”Microprocessor Architecture, Programming, and Applications with the 8051, 5th Edition, Penram International Publication (India) Pvt. Ltd. 2. Douglas V. Hail,” Microprocessor and Interfacing,”2nd Edition,TMH,2006 3. User’s Guide (XPO 85/SW), ANSHUMAN Tech Pvt. Ltd. Course Code: E E C 4 5 6 Course Title: Microprocessors Laboratory FACULTY NAME MR. ANUPAM KUMAR Attendance Weightages CA MTE ETE 0 0 0
  • 2. 2
  • 3. 3  QUICK STEPS TO LEARN OPERATION WITH KIT Step I:-Procedure to operate kit using assembly language program. Do connections as per your figure Switch ON power supply (i.e. SMPS (Switched mode power supply) ANSHUMAN will be display on display board. Press ENTER key Go to command mode COMMAND= Press E EXPAND= Press A 2 PASS ASSEMBLER? Press ENTER key 3 times Files EXIST? Press ‘N’ (No) ARE YOU SURE? Press ENTER KEY C= Press ‘W’ 0001 ORG 6000H (Write your program here) 0002 MVI A, 22H 0003 MVI B, 33H 0004 ADD B 0005 RST 1 Press Ctrl key+ C C=
  • 4. 4 Press ‘A’ Key Will show message save code at DSTN? Y/N Press ‘Y’ (Yes) C= Press ‘ESC’ two times COMMAND= (Go to command mode) Execution of the program Press ‘G’ Go to? Press ENTER key 2 times BURST ADDR GIVE 6000H Press ENTER Key COMMAND= (Go to command mode) Checking contents of registers Press ‘S’ SUBSTUT? Press ENTER key MEMORY Press ‘any key’ other than ‘Enter Key’ 2 times IO REGISTER (GIVE THE NAME) Press ENTER key NAME
  • 5. 5 A=55(Result i.e. 22+33=55)  NOTE: - On Pressing Enter subsequently all registers contents will display.  PROCEDURE TO OPERATE KIT USING DISASSEMBLER Press E EXPAND Press U Press ENTER key 3 times STRT Give 6000 Press ENTER END Give 6009 Press ENTER DSTN Give 6000 Press ENTER PRINTER? Press ‘’CTR+C’’ step by step ABBREVIATIONS & DESCRIPTIONS:-  S (SUBSTUT)-Use substitute command to enter program.  Ctr+U- You can check data previously entered by pressing Ctrl-U key.  ESC (Display COMMAND) - Come to command mode.  CR (MEMORY) - Display first mode: Memory.  BURST- Use to BURST Mode.  ADDR- Asks the program address.  COMMAND- Comes back to command mode.  REGISTER- Display next mode: Register.  Any key IO- Displays next mode: Input/output port.
  • 6. 6 APPARATUS 8085 TRAINER KIT & 8085 SIMULATOR SOFTWARE
  • 8. 8 OTHERS EXPERIMENTS AIM: Interfacing and control of stepper motor using 8085 microprocessor. Apparatus required: stepper motor (12 volts) SAMPLE PROGRAM: Interface a Stepper Motor to the 8085 microprocessor system and write an 8085 assembly language program to control the Stepper Motor. Block Diagram:- SOFTWARE FOR STEPPER MOTOR CONTROL: As port A is used as an output port, control word for 8255 is 80H. Stepper Motor Control Program: 6000H Excite code DB 03H, 06H, 09H, and OCH: This is the code sequence for clockwise rotation Subroutine to rotate a stepper motor clockwise by 360° - Set the counts: MVI C, 32H: Set repetition count to 50ıο START: MVI B, 04H: Counts excitation sequence LXI H, 6000H: Initialize pointer BACK1: MOV A, M: Get the Excite code OUT PORTA: Send Excite code CALL DELAY: Wait INX H: Increment pointer DCR B: Repeat 4 times JNZ BACK l
  • 9. 9 Delay subroutine: Delay: LXI D, Count Back: DCX D MOV A, D ORA E JNZ Back RET FLOWCHARTS: Stepper motor subroutine Conclusion: - A stepper motor is a digital motor. It can be driven by digital signal. Fig. shows the typical 2 phase motor rated 12V /0.67 A/ph interfaced with the 8085 microprocessor system using 8255. Motor shown in the circuit has two phases, with center- tap winding. The center taps of these windings are connected to the 12V supply. Due to this, motor can be excited by grounding four terminals of the two windings. Motor can be rotated in steps by giving proper excitation sequence to these windings. The lower nibble of port A of the 8255 is used to generate excitation signals in the proper sequence. These excitation signals are buffered using driver transistors. The transistors are selected such that they can source rated current for the windings. Motor is rotated by 1.80 per excitation. EXPERIMENT AIM Generation of delay in binary counting using 8085 microprocessor. SAMPLE PROGRAM Write a program for displaying binary up counter. Counter should count numbers from 00 to FFH and it should increment after every 0.5 sec.
  • 10. 10 Source Program: LXI SP, 27FFH: Initialize stack pointer MVI C, OOH: Initialize counter BACK: CALL Display: Call display subroutine CALL Delay: Call delay subroutine INR C: Increment counter MOV A, C CPI OOH: Check counter is > FFH JNZ BACK: If not, repeat HLT: Stop Delay Subroutine: Delay: LXI B, count: Initialize count BACK: DCX D: Decrement count MOV A, E ORA D: Logically OR D and E JNZ BACK: If result is not 0 repeat RET: Return to main program Conclusion: Assume operating frequency of 8085 equal to 2MHz. Display routine is available.
  • 11. 11 PHOTO GALLARY: STUDENTS PERFORM EXPERIMENTS ON KIT & SIMULATOR
  • 12. 12
  • 13. 13 LAB ASSIGNMENT 1. (A) Addition of two nos. is stored in location 20C0 & 20C1 respective & result is stored in 20C2. (B) Subtraction of two no. 2. Write a program using 8085 microprocessor for Decimal, Hexadecimal addition and subtraction of two numbers. 3. To perform multiplication and division of two 8 bit numbers using 8085. 4. To find the largest and smallest number in an array of data using 8085 instruction set. 5. To write a program to arrange an array of data in ascending & descending order. 6. To convert given Hexadecimal number into its equivalent ASCII number & vice versa using 8085.