Question: 5 . Binary Arithmetic and Logic ( 3 points each + 1 pt bonus for getting all 8 ) All numbers similar in form to

5. Binary Arithmetic and Logic (3 points each +1 pt bonus for getting all 8)
All numbers similar in form to -13.(dec) or 11111.(bin) are integers.
-23.(dec)=________. In 6-bit twos comp. integer binary
-30.(dec)/2(dec)=_________. in 6-bit twos comp. bin
-15.(dec)+-4.(dec)=_________. in __-bit twos comp. bin
Fill second blank with how many bits we need to avoid overflow in the result.
2.(dec)+111110.(bin)=_________.(dec) if operands and output are 6-bit two's comp
For the next 3 problems, output and binary inputs are to be 5 bit integer +5 bit fractional two's comp.
-15.5(dec)>>3(dec)=_________.________(bin)(logical right shift)
-15.5(dec)>>>3(dec)=_________.________(bin)(arithmetic right shift)
5.75(dec)+11111.(bin)=________.________(bin)
-12.375(dec)=_________.________ in twos comp. binary w/5 integer +5 fractional bits
 5. Binary Arithmetic and Logic (3 points each +1 pt bonus

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!