??? 12/18/04 09:56 Read: times |
#83398 - What's wrong with KEIL |
Hi the problem in code again surfaces. i have absolutely no idea what to do with this. i am using AT89c52 chip in the system and KEIL C compiler for the software The statement that is creating problem is multiplication in the code. Here is the statement. CyrunTime = getTime(1) * 20; getTime(1) is a function which returns a integer. when i start system with this code.. nothing happens. software fails completely and no response from the system. Now i replace the code with this. int temp,z; CyrunTime = 0; temp = getTime(1); for z = 0 to temp - 1 CyrunTime = CyrunTime + 20; Now the whole 700 lines software works fine. (Don't ask how i figure out this problem in software). i initially program the software in SDCC free compiler and now i was trying to compile this code in KEIL. Shahzad Aslam |
Topic | Author | Date |
What's wrong with KEIL | 01/01/70 00:00 | |
Post the REAL code | 01/01/70 00:00 | |
The real problem is...![]() | 01/01/70 00:00 |