Article View: bit.listserv.asm370
Article #394Re: Assembly coding guidelines
From: Gerhard Postpischil
Date: Wed, 07 Sep 2005 12:48
Date: Wed, 07 Sep 2005 12:48
20 lines
2481 bytes
2481 bytes
Paul Hanrahan wrote: > I'm not sure what you mean by a tabular form. True fonts with column > orientation and prefix numbers and column numbers as opposed to proportional > fonts without the editor providing visible line and column numbers are > comfort items that a more GUI development environment for assembler could > maintain. Most of us adopt a coding style that speeds work and eases maintenance. Labels are in columns 1-9, instructions in 10-15 (with the occasional odd-ball macro longer), operands in 16-, comments in some favorite column (mine at 30, some at 41, some at 50...), and change dates or numbers around 65. This makes it relatively easy to FIND items - if I need subroutine calls, I can scan for BAL/BAS in column 10, without getting false hits on comment or operand text. Ditto for change numbers/dates. With continued comments, either you get excessive white space that breaks the instruction flow, or the comments intrude into statement fields that produce false matches on searches. Gerhard Postpischil Bradford, VT
Technical Details
Message-ID:
<431EE1BA.8020108@valley.net>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.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!VALLEY.NET!gerhardReferences:
<000001c5b2e0$e471aa40$8701a8c0@DGG2YZ51>Show Full Headers
Complete Article Headers
X-Google-Thread: fcdcb,b5f541d74f4633a6
X-Google-Attributes: gidfcdcb,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.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!VALLEY.NET!gerhard
From: Gerhard Postpischil <gerhard@VALLEY.NET>
Newsgroups: bit.listserv.asm370
Subject: Re: Assembly coding guidelines
Date: Wed, 7 Sep 2005 08:48:58 -0400
Organization: SAS Inc.
Lines: 20
Sender: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU>
Message-ID: <431EE1BA.8020108@valley.net>
References: <000001c5b2e0$e471aa40$8701a8c0@DGG2YZ51>
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 1126097789 4215 10.19.150.41 (7 Sep 2005 12:56:29 GMT)
X-Complaints-To: usenet@unx.sas.com
NNTP-Posting-Date: Wed, 7 Sep 2005 12:56:29 +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: <000001c5b2e0$e471aa40$8701a8c0@DGG2YZ51>
Return-Path: owner-assembler-list@LISTSERV.UGA.EDU
X-OriginalArrivalTime: 07 Sep 2005 12:56:27.0468 (UTC)
FILETIME=[8F49B8C0:01C5B3AB]
Originator: daemon@mozart.unx.sas.com