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