Generate code for the following three-address statements assuming a and b are arrays whose elements are 4-byte values.
a) The four-statement sequence
x = a[i]
y = b[j]
a[i] = y
b[j] = x
b) The three-statement sequence
x = a[i]
y = b[i]
z = x * y
c) The three-statement sequenc
x = a[i]
y = b [x]
a[i] = y