0% found this document useful (0 votes)
49 views2 pages

Experiments (Arithmatic Operation) 8051

The document outlines 28 experiments involving arithmetic operations, logical operations, number conversions, and sorting/searching algorithms using 8-bit and 16-bit numbers stored in memory locations. The experiments include adding, subtracting, multiplying, and dividing numbers; performing logical AND, OR, XOR, and NOT operations; finding factors, palindromes, and Fibonacci sequences; sorting and arranging arrays; and converting between binary, decimal, hexadecimal, and ASCII representations. Students are instructed to write assembly language programs for each experiment and show only the program, inputs, and outputs in their lab reports.

Uploaded by

SumitBanik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views2 pages

Experiments (Arithmatic Operation) 8051

The document outlines 28 experiments involving arithmetic operations, logical operations, number conversions, and sorting/searching algorithms using 8-bit and 16-bit numbers stored in memory locations. The experiments include adding, subtracting, multiplying, and dividing numbers; performing logical AND, OR, XOR, and NOT operations; finding factors, palindromes, and Fibonacci sequences; sorting and arranging arrays; and converting between binary, decimal, hexadecimal, and ASCII representations. Students are instructed to write assembly language programs for each experiment and show only the program, inputs, and outputs in their lab reports.

Uploaded by

SumitBanik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Experiments

1. Addition of two 8 bit number

2. Subtraction of two 8 bit number

3. Write a program to multiply two numbers.

4. Write a program to divide two numbers.

5. Write a program to add/subtract/multiply two numbers stored in the

memory location 4500H and 45001H

6. Write a program to add first 10 natural numbers

7. Write a program to add two 16 bit numbers

8. Subtraction of two 16 bit number

9. Addition of 20 numbers stored in a memory location using loop

10. Write a program to add two BCD number in packed form……..

11. Write a program to find factorial of a number.

12. Write a program to find the larger/smaller of two numbers

13.Write a program to add two signed number.

14. Find the mean of first 7 natural number stored from the memory location

4500H to 4506H

15. Write a program to subtract upper nibble from the lower nibble and store

the difference in 8500 and borrow if any in location 8501.

16.Arrange an array of data in ascending order

17.Arrange an array of data in descending order


18.Count the numbers of 1’s in a number stored in a register

19. Write a program to generate a Fibonacci series. (1, 2, 3, 5, 7…..)

20. Write an assembly language program to perform logical operations AND,

OR, XOR,NOT on two eight bit numbers.

21.Find the median of set of data stored from the memory location 4500H to

4503H.

22.Write a program to find whether a given 8 bit number is odd or even. If

odd store 00H in the accumulator. If even store FF H in the accumulator.

23.Write a Program to check whether given number is palindrome or not. If

palindrome store FFh in accumulator else store 00h in accumulator.

24. Write a program to convert a ASCII value to hexadecimal number.

25. Write a program to convert a ASCII value to decimal number

26.Write a program to convert hexadecimal number to decimal

27. Write a program to convert a binary value to hex value

28.Write a program to convert decimal value to binary value

N.B:
1. Everyone have to show the output individually.
2. No need to write opcode and memory address of each instruction. Should write only
the program, input data and result in the lab copy.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy