I get confused because of the hidden bit in the mantissa.
From what i know:
Subtract the two exponent, find the smaller number and shift the mantissa with the hidden bit (?) by the result of the subtraction.
Calculate the result sign.
Add or subtract the two mantissas with the hidden bit (?) based on the sign bit of the two operands (1,1 or 0,0 ADD) (1,0 or 0,1 SUB). The result will be 25 bits because it must accomodate the carry (?).
If we performed an addition:
If the 24'th bit (starting from 0) of the result is 1 (there is a carry), shift right the mantissa by 1 and increment the exponent.
Else do nothing.
If we performed a subtraction.
- Check the number of leading zeros (consider also the hidden bit (?)) and shift the mantissa left by that number, also subtract the exponent by that number.
Result.
Is that right?