This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

汇编中如何通过结构体指针访问结构体中的参数?

例如结构体

typedef struct  teststr

{

   int  a;

   int b;

}teststr;

现在有一个teststr指针放在A4中,请问如何通过A4来获取b的值?

另外如果是自己写汇编,如果结构体中增加或者减少参数,例如int a之前增加一个int c的定义,汇编代码是否需修改?