🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bit.listserv.asm370
Article #50

Re: Named PUSH/PUP suggestion

#50
From: Gerhard Postpischil
Date: Mon, 03 Oct 2005 12:54
25 lines
2628 bytes
David Cole wrote:
> 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?

I have mixed feelings about this. In order to have complete checking,
you would need one last macro after the end of USING based code and
variables, or a replacement for the END statement.

I have macros that begin and end a subroutine section, and found it
easier to place the PUSH and POP into those. And yes, I have had
mismatches anyway.

It would be more productive to suggest Assembler support for name fields
or active RELATED= operands?

Gerhard Postpischil
Bradford, VT
Technical Details
Message-ID: <43412A08.8080405@valley.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!wn14feed!worldnet.att.net!208.48.142.85!newsfeed.news2me.com!newsfeed2.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!sn-xit-03!sn-xit-10!sn-xit-01!sn-xit-14!supernews.com!149.173.6.116.MISMATCH!foggy!vm.sas.com!VALLEY.NET!gerhard
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!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!wn14feed!worldnet.att.net!208.48.142.85!newsfeed.news2me.com!newsfeed2.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!sn-xit-03!sn-xit-10!sn-xit-01!sn-xit-14!supernews.com!149.173.6.116.MISMATCH!foggy!vm.sas.com!VALLEY.NET!gerhard
From: Gerhard Postpischil <gerhard@VALLEY.NET>
Newsgroups: bit.listserv.asm370
Subject: Re: Named PUSH/PUP suggestion
Date: Mon, 3 Oct 2005 08:54:32 -0400
Organization: SAS Inc.
Lines: 25
Sender: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU>
Message-ID: <43412A08.8080405@valley.net>
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=iso-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: foggy.unx.sas.com 1128344462 31246 10.19.150.41 (3 Oct 2005 13:01:02 GMT)
X-Complaints-To: usenet@unx.sas.com
NNTP-Posting-Date: Mon, 3 Oct 2005 13:01:02 +0000 (UTC)
Comments: Gated by NETNEWS@VM.SAS.COM
Return-Path: <owner-assembler-list@LISTSERV.UGA.EDU>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: en-us, en
In-Reply-To: <6.2.3.4.2.20051002100259.03be4008@mail.swcp.com>
Return-Path: owner-assembler-list@LISTSERV.UGA.EDU
X-OriginalArrivalTime: 03 Oct 2005 13:00:59.0433 (UTC)
                       FILETIME=[8021C990:01C5C81A]
Originator: daemon@mozart.unx.sas.com