Question: Your code needs to follow all these requirements or constraints: 1 . Your code needs to compute the mean value of the samples in mean.
Your code needs to follow all these requirements or constraints:
Your code needs to compute the mean value of the samples in mean.
Your code needs to compute the average absolute deviation of the samples in aad.
Your code is not allowed to modify the RAM or FRAM otherwise. That means
Your code is not allowed to modify the samples, buff, or foot.
Your code is not allowed to create new variables, arrays etc. in RAM or FRAM nor
does it need to
Your code needs to use indexed mode with the label samples when accessing the
elements in the given array and use the constant LENGTH instead of hardcoded values.
This is a good restriction since using indexed mode will actually make your life easier.
Your code is allowed to use core registers as needed.
Your code must not be wasteful with resources.
Your code must not use more core registers than necessary.
Your code must not use unnecessary jumps aka no spaghetti
Your code must not have unnecessary instructions and the like.
You code should have comments and use descriptive labels
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
