add memory attribute list code