ChallengesMIPS
Local progress
All challengesMIPSIntermediate25 min0 submissions
MIPS challenge

Add two memory words

Load 12 and 30, store 42, and print it.

Use address-based loads and a store. The final value must remain in $t3 and be written to result before it is printed.

Learning goals

  • Address static data
  • Use aligned word loads/stores
  • Observe a register and terminal result

Tests

  • Program exits cleanly
  • $t3 contains 42
  • Terminal prints 42
  • Solution uses LW
  • Solution uses SW
  • 1 hidden grading test

Hints

mips-memory-total.asmMIPS source
Run the visible tests or submit when you are ready.