Question: Given 8-bit variables A and B, each holding an 8-bit unsigned number. Write a program to find the average of A and B. Place the

 Given 8-bit variables A and B, each holding an 8-bit unsigned

Given 8-bit variables A and B, each holding an 8-bit unsigned number. Write a program to find the average of A and B. Place the result into variable C. Hint: Shifting (or rotating) a binary number to the left divides the number by 2

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!