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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/08/05 23:15
Read: times


 
Msg Score: +1
 +1 Good Answer/Helpful
#89308 - More hints
Responding to: ???'s previous message


Try to avoid using ORG statements in your file UNLESS you really need to put something at a particular address - like interrupt and reset vectors. For the rest of your code, the linker does the job of locating the code & data and produces a link file so you know where it has put things. If you start putting code at hard locations by using ORG statements for each of the modules, if one block of code grows into the area of the other module(s) then the linker is going to complain as it won't be able to do anything about it.

A good read of the manual will help.

List of 14 messages in thread
TopicAuthorDate
How to link more than 2 files            01/01/70 00:00      
   Hint            01/01/70 00:00      
      More hints            01/01/70 00:00      
         Link more than two files            01/01/70 00:00      
            PUBLIC and EXTERNAL            01/01/70 00:00      
               correction: PUBLIC and EXTRN            01/01/70 00:00      
               linkining more than one file            01/01/70 00:00      
                  think more            01/01/70 00:00      
                     linking more than one file            01/01/70 00:00      
                        use pair PUBLIC/EXTRN            01/01/70 00:00      
                           Program Linkage            01/01/70 00:00      
   INCLUDE            01/01/70 00:00      
      no include            01/01/70 00:00      
         about include            01/01/70 00:00      

Back to Subject List