quartz var word
quartz=300
and when simulating in MPLAB I get an 8 bit number
quartz=44

Check the other half of your word...

What you have is 300= 256 + 44.

0000 0001 0010 1100
$01 $2C
256 44
300


You are seeing the $2C, and missing the MSB of your Word, which will have your 256.

Since we do not have any Code to look at, it is harder to see what is going on... Can give us some exact code that is causing your problem??? Are you assigning a Variable as a Byte instead of a word? Are you trying to output to a LCD??? A LCD is 8 bytes.. that means you had better not forget to add the MSB to your answer!...and transfer that to the LCD. (I am assuming you are writing your own LCD stuff).


Dwayne