A83: Re: point register to the beginning of the actual program data?


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

A83: Re: point register to the beginning of the actual program data?




I think this is how you do it:

ld hl,Name
bcall _mov9toop1    ; get Name into op1
bcall _chksysvar    ; de = pointer to data if it exists
ex de,hl
inc hl
inc hl    ; Move past size bytes

Now hl points to the beginning of Name's data

-Kouri
http://kouri.cjb.net

----- Original Message -----
From: "Andreas" <ahj@trition.dk>
To: <assembly-83@lists.ticalc.org>
Sent: Wednesday, February 16, 2000 10:26
Subject: A83: point register to the beginning of the actual program data?


Dose anybody know how to point hl ( or any other register) to the beginning of the actual program data? (I have the prog
name)

I do have asmguru but i donīt see the infomation in there. maby im the stupid one :(



References: