Hi, i am working ccs 3.1 writing assembly program for 64x processor. i have "c" program line like vertical[ack][k++]; how to access this array element using assemly program. Regards Vadivel.ks
Accessing 2D array element
Started by ●May 28, 2007
Reply by ●May 29, 20072007-05-29
vadivel.ks@gmail.com wrote:> i am working ccs 3.1 writing assembly program for 64x processor. i > have "c" program line like> vertical[ack][k++];> how to access this array element using assemly program.It depends on the declaration of the array. int vertical[10][10]; is accessed very differently from int **vertical; though both are referenced the same in C. -- glen