Re: [stella] preliminary `how to use DASM' doc

Subject: Re: [stella] preliminary `how to use DASM' doc
From: "B. Watson" <atari@xxxxxxxxxxxxxx>
Date: Mon, 8 Oct 2001 13:25:49 -0400 (EDT)
On Mon, 8 Oct 2001, Thomas Jentzsch wrote:

> B. Watson wrote::
> > Give it a read, point out any mistakes you see, suggest improvements, etc.
> 
> Some to me important things I'm missing:
> 
> - the switches -v and -l, which I found very useful while developing (-s sometimes maybe useful too)
> - ALIGN for aligning
> - SUBROUTINE, which allows local labelnames (very useful when your project is growing and you don't want to number labelnames). 
> - IF, ELSE, ENDIF, which allow conditional compilation (i.E. see my River Raid or Starmaster disassemblies) 
> - MACRO and ENDM, useful i.E. for defining serveral times used debug-code in combination with IF, ENDIF or to define unsupported illegal opcodes
> - explain some more important operators: |, ^, ~ and that one should use [ ] instead of ( ) to group expressions
> 

Hmmm. There's a simple reason for leaving out ALIGN: until just now, I didn't
know about it... I had been using:

org [>.]*256+256

to align to a page boundary... ugly, but functional. ALIGN is much nicer...

I was going to leave out macros, because I didn't know anyone had found a use
for them in Stella programming. But, if nothing else, using them for illegal
opcodes is great.

Looks like I completely left out the section on command-line switches, too :(

So, back to work...

B.

---

If a trainstation is the place where trains stop, what is a workstation?



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

Current Thread