tags:

views:

31

answers:

1

How are the values 515 10 and -51510 represented in 16 bit excess notation?

+2  A: 

From the details here:

Excess-N notation is simply a way of representing number where N is the zero point. You simply subtract the zero point from the encoded numbers to get the real numbers.

For a 16-bit excess representation, the zero point is 215 or 32768.

Therefore, 515 would be represented as 32768 + 515, which is 3328310, 0x8203 or binary 1000 0010 0000 0011.

Similarly, -515 would be represented as 32768 - 515, which is 3325310, 0x7dfd or binary 0111 1101 1111 1101.

paxdiablo