0% found this document useful (0 votes)
175 views1 page

Microprocessors & Micro Controllers Lab

The document outlines a lab assignment involving writing and executing various assembly language and embedded C programs using TASM and Keil software. The programs include multi-byte arithmetic operations, sorting numbers in ascending and descending order, calculating averages, factorials and sums of squares/cubes, and interfacing switches and LEDs to an 8051 microcontroller. Students are to complete nine programming tasks total involving these types of programs.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
175 views1 page

Microprocessors & Micro Controllers Lab

The document outlines a lab assignment involving writing and executing various assembly language and embedded C programs using TASM and Keil software. The programs include multi-byte arithmetic operations, sorting numbers in ascending and descending order, calculating averages, factorials and sums of squares/cubes, and interfacing switches and LEDs to an 8051 microcontroller. Students are to complete nine programming tasks total involving these types of programs.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Microprocessors & Micro Controllers Lab

1. a) Write an assembly language program for multi-byte multiplication using TASM and execute
it.
b) Write an assembly language program for sorting (Descending order) the given numbers
using Keil software and execute it.
2. a) Write an assembly language program for sorting (Descending order) the given numbers
using
TASM and execute it.
b) Write an embedded C program for interfacing switches and LEDs to 8051 microcontroller
by using Keil software and execute it.
3. Write an assembly language program to calculate the Average of given numbers by using Keil
software and execute it.
4. a) Write an assembly language program for multi-byte division using TASM and execute it.
b) Write an embedded C program for interfacing switches and LEDs to 8051 microcontroller
by using Keil software and execute it.
5. a) Write an assembly language program for sorting (Ascending order) the given numbers using
TASM and execute it.
b) Write an assembly language program for finding number of 1’s and number of 0’s in a given
8-bit number using Keil software and execute it.
6. a) Write an assembly language program for multi-byte subtraction by using TASM and
execute it.
b) Write an assembly language program for sorting (Ascending order) the given numbers using
Keil software and execute it.
7. Write an assembly language program to calculate the factorial of a given number by using
TASM and execute it.
8. Write an assembly language program to calculate Sum of squares/cubes of a given numbers by
using TASM and execute it.
9. a) Write an assembly language program for multi-byte addition by using TASM and execute
it.
b) Write an assembly language program for finding number of 1’s and number of 0’s in a given
8-bit number using Keil software and execute it.

You might also like