I'm using HLA and having a bit of a problem in accessing Arrays
Declaring them doesn't seem to be a problem.
But accessing it seems to throw abunch of errors
Element_Address = Base_Address + index * Element_Size
Just how the hell do you do the element_address part
i understand the 'base_address index * element_size'
but not that element_address
i've tried for example
a[1] = a + index*4;
and other ways that didn't work
how the heck do you do this? i tried the instructions on the 'Art of assembly Language' to no avail.
Declaring them doesn't seem to be a problem.
But accessing it seems to throw abunch of errors
Element_Address = Base_Address + index * Element_Size
Just how the hell do you do the element_address part
i understand the 'base_address index * element_size'
but not that element_address
i've tried for example
a[1] = a + index*4;
and other ways that didn't work
how the heck do you do this? i tried the instructions on the 'Art of assembly Language' to no avail.