Lab 2 –MIPS Assembly language Programming with MARS IDE Decisions and Loops The purpose of this lab is to introduce you to the layout and structure of the Mars IDE development tool in addition to Decision and Loop statements. In this lab, the MIPS Assembly language is used. Procedure: I. Follow the same procedure in Lab1. II. From the main menu, choose “File” “New” III. You will find a blank file. Start typing the following program. ( # ---------------------------- Lab 2 ------------------------------------ - # ------------------ -----Decision and Loop ------------- -------------- # -------------------------By: Dr. Abdal lah--------------------------- # --------------------------- --- -- ------------------------- li $s6,268500992 li $s3,3 li $s5,10 li $t0,10 sw $t0, 0($s6) sw $t0, 4($s6) sw $t0, 8($s6) sw $t0, 12($s6) sw $t0, 16($s6) sw $t0, 20($s6) sw $t0, 24($s6) sw $t0, 28($s6) li $t0,2 sw $t0, 32($s6) loop : sll $t1,$s3,2 add $t1,$t1,$s6 lw $t0,0($t1) bne $t0,$s5,exit addi $s3,$s3,1 j loop exit : )The code: IV. Click on the icon “Assemble the current file” V. Run the program by “Run one step at a time” as shown below Figure 1 · Observe the registers/Memory locations values after each Step Run. Record these values in Table 1. You should type or copy and paste the values from the Mars environment to the table below using Microsoft office. Questions: 1- Draw the memory and its contents starting from address 268500992. 2- What does the final value of $s3 represent? Table 1 $s3 $s5 $s6 $t0 $t1 m[$s6] m[$s6+4] m[$s6+8] m[$s6+12] m[$s6+16] m[$s6+20] m[$s6+24] m[$s6+28] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 Things to turn in as your Lab 2 Report, attached in this order: 1- Your name, Course Number, Lab Number and Date 2- Screen shot of the Program 3. Results/Observations (Table 1) 4- Questions with answers 5. References if any ...