Re: A85: 2 dimensional arrays
[Prev][Next][Index][Thread]
Re: A85: 2 dimensional arrays
why aren't you defining contiguous memory for the array? that way,
each element is
Array = TEXT_MEM+123
Array + RowNumber*4 + ColumnNumber
considering that each element is 1 byte and there are 4 columns.
(each row and column element is designated 0,1,2,and 3)
On Sun, 27 Sep 1998 21:56:34 EDT, you wrote:
>
>Is there any better way to do a 2 dimensional array in assembly than assigning
>a memory location for each individual cell? It only has to be 4x4, but It
>would be a pain to write the code I need to access each row and column.
>
>-Pat Gray
>
References: