Question: Write a MIPS procedure which accepts as parameters a character (in register $a0) and the base address of an array S (in register $a1). The
Write a MIPS procedure which accepts as parameters a character (in register $a0) and the base address of an array S (in register $a1). The array contains 100 characters. The procedure scans array S and return to register $v0 the multitude of appearances of the character which was received as argument via register $a0.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
