Question: 4. [6 pts] Write an ARM assembly program which will accomplish the following instruction. As suggested in the tutorial, you likely want to use the
![4. [6 pts] Write an ARM assembly program which will accomplish](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f2f6f29d91a_96266f2f6f20ed53.jpg)
4. [6 pts] Write an ARM assembly program which will accomplish the following instruction. As suggested in the tutorial, you likely want to use the sample code as a starting point, and just make modifications to that. Make sure to create your variable VARO by first creating a new read/write data area and then define and labeling your VARO variable. Run your code on your Keil Simulator program, and paste a screenshot showing both your code, and using the "Memory" window to show the location where your data for VARO was finally stored. If you don't have a Memory window, you can add one by accessing: View > Memory Windows > Memory 1. You should be able to see where the data section is in the code, and/or the "Dissassembly" window to find out which address was assigned to your variable VARO by looking at what address replaced your VARO label. VARO = (0x04 OR 0x2A) XOR (23+ (OxE - Ob101)) [6 pts] Perform the above calculation by hand, showing all your work in binary. 4. [6 pts] Write an ARM assembly program which will accomplish the following instruction. As suggested in the tutorial, you likely want to use the sample code as a starting point, and just make modifications to that. Make sure to create your variable VARO by first creating a new read/write data area and then define and labeling your VARO variable. Run your code on your Keil Simulator program, and paste a screenshot showing both your code, and using the "Memory" window to show the location where your data for VARO was finally stored. If you don't have a Memory window, you can add one by accessing: View > Memory Windows > Memory 1. You should be able to see where the data section is in the code, and/or the "Dissassembly" window to find out which address was assigned to your variable VARO by looking at what address replaced your VARO label. VARO = (0x04 OR 0x2A) XOR (23+ (OxE - Ob101)) [6 pts] Perform the above calculation by hand, showing all your work in binary
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
