1 2 3 4 5 6 7 8 9
//example 14.1.c// clc //clears the screen// clear //clears all existing variables// r=16*1024; //given rom capacity// c=log2(r) disp(c,' total number of address inputs = ')