Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/18/04 10:41
Read: times


 
#83401 - Post the REAL code
Responding to: ???'s previous message
First, read the instructions on how to post code & retain the formatting here:
http://www.8052.com/forum/read.phtml?id=82476

int temp,z; 
CyrunTime = 0; 
temp = getTime(1); 
for z = 0 to temp - 1 
CyrunTime = CyrunTime + 20;
That code cannot possibly compile with any 'C' compiler - let alone work!!

Post the exact code that is causing you trouble - use cut-and-paste.

What have you done to debug so far?
  • did you get any warning or error messages?
  • have you examined the generated assembler?
  • have you tried it in the Simulator?

    Before you started using the Keil tools, did you read the Getting started Guide, and work through the example projects in it? ie, are you sure you are using the tools properly?

  • List of 3 messages in thread
    TopicAuthorDate
    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      

    Back to Subject List