Re: [stella] DASM wish list

Subject: Re: [stella] DASM wish list
From: "C. Bond" <cbond@xxxxxxxxxxxxx>
Date: Mon, 15 Aug 2005 18:44:43 -0400
-----Original Message-----
From: Glenn Saunders <mos6507@xxxxxxxxx>
Sent: Aug 15, 2005 2:34 PM
To: stella@xxxxxxxxxxxxxxxxxx
Subject: [stella] DASM wish list

The big thing I'd like to see DASM do is be tolerant
of whitespace and indentation.

Copying stuff from Stelallist into a text editor
invariably results in sourcecode that will not compile
in DASM without a lot of tedious reformatting.

I mean, in 2005 should it really matter whether you
put an opcode or a label on the hard left margin or
one tab over??
-------------------------

You can certainly write an assembler which accepts opcodes or labels on 
a 'hard left margin', but there are tradeoffs. For example, this may prevent
you from using certain labels, especially if your opcode list includes all
the unofficial opcodes. In some cases you may have to rewrite your source code
to change labels such as SAX, DCP, etc. so they don't conflict with opcodes.
 It might be better to simply  separate labels from opcodes by a formatting rule. 
(Maybe not, just a thought!)

Another issue has to do with using opcode syntax such as LSR A and
ROL A. If your assembler simply requires LSR or ROL, you can free
up 'A' for use as a label, otherwise it becomes a reserved symbol.

Regards,

C. Bond








		
__________________________________ 
Yahoo! Mail for Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://stella.biglist.com


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

Current Thread