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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Andy Neil
07/06/12 18:48
Read: 835 times
Basingstoke
Uk


 
#187876 - Read-up on...
Responding to: Erik Malund's previous message
Erik Malund said:
linker, extern, entry

Also, PUBLIC.

The concept of "exporting" symbols as "Public" for use by other modules, and "importing" symbols from other modules is really fundamental to any serious programming in any language - so it is well worth the investment to spend time studying & getting to grips with it now before you proceed further.

It is the job of the Linker to join-up the "external" declarations with the "public" definitions.

Look at the diagram here of how the tools interact: http://www.keil.com/c51/devproc.asp

http://www.keil.com/support/m...public.htm
http://www.keil.com/support/m...extern.htm
http://www.keil.com/support/m..._extrn.htm



List of 8 messages in thread
TopicAuthorDate
multiple asm files in a 8051 project using keil      Tariq Saleem      07/06/12 08:27      
   multiple asm files in a 8051 project using keil      Tariq Saleem      07/06/12 08:28      
      read up on      Erik Malund      07/06/12 10:22      
         Read-up on...      Andy Neil      07/06/12 18:48      
   $include should work       Jim Granville      07/06/12 12:13      
      should work, but...      Andy Neil      07/06/12 18:51      
         Single assembly is not unreasonable      David Prentice      07/06/12 21:43      
   Keil example      Andy Neil      07/07/12 06:08      

Back to Subject List