Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!tut.cis.ohio-state.edu!ucbvax!CLEMSON.BITNET!PHILIP From: PHILIP@CLEMSON.BITNET (Philip Harshman 3697) Newsgroups: comp.lang.asm370 Subject: Re: programming style Message-ID: <9102271325.AA26930@ucbvax.Berkeley.EDU> Date: 27 Feb 91 13:22:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: IBM 370 Assembly Programming Discussion List Distribution: inet Organization: The Internet Lines: 13 On Tue, 26 Feb 91 15:27:43 CST "John M. Kelsey" said: > One thing I've always done, but have seldom seen other programmers do, > is to use some character to separate the assembly language instructions and > operands from the line comments by some character--in my case, a semicolon. > > LOOPTOP L R4,0(R5) ; Get ARR1(I) integer > > Does anyone else do anything similar? At our shop we use the vertical or bar (|) for the same purpose: LOOPTOP L R4,0(R5) | Get ARR1(I) integer This makes a nice even line separating the code from the comments. And I agree, it does make the code easier to follow.