CS 216, Lab #3

Lab date given on course wb page, due Friday

  1. MIPS program loop4.a

loop4.a

## Question:
## Swap each pair of elements in the string "chararray"
## and print the resulting string.
## There will always be an evennumber of charcters.
##
## Output format must be:
## "badcfe"
Get the file, design your code, and type it in before the lab period.
cp $QUESTS/loop4.a .
note the dot, means current directory. Or use ~ means your "home" directory.
(This assmes you have in your .bashrc)
export QUESTS="/home/COURSES/cs216/quests"

Or at home, you can use scp or WinSCP to get the file from quests/

Instructions:

Follow the instructions for Lab 2. You must test your code using mipsmark, be sure your name is included as a comment, and submit a copy of the file using
submit cs216 loop4.a 

If you have trouble with mipsmark, check the validity of your calculations.

Then see common reasons mipsmark may fail.