Computer Systems eXercises #2
Representation  Solutions
1.
1. 32  yes, it is constant
2. 01000111 01001001 01000100 01000100 01000001 01011001
2.
1. there are 2 zero values, and maths operations do not work conventionally
2. 6536 in bin = 0001 1001 1000 1000, so 6536 = 1001 1001 1000 1000
3. when you add a number to it's negative (using sign magnitude), the answer is
1111 1111 1111 1111 (which is negative zero)
4. do this sum in 2byte binary, the answer ends up as 0000 0000 0000 0000 with a carry digit
'falling off' the MSB end
3.
1. 4= 0100, 2=0010, so 42 in BCD = 01000010
2. conversion into and out of BCD is FAST
3. conventional maths operations no longer work
4.
Real numbers are stored in a 'fixed size' container  the MSB is used to indicate sign,
the next 8 bits are used to represent the exponent, the remainder is used to 'approximate'
the mantissa  that accuracy that doesn't fin in the remaining space is TRUNCATED
