A89: Re: matrix


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

A89: Re: matrix




which one is underlined?
well, regardless, as long as you use zero based indexing (i.e.: your matrix
goes from (0,0) to (7,2)) then your method works.
column#+row#*numberofelementsinrow
but it is sometimes easier to see if you use x and y:

f(x,y)=x+y*#elementsinrange

--kaus

P.S.  I was looking at the word "row"  actually, to get the way everyone
pronounces row, it should be spelled "roe."  "Row" would be pronounced like
"r"-"ow" where the "ow" is like in "owl"
hehe. whatever

----- Original Message -----
From: <S43R80@aol.com>
To: <assembly-89@lists.ticalc.org>
Sent: Monday, January 24, 2000 2:57 PM
Subject: A89: matrix


>
> i seem to be having trouble accessing certain bytes in a matrix...lets say
i
> have
>
> some_matrix:   ;address at a0
>  dc.b 03840344;totally random...commas should be there
>  dc.b 01023388
>
> then if i wanted to get a0 to point to the underlined one i would do:
> [(column)+(row*8)]=bytes from a0
> [(    5     )+( 1*8  )]=13 bytes from a0...this is correct right?
>



References: