It better not, otherwise things like this wouldn't give the right length.

STRING  DC  C'SOME LENGTH STRING'
STRINGL EQU *-STRING

  Loc  Object Code    Addr1 Addr2  Stmt   Source Statement
                                    114 *
000054                              116 START    DS    CL1
                      00055         117 LAB1     EQU   *
000056                              118 LAB2     DS    0h
000056 47F0 C056            00056   120          B     LAB2
00005A 47F0 C055            00055   121          B     LAB1
** ASMA212W Branch address alignment for LAB1 unfavorable

On 10/2/2024 1:58 PM, David Spiegel wrote:
Hi R'Shmuel AMV"SH,
I realize that DS 0H forces alignment. I was wondering if EQU * does/does not.

כתיבה וחתימה טובה

Regards,
David


On 2024-10-02 11:33, Seymour J Metz wrote:
It is still true that DS 0H forces alignment.

--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
עַם יִשְׂרָאֵל חַי
נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר



________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of David Spiegel <[email protected]>
Sent: Wednesday, October 2, 2024 9:07 AM
To: [email protected]
Subject: Re: Question on HLASM - B to a DROP statement!?!

Caution: This email did not originate from George Mason’s mail system. Do not click links or open attachments unless you recognize the sender and know the content is safe.


Hi Allan,
As a rule, "DS 0H" used to be safer than "EQU *" since the former forces
half-word alignment.
(I do not know if that is still true.)

Regards,
David


On 2024-10-02 08:38, Allan Staller wrote:
Classification: Confidential

Suggested code change to resolve..

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Steve Thompson
Sent: Tuesday, October 1, 2024 4:29 PM
To: [email protected]
Subject: Question on HLASM - B to a DROP statement!?!

Suggested code change to resolve:

           B  DROPR11

DROPR11 EQU  *
           DROP R11
           LA   R1,xxxxx  (or something similar)
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
::DISCLAIMER::
________________________________
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.
________________________________

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to