Hi, I have developed a software in c(embedded).I used c51 compiler,8051(ATmel) microprocessor.I programmed to spot billing machines(machines that generate electricity bills) with the software.It is working fine in some machines,whereas in some machines iam getting a grabage value(for TAX column).WE calculate tax. Iam not able to identify the problem.Please give me a suggestion.what would be the problem. thanx in advance.
2.I checked out the difference between the two.I didn't find anything suspicious that may corrupt the program. In that case, look harder. Roll back the changes one at a time and check when the program starts running correctly .. then you will have found a very likely culprit. Also, things might break your program that are not directly visible from the code. Maybe some interrupt service routine now takes a few cycles longer to execute, maybe the memory overlay mapping changed a little, etc.