mob@mit-amt.MEDIA.MIT.EDU (Mario O. Bourgoin) (08/31/89)
I am writing a .COM program that allocates data segments at run time. The routines that make up the code segment are spread across a number of .ASM files and each wants to define its own variables. However, since I am writing a .COM file, I can only have one segment. And even if I were writing a .EXE file, I would want to allocate the memory myself. While absolute segments might seem to be a solution, they don't carry over to the linking phase so all the variables defined end up overlapping. My answer has been to write the routines in seperate files which I then INCLUDE together for a massive assembly. Since this is much less than perfection, I need more flexible development tools. So I'm looking for an IBM-format-compatible 8086 assembler and a linker that allow the definition of segments that do not generate object code but that carry over to the link phase so they can be combined from different object files. It would be great if they came with a source-level debugger but that's not essential. If you have suggestions, please mail them to me. --Mario