## EE6612 MICROPROCESSOR MICROCONTROLLER Lab Manual

Anna University Regulation 2013 Electrical and Electronics Engineering (EEE) **EE6612 MPMC LAB Manual** for all experiments is provided below. Download link for **EEE 6th SEM EE6612 MICROPROCESSOR MICROCONTROLLER Lab Manual** is listed down for students to make perfect utilization and score maximum marks with our study materials.

### Anna University Regulation 2013 Electrical and Electronics Engineering (EEE) 6th SEM EE6612 MPMC LAB-MICROPROCESSOR MICROCONTROLLER Lab Manual

**Ex. No: 1 SIMPLE ARITHMETIC OPERATIONS **

**AIM: **

To write an assembly language program to add, subtract, multiply and divide the given data stored at two consecutive locations using 8085 microprocessor.

**a. 8 BIT DATA ADDITION: **

**ALGORITHM: **

1. Initialize memory pointer to data location.

2. Get the first number from memory in accumulator.

3. Get the second number and add it to the accumulator.

4. Store the answer at another memory location.

**b. 8 BIT DATA SUBTRACTION **

**ALGORITHM: **

1. Initialize memory pointer to data location.

2. Get the first number from memory in accumulator.

3. Get the second number and subtract from the accumulator.

4. If the result yields a borrow, the content of the acc. is complemented and 01H is added to it (2’s complement). A register is cleared and the content of that reg. is incremented in case there is a borrow. If there is no borrow the content of the acc. is directly taken as the result.

5. Store the answer at next memory location.

**c. 8 BIT DATA MULTIPLICATION: **

**ALGORITHM: LOGIC: **Multiplication can be done by repeated addition.

1. Initialize memory pointer to data location.

2. Move multiplicand to a register.

3. Move the multiplier to another register.

4. Clear the accumulator.

5. Add multiplicand to accumulator

6. Decrement multiplier

7. Repeat step 5 till multiplier comes to zero.

8. The result, which is in the accumulator, is stored in a memory location.

**d. 8 BIT DIVISION: **

**ALGORITHM: LOGIC**: Division is done using the method Repeated subtraction.

1. Load Divisor and Dividend

2. Subtract divisor from dividend

3. Count the number of times of subtraction which equals the quotient

4. Stop subtraction when the dividend is less than the divisor .The dividend now becomes the remainder. Otherwise go to step 2.

5. Stop the program execution.

**RESULT**:

Thus the addition, subtraction, multiplication and division of two numbers was performed using the 8085 microprocessor.

EE6612 MICROPROCESSOR MICROCONTROLLER Lab Manual with all experiments **– ****Download Here**

If you require any other notes/study materials, you can comment in the below section.

**Related Links**

For EE6612 MICROPROCESSOR MICROCONTROLLER Lab Syllabus – **Click here**

**Search Terms**

Anna University 6th SEM EEE MICROPROCESSOR MICROCONTROLLER LAB Manual

EE6612 MICROPROCESSOR MICROCONTROLLER Lab Manual free download

Anna University EEE MPMC LAB Manual Regulation 2013

EE6612 Manual, MPMC LAB experiment wise Manual – EEE 6th Semester