Professional Documents
Culture Documents
Introduction
In a computer, memory holds instructions (code) and data, memory plays an important part
of a computer performance, and register is a type of memory with small capacity. There
are two types of memory used in a computer, and they are classified as semiconductor
memory and hard disk. Semiconductor memory can be volatile or nonvolatile memory.
Volatile memory loses its contents when power is removed from it, while nonvolatile
memory will keep its contents without power.
Semiconductor Memory
There are two types of semiconductor memory: random-access memory (RAM) andread-
only memory (ROM).
RAM Data can be read from or written into random-access memory (RAM). The RAM
can hold the data as long as power is supplied to it and it is called volatile memory.
Figure2.1 shows a general block diagram of RAM consisting of a data bus, address bus,
and read/write signals. The data bus carries data out from or into the RAM. The address
bus is used to select a memory location. The read signal becomes active when reading data
from RAM, and the write line becomes active when writing to the RAM. Remember, RAM
can only hold information when it has power. Figure2.2 shows a 16 * 8 bit RAM or 24 * 8
bit or 16 B RAM.
Figure 2.1 RAM block diagram