Re: A89: Re: arrays...


[Prev][Next][Index][Thread]

Re: A89: Re: arrays...




Sorry, I really should.  I did not know about ds.x before I posted a reply
and I didn't really read it carefully and assumed it was a dc.x that is used
for variables.

On another note, how do you use that data?  Would it be something like:

        ...
        move.b 10(array),d0
        ...
array   ds.b   20

for the TI-BASIC of:

array[10]

where array = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0} or are they filled
with whatever was there?  Do you have to clear them first?

-Miles Raymond      EML: m_rayman@bigfoot.com
ICQ: 13217756       IRC: Killer2        AIM: KilIer2 (kilier2)
http://www.bigfoot.com/~m_rayman/

----- Original Message -----
From: Olle Hedman <oh@hem.passagen.se>
To: <assembly-89@lists.ticalc.org>
Sent: Tuesday, July 27, 1999 3:00 AM
Subject: Re: A89: Re: arrays...


> Hey!!!  start reading more careful!!
>
> ds.b  (that is an S before the point) does exactly what you say, and
defines
> that many bytes that the number after it indicate (exept for that 0 thing,
wich
> obviosly is a bug)
>
> dc.b  (that is an C before the point) does exactly what miles says, and
stores
> that number at that place.
>
> file://Olle



References: