theorist@walt.cc.utexas.edu (Charles Callaway) (03/21/90)
I am writing a program in assembly in which I need to take a code segment(s), data segment(s), and such and combine them into a hunk file which I can make into an executable. I would like to have it work without linking, but that's not necessary. Does anyone know of a program which will do this? I can also read C. If anyone knows of such a program with source or a basic algorithm, could you please send it to me? /// Charles Callaway /// (theorist@walt.cc.utexas.edu) \\\/// President \XX/ University Amiga Computer Society
djh@dragon.metaphor.com (Dallas J. Hodgson) (03/22/90)
I wrote a program called 'DumpObj' which you can use as a skeleton for your hunk-coalescing idea. DumpObj parses object files and displays information about their structure, much like the utility that comes with Lattice. It's written in Aztec C, and is on the freebie disk I send out to folks who send in their shareware check for NewZAP. It's probably on a Fish disk by now. +----------------------------------------------------------------------------+ | Dallas J. Hodgson | "This here's the wattle, | | Metaphor Computer Systems | It's the emblem of our land. | | Mountain View, Ca. | You can put it in a bottle, | | USENET : djh@metaphor.com | You can hold it in your hand." | +============================================================================+ | "The views I express are my own, and not necessarily those of my employer" | +----------------------------------------------------------------------------+