Uploaded by Aman Osan

COA File Outputs

advertisement
EXPERIMENT 4: Write a program to perform:
A. Addition of two 8 bit numbers without carry.
OUTPUT:
B. Addition of two 8 bit numbers with carry.
OUPUT:
EXPERIMENT 5: Write a program to perform:
A. Subtraction of two 8 bit numbers without borrow.
OUTPUT:
B. Subtraction of two 8 bit numbers with borrow.
OUTPUT:
EXPERIMENT 6: WAP to find 1s compliment of an 8 bit number.
OUTPUT:
EXPERIMENT 7: WAP to find 2s compliment of an 8 bit number.
OUTPUT:
EXPERIMENT 8: WAP to perform multiplication of two 8 bit numbers.
OUTPUT:
EXPERIMENT 9: WAP to find smallest and largest number from given series.
OUTPUT:
//The greatest number is 99
//The smallest number is 1
EXPERIMENT 10: WAP to find sum of series of n consecutive numbers.
OUTPUT:
EXPERIMENT 11: WAP to find factorial of a number.
OUTPUT:
EXPERIMENT 12: WAP to reverse an 8 bit number.
OUTPUT:
EXPERIMENT 13: WAP sort a series in ascending order.
OUTPUT:
EXPERIMENT 14: WAP to perform division of two 8 bit numbers.
OUTPUT:
EXPERIMENT 15: WAP to count number of 1s.
OUTPUT:
EXPERIMENT 16: WAP to add ‘n’ 8 bit numbers, sum maybe greater than 8 bits.
OUTPUT:
EXPERIMENT 17: WAP to add two 16 bit numbers (without lxi).
OUTPUT:
EXPERIMENT 18: WAP to multiply two 8 bit numbers without shifting.
OUTPUT:
EXPERIMENT 19: WAP to multiply two 8 bit numbers using shifting.
OUTPUT:
Download