Question: verify and demonstrate skills with basic asm, registers, variables, arrays, functions, and string instructions. This program will provide counts of letters, per instructions, of 2
verify and demonstrate skills with basic asm, registers, variables, arrays, functions, and string instructions.
This program will provide counts of letters, per instructions, of 2 different string arrays.
Your program should provide, separately for each string and as a total for both strings, a count of:
3specific consonants, uppercase, and lowercase.
For example, I may choose s, c, and a, and your program would need to provide a count of uppercase and lowercase s, a count of uppercase and lowercase c, and a count of uppercase and lowercase a. Each of these counts should be provided for each string, and then for the total of the 2 strings.
The count of the number of unique(count each letter once)letters
.Example: The man ran. has 7 unique letters.
Provide the count of unique letters in each string, and for over the 2 strings together.
Additional programming requirements:
Your results should be stored in variables (though you may use registers for intermediary steps).
Your program must use at least 2 string instructions. You may use jump instructions and possibly loop instructions if needed.
You are required to use at least one function (in addition to _main or _start) where you pass in at least one variable. Your additional function is required to use registers in its operations.
Your program is limited to 300 lines, including comments. Programs over 300 lines will be penalized, and programs over 350 lines will not be graded.
The program should be on GNU Assembler (GAS)/AT&T syntax
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
