Question: Write an ARM assembly language program Count Vowels Two.s to count how many vowels and now many non-vowels are in the following string. ARM
Write an ARM assembly language program Count Vowels Two.s to count how many vowels and now many non-vowels are in the following string. "ARM assembly language is important to learn!",0 You are required to implement this by using a subroutine to check if a character is vowel or not, and count the vowels and non-vowels in the calling function. Recommendations for writing the program: Put the string in the memory by using DCB. Use RO to hold the address of a character in the string. Use R2 to be the counter for vowels. Use R3 to be the counter for non-vowels.
Step by Step Solution
There are 3 Steps involved in it
Here is an ARM assembly language program CountVowelss that counts the number of vowels and nonvowels in a given string assembly AREA CountVowels CODE ... View full answer
Get step-by-step solutions from verified subject matter experts
