"IBM Mainframe Assembler List" <[email protected]> wrote on
11/30/2023 11:39:00 AM:
> I'm not sure what update to HLASM provided this capability, but you can
use:
>
> ORG *,256
>
> If you don't have the requisite update to the ORG statement, you can
> use a macro, of which many are in circulation. Here's one with a
> slightly different syntax -- the first parameter is the desired
> displacement past the boundary, and the second operand is the
> desired boundary, so you would code 'CORG 0,256'. No checking for
> power of two, use at your own risk, etc.
>
> macro ,
> corg &d,&m
> org &sysect+(&d)+(&m)*((*-&sysect+(&m)-(&d)-1)/(&m))
> mend ,
Perfect. Thank you very much.
Sincerely,
Dave Clark
--
int.ext: 91078
direct: (937) 531-6378
home: (937) 751-3300
Winsupply Group Services
3110 Kettering Boulevard
Dayton, Ohio 45439 USA
(937) 294-5331
*********************************************************************************************
This email message and any attachments is for use only by the named
addressee(s) and may contain confidential, privileged and/or proprietary
information. If you have received this message in error, please
immediately notify the sender and delete and destroy the message and all
copies. All unauthorized direct or indirect use or disclosure of this
message is strictly prohibited. No right to confidentiality or privilege
is waived or lost by any error in transmission.
*********************************************************************************************