=========Q1(Winter 2018, Term 2)=========
Global Variables and Arrays. Answer the following questions about global variables.
int i;
int a[5];
int *b;
2a Give assembly code for the C statement:
i = a[2];
2b Give assembly code for the C statement:
b[0] = a[b[i]];
2c How many memory reads are required to execute the statement?
b[a[3]] = a[3] + a[i];