Wednesday, 3 August 2011

8051 EXTRA LAB QUESTIONS


1.      Addition of two 16-bit numbers
2.      Subtraction of two 8-bit numbers
3.      Multiplication of two 8 bit Numbers
4.      Division of  two 8 bit numbers
5.      1’s and 2’s complement of a number
6.      Largest of N 8-bit numbers
7.      Write a program in 8051 to find the average of ‘n’ numbers and store the result in 4200
8.      Write an 8051 ALP to sort an array in even and odd numbers
9.      Write an 8051 alp to find the square root of a number
10.  Write an ALP to count the number of odd numbers and even numbers from an array of ‘n’ numbers and display count of odd numbers in 2500 and even numbers in 3000
11.  Generate the sequence using 8051  0,1,1,2,3,5,8
12.  Write an ALP to find the sum of odd numbers and even numbers from an array of ‘n’ numbers. Also display the count of odd numbers & even numbers.
13.  Write an ALP to find the sum of even numbers and odd numbers from an array of ‘n’ numbers.
14.  Write a program using 8051 to find the smallest number from the given sequence 0A,0B,0C,1B,1C,11 and store the result in memory location 4600.

No comments:

Post a Comment