EC 2308
MICROPROCESSOR & MICROCONTROLLER LABORATORY
1
NSCET
NADAR SARASWATHI COLLEGE OF ENGINEERING AND TECHNOLOGY VADAPUDUPATTI, THENI DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING EC 2308 – MICROPROCESSOR AND MICROCONTROLLER LAB V SEMESTER 2012-2013
Prepared by Venkatesh.T (AP/ECE) Carol Praveen.R (AP/ECE)
2
NADAR SARASWATHI COLLEGE OF ENGINEERING AND TECHNOLOGY VADAPUDUPATTI, THENI DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGINEERING ---------------------------------------------------------------------------------------------------------------Subject code: EC 2308 Subject : MICROPROCESSOR AND MICROCONTROLLER LAB
List of Experiments:
Programs for 16 bit Arithmetic operations (Using 8086). Programs for Sorting and Searching (Using 8086). Programs for String manipulation operations (Using 8086). Programs for Digital clock and Stop watch (Using 8086). Interfacing ADC and DAC. Parallel Communication between two MP Kits using Mode 1 and Mode 2 of 8255. Interfacing and Programming 8279, 8259, and 8253. Serial Communication between two MP Kits using 8251. Interfacing and Programming of Stepper Motor and DC Motor Speed control. Programming using Arithmetic, Logical and Bit Manipulation instructions of 8051 microcontroller. Programming and verifying Timer, Interrupts and UART operations in 8051 Microcontroller. Communication between 8051 Microcontroller kit & PC.
3
EXPT NO:
8086 PROGRAMMING ADDITION & SUBTRACTION
DATE:
AIM: To write an Assembly Language Program (ALP) for performing the addition and subtraction operation of two byte numbers. APPARATUS REQUIRED: SL.NO ITEM 1. Microprocessor kit 2. Power Supply SPECIFICATION 8086 kit +5 V dc QUANTITY 1 1
PROBLEM STATEMENT: Write an ALP in 8086 to add and subtract two byte numbers stored in the memory location 1000H to 1003H and store the result in the memory location 1004H to 1005H.Also provide an instruction in the above program to