Vous êtes sur la page 1sur 1

1.

Write a program to compute the difference of two 16 bit numbers and store the magnitude and sign. Write a program to add two 32 bit numbers and store the result in consecutive memory locations. Write a program to multiply two words data. Write a program to divide two Hexadecimal words. Write a program to sort 10 given numbers in ascending orders. Write a program to check whether a 16-bit number is palindrome or not. Write a program to covert a string into upper case. WAP to find out a given substring present or not in a string (which would be taken from keyboard). Find out the position of first occurrence of the substring and display the appropriate message. Assume that two variables N1 and N2 are stored in packed BCD format. WAP to add N1 and N2 using DAA and display the result in packed BCD format also.

2.

3. 4. 5. 6. 7. 8.

9.

10. Write an alp to rename a file, if it exists, using DOS interrupt. Otherwise display an error message.

Vous aimerez peut-être aussi