Question: This is the given data: .asciz This IS a ~ sAMPLE string 4 U 2 use. 2. Write an ARMv7 assembly program that stores a

 This is the given data: .asciz "This IS a ~ sAMPLE

This is the given data:

 .asciz "This IS a ~ sAMPLE string 4 U 2 use." 

2. Write an ARMv7 assembly program that stores a string and then moves through the characters of the string, reversing the case of the letters. When this is complete, the program will write the string to stdout (i.e., print the string) (a) On the course website is a file, hu04b-data.txt, that contains the data you should hard-code into your program. (b) The uppercase characters in the original string should be changed to lowercase and vice (c) With regard to our data, we know the following and can hard-code it in the program: versa the string will be null-terminated (i.e., will include zero at the end) the ASClI values for various character classes Nothing else in your logic should be hard-coded to this particular string, including the number of characters in the string. (d) The modified string should be printed in its entirety after it has been processed com- pletely. This should be done with a single syscall. Do not print each character individu- ally. 2. Write an ARMv7 assembly program that stores a string and then moves through the characters of the string, reversing the case of the letters. When this is complete, the program will write the string to stdout (i.e., print the string) (a) On the course website is a file, hu04b-data.txt, that contains the data you should hard-code into your program. (b) The uppercase characters in the original string should be changed to lowercase and vice (c) With regard to our data, we know the following and can hard-code it in the program: versa the string will be null-terminated (i.e., will include zero at the end) the ASClI values for various character classes Nothing else in your logic should be hard-coded to this particular string, including the number of characters in the string. (d) The modified string should be printed in its entirety after it has been processed com- pletely. This should be done with a single syscall. Do not print each character individu- ally

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!