What are fixed point numbers in a computer system? Why are negative fixed point numbers represented in complement form?

, , No Comments
What are fixed point numbers in a computer system? Why are negative fixed point numbers represented in complement form? Give examples of fixed point numbers (positive as well as negative) assuming the size of the notation to be 8 bits (including sign bit). Perform the following arithmetic operations using signed 2’s complement 8 bit representation. (Please note that the numbers given below are in decimal notation)
i) Add –30 and –98
ii) Subtract –79 from 45 Please indicate overflow if it is occurs. Explain how have you identified the overflow?

0 टिप्पणियाँ:

Post a Comment