Question: undefined Question 3 (3 points) Listen 1 2 3 4 5 6 7 Consider the C code fragment below. Line# C code int8_t 18_a =

undefined Question 3 (3 points) Listen 1 2 3 4 5 6undefined

Question 3 (3 points) Listen 1 2 3 4 5 6 7 Consider the C code fragment below. Line# C code int8_t 18_a = OxFD; int8_t is b = 0x02; for (i8_b = 3; i8_b>= 2; i8_b--) { i8_a = i8_a >> 1; i8_a++; } // values = ? What is the value of the signed 8-bit integer i8_a after exiting the while loop in line #7? Enter the value in hex in the space provided below. (3 marks) Write an assembly program in MPLAB-X to show the correct values of i8_a and is_b in line #7 in the Watches window. Take a screenshot of the MPLAB-X with Watches window showing i8_a and i8_b and upload the screenshot and source code to the Lab Test #1 Dropbox within 10 minutes after your 60-min lab test session is finished. (12 marks)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!