Stack in Assembly
Stack in Assembly I need help with a code in Assembly. I'm coworking on this and my group just did this Assembly code where it supposed to do the same as what I did in #c. Could someone help me to understand what happens with de stack at least on the first steps so I can go on and conclude the rest? I'm a begginer in Assembly, but I know that these lines just save the value for the calling function, takes a frame for the called function and save space for local variables, but I can't figure out the next first steps. mov ebp mov ebp,esp sub esp, 16 Here is what I did in #c: void mult_integer(int X[A_Linhas][A_Colunas], int number) { int c, l; for (l = 0; l < A_Linhas; l++) { for (c = 0; c < A_Colunas; c++) { X[l][c] = number * X[l][c]; } } } And here is the code in Assembly: mul_integer: push ebp mov ebp, esp sub esp, 16 mov dword [ebp-4H], 0 jmp L_020 L_017: mov dword [ebp-8H], 0...