A method and apparatus for operating a memory is presented. Information is
stored in the memory based on a first time domain and information is read
from the memory based on a second time domain. A cooperative relationship
is maintained between a write pointer which points to memory locations,
where data will be stored and a read pointer which points to memory
locations, from which data will be read. A FIFO memory is presented which
has memory locations and a register array is presented which stores a bit
array that has bit locations. Each bit location in the bit array
corresponds to a memory location in the memory. As the write pointer
points to a memory location and data is stored in the memory location, a
bit (e.g. flag) is set in the bit array. The Flag designates whether the
data stored in the memory location is available for reading. Prior to
reading information from the memory location, a test is made of the bit
location that corresponds to the memory location. The bit value denotes
whether the data stored in the memory location is valid data and
available for reading.