Question: please solve the exercise ledu PIU ECCE-316 - recording. 6 Examt-Revision - 202020-A- ECCE-316 recording https://eam-ou-central-1- 191 CM https://eam-no-central-1-pe ntens Exercise 1 Assume that the

 please solve the exercise ledu PIU ECCE-316 - recording. 6 Examt-Revision

please solve the exercise

ledu PIU ECCE-316 - recording. 6 Examt-Revision - 202020-A- ECCE-316 recording https://eam-ou-central-1- 191 CM https://eam-no-central-1-pe ntens Exercise 1 Assume that the memory display of the ARM Cortex M0+ shows the following content (in Hexa) starting at address $D000F000 A2 12 00 15 16 17 BC F2 2D A5 DE B3 2C CA 9F B5 2F F9 $D000 F000: 1. What is address of the last byte ($F9) underlined in red? 2- Write an ARM assembly code that counts the number of negative bytes in the above tector and then store the number of negative values at address $70000000 3- Write an ARM assembly code that counts the number of positive words in the above vector and then store the number of negative values at address $70000000 4. Using a conditional branch instruction write a program that add the two consecutive bytes and store the result as an 8 bit operand at memory starting at $C0000000 e.g. Store (A2 + 12) at address $C0000000 Store (12 +00) at address $C0000001 Store (00 + 015 at address $C0000002 and so on...... ledu PIU ECCE-316 - recording. 6 Examt-Revision - 202020-A- ECCE-316 recording https://eam-ou-central-1- 191 CM https://eam-no-central-1-pe ntens Exercise 1 Assume that the memory display of the ARM Cortex M0+ shows the following content (in Hexa) starting at address $D000F000 A2 12 00 15 16 17 BC F2 2D A5 DE B3 2C CA 9F B5 2F F9 $D000 F000: 1. What is address of the last byte ($F9) underlined in red? 2- Write an ARM assembly code that counts the number of negative bytes in the above tector and then store the number of negative values at address $70000000 3- Write an ARM assembly code that counts the number of positive words in the above vector and then store the number of negative values at address $70000000 4. Using a conditional branch instruction write a program that add the two consecutive bytes and store the result as an 8 bit operand at memory starting at $C0000000 e.g. Store (A2 + 12) at address $C0000000 Store (12 +00) at address $C0000001 Store (00 + 015 at address $C0000002 and so on

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!