Question: Write a MIPS program where you prompt the user to enter a string of 16 characters called msg. Then implement the following code using the
Write a MIPS program where you prompt the user to enter a string of 16 characters called msg. Then implement the following code using the loop given below:
for(int j=0;j<2;j++)
{
for(int i=0;i<8;i++){
print(msg[ (i*2) + j ] )
}
}
Sample output:
User Input: "Iamhurtverybadly"
Output: "Imuteyalahrvrbdy"
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
