Question: Write answers in ARM Assembly Language: 1. Write a short program that will add together the following bytes of data: 0xAA, 0x37, 0xC7, 0x33, 0xF2
Write answers in ARM Assembly Language:
1. Write a short program that will add together the following bytes of data:
0xAA, 0x37, 0xC7, 0x33, 0xF2
2. Write a program that fills the memory block 0x00001000 through 0x000010FF with the half-word value 0xA7BC.
3. Add code to the program from problem #2 that will compare what you wrote to memory with what actually got stored in memory. Thus, after you fill memory, read each value back and see if they are the same. If so, keep going, if not, stop the program and save the address where the fault occurred. If no errors are detected, save the value 0xFFFFFFFF instead. Save the address in a memory space after your program code. Use the directive, SPACE, to reserve 4 bytes to save the address value.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
