Question: ARM Assembly PLEASE USE STARTER CODE Case conversion. In this exercise you are going to write a program that takes a string and changes all

ARM Assembly PLEASE USE STARTER CODE Case conversion. In this exercise you are going to write a program that takes a string and changes all lower case letters to upper case, and upper case letters to lower case. Anything that is not a character (like spaces or numbers) should be left alone. You are given a sample string and string length in the starter code, PA6-2.s You will change the letters of the string in place. See the intro video to see how the completed program should work. Remember, you should use STRB, and LDRB when loading and storing byte data. Changing characters from lower to upper case and vice versa can be accomplished with a single logical operation (AND, OR, EOR, or BIC).

;-----------

; Programming assignment 6, problem 2

; Your header information goes here

;------------------------------------

; Write a program to change lower case letters to

; upper case, and upper case letters to lwoer case

; in the provided string. Spaces and non-letter

; characters should not be altered.

;----------

; This is the string you are to transform

string DCB 'A','R','M','7',' ','i','s',' ','C','o','o','l'

length DCD 12 ; this is the length of the string in bytes

; your code goes here.

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!