Question: Compile and execute an ARM assembly program for the following; Give a symbol name (say, Mem) to a memory location 0x20000000 using the EQU directive.

 Compile and execute an ARM assembly program for the following; Give

Compile and execute an ARM assembly program for the following; Give a symbol name (say, Mem) to a memory location 0x20000000 using the EQU directive. Using the DCD directive allocate two 32-bit numbers (your ID number in decimal and 0x012345678) in consecutive memory locations starting from an address labelled Loc. Move the first 8 bytes from the memory location labelled Loc to another location labelled Mem. Load the content (8-bit) of a memory location (Loc+2) into register R4. Store the content of R4 (first 8-bit) into a memory location (Mem+7)

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!