A CAM array which enables a learning process to be an extension of a
search process is disclosed. When a search fails to find a matching data
in the CAM array, the searched data can automatically be written to a
next free address without resorting to any additional search or selection
processes.