Question: 10 2. Write a function that will perform a 16-bit checksum over a large chunk of memory. This involves adding up all the bytes, one

 10 2. Write a function that will perform a 16-bit checksum

10 2. Write a function that will perform a 16-bit checksum over a large chunk of memory. This involves adding up all the bytes, one at a time, and performing a logical AND with Oxfff. Assumethat your memory baseis given to you in register R7, but you have to skip the first 0x40 bytes, Use R4 as the offset for the byte currently being examined. For the sake of exercise you are not allowed the BX instruction, nor are you allowed to do a simple MOV onto the PC register

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!