Question: Conversion to Computer World and 2 s Complement Addition [ 3 5 % ] Assume a 2 4 - bit word on a computer. In

Conversion to Computer World and 2s Complement Addition [35%]
Assume a 24-bit word on a computer. In these 24 bits, we wish to represent the data 456 and 456.
(a)[5%] How would the computer represent the unsigned decimal value 456 in a word?
(b)[5%] Assuming twos complement representation is used, how would the computer represent the signed decimal value 456 in a word?
(c)[5%] How would the computer represent 456 and 456 in signed magnitude form?
(d)[5%] If our computer uses 8-bit ASCII, how would the computer represent the string 456 in a word?
(e)[5%] Is it possible to represent the string 456 in a word of this computer? Why or why not?
(f)[5%] Perform the following operations using twos complement arithmetic: (i)456+(124),(ii)456+(4). Indicate if overflow occurs in the addition. Show your steps.
(g)[5%] Perform the following operations using signed-magnitude arithmetic: (i)456+(124),(ii)456+(4). Indicate if overflow occurs in the addition. Show your steps.

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 Programming Questions!