Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started