In a recent note, Miklos Szigetvari said: > Date: Wed, 28 Sep 2005 18:46:17 +0200 > > Try to load a program via LOAD macro to find some text constants in the > load module (i.e. the compile time text for every object) > For my surprise the load length from reg1 is not the same as module > length for program objects. > (With DESERV I can find out the module lengh) > I don't know if I can use this method (LOAD and search) to find out this > text constants. > Is this because the address returned by LOAD is the address of the entry point, which may not be the origin of the load module, nor even the CSECT with lowest address; particularly given the manner in which SMP/E maintenance scrambles CSECTs?
I believe nowadays scatter loading is back. Different CSECTS in a single module may be loaded discontiguously, some above and some below the 16Mi line, depending on attributes. What does LOAD report for module length in this case? Needed: a facility to read a load module in the fashion of a sequential file. But this needs to work for LPA-resident load modules, and even programs defined by the IDENTIFY macro. -- gil -- StorageTek INFORMATION made POWERFUL ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

