[prev] 39 [next]

MIPS Mistakes

Some common mistakes that are easy to make:
  • Forgetting to label the .text area
  • Typing in $2 instead of say $t2
  • Choosing a label name that is a reserverd word, such as b or j. These are commands in the MIPS language so can't be used as labels.
  • Forgetting that the space needed for 1 int is 4 since it is 4 bytes.