Issue with math

I've been looking at the results I get from simple math for an hour and cannot find the reason why I get the results I do. I've broken down the code to its basic elements. The contents of the EEPROM is shown as comments in the code. Please take a look and tell me where I'm going wrong. Compiler version 3.249 and code for a PIC18F4520 controller. 

Please help.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Download Math Type Free Activation Included Pakistani 0 2,488 11-27-2018, 11:10 AM
Last Post: Pakistani
  Basic Math issue HarryJenkins 0 2,555 05-31-2018, 08:26 PM
Last Post: HarryJenkins

Users browsing this thread:
2 Guest(s)