🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bit.listserv.asm370
Article #64

Re: Structured Macros Infinite Loop Warning

#64
From: Don Nielsen
Date: Fri, 07 Oct 2005 17:18
40 lines
3182 bytes
Ruby should be the new assembler.  It should compile pre-compile at the microcode level of the cmos processor.

Or...maybe not.


-----Original Message-----
From: IBM Mainframe Assembler List
[mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU]On Behalf Of glen herrmannsfeldt
Sent: Friday, October 07, 2005 12:09 PM
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Subject: Re: Structured Macros Infinite Loop Warning


"Edward E. Jaffe" <edjaffe@phoenixsoftware.com> wrote:

> John Leonard wrote:

> >Just goes to show you if you want to code an IF statement code it in COBOL

> >Those case macros just generate code that with generated labels creating
> >code difficult to read modify and maintain.
> >If see no advantage between an IF = instead  BE

> There are *tremendous* advantages ...

> So-called "label management" -- e.g., coming up with unique labels,
> renumbering after an insertion of code (assuming you use numeric
> suffixes as many people do), etc. -- is error prone busy work. Every
> seasoned assembler programmer has seen the common error in which a loop
> is created by "cloning" a routine from one part of a program to another
> and forgetting to "fix up" one of the branches in the cloned routine.

Some DEC assemblers have global and local labels, such that local
labels only need to be unique between global labels.  They are
of the form $n where n is numeric.

I am not suggesting this for HLASM, only commenting on it to
indicate that there are other solutions to the label problem.

-- glen
Technical Details
Message-ID: <F57FDB5201A2AA488C21CC5CC9759029848DE8@cdmail.cmscms.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-06!sn-xit-14!supernews.com!149.173.6.116.MISMATCH!foggy!vm.sas.com!cmscms.com!donn

Show Full Headers
Complete Article Headers
X-Google-Thread: fcdcb,89ec88f8cee0d19f
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-06!sn-xit-14!supernews.com!149.173.6.116.MISMATCH!foggy!vm.sas.com!cmscms.com!donn
From: Don Nielsen <donn@cmscms.com>
Newsgroups: bit.listserv.asm370
Subject: Re: Structured Macros Infinite Loop Warning
Date: Fri, 7 Oct 2005 12:18:32 -0500
Organization: SAS Inc.
Lines: 40
Sender: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU>
Message-ID: <F57FDB5201A2AA488C21CC5CC9759029848DE8@cdmail.cmscms.com>
NNTP-Posting-Host: mozart.unx.sas.com
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: foggy.unx.sas.com 1128705640 9935 10.19.150.41 (7 Oct 2005 17:20:40 GMT)
X-Complaints-To: usenet@unx.sas.com
NNTP-Posting-Date: Fri, 7 Oct 2005 17:20:40 +0000 (UTC)
Comments: Gated by NETNEWS@VM.SAS.COM
Return-Path: <owner-assembler-list@LISTSERV.UGA.EDU>
Content-class: urn:content-classes:message
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Thread-Topic: Re: Structured Macros Infinite Loop Warning
Thread-Index: AcXLYl+z63g5L1dfQ7O7WY/cYHLivQAAKENg
X-MIME-Autoconverted: from quoted-printable to 8bit by listserv.cc.uga.edu id
                      j97HGlg7031562
Approved-By: Don Nielsen <donn@CMSCMS.COM>
Return-Path: owner-assembler-list@LISTSERV.UGA.EDU
X-OriginalArrivalTime: 07 Oct 2005 17:20:39.0293 (UTC) FILETIME=[701AC2D0:01C5CB63]
X-Mime-Autoconverted: from 8bit to 7bit by mime827
Originator: daemon@mozart.unx.sas.com