By : Gebriel Mostafa
Plz Revise Defintion in The First Malzma After Assembley
da Shar7 el so2al el ham beta3et madet el computer orginzation
fe form tany lelso2al ......Soon
Consider a hypothetical microprocessor generating a 16-bit address (for example, assume that
the program counter and the address registers are 16 bits wide) and having a 16-bit data bus.
1. What is the maximum memory address space that the processor can access directly if it is
connected to a “16-bit memory”?
With 16 bits to represent the memory address , there are 2^16
unique addressable locations.(since every bit represent a place , we keda 3ndna 16 5ana we betlaei yeb2a fe 3ndna 2 os 16 e7tmal aw 3enwan mo5tlef)
With 16-bit memory each location contains 2 bytes of data(since 16 bit = 2 byte).(kol 3nwan aw e7tmal feeh 2 byte{7agmo 2 byte} we betlaei yeb2a 3add el bytes haisawei 3add el 3anaween darb 2 ) Hence the total memory directly accessible by the processor is 2^16 locations X 2 bytes /location = 131,072 bytes or 128 k bytes.
2. What is the maximum memory address space that the processor can access directly if it is
connected to an “8-bit memory”?
With 8-bit memory each location contains 1 byte of data. Hence the total memory
directly accessible by the processor is 2^16
locations X 1 byte/location = 65,536 bytes
or 64 k bytes.
By Gebriel Mostafa
0 comments:
Post a Comment