Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!shelby!agate!ucbvax!CS.NIU.EDU!rickert From: rickert@CS.NIU.EDU (Neil Rickert) Newsgroups: comp.lang.asm370 Subject: Re: GETMAIN Message-ID: <9102240134.AA17926@ucbvax.Berkeley.EDU> Date: 24 Feb 91 01:31:26 GMT References: <9102232014.AA08196@ucbvax.Berkeley.EDU> Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: IBM 370 Assembly Programming Discussion List Distribution: inet Organization: The Internet Lines: 25 In article <9102232014.AA08196@ucbvax.Berkeley.EDU> you write: > > I'm a bit confused about how to get GETMAIN to give me an amount of >memory determined at execution time, rather than assembly time. I seemed >to have no problems with > > GETMAIN R,LV=1000 > >What would I have to specify to get, say, a number of bytes equal to the >number of bytes in register 2? GETMAIN always returns a chunk of memory >alligned on a doubleword boundary, right? How about GETMAIN R,LV=(2) or GETMAIN R,LV=0(2) I believe either will work. The first will definitely work. Yes, you get doubleword alignment. -- =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= Neil W. Rickert, Computer Science Northern Illinois Univ. DeKalb, IL 60115 +1-815-753-6940