MIPS – Week 4 Console Dev

Once again in Console Development we have been using MIPS assembly language to program a few things, again we have been asked to use This Website to research about MIPS, read the exercises and do the programs on the end of the Chapters.

This week I have been doing chapters 17 and 18, i found them less of a chalange then i thought and am happy programming in MIPS. Chapters 17 and 18 consist of Jumps (loops), Branches (Ifs) and Set Instructions ( > and <).

The last program of Chapter 18 which we had to make was a program that worked out the Median of 3 numbers stored in memory, i coped well with this exercise and it works, wether or not its the best way to do it is yet to be found out. Here it is:

MIPS Program to work out the Median

MIPS Program to work out the Median

 

Thats all for this week, hope all is correct.

Leave a comment