Example on how to store data in Internal, External and Cache memory