This invention especially relates to computer and communications systems, including programming and using an associative memory such as, but not limited to a content-addressable memory; and more particularly, the invention relates to methods and apparatus for generating a result based on a lookup result from a lookup operation using an associative memory and processing based on a discriminator por