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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/13/12 05:22
Read: times


 
#185454 - it's provided by ASEM-51, I suppose
Responding to: ???'s previous message
I've never had to concern myself with linking, since one can specify what the externally contained include files are.

I normally generate and exercise my code modules separately and either invoke them as macros or simply paste them inline, which creates large but easy-to-follow code sets that are listed exactly as they're found in memory. I can include a macro library, which is where hardware drivers generally live, as macros depending on usage, and the assembler does the dirty work of adjusting the load addresses. Therefore the linking is handled internally by ASEM-51.

That's one of the more convenient features of this very handy tool. I can't see any use for a linker beyond handling pre-coded library contents. Aside from that, there's real advantage in having orderly sequencing of the modules in a piece of code, so that jumps and/or calls can be avoided when it's advantageous by properly ordering the various modules, thereby allowing code that otherwise would return only to call the same module on every execution to flow into that module. HLL's don't really make that convenient, or even predictable unless you totally integrate the modules. While it's possibly a distinction without a difference, it's easy to follow in ASM.

RE




List of 40 messages in thread
TopicAuthorDate
Assembly coding micro-converters            01/01/70 00:00      
   Code indented            01/01/70 00:00      
      Assemblers often have different syntax            01/01/70 00:00      
         Assembler            01/01/70 00:00      
            Why not use Keil A51 ?            01/01/70 00:00      
               why assembler?            01/01/70 00:00      
                  Libraries?!?!?            01/01/70 00:00      
                     Libraries good, but not always best            01/01/70 00:00      
                        Ok back to Data and Bit            01/01/70 00:00      
                           Manual            01/01/70 00:00      
                           ok back            01/01/70 00:00      
                              I C            01/01/70 00:00      
               Keil A51            01/01/70 00:00      
                  junk downloaders            01/01/70 00:00      
                  take a look at ASEM51            01/01/70 00:00      
                     asem-51 macros            01/01/70 00:00      
                        You don't have to use 'em            01/01/70 00:00      
                  re-think about tools            01/01/70 00:00      
                     ADuC842            01/01/70 00:00      
                        learn            01/01/70 00:00      
                           There are PLENTY of debuggers ...            01/01/70 00:00      
                              Documentation            01/01/70 00:00      
                                 interrupt vectors            01/01/70 00:00      
                                 Memo to Reinhard Keil            01/01/70 00:00      
                                 Keil docs are not bad.            01/01/70 00:00      
                                 Well ... Last time I had questions about ASEM51 ...            01/01/70 00:00      
                                    the good and the bad            01/01/70 00:00      
                                       Well, I must have mistyped            01/01/70 00:00      
                                          asem/asm            01/01/70 00:00      
                                          linker support?            01/01/70 00:00      
                                             it's provided by ASEM-51, I suppose            01/01/70 00:00      
   Ok back to the task at hand            01/01/70 00:00      
      make it easy for yourself            01/01/70 00:00      
         I’m afraid the hard ware is non negotiable            01/01/70 00:00      
            well, ....            01/01/70 00:00      
               Dinosours, I2Cs, Gang-bang???            01/01/70 00:00      
                  1st            01/01/70 00:00      
                     Simple approach            01/01/70 00:00      
                        yes            01/01/70 00:00      
                           For Free :-)            01/01/70 00:00      

Back to Subject List