Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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 R2 0x20000000 R1 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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Visual C# And Databases

Authors: Philip Conrod, Lou Tylee

16th Edition

1951077083, 978-1951077082

More Books

Students also viewed these Databases questions