#include <stdio.h>
struct ST {
int sv_1;
int sv_2;
int sv_3;
};
int main()
{
struct ST st;
st.sv_1 = 1;
st.sv_2 = 2;
st.sv_3 = 3;
printf("%x, %x, %x ", st.sv_1, st.sv_2, st.sv_3);
return 0;
}
구조체를 출력하는 어셈블리어 코드
MOV DWORD PTR SS:[EBP-14],1
MOV DWORD PTR SS:[EBP-10],2
MOV DWORD PTR SS:[EBP-C],3
댓글 0