• Convert the following pseudo code into assembly code.
int array_list[] = {10, 11, 13, 18, 21, 23, 24, 17, 45};
int array_length = sizeof array_list / sizeof array_list[0];
int index = 0; // index into the array during iteration
int sum = 0; // accumulate the result
for (current_length = array_length; current_length > 0; current_length--) {
if (array_list[index] is even) {
sum += array_list[index];
}
index++;
}
• Store the result in the variable sum.
• Use 32-bit signed integers