摘要 |
PURPOSE:To speed up arithmetic processing by discriminating necessity for processing to make data into an absolute value, storing the result at every data, and designating the addition of an inversion value and a correction value at need when data for which the necessity is requested and to which no such processing is applied is made into the absolute value. CONSTITUTION:A register 7 which holds the output of a positive/negative value discriminating device 6 at every data stored in a register file 1, a register 8 which holds the content of the register 7 when the data is set on accumulators 3a, 3b from the register file 1, and an arithmetic controller 9 on which the content can be affected are provided. The discriminated result of the positive/negative value discriminating device 6 is stored in the register file 1 in spite of the necessity for the making of the data into the absolute value. Simultaneously, information representing that the making of the data into the absolute value is required when the discriminated result shows a negative value is stored at a position provided with the same number or address as that in the storage of the arithmetic result of the register 7, and an addition instruction or a subtraction instruction is completed. In such a case, since no computing cycle for the making of the data into the absolute value is required, the execution of an arithmetic instruction can be accelerated by that share. |