[A83] Re: Defining Variables


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

[A83] Re: Defining Variables



If you work with labels instead of using saferam, do you always write back
to the program in that case?


-- Attached file included as plaintext by Listar --

Reply-To: <assembly-83@lists.ticalc.org>
From: "Dan Weiss" <dwedit@hotmail.com>
Sender: <assembly-83-bounce@lists.ticalc.org>
To: <assembly-83@lists.ticalc.org>
Subject: [A83] Re: Defining Variables
Date: Sat, 21 Apr 2001 06:35:23 +0200
Message-ID: <F286TMVwVn20lbhsKd600008a7a@hotmail.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
X-Originating-IP: [24.183.50.176]
X-UIDL: f6058eea118033bcd4d7a4ff5fbf09b0
X-list: assembly-83
X-OriginalArrivalTime: 21 Apr 2001 04:35:24.0189 (UTC) FILETIME=[7B3D64D0:01C0CA1C]
X-listar-version: Listar v1.0.0
X-original-sender: dwedit@hotmail.com
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300


Unless you want writeback, use saferam.

If you use labels, you perminently make changes to the program file itself
when you alter the data.  You will have to initalize data either way.  To
save memory, use saferam.


>From: Gerald Wong <geraldsplanet@yahoo.com>
>Reply-To: assembly-83@lists.ticalc.org
>To: assembly-83@lists.ticalc.org
>Subject: [A83] Defining Variables
>Date: Sat, 21 Apr 2001 13:44:03 +1000 (EST)
>
>
>Currently I make variables in a safe RAM area using
>the #define directive, but for every variable I make I
>have to initialise it, eg: ld a,8 \ ld (xcoord),a
>
>It would take less memory to just make a label, eg:
>xcoord:
>  .db 8
>
>...so should I change it to the label system?
>
>
>-Gerald
>
>___________________________________________________________________________
__
>http://store.yahoo.com.au - Yahoo! Store
>- It's time you had your business online!
>
>

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com







References: