I'm trying to translate to x86 assembly to help me get a better understanding of the concept on coding in x86 assembly and I'm feeling stuck on how to even start on this code.
int temp = 0;
int acc = 0;
for(int i = 0; i < 20; i++)
{
temp = temp + i;
if (temp > 5)
{
acc = acc * temp;
}
}
printf(“Answer is %d\n", acc);