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 16:19
Read: times


 
#89281 - How to link more than 2 files
Hi,
I wrote a code and divided in in two code (assembly launguage using Keil assembler )
I have a problem linking file.

File 1:

org 0000h
sjmp main

main:
mov a ,#0h
sjmp lup



File 2:
org 0050
lup: inc a
loop: sjmp loop


The assembler gives error undefined symbol(lup) in File1
what am i missing to add?
I wrote the above code to test if it works .
In my application i am having 4 files with different functions

Please help

Thanks
manisha


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