0 Members and 2 Guests are viewing this topic.
Moving and renaming sections is a good idea. I'll see what I can do. Macros will be done at some point, but those are a bit tricky.
INCLUDE would actually be quite a bit more difficult. I realize it's nice to have for porting existing code, but is there a reason you really need it?
I believe that they're assembled in the order they're listed, by a breadth-first search (so the main source file comes first, then all the files imported by the main source file, then all the files imported by those files (assuming they weren't used already), and so forth.) So if you want the files in a particular order, just be sure to list all of them in the main source file.If you're writing a general-purpose library that depends on other libraries, you can't predict what order those dependent libraries will appear, but the section types do allow you to define a partial ordering of sections (all header sections come before all code sections, which come before all data sections, which come before all footer sections.)
Technically, flash drives use flash too (but usually with sectors of 512 bytes I think, instead of 64KB)