开发者

Multidimensional array x86

开发者 https://www.devze.com 2023-04-10 12:36 出处:网络
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 starte开发者_开发百科d.Assembly language doesn\'t have the concep

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 starte开发者_开发百科d.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消