Quote:
> 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.
--
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
Northern Illinois Univ.
DeKalb, IL 60115 +1-815-753-6940