[A83] Re: Defining Variables


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

[A83] Re: Defining Variables




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




Follow-Ups: