mov eax, 0 mov ecx, 10 poczatek_petli: add eax, ecx loop poczatek_petli
int suma=0; for(int i=10; i!=0; --i) suma += i;