MIPS Assembly Language Programming - PowerPoint PPT Presentation

chelsa
mips assembly language programming n.
Skip this Video
Loading SlideShow in 5 Seconds..
MIPS Assembly Language Programming PowerPoint Presentation
Download Presentation
MIPS Assembly Language Programming

play fullscreen
1 / 5
Download Presentation
MIPS Assembly Language Programming
226 Views
Download Presentation

MIPS Assembly Language Programming

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. CDA 3101 Discussion Section 05 MIPS Assembly Language Programming

  2. Problem1 • <<MIPS Assembly Language Programming>> Exercises 5.1 Write a simple integer calculator.

  3. Problem1

  4. Problem2 Exercises 5.2 Write a MIPS assembly language program to transfer a block of 10 words starting at memory location SRC to another area of memory beginning at memory location DEST.

  5. Problem2 int SRC[10] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; int DEST[10]; void main() { int t2 = 0; int t3 = 10; do { t7 = SRC[t2]; DEST[t2] = t7; printf(“%d”, DEST[t2]); t2++; } while (t2 < t3); return; }