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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
David Prentice
07/06/12 21:43
Read: 712 times
Wormshill
England


 
#187878 - Single assembly is not unreasonable
Responding to: Andy Neil's previous message
I agree that files should be organised as independently translatable source code. Then the Linker links the object files.

However PCs are pretty swift nowadays. I doubt that 64k of object code is going to take very long to assemble from source.

You still have the 'safety factor' of independent source files. If you don't load into your editor, you aren't going to inadvertently alter the source code.

Simple cutting and pasting blocks from your monster ASM file and putting them into individual module123.INC files should make no difference to the Assembly process.

Then you convert each module123.INC file to an independently assemble-able module123.ASM. This process will probably guide you to improve the program structure.

David.

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