8051 MICRO CONTROLLER 1 Arithmetic Programs for 16 bit Arithmetic Operations 8086(Using Various Addressing Modes) 1 1) AIM: TO i) 16 bit subtraction: AIM: - To write an assembly language program for subtraction of two 16-bit
Previous PDF | Next PDF |
[PDF] Microcontroller Laboratory Semester - LABORATORY MANUAL
ENGINEERING Name of the Lab: Microcontroller Laboratory Semester: V To explain writing assembly language programs for data transfer, arithmetic, Boolean and The original 8051 microcontroller was initially invented by Intel The two
[PDF] 8051 Lab pgms - WordPresscom
Experiment no 1 : Data Transfer Programming a Write an assembly language program to transfer N = ___ bytes of data from location A: _______h to location B:
[PDF] LIST OF EXPERIMENTS
LAB MANUAL (VI SEM ECE) Write an assembly language program to add, subtract, multiply, divide 16 Explain the operating mode 0 of 8051 serial port?
[PDF] Experiments in Computer and Microcontroller Applications
Experiment 3: The 8051 Instruction Set and Assembly Programming allows the assembly language programmer to monitor the program execution closely
[PDF] 15EE305J -MICROCONTROLLER LAB COURSE MANUAL
Thus the assembly language program was written to find the largest element in an array and executed using 8051 microcontroller Page 19 4 SORTING OF DATA
[PDF] Jawaharlal Nehru Engineering College Lab Manual
21 mai 2013 · A thorough understanding of 8086 Microprocessor concepts, demands Assembly Language programming with in depth knowledge of
[PDF] 8051 Microcontroller Lab Manual - Unhaggle
Microcontroller Lab Manual Write an 8051 Assembly Language Program for Finding Square Root of 8 Bit Number Having Integer Square Root [BS EN 61439 -2] --
[PDF] Micro Controllers and Embedded Systems Lab Manual - Electronics
List of Experiments: 1 Study and familiarization of 8051 Microcontroller trainer kit 2 Assembly Language Program for addition of 8-bit numbers stored in an
[PDF] MICROPROCESSOR AND MICROCONTROLLER LAB
8051 MICRO CONTROLLER 1 Arithmetic Programs for 16 bit Arithmetic Operations 8086(Using Various Addressing Modes) 1 1) AIM: TO i) 16 bit subtraction: AIM: - To write an assembly language program for subtraction of two 16-bit
[PDF] 8051 microcontroller interfacing programs in assembly language pdf
[PDF] 8051 microcontroller lab manual doc
[PDF] 8051 microcontroller pdf
[PDF] 8051 programming questions
[PDF] 806 bus timetable nsw
[PDF] 807 bus timetable
[PDF] 808 bus route
[PDF] 808 bus times
[PDF] 808 bus timetable liverpool
[PDF] 808 bus timetable newcastle
[PDF] 808 bus timetable rome
[PDF] 808 bus timetable sydney
[PDF] 8085 and 8086 microprocessor
[PDF] 8085 assembly language instruction set pdf
Balaji Institute of Technology & Science, Narsampet
Microprocesors & Interfacing Devices Laboratory Department of Electronics & Communication Engineering
DEPARTMENT OF
ELECTRONICS & COMMUNICATION ENGINEERING
LABORATORY MANUAL
FORMICROPROCESSORS & INTERFACING
DEVICES
(III B.Tech. - II ² Sem.)BALAJI INSTITUTE OF TECHNOLOGY &SCIENCE
Laknepally, Narsampet, Warangal
Balaji Institute of Technology & Science, NarsampetMicroprocesors & Interfacing Devices Laboratory Department of Electronics & Communication Engineering
BALAJI INSTITUTE OF TECHNOLOGY & SCIENCE
Laknepally(V), Narsampet(M), Warangal(Dist).
Dept. of Electronics & Communication Engineering
LAB: - MICRO PROCESSOR & INTERFACING DEVICES LAB
REGULATION: R 13
List of Experiments:-
1. Arithmetic operations(addition,subtraction,multiplication and division)
2. Addition of two BCD numbers
3. Ascendind order descending orderof an array of numbers
4. Finding lagest smallest number in an array of number
5. Generation of fibonacci series
6. Hexa decimal to decimal conversion
7. ASCII to decimal conversion
8. Program for sorting an array for 8086
9. Program for searching for a number of character in an array for 8086
10. Program for String Manipulations for 8086
MASM PROGRAMING
1. Arithmetic operations(addition,subtraction,multiplication and division)
2. Addition of two BCD numbers
3. Ascendind order descending orderof an array of numbers
4. Finding lagest smallest number in an array of number
5. Generation of fibonacci series
6. Hexa decimal to decimal conversion
Balaji Institute of Technology & Science, NarsampetMicroprocesors & Interfacing Devices Laboratory Department of Electronics & Communication Engineering
8051 MICRO CONTROLLER
1.Arithmetic operations(addition,subtraction,multiplication and division)
2.Addition of two BCD numbers
3.Ascendind order descending orderof an array of numbers
4.Finding lagest smallest number in an array of number
5.Generation of fibonacci series
6.Masking of bits
7.Hexa decimal to decimal conversion
INTERFACING WITH 8086 MICRO PROCESSOR:
1.Stepper Motor Interfacing to 8086
2.Traffic light controller intrfacing to 8086
3.Elevatorsimulator intrfacing to 8086
4.Seven-segment display intrfacing to 8086
5.Tone generator intrfacing to 8086
6.interfacing ADC and DAC to 8086
7.SRAM and DRAM intrfacing to 8086
8.Digit key-interfacing to 8086.
Balaji Institute of Technology & Science, NarsampetMicroprocesors & Interfacing Devices Laboratory Department of Electronics & Communication Engineering
1.Programs for 16 bit Arithmetic Operations fr 8086(Using Various
Addressing Modes)
1.1) AIM: TO WRITE 8086 ALP TO ADD,SUB,MUL,DIV TWO 16-BIT
NUMBERS.
APPARATUS:
1.8086 mp kit -1& Adopter-1
2. System-1
3. RS 232 Serial cable.
4.+5v Supply
5.86/88e Driver Software.
PROGRAM CODE:-
XOR AX,AX
MOV ES,AX
MOV DI,3000
XOR BX,BX
XOR CX,CX
XOR DX,DX
MOV AX,5555
MOV BX,2222
ADD AX,BX
MOV [DI],AX
INC DI
INC DI
MOV AX,5555
SUB AX,BX
MOV [DI],AX
INC DI
INC DI
MOV AX,5555
MUL BX
Balaji Institute of Technology & Science, NarsampetMicroprocesors & Interfacing Devices Laboratory Department of Electronics & Communication Engineering
MOV [DI],AX
INC DI
INC DI
INC DI
INC DI
MOV AX,5555
XOR DX,DX
DIV BX
MOV [DI],AX
INC DI
INC DI
MOV[DI],DX
INT 03
I/P:AX=5555 BX=2222
O/P: ES:DI
0000:3000 77
0000:3001 77 } Add(AX)
0000:3002 33}
0000:3003 33} Sub(AX)
0000:3004 4A}
0000:3005 9F} AX
0000:3006 60}
0000:3007 0B } DX MUL(AX,DX)
0000:3008 02}
0000:3009 00} AX Quotient}
0000:300A 11}
0000:300B 11} DX Reminder } DIV
Balaji Institute of Technology & Science, NarsampetMicroprocesors & Interfacing Devices Laboratory Department of Electronics & Communication Engineering
Flow chart:
StartGet the first number
Get the second number
ADD the two numbers
Is carry
flag setCarry=0 Carry=1
Store result and carry
in memory Stop Balaji Institute of Technology & Science, NarsampetMicroprocesors & Interfacing Devices Laboratory Department of Electronics & Communication Engineering
1.2 .MULTIPLICAION OF TWO 16-BIT DATA
AIM: To multiply two 16-bit data (Multibyte multiplication) using 8086 microprocessor.APPARATUS:
1. 8086 Trainer kit
2. Key board
3. SMPS
PROGRAM CODE:
MOV AX,[0300]
MOV BX,[0302]
MUL BX
INT A5
RESULT:
Input Data (Before Execution)
0000:0300 44
0000:0301 44
0000:0302 11
0000:0303 11
Output Data (After Execution)
AL 44 AH 44 DL 00 DH 00 Balaji Institute of Technology & Science, NarsampetMicroprocesors & Interfacing Devices Laboratory Department of Electronics & Communication Engineering
1.3. DIVISION OF TWO 16-BIT DATA
AIM: To multiply two 16-bit data (Multibyte division) using 8086 microprocessor.APPARATUS:
1. 8086 Trainer kit
2. Key board
3. SMPS
PROGRAM CODE:
MOV AX,[0300]
MOV BX,[0302]
DIV BX
INT A5
RESULT:
Input Data (Before Execution)
0000:0300 44
0000:0301 44
0000:0302 22
0000:0303 22
Output Data (After Execution)
AL 22 AH 22 DL 00 DH 00 Balaji Institute of Technology & Science, NarsampetMicroprocesors & Interfacing Devices Laboratory Department of Electronics & Communication Engineering
Program:1.4 MULTIPLICAION OF SIGNED NUMBERS
AIM: To multiply two signed numbers (8-bit data) using 8086 microprocessors.APPARATUS:
1. 8086 Trainer kit
2. Key board
3. SMPS
PROGRAM CODE:
MOV AX,0200
MOV DS,AX
MOV AL,[1500]
NEG AL
MOV BL,[1501]
MUL BL
MOV [1505],AX
INT A5
RESULT:
Input Data (Before Execution)
2000:1500 10
2000:1501 15
Output Data (After Execution)
2000:1505 B0
2000:1506 13
Balaji Institute of Technology & Science, NarsampetMicroprocesors & Interfacing Devices Laboratory Department of Electronics & Communication Engineering