Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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 28. from the address 2000H: 3000H, are equal or not. If they are equal, store the value 00H in 29. Write an 8086 assembly language program to find the number of bytes that have the the address 2000H: 1000H in the data segment and the other stored AL. Otherwise, store the value 01H in AL hexadecimal digit' 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. 0. 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 8000 H: 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 segment. 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 al gorithm. The result is to be stored in the address 7000H: 1000H 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 28. from the address 2000H: 3000H, are equal or not. If they are equal, store the value 00H in 29. Write an 8086 assembly language program to find the number of bytes that have the the address 2000H: 1000H in the data segment and the other stored AL. Otherwise, store the value 01H in AL hexadecimal digit' 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. 0. 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 8000 H: 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 segment. 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 al gorithm. The result is to be stored in the address 7000H: 1000H

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2015 Porto Portugal September 7 11 2015 Proceedings Part 1 Lnai 9284

Authors: Annalisa Appice ,Pedro Pereira Rodrigues ,Vitor Santos Costa ,Carlos Soares ,Joao Gama ,Alipio Jorge

1st Edition

3319235273, 978-3319235271

More Books

Students also viewed these Databases questions