Question: Write the solution in ARM Assembly Language. 1. Write a program in ARM assembly language that writes a 16-bit value, stored in the data area

Write the solution in ARM Assembly Language.

1. Write a program in ARM assembly language that writes a 16-bit value, stored in the data area just after the program code, and stores it in memory location 0x00000100. The value to store is 0xC123.

2. Write a program that takes the value 0x0000C123, does a 1s complement of the value, and then stores the result in memory location 0x00000100.

3. Copy a string stored as a local data set into memory at address 0x00000100. To place the string to be copied in your data area, you can use this directive:

srcStr DCB "The source string",0 ; NULL terminated string

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!