2. TASK-1: If-Then-Else Statement using BEQ Edit, assemble and step through the program in the lab introduction. Use two sets of test data using the Keil MDK simulator and verify that the program is giving the correct results. Then load the program on the board and fill in the following table. The first test should be for a value of X1=1 and the second test is for X1-0. Take screenshots for the memory before and after. Table 1 Memory Contents Before Testing After Testing 0x20000000 R1 0x20000000 R1 R2 R2 Test 1 Test 2 3. TASK-2: If-Then-Else Statement using BNE Modify the program in Task 1 above by using the BNE instruction. Edit, assemble and step through the program as you did in Task 1. Fill in the following table and draw the new program flowchart. Take screenshots for the memory before and after. Table 2 Memory Contents Before Testing 0x20000000 R1 After Testing 0x20000000 R1 R2 R2 Test 1 Test 2 Task 1: Code with comments Screenshot of the memory before executing and after executing test 1 branch Screenshot of the memory before executing and after executing test 2 branch Fill up table 1 Task 2: Code with comments Screenshot of the memory before executing and after executing test 1 branch Screenshot of the memory before executing and after executing test 2 branch Flowchart Fill up table 2 2. TASK-1: If-Then-Else Statement using BEQ Edit, assemble and step through the program in the lab introduction. Use two sets of test data using the Keil MDK simulator and verify that the program is giving the correct results. Then load the program on the board and fill in the following table. The first test should be for a value of X1=1 and the second test is for X1-0. Take screenshots for the memory before and after. Table 1 Memory Contents Before Testing After Testing 0x20000000 R1 0x20000000 R1 R2 R2 Test 1 Test 2 3. TASK-2: If-Then-Else Statement using BNE Modify the program in Task 1 above by using the BNE instruction. Edit, assemble and step through the program as you did in Task 1. Fill in the following table and draw the new program flowchart. Take screenshots for the memory before and after. Table 2 Memory Contents Before Testing 0x20000000 R1 After Testing 0x20000000 R1 R2 R2 Test 1 Test 2 Task 1: Code with comments Screenshot of the memory before executing and after executing test 1 branch Screenshot of the memory before executing and after executing test 2 branch Fill up table 1 Task 2: Code with comments Screenshot of the memory before executing and after executing test 1 branch Screenshot of the memory before executing and after executing test 2 branch Flowchart Fill up table 2