> Isn't the two's complement arithmetic rule for overflow that the carry bit > into the signed bit must equal to the carry bit out of the signed bit? yes - but both the C and V flags are hard to get hold of in a C program :-( David -- David Laight: david@l8s.co.uk