🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bit.listserv.asm370
Article #47

Re: Named PUSH/PUP suggestion

#47
From: Binyamin Dissen
Date: Sun, 02 Oct 2005 17:12
37 lines
2931 bytes
On Sun, 2 Oct 2005 10:13:24 -0400 David Cole <dbcole@colesoft.com> wrote:

:>Sometimes when developing code I mismatch my Assembler PUSH/POP
:>statements, and finding the excess PUSH or POP often is a tedious process.

:>As it happens (and for unrelated reasons), I often replace the
:>Assembler PUSH/POP instructions with macros.

:>Recently it occurred to me, why don't I give my PUSH and POP
:>statements matching names... Well, the native PUSH/POP statements do
:>not permit name fields, but since I'm using my own macros, then why not...

:>Two advantages arise. First, with matching name fields, it's now very
:>easy for me to find unmatched PUSH/POPs.

:>Second, the name could serve as tokens allowing for a single POP to
:>pop all PUSH's at and lower than the corresponding named PUSH.

:>Third, if a named POP does not have a corresponding PUSH, then the
:>assembler could flag that error on the spot.

:>What do you think?

Couldn't hurt.

--
Binyamin Dissen <bdissen@dissensoftware.com>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.
Technical Details
Message-ID: <c750k19kg5s8c7fl1gne73s9k625kqne8l@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!sn-xit-04!sn-xit-12!sn-xit-09!sn-xit-08!sn-xit-14!supernews.com!149.173.6.116.MISMATCH!foggy!vm.sas.com!dissensoftware.com!bdissen
References: <6F4F88E09079204787D7CD2FB91FA8FE01793CAD@hqmail.rocketsoftware.com> <6.2.3.4.2.20051002100259.03be4008@mail.swcp.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: fcdcb,f622ba550323cb9
X-Google-Attributes: gidfcdcb,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!sn-xit-04!sn-xit-12!sn-xit-09!sn-xit-08!sn-xit-14!supernews.com!149.173.6.116.MISMATCH!foggy!vm.sas.com!dissensoftware.com!bdissen
From: Binyamin Dissen <bdissen@dissensoftware.com>
Newsgroups: bit.listserv.asm370
Subject: Re: Named PUSH/PUP suggestion
Date: Sun, 2 Oct 2005 20:12:37 +0300
Organization: DISSEN Software, Bar & Grill - Israel  Ltd.
Lines: 37
Sender: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU>
Message-ID: <c750k19kg5s8c7fl1gne73s9k625kqne8l@4ax.com>
References: <6F4F88E09079204787D7CD2FB91FA8FE01793CAD@hqmail.rocketsoftware.com>
            <6.2.3.4.2.20051002100259.03be4008@mail.swcp.com>
NNTP-Posting-Host: mozart.unx.sas.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: foggy.unx.sas.com 1128273316 2764 10.19.150.41 (2 Oct 2005 17:15:16 GMT)
X-Complaints-To: usenet@unx.sas.com
NNTP-Posting-Date: Sun, 2 Oct 2005 17:15:16 +0000 (UTC)
Comments: Gated by NETNEWS@VM.SAS.COM
Return-Path: <owner-assembler-list@LISTSERV.UGA.EDU>
X-Mailer: Forte Agent 2.0/32.652
Approved-By: Binyamin Dissen <bdissen@DISSENSOFTWARE.COM>
In-Reply-To: <6.2.3.4.2.20051002100259.03be4008@mail.swcp.com>
Return-Path: owner-assembler-list@LISTSERV.UGA.EDU
X-OriginalArrivalTime: 02 Oct 2005 17:15:14.0339 (UTC)
                       FILETIME=[DA59F730:01C5C774]
Originator: daemon@mozart.unx.sas.com