Question: 63. Write ALP to search for a given byte in a list of 50 numbers stored in consecutive memory locations and store the address of

 63. Write ALP to search for a given byte in a

63. Write ALP to search for a given byte in a list of 50 numbers stored in consecutive memory locations and store the address of this byte in the memory locations 2200H and 2201H. Assume that the byte is in the C register and starting address of the list is 2000H. If the byte is not found, store 00 at 2200H and 2201H. 64. Write a ALP to Add two 16-bit numbers whose sum is 16 bits or more , the first 16- bit number is stored in two consecutive locations (2040H & 2041H) and the second 16-bit number is in the next two consecutive locations (2042H & 2043H). Store the sum in the next two locations and the carry (if any) in the third location 65. A set of 16-bit readings is stored in memory locations starting at 2050H. Each reading occupies two memory locations: the low-order byte is stored first, followed by the high-order byte. The number of readings stored is specified by the contents of register B. Write a program to add all the readings and store the sum in the Output- Buffer memory. (The maximum limit of a sum is 24 bits.)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!