I was always taught:
LABEL    EQU    *

to distinguish a label.  However, when I perform maintenance on a program
that someone else wrote with:
LABEL    DS  0H

I use that way.  This keeps it standardized throughout the program as not to 
confuse
the next person that does maintenance.



-----Original Message-----
From: IBM Mainframe Assembler List [mailto:[email protected]] On 
Behalf Of Edward Jaffe
Sent: Tuesday, June 12, 2012 5:23 PM
To: [email protected]
Subject: Re: DS 0H

On 6/5/2012 4:51 AM, McKown, John wrote:
> My rule for most instructions is "place any required label on a
> separate DS 0H as the preceding statement."

I use DC 0H rather than DS 0H, but that is a minor difference. Naturally, the 
label is always on its own line. Otherwise the instruction would not line up 
with the others below and that would look ugly. For example:

***************************************************************
* Subroutine to Accumulate FOOs                               *
***************************************************************
AccumulateFoos DC 0H
      STKPUSH ,                      Save the registers
      .
      . (FOOs get accumulated here)
      .
      STKPOP ,                       Restore the registers
      BR    R14                      Return

--
Edward E Jaffe
Phoenix Software International, Inc
831 Parkview Drive North
El Segundo, CA 90245
310-338-0400 x318
[email protected]
http://www.phoenixsoftware.com/

Reply via email to