Since your temperature will never be higher then 255 °C (I assume) then set your variable "temp" as a byte not word.

temp var byte

because serially you cannot Tx word but only byte.

Al.