C program to ARM assembly?

Translate the following C program to ARM assembly. All the variables must be allocated in the data section.

{

int i;

total = 0;

for (i = 3, i < 23; i++) {

total += i;

if ((i &3) == 0) {

total --;

}

}

}

Comments

Sign In or Register to comment.