Internal Organization of Computers:: The Computer Memory
Internal Organization of Computers:: The Computer Memory
It contains: Central processing unit (CPU) , memory, input, and output ( I/O) devices.
These parts are interconnected by buses.
Data are transferred between The I/O units, memory, and processors through ports.
Buses:
A bus is a group of parallel wires carrying digital information between parts in a system.
Three different buses namely, address bus, data bus, and control bus.
Address bus: unidirectional bus, the address flows only in one direction from microprocessor to
memory or I/O devices.
Data bus: bi- directional, data flow to or from the CPU.
Control bus: unidirectional directional, it controls between the different sections of the computer.
The computer memory:
Types of memory: (1) Random access memory (RAM).
(2) Read- only memory (ROM).
It consists of arrays which contain a data.
Each array has an address and is connected to the address bus.
Memory operations:
A “write” operation: places new data into the memory.
A “read” operation: transferring data out of the memory.
Interface microprocessor with memory
ALU Register
unit
Control unit
2- SIPO
3- PISO
4- PIPO
Example
Explain how the following data is transferred from a 4-bit processor to memory and vice versa2bit
for address , 4bit for data , data :BH, CH, 9H, 5H data respectively
Solution: BH= (1011)2 , CH= (1100)2 , 9H=(1001)2 , 5H=(0101)2