Re: [stella] Standards

Subject: Re: [stella] Standards
From: Scott Huggins <sub17_5k@xxxxxxxxx>
Date: Fri, 15 Jun 2001 07:50:56 -0700 (PDT)
> (Hopefully I haven't branded myself to be too far up
> the geek scale by 
> bringing up this subject. :) )

We're coding for the Atari 2600. Man, WE'RE ALL way up
on the geek scale.



--- "Erik J. Eid" <eeid@xxxxxxxxx> wrote:
> In my time as a professional programmer, I've
> encountered coding standards 
> on more than a few occasions.  There's entire books
> devoted to the subject, 
> such as _The Elements of C Programming Style_ by
> Ranade and Nash.
> 
> The most common advice is that it doesn't matter
> what coding style you 
> pick, as long as you pick one and stick to it.
> 
> However, in my travels, I've never seen any style
> suggested for assembly 
> language programming.  That's likely because I've
> never done ML programming 
> at work, but I haven't seen any titles in the
> bookstore on it either.
> 
> The homebrew programs I've seen show a number of
> different styles.  In Okie 
> Dokie, opcodes are in lowercase, variable names are
> in uppercase, labels 
> are in lowercase, and both variables and labels are
> no more than ten 
> characters long.  In SoundX, opcodes are in
> uppercase, variable names and 
> labels are in mixed case, and these names are a bit
> longer.  There's a 
> third approach in Qb, with names of constants in
> uppercase, variables in 
> mixed (with a two-letter prefix if in the overlay
> section), and opcodes are 
> in lowercase.  Each of these also sports a mixture
> of the number of spaces 
> used for indents and whether a label can be on the
> same line as an instruction.
> 
> Have any of you come across suggested coding styles
> for assembly language 
> programs?  If so, what are they?
> 
> (Hopefully I haven't branded myself to be too far up
> the geek scale by 
> bringing up this subject. :) )
> 
> 
>     .      .     \_ +\_ + o_-/     .   O
>       .            \-_o -=/-   .          .
> .           .        \=//  .
> ---------\_______     ||O        ___.______
> /* Erik Eid */   \____||L/\_____/
> /* eeid@xxxxxxxxx */_______________________ 
> 
> 
> -
> Archives (includes files) at
> http://www.biglist.com/lists/stella/archives/
> Unsub & more at http://www.biglist.com/lists/stella/


__________________________________________________
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/

-
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/

Current Thread