|
Subject: Re: [stella] Re: bitching about DASM From: Eckhard Stolberg <Eckhard_Stolberg@xxxxxxxxxxxxxxxxxxxxx> Date: Tue, 12 May 1998 17:00:23 +0200 |
At 22:50 12.05.98 +1000, you wrote:
> loop a 30
> {
> db @a
> }
>
>That would create a 30 byte table, with entries 0,1,2,3,4... etc
>Seems the current assembler will let you loop, but not access the iteration
>count.
>Or, maybe I should go study the docs a bit more. I think I'll do that.
>Once bitten, twice shy.
In DASM that would be
a SET 0
REPEAT 30
dc a ; or .byte a if you prefer that
a SET a + 1
REPEND
and yes, this is in the documentation too. :-)
Ciao, Eckhard Stolberg
--
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/stella.html
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [stella] Re: bitching about DASM, Andrew Davie | Thread | [stella] optimization, Andrew Davie |
| Re: [stella] Demo #1 of my 4 colour, Eckhard Stolberg | Date | Re: [stella] reset vectors, Eckhard Stolberg |
| Month |