blob: dfb4af3b2c224272e020fff024dabdf74c6aab77 (
plain)
1
2
3
4
5
6
7
8
9
|
//example 11.6(b)//
clc
//clears the screen//
clear
//clears already existing variables//
disp('since Y5=Y4=0, the memory locations 4 and 5 are selected for readout. The output is obtained by ORing the contents of these locations, i.e.')
disp('D1D0=11')
disp('The memory contents do not change')
//given A1A0=00, W''=1, Y=11001111//
|