Write out how to solve the following code using any addressing mode for (3,3) GPR with all addressing
modes. a[] is address 0x100, y is address 0x300, z is address 0x400, and x is using r0. Write comments
beside each line of code. Note the size of the data.
Short a[50];
Int y,z;
for( x=10; x>2; x--)
{
y = a[x + 3] * 2;
z = y + a[x+10];
}