| ??? 01/01/05 17:48 Read: times |
#84198 - agreed Responding to: ???'s previous message |
yes desktop c++ is totally different from code that will run on 8052. My approach to coding a complex C algorithim is to test it using TC. that is why i tested all dates to seconds conversion algorithim in TC because it is very easy to debug in TC on desktop than testing on 8051 where i do not have monitor but only few LED's.
But you an see that the function i am trying to run on 8051 has been compiled correctly on KEIL C and it run correctly in the debugger. its only when i burn it on 8052 and try to verify the results. so should i modify the question as "Is it possible that some code is compiled with Keil C and results are also verified in Keil Debugger, but it does not run when the code is burn in 8052." i am really having bad experience when it comes to complex maths programming on 8052. as can be seen its only operations like y % 400 in the function which is creating problems Is this possible that i convert all mathmatical operations divisions or getting reminder using only addition and subtractions operations because i am much more comfortable working with only additions and subtractions on 8052 thanks Shahzad |
| Topic | Author | Date |
| Keil C Code not working | 01/01/70 00:00 | |
| Desktop turbo c++ ? | 01/01/70 00:00 | |
| Slightly??!! | 01/01/70 00:00 | |
| agreed | 01/01/70 00:00 | |
| i got the math to do div / multiply | 01/01/70 00:00 | |
| Debugger? Simulator? Maths? | 01/01/70 00:00 | |
| Question... | 01/01/70 00:00 | |
| Please use Correct Terms | 01/01/70 00:00 | |
| Re Andy Debugger, Simulator? Math | 01/01/70 00:00 | |
| *unnecessarily* complex! | 01/01/70 00:00 | |
| Re andy | 01/01/70 00:00 | |
| Divide and Conquer! | 01/01/70 00:00 | |
| Bad Burner? | 01/01/70 00:00 | |
| Re Andy Bad Burner | 01/01/70 00:00 | |
| Project Configuration? | 01/01/70 00:00 | |
| debugging? | 01/01/70 00:00 | |
| thanks for the link | 01/01/70 00:00 | |
| Data Sizes - Lesson not yet learned? | 01/01/70 00:00 | |
| Re Andy | 01/01/70 00:00 | |
| brackets ? | 01/01/70 00:00 | |
| (no) brackets | 01/01/70 00:00 | |
| WriteCommandLCD ? | 01/01/70 00:00 | |
| Re Andy | 01/01/70 00:00 | |
| Problem not fixed yet? | 01/01/70 00:00 | |
Problem not fixed yet? | 01/01/70 00:00 |



