Arithmetic Processing using Associative memory