Question
6) Write ARM assembly code to do the following: Using only load, move, add, compare, and branch instructions (nothing else from the instruction set), add the contents of 10 adjacent bytes in external memory together -- accumulating the 32-bit sum in register RO. You must use a loop (in other words, you must use CMP and a branch). Assume the 10 bytes start at memory location 0x20000000. You are adding 10, 8-bit values together and putting the sum in a 32-bit register. (10 points) 7) Show the raw memory representation for the string "FALL 2023" assuming it takes on an ASCII encoding (note the single spaces between each word). Show both the memory location and the value of the data stored in that memory location. Assume the string begins storage at memory location x. Show all numerical values in hex. (5 points) Address: Value: M(x) = M(x+1)= M(x+2)= M(x+3)= M(x+4) = M(x+5)= M(x+6)= M(x+7)= M(x+8)=
Question image 1