CSC 3100 Computer Architecture and Organization Covert the f
CSC 3100: Computer Architecture and Organization Covert the following numbers into a) sign and magnitude and b) 2\'s compliment form -347 1378 -2456 56 -192 Express the operands in binary and perform the operation and express the result in hexadecimal 247-184 1470+1930 24*92 1200 - 287 81-6 Express the operands in IEEE single precision number format. Perform the operations and store the result back in IEEE single precision format 1293+87 (-247)+ 380 97-32 31.25+7.5 31.35-7.5
Solution
Ans wer to the 1st question is as follows:
binary value of 347 is 101011011. add 1 for representing negative number.
Hence ans is 1101011011
2s complement is 0010100100+1 = 0010100101
binary value of 1378 is 10101100010. add 0 for representing positive number.
Hence ans is 010101100010
2s complement is 101010011101+1 = 101010011110
binary value of 2456 is 101110011000. add 1 for representing negative number.
Hence ans is 1101110011000
2s complement is 0010001100111+1 = 0010001101000
binary value of 56 is 111000. add 0 for representing positive number.
Hence ans is 0111000
2s complement is 1000111+1 = 1001000
