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

Back to Subject List

Thread Closed: Drifted off-topic

???
07/28/03 12:10
Read: times


 
#51565 - RE: How to call subroutines from other file?
Responding to: ???'s previous message
Christopher Tan wrote:
-------------------------------
I am a new programmer towards this language of 8051 microcontroller. I have written some subroutines and stuffs like using timers.. etc. But there's one thing which i am not sure of... i knew how to call subroutines from the file itself, but how to call a subroutine which i want to use from another file? What are the steps or methods that is required? Please help me, thanks.


one machanism is what already suggested 'include'.
.

The best way is to use LIB and PUBLIC/EXTERN file mechanism. but see your assebler supports it.



abhishek


List of 24 messages in thread
TopicAuthorDate
How to call subroutines from other file?            01/01/70 00:00      
   RE: How to call subroutines from other file?            01/01/70 00:00      
      RE: How to call subroutines from other file?            01/01/70 00:00      
         RE: How to call subroutines from other file?            01/01/70 00:00      
            Read this to get what i meant....            01/01/70 00:00      
   RE: How to call subroutines from other file?            01/01/70 00:00      
      RE: How to call subroutines from other file?            01/01/70 00:00      
         RE: How to call subroutines from other file?            01/01/70 00:00      
            RE: How to call subroutines from other file?            01/01/70 00:00      
   RE: How to call subroutines from other file?            01/01/70 00:00      
   RE: How to call subroutines from other file?            01/01/70 00:00      
      RE: How to call subroutines from other file?            01/01/70 00:00      
   pushing and poping            01/01/70 00:00      
      RE: pushing and poping            01/01/70 00:00      
         RE: pushing and poping            01/01/70 00:00      
      RE: pushing and poping, nitin            01/01/70 00:00      
         RE: pushing and poping, nitin            01/01/70 00:00      
         RE: pushing and poping, nitin            01/01/70 00:00      
            RE: pushing and poping, nitin            01/01/70 00:00      
               RE: pushing and poping, nitin            01/01/70 00:00      
                  RE: pushing and poping, nitin            01/01/70 00:00      
                  RE: pushing and poping, nitin            01/01/70 00:00      
   RE: How to call subroutines from other file?            01/01/70 00:00      
   RE: How to call subroutines from other file?            01/01/70 00:00      

Back to Subject List