PURPOSE: To increase an arithmetic speed by supplying the borrow output of an arithmetic logical operating means to a borrow flip-flop, and thus storing the borrow generation.
CONSTITUTION: The absolute value of an augend or minuend is set in an absolute value register 2 through a data bus 1, and the absolute value of an adden or subtrahend is set in an absolute value register 3. If the sign of the augend or minuend set in a sign register 5 is positive and the sign of the addend or subtrahend set in a sign register 6 is positive when an addition or subrraction instruction is generated, an EXOR circuit 7 commands an adder 4 to execute an addition instruction 0. Then, the absolute value of the augend or minuend is added to the absolute value of the addend or subtrahend by the output S of the adder 4 to input the sum to an accumulator 10, and a borrow output B0 of 0 is outputted to a borrow FF11; and an EXOR circuit 8 outputs 0 to a sign register 9 for the arithmetic result.
JPS5647841A | 1981-04-30 |