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.