On Friday, 01/06/2006 at 01:17 EST, Steve Gentry <[EMAIL PROTECTED]> wrote: > Hello. Does anyone have an assembler program example of loading internal tables > above the 16 meg line? We have a program that has been creeping up insize to > the point that it can't all run below the 16meg. Specifically, internal tables > are defined in the program and these tables keep increasing. I'd like to put > those tables above the 16meg line. > Does anyone have examples or is there a book with examples of doing this?
What about just letting the whole program run above 16M? MYPROG CSECT MYPROG AMODE 31 MYPROG RMODE ANY Of course, the program must be a 31-bit app. If it's a 24-bit app, then moving the tables > 16M won't help you. If the program must reside < 16M, but can address > 16M, then use RMODE 24. That's only useful if you keep your tables in another separately-assembled TEXT file that is then dynamically loaded into memory. Or you can allocate your own memory (CMSSTOR OBTAIN) and load the data yourself using the OS LOAD macro or by issuing the CMS LOAD command with the ORIGIN option. You don't really care where the tables get loaded as long as there's enough room to hold them! Alan Altmark z/VM Development IBM Endicott
