Reputation:
I know how to do this in C++ but in x86 I can not seem anywhere to declare say a 4x4 array. I am just looking for an example to get me started.
Upvotes: 4
Views: 2206
Reputation: 992717
Assembly language doesn't have the concept of a "multidimensional array", at least not directly. You will need to allocate the total amount of space (16 elements in your case), and handle the row/column offset calculations yourself.
Upvotes: 5