Re: A86:Finding file size


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

Re: A86:Finding file size




yes, you can.  see below
-josh

--------- Forwarded message ----------
From: Joshua J Seagoe <rabidcow@juno.com>
To: assembly-86@lists.ticalc.org
Date: Sat, 16 Oct 1999 23:10:16 -0700
Subject: Re: A86: abs and rst $10

 ti actually has documentation on findsym on their website.  it does not
return the size of the variable, however there is a rom call that will: 
_DATASIZE = $477f  call it like this:
	rst $10	; findsym
	ex de,hl	; make bhl -> data
	call _DATASIZE
registers are now:
  bhl=ahl -> data (size word if there is one)
  de = size of var (in bytes)
  c = var type
  carry will be clear
this will trigger a memory error if the var is >64k


___________________________________________________________________
Get the Internet just the way you want it.
Free software, free e-mail, and free Internet access for a month!
Try Juno Web: http://dl.www.juno.com/dynoget/tagj.


Follow-Ups: