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

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!