摘要 |
PURPOSE:To carry out an instruction in a single cycle in order to obtain the absolute value of difference between two input data by having an instruction to clip the input data with two threshold data, an instruction to decide the position or negative input data, and an instruction to output the larger or smaller one of both input data. CONSTITUTION:An arithmetic logical computing element 4 applies the arithmetic logical operations to the data A and B through an arithmetic control circuit 5 and outputs these operational results. Then a subtractor 1.2 subtracts the outputs of a 1st selection circuit 2.3 from the data B and output this subtracting result. A 3rd selection circuit 2.1 outputs the data A, B, D and E, constants Ch and Cl, from the output of a 2nd selection circuit 2.2 through a 3rd selection circuit 3.1. Then a 3rd selection control circuit 3.1 controls the circuit 2.1 based on an instruction and an operational result and outputs the object result. |