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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/16/07 15:40
Read: times


 
#135117 - RET in functions
Responding to: ???'s previous message
As far as I see, main() is a function. And all C functions end with a RET instruction.

I agree that main() should end in something, but in this SPECIAL case, it will work.

Anyway, Michael, the only thing you will notice is a delay for the LED to bright, and nothing else.

Daniel


List of 15 messages in thread
TopicAuthorDate
Help with the delay program            01/01/70 00:00      
   What does it do?            01/01/70 00:00      
   Hints.            01/01/70 00:00      
      Check with debugger            01/01/70 00:00      
   could this be it ?            01/01/70 00:00      
      Difficult to see            01/01/70 00:00      
         that depends            01/01/70 00:00      
            RET in main            01/01/70 00:00      
               nope - and compiler dependent            01/01/70 00:00      
                  RET in functions            01/01/70 00:00      
                     how do you know that ?            01/01/70 00:00      
                        Because of Startup            01/01/70 00:00      
                           ah            01/01/70 00:00      
                           some contra            01/01/70 00:00      
                              in other words - and who cares            01/01/70 00:00      

Back to Subject List