Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 6 - MCU Arithmetic (12 pts) MSP430FR6989 has instructions to add, subtract, and perform arithmetic bit-shifting (right and left), but no instructions to divide

image text in transcribed

Question 6 - MCU Arithmetic (12 pts) MSP430FR6989 has instructions to add, subtract, and perform arithmetic bit-shifting (right and left), but no instructions to divide or multiply. Using this MCU you want to find the average value of the set of decimal numbers {2,43,7,19}. Assume 8-bit registers and twos complement notation for signed numbers. First devise a scheme of how you can find the average of these numbers using 8-bit signed numbers and the given operations (pairwise addition, subtraction, and bitshifting). Then answer following questions: (a) What is the result in bits as it is stored in an 8-bit register? Enter a binary number. (b) What is the corresponding value? Enter a decimal number

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

Step: 3

blur-text-image

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

Accounting And Auditing Research And Databases Practitioner's Desk Reference

Authors: Thomas R. Weirich, Natalie Tatiana Churyk, Thomas C. Pearson

1st Edition

1118334426, 978-1118334423

More Books

Students also viewed these Databases questions