Question: Create a RISC-V program that can read the DNA string that is collected in a text file. Then, count the number of occurrences of character
Create a RISC-V program that can read the DNA string that is collected in a text file. Then, count the number of occurrences of character "A" and character "T" in the string.
Input the DNA string collected in a given text file. Suppose the DNA string length ranges from 40 - 100 characters.
Output should be in a message dialog box that includes
-- length of string
-- occurrence of "A" char
-- occurrence of "T" char
Note: activate input dialog settings -> click "pop dialog for input syscalls"
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
