>Does anyone have an asm snipet that converts an 8 bit value from degrees >C to degree F? I don't have it right here. But if you consider the following the code is easy. F = 9/5 * C + 32; F = 2C - 1/4C + 1/8C - 1/16C + 32; (approximately and it is good enough.) F = (C << 1) - (C >> 2) + (C >> 3) - (C >> 4) + 32; F = (C << 1) - (C >> 2) + ((C >> 2) >> 1)) - (((C >> 2) >> 1) >> 1) + 32; If you know that C will always be positive and less than 128, then this works like a charm. If it doesn't fit in these ranges than you can adjust it by adding a fudge factor to both sides. HTH, Alan G. Smith +--------------------------------------------------------- | Alan G. Smith | ags@poboxes.com | http://www.innovatus.com/ags