[A86] Re: address


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

[A86] Re: address




No that byte you | |'ed is table+2
table is like 0 in this case, when you add one to it your just getting the 
2nd byte from the start of the table.

arcadesdude@hotmail.com


>From: "Garam Song" <kreeblex4@hotmail.com>
>Reply-To: assembly-86@lists.ticalc.org
>To: assembly-86@lists.ticalc.org
>Subject: [A86] address
>Date: Fri, 06 Apr 2001 23:15:49 -0700
>
>
>If I had a 1503 byte table:
>
>table:
>.db 0,0,0,0...
>.db 0,0,0
>
>and I wanted to get the fourth, fifth, and sixth bytes of the table, would:
>
>ld hl,table + 3
>
>give me the the byte indicated below?
>
>table:
>.db 0,0,|0|,0,0,0,0,0,0,0,0...
>.db 0,0,0
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
>

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