(Solved): 24. Write an 8086 assembly language program to find the sum of 100 words present in an array stored ...
24. Write an 8086 assembly language program to find the sum of 100 words present in an array stored from the address 3000H:1000H in the data segment and store the result from the address 3000H:2000H. 25. Write an 8086 assembly language program to find the prime numbers among 100 bytes of data in an array stored from the address 4000H:1000H in the data segment and store the result from the address 4000H:3000H. 26. Write an 8086 assembly language program to find the number of occurrences of the character 'A' among 50 characters of a string-type data stored from the address 5000H:1000H in the data segment and store the result in the address 2000H:5000H. 27. Write an 8086 assembly language program to check whether the two strings, one stored from the address 2000H:1000H in the data segment and the other stored 28. from the address 2000H:3000H, are equal or not. If they are equal, store the value 00H in AL. Otherwise, store the value 01H in AL. 29. Write an 8086 assembly language program to find the number of bytes that have the hexadecimal digit ' F ' in their upper nibble among 100 bytes of data in an array stored from the address 8000:1000H in the data segment. Store the result in the address 8000H:30001H. 30. Write an 8086 assembly language program to add two matrices having word-type data in each element of the matrix. Assume that each element of the result after addition of the matrix is also word-type data. The data for one matrix is present in an array stored from the address 8000H:1000H in the data segment. and the corresponding data for another matrix is present in an array stored from the address 8000H:2000H in the data segment. The result is to be stored from the address 7000H:1000H. 31. Write an 8086 assembly language program to multiply two square matrices having word-type data in each element of the matrix. Assume that each element of the resultant matrix is of double word type. The data for one matrix is present in an array stored from the address 8000H:1000H in the data segment, and the corresponding data for the other matrix is present in an array stored from the address 8000H:1000H in the data segnent. The result is to be stored from the address 7000H:1000H. 32. Write an 8086 assembly language program to find the factorial of the given byte of data using a recursive algorithm. The result is to be stored in the address 7000H:1000H.
24 Here's the 8086 assembly language program to find the sum of 100 words present in an array stored from the address 3000H: 1000H in the data segment and store the result from the address 3000H: 2000H:25.Here's the 8086 assembly language program to find the prime numbers among 100 bytes of data in an array stored from the address 4000H: 1000H in the data segment and store the result from the address 4000H: 3000H:26.Here's the 8086 assembly language program to find the number of occurrences of the character 'A' among 50 characters of a string-type data stored from the address 5000H: 1000H in the data segment and store the result in the address 2000H: 5000H: