16: int a,b,c;
17: char str[20] = "hello world";
00401078 mov eax,[string "hello world" (00422028)]
0040107D mov dword ptr [ebp-20h],eax
00401080 mov ecx,dword ptr [string "hello world"+4 (0042202c)]
00401086 mov dword ptr [ebp-1Ch],ecx
00401089 mov edx,dword ptr [string "hello world"+8 (00422030)]
0040108F mov dword ptr [ebp-18h],edx
00401092 xor eax,eax
00401094 mov dword ptr [ebp-14h],eax
00401097 mov dword ptr [ebp-10h],eax
就是一个简单的MAIN函数中定义了3个整形变量和一个字符串数组,
这段汇编将字符串“hello world”的赋值到STR开头的内存,
请问下这个汇编代码的详解是?
------解决方案--------------------------------------------------------