Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Accessing Point<int> (Point2i) data from memory

I've a:

const Point* points

How are datas stored in memory? I need to access points[i].x and points[i].y in ARM assembly. I've tried to load 32 bit (standard int dimension) from memory starting from *points address, but my assumption that this array is stored this way seems wrong:

points[0].x, points[0].y, points[1].x, points[1].y, ...