Using the simple 16 bit floating point representation from class, what is the result (in Hex) of adding together the floating point numbers 0xE1A3 and 0x8A1

Respuesta :

Answer:

0xEA44

Step by Step Explanation:

To find addition in Hex system, let's explain the meaning of characters A to F in Hex systems. A represents 10, B represents 11 ... F represents 15. So,

(E1A3)₁₆ + (8A1)₁₆

E1A3

08A1

Adding from most right side to left ->

  1. 3+1=4
  2. A+A=10+10=20. If we find its remainder i.e. dividing by 16, 4 will be the remainder and 1 will be the whole number i.e. 20=16*1+4 this 4 will be written at second place on right side while 1 will be carried out to the left side.
  3. 1+1+8=10=A
  4. E+0=14=E

So the number becomes:

EA44