Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2619964B2 - Two-input arithmetic operation method for addition or subtraction and decimal addition / subtraction circuit - Google Patents
[go: Go Back, main page]

JP2619964B2 - Two-input arithmetic operation method for addition or subtraction and decimal addition / subtraction circuit - Google Patents

Two-input arithmetic operation method for addition or subtraction and decimal addition / subtraction circuit

Info

Publication number
JP2619964B2
JP2619964B2 JP2059510A JP5951090A JP2619964B2 JP 2619964 B2 JP2619964 B2 JP 2619964B2 JP 2059510 A JP2059510 A JP 2059510A JP 5951090 A JP5951090 A JP 5951090A JP 2619964 B2 JP2619964 B2 JP 2619964B2
Authority
JP
Japan
Prior art keywords
digit
addition
subtraction
numerical data
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP2059510A
Other languages
Japanese (ja)
Other versions
JPH03259330A (en
Inventor
拓巳 丸山
敬人 野田
裕士 神阪
一泰 野々村
徹 渡部
巧 竹野
慎哉 加藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2059510A priority Critical patent/JP2619964B2/en
Publication of JPH03259330A publication Critical patent/JPH03259330A/en
Application granted granted Critical
Publication of JP2619964B2 publication Critical patent/JP2619964B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔目 次〕 〔概 要〕 〔産業上の利用分野〕 〔従来の技術〕 従来の10進加減算回路を示す図(第3図) 第3図回路の加算及び減算の例を示す図(第4図)、 〔発明が解決しようとする課題〕 〔課題を解決するための手段〕 〔作 用〕 〔実施例〕 本発明の一実施例を示す図(第2図) 〔発明の効果〕 〔概 要〕 二入力数値データの加算、又は減算の予測和を用いる
加算、又は減算のための二入力論理演算方式及び10進加
減算回路に関し、 再補正を無くして加減算の高速化を達成することを目
的とし、 各桁を16進法で表示した第1の入力数値データに対して
加算において6を加算して出力し、減算において反転し
て出力する各桁毎の補正回路と、第1の入力数値データ
及び各桁を16進法で表示した第2の入力数値データの加
算、又は減算の4つの10進予測値を第1の入力数値デー
タ及び第2の入力数値データの各桁毎に生成する予測値
生成回路と、各桁の第1の入力数値データ及び補正回路
の出力数値データに応答して桁上げ信号を各桁毎に発生
する桁上げ信号発生回路と、当該桁の桁上げ信号及び当
該桁より1つ下位の桁の桁上げ信号に応じて決まる10進
予測値を各桁毎の加算、又は減算の結果値として選択す
る選択回路とで構成した。
Detailed Description of the Invention [Table of Contents] [Overview] [Industrial application field] [Prior art] Diagram showing a conventional decimal addition / subtraction circuit (FIG. 3) FIG. Diagram showing an example (FIG. 4), [Problems to be solved by the invention] [Means for solving the problem] [Operation] [Example] Diagram showing an embodiment of the present invention (FIG. 2) [Effects of the Invention] [Overview] Regarding a two-input logical operation method and a decimal addition / subtraction circuit for addition or subtraction using a predicted sum of addition or subtraction of two-input numerical data, high-speed addition / subtraction without re-correction A correction circuit for each digit which adds 6 to the first input numerical data in which each digit is displayed in hexadecimal notation and outputs the result, and inverts and outputs the result in subtraction And the first input numerical data and the second input numerical data in which each digit is displayed in hexadecimal notation. A predicted value generation circuit for generating four decimal predicted values of addition or subtraction for each digit of the first input numerical data and the second input numerical data, and a first input numerical data and correction circuit of each digit A carry signal generating circuit for generating a carry signal for each digit in response to the output numerical data of the digit, and a decimal signal determined according to the carry signal of the digit and the carry signal of the digit one digit lower than the digit. And a selection circuit for selecting a predicted value as a result value of addition or subtraction for each digit.

〔産業上の利用分野〕[Industrial applications]

本発明は、二入力数値データの加算、又は減算の予測
和を発生しつつ、該二入力数値データの加算、又は減算
を行なう加算、又は減算のための二入力論理演算方式及
び10進加減算回路に関する。
The present invention relates to a two-input logical operation method and a decimal addition / subtraction circuit for adding or subtracting two-input numerical data while generating a predicted sum of addition or subtraction of the two-input numerical data. About.

電子計算機等では、そこでの処理において2進数値デ
ータの加算も必要になる。2進数値データを加算する回
路は、従来から各種形式の回路が開発され使用されて来
ている。その加算回路の開発努力が為される大きな理由
の1つとして、電子計算機等における加算処理の高速化
要求を満たすためである。
In an electronic computer or the like, it is necessary to add binary numerical data in the processing there. Various types of circuits have been developed and used as circuits for adding binary numerical data. One of the major reasons for the development effort of the adder circuit is to satisfy the demand for high-speed addition processing in electronic computers and the like.

〔従来の技術〕[Conventional technology]

従来の10進加減算回路の例を第3図に示す。この10進
加減算回路は、入力補正回路50と、2進加算回路60と、
10進加減算選択回路61と、出力補正回路70とから成る。
入力補正回路50は、+6加算回路52と、反転回路54と、
選択回路56とから成る。選択回路56は、10進加算のとき
+6加算回路52を選択し、10進減算のとき反転回路54を
選択する。出力補正回路70は、−6減算回路72と、選択
回路74とから成る。選択回路74は、キャリありのとき2
進加算回路60を選択し、キャリなしのとき−6減算回路
72を選択する。入出力の補正回路50,70は、各桁対応に
設けられる。
FIG. 3 shows an example of a conventional decimal addition / subtraction circuit. This decimal addition / subtraction circuit includes an input correction circuit 50, a binary addition circuit 60,
It comprises a decimal addition / subtraction selection circuit 61 and an output correction circuit 70.
The input correction circuit 50 includes a +6 addition circuit 52, an inversion circuit 54,
And a selection circuit 56. The selection circuit 56 selects the +6 addition circuit 52 at the time of decimal addition, and selects the inversion circuit 54 at the time of decimal subtraction. The output correction circuit 70 includes a -6 subtraction circuit 72 and a selection circuit 74. The selection circuit 74 is 2 when there is carry.
Selects hexadecimal addition circuit 60 and when there is no carry -6 subtraction circuit
Select 72. Input / output correction circuits 50 and 70 are provided for each digit.

この10進加減算回路の加減算動作は、次のように成
る。10進加算の例を、第4図の(A)を参照して、先ず
説明する。
The addition / subtraction operation of this decimal addition / subtraction circuit is as follows. An example of decimal addition will be described first with reference to FIG.

その被加数Xを3214とし、加数Yを2176とする。これ
らいずれの数値データの各桁も16進法で表示されている
ものとする。その加数Yは、入力補正回路50の+6加算
回路52(これは、10進加算であることにより選択され
る。)で補正されて87DCとなって2進加算回路60の2進
加算入力へ入力されて2進被加算入力に入力されて来る
被加数3214と加算される。このときの10進加減算回路の
動作は、加算動作にあるから、選択回路56への最下位桁
キャリ入力には、“0"が入力されている。従って、2進
加算回路60の2進加算出力値は、B9F0となり、そのキャ
リ出力には10進キャリ0=“0",10進キャリ1=“0",10
進キャリ2=“0",10進キャリ3=“0"出力されるか
ら、前記2進加算出力値B9F0は、前記出力補正回路70で
補正される。10進加減算回路における加算動作の結果と
してそこから出力される前記被加数3214と、加数2176と
の和は、5390となる。
The addend X is set to 3214 and the addend Y is set to 2176. It is assumed that each digit of any of these numerical data is displayed in hexadecimal. The addend Y is corrected by a +6 addition circuit 52 of the input correction circuit 50 (which is selected because it is a decimal addition) to be 87DC, and is applied to the binary addition input of the binary addition circuit 60. The input and the augend 3214 input to the binary addend input are added. Since the operation of the decimal addition / subtraction circuit at this time is an addition operation, “0” is input to the least significant digit carry input to the selection circuit 56. Therefore, the binary addition output value of the binary addition circuit 60 is B9F0, and its carry output is decimal carry 0 = "0", decimal carry 1 = "0", 10
Since the binary carry 2 = "0" and the decimal carry 3 = "0" are output, the binary addition output value B9F0 is corrected by the output correction circuit 70. The sum of the augend 3214 and the addend 2176 output therefrom as a result of the addition operation in the decimal addition / subtraction circuit is 5390.

被加数及び加数の値を前述の加算と同じとする場合の
減算動作を、第4図の(B)を参照して、以下に説明す
る。
The subtraction operation when the values of the augend and the addend are the same as the above-described addition will be described below with reference to FIG.

その減数Yは、入力補正回路50の反転回路54(これ
は、10進減算であることにより選択される。)で補正さ
れてDE89となって2進加算回路60の2進加算入力へ入力
されて2進被加算入力に入力されて来る被減数3214と減
算される。このときの10進加減算回路の動作は、減算動
作にあるから、選択回路56への最下位桁キャリ入力に
は、“1"が入力されている。従って、2進加算回路60の
2進加算出力値は、109Eとなり、そのキャリ出力には10
進キャリ0=“1",10進キャリ1=“1",10進キャリ2=
“0",10進キャリ3=“0"が出力されるから、前記2進
加算出力値109Eは、前記出力補正回路70で補正される。
10進加減算回路における減算動作の結果としてそこから
出力される前記被減数3214と、減数2176との差は、1038
となる。
The decrement Y is corrected by the inverting circuit 54 of the input correcting circuit 50 (which is selected because it is a decimal subtraction), becomes DE89, and is input to the binary addition input of the binary adding circuit 60. Is subtracted from the minuend 3214 input to the binary addend input. Since the operation of the decimal addition / subtraction circuit at this time is a subtraction operation, “1” is input to the least significant digit carry input to the selection circuit 56. Therefore, the binary addition output value of the binary addition circuit 60 is 109E, and its carry output is 10E.
Decimal carry 0 = "1", Decimal carry 1 = "1", Decimal carry 2 =
Since "0" and decimal carry 3 = "0" are output, the binary addition output value 109E is corrected by the output correction circuit 70.
The difference between the minuend 3214 output therefrom as a result of the subtraction operation in the decimal addition / subtraction circuit and the subtrahend 2176 is 1038
Becomes

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

前述の10進加減算回路は、10進加減算を行なうのに2
進加算回路60の出力値を補正するための出力補正回路70
を不可欠の構成要素として設けなければならない。その
ため、10進加減算の結果は、その出力補正回路70で信号
伝播に費やされる時間だけ遅れて出力される。これは、
10進加減算の高速化を阻害する。
The above-described decimal addition / subtraction circuit requires two digits to perform decimal addition / subtraction.
Output correction circuit 70 for correcting the output value of hexadecimal addition circuit 60
Must be provided as an essential component. Therefore, the result of decimal addition / subtraction is output with a delay of the time spent for signal propagation in the output correction circuit 70. this is,
Hinders the speed of decimal addition / subtraction.

本発明は、斯かる問題点に鑑みて創作されたもので、
再補正を無くして加減算の高速化を達成し得る加算、又
は減算のための二入力論理演算方式及び10進加減算回路
を提供することをその目的とする。
The present invention has been created in view of such problems,
An object of the present invention is to provide a two-input logical operation method and a decimal addition / subtraction circuit for addition or subtraction that can achieve high-speed addition / subtraction without recorrection.

〔課題を解決するための手段〕[Means for solving the problem]

請求項1記載の発明は、各桁をn進法で表示した第1
の入力数値データに対し、加算においては加算結果値を
m進法で出力せしめるための補正を各桁毎に施して出力
し、減算においては減算結果値をm進法で出力せしめる
ための反転を各桁毎に施して出力し、 前記第1の入力数値データと各桁をn進法で表示した
第2の入力数値データとの加算についての4つのm進予
測値、又は減算についての4つのm進予測値を前記第1
の入力数値データ及び前記第2の入力数値データの各桁
毎に生成し、 前記補正、又は反転された前記第1の入力数値データ
と、前記第2の入力数値データとに応答して前記補正、
又は反転された前記第1の入力数値データ及び前記第2
の入力数値データの桁毎の桁上げ信号を加算、又は減算
に対して発生し、 各桁毎に生成された加算についての4つのm進予測
値、又は減算についての4つのm進予測値のうちの、加
算、又は減算について発生された当該桁の桁上げ信号及
び当該桁より1つ下位の桁の桁上げ信号に応じて決まる
m進予測値を当該桁の加算、又は減算のm進結果値とし
て選択するようにして構成される。
According to the first aspect of the present invention, each digit is represented by an n-ary system.
For the input numerical data of, the addition is performed for each digit in order to output the addition result value in the m-ary notation in the addition, and the inversion is performed in the subtraction in order to output the subtraction result value in the m-ary notation. Four m-ary predicted values for addition or four subtractions for subtraction of the first input numerical data and the second input numerical data in which each digit is displayed in n-ary notation The m-ary prediction value is calculated by the first
And the correction is made in response to the corrected or inverted first input numerical data and the second input numerical data generated for each digit of the input numerical data and the second input numerical data. ,
Or the inverted first input numerical data and the second input numerical data
Is generated for addition or subtraction of the carry signal of each digit of the input numerical data of the above, and four m-ary prediction values for addition or four m-ary prediction values for subtraction generated for each digit are generated. The m-ary result of the addition or subtraction of the m-ary prediction value determined according to the carry signal of the relevant digit generated for addition or subtraction and the carry signal of the next lower digit from the relevant digit It is configured to be selected as a value.

請求項2記載の発明は、第1図に示すように、10加算
指定信号、又は10減算指定信号に応答して各桁を16進法
で表示した第1の入力数値データに対する6の加算、又
は該第1の入力数値データに対する反転を生ぜしめる各
桁毎の補正回路2と、前記10加算指定信号、又は前記10
減算指定信号並びに前記補正回路の出力数値データ及び
各桁を16進法で表示した第2の入力数値データに応答し
て前記第1の入力数値データと前記第2の入力数値デー
タとの加算についての4つの10進予測値、又は減算につ
いての4つの10進予測値を前記第1の入力数値データ及
び前記第2の入力数値データの各桁毎に生成する各桁毎
の予測値生成回路4と、前記第2の入力数値データと、
前記補正回路2の出力数値データとに応答して前記第2
の入力数値データ及び前記補正回路2の出力数値データ
の桁毎の桁上げ信号を加算、又は減算に対して発生する
桁上げ信号発生回路6と、各桁毎に生成された加算につ
いての4つの10進予測値、又は減算についての4つの10
進予測値のうちの、加算、又は減算について発生された
当該桁の桁上げ信号及び当該桁より1つ下位の桁の桁上
げ信号に応じて決まる10進予測値を当該桁の加算、又は
減算の10進結果値として選択する選択回路8とで構成さ
れる。
As shown in FIG. 1, the invention according to claim 2 adds 6 to the first input numerical data in which each digit is displayed in hexadecimal notation in response to a 10 addition designation signal or a 10 subtraction designation signal. Or, a correction circuit 2 for each digit that causes inversion of the first input numerical data, and the 10-addition designation signal or the 10-
Addition of the first input numerical data and the second input numerical data in response to a subtraction designation signal, output numerical data of the correction circuit, and second input numerical data in which each digit is displayed in hexadecimal notation. A predicted value generating circuit 4 for each digit of the first input numerical data and the second input numerical data, which generates four decimal predicted values of And the second input numerical data;
In response to the output numerical data of the correction circuit 2, the second
And a carry signal generating circuit 6 that generates a carry signal for each digit of the input numerical data and the output numerical data of the correction circuit 2 for addition or subtraction, and four signals for the addition generated for each digit. Decimal predicted value, or four 10s for subtraction
Addition or subtraction of a decimal prediction value determined by the carry signal of the digit generated for addition or subtraction and the carry signal of the digit one digit lower than the digit of the decimal predicted value And a selection circuit 8 for selecting the result as a decimal result value.

〔作 用〕(Operation)

n進法、例えば16進法で表されて入力された第1の入
力数値データの各桁は、桁対応の補正回路2で加減算に
応じて補正、又は反転が為される。その補正、又は反転
された第1の入力数値データは、16進法で表されて入力
された第2の入力数値データと共に、桁対応に桁上げ信
号発生回路6へ入力される。該桁上げ信号発生回路6
は、入力された両入力数値データに応じて決まる桁上げ
信号を発生する。
Each digit of the first input numerical data represented in the n-ary system, for example, the hexadecimal system, is corrected or inverted by the correction circuit 2 corresponding to the digit in accordance with addition or subtraction. The corrected or inverted first input numerical data is input to the carry signal generating circuit 6 corresponding to the digit together with the second input numerical data expressed in hexadecimal. The carry signal generating circuit 6
Generates a carry signal determined according to both input numerical data.

これと併行して、予測値生成回路4から前記入力され
た第1の入力数値データ及び第2の入力数値データの桁
毎にm進法、例えば10進予測値を生成する。
At the same time, an m-ary system, for example, a decimal predicted value is generated for each digit of the first input numerical data and the second input numerical data input from the predicted value generating circuit 4.

生成された予測値の内の、当該桁上げ信号及び当該桁
上げ信号より1つ下位の桁の桁上げ信号によって決まる
10進予測値が、各桁毎に選択回路8で当該桁の加算、又
は減算の結果値として選択されて出力される。
It is determined by the carry signal of the generated predicted value and the carry signal of one digit lower than the carry signal.
The decimal prediction value is selected and output as a result value of addition or subtraction of the digit by the selection circuit 8 for each digit.

前述のように、予測値を選択出力するようにしている
ので、従来のような再補正回路での信号遅延が生じな
い。演算の高速化を達成することができる。
As described above, since the prediction value is selectively output, no signal delay occurs in the conventional re-correction circuit. High-speed operation can be achieved.

〔実施例〕〔Example〕

第2図は請求項1及び請求項2記載の発明の一実施例
を示す。この図において、参照番号50、52、54、56、6
0、62は、第3図に示す10進加減算回路においてその構
成要素に付した参照番号と同一であり、同一の参照番号
は、第3図に示す10進加減算回路の構成要素と同一のも
のを示している。
FIG. 2 shows an embodiment of the first and second aspects of the present invention. In this figure, reference numerals 50, 52, 54, 56, 6
Reference numerals 0 and 62 are the same as the reference numbers assigned to the components in the decimal addition / subtraction circuit shown in FIG. 3, and the same reference numerals are the same as the components of the decimal addition / subtraction circuit shown in FIG. Is shown.

第1の予測和発生回路20、第2の予測和発生回路22、
第3の予測和発生回路24、第4の予測和発生回路26、並
びにマルチプレクサ28は、本願発明の特徴部分の内、最
上位桁についての回路部分100のみを構成する。第1の
予測和発生回路20は、4ビット反転回路30、−6加算回
路32、マルチプレクサ34及び4ビット加算回路36から成
る。4ビット加算回路36の被加数入力には第1の入力数
値データ(例えば、被加数データ)X0(16進で表わされ
た10進のデータ。以下同じ。)が入力され、4ビット反
転回路30の入力には第2の入力数値データ(例えば、加
数データ)加数データY0(16進で表わされた10進のデー
タ。以下同じ。)が入力され、その入力数値データY0
は、又マルチプレクサ34の一方の入力へ供給される。4
ビット反転回路30の出力は、−6加算回路32を経てマル
チプレクサ34の他方の入力へ供給される。マルチプレク
サ34は、10進加算のときその一方の入力を、また10進減
算のときその他方の入力を選択する。4ビット加算回路
36の最下位桁キャリア入力には、“0"が入力される。第
2の予測和発生回路22は、4ビット反転回路30、−6加
算回路32、マルチプレクサ34及び4ビット加算回路38か
ら成る。4ビット加算回路38の被加数入力には、第1の
入力数値データX0が、又加数入力には、マルチプレクサ
34の出力が入力される。4ビット加算回路38の最下位桁
キャリ入力には、“1"が入力される。3の予測和発生回
路24は、+6加算回路40、反転回路42、マルチプレクサ
44及び4ビット加算回路46から成る。4ビット加算回路
46の被加数入力には第1の入力数値データX0が入力さ
れ、+6加算回路40及び反転回路42の入力には第2の入
力数値データY0が入力される。+6加算回路40及び反転
回路42の出力は、マルチプレクサ44を経て4ビット加算
回路46の他方の入力へ供給される。マルチプレクサ44
は、10進加算のときその一の入力即ち+加算回路40の出
力を、また10進減算のときその他方の入力即ち反転回路
42の出力を選択する。4ビット加算回路46の最下位桁キ
ャリ入力には、“0"が入力される。第4の予測和発生回
路26は、+加算回路40、反転回路42、マルチプレクサ44
及び4ビット加算回路48から成る。4ビット加算回路48
の被加数入力には、第1の入力数値データX0が、又加数
入力にはマルチプレクサ44の出力が入力される。4ビッ
ト加算回路48の最下位桁キャリ入力には、“1"が入力さ
れる。
A first predicted sum generation circuit 20, a second predicted sum generation circuit 22,
The third predicted sum generation circuit 24, the fourth predicted sum generation circuit 26, and the multiplexer 28 constitute only the circuit portion 100 for the most significant digit among the characteristic portions of the present invention. The first predicted sum generation circuit 20 includes a 4-bit inversion circuit 30, a -6 addition circuit 32, a multiplexer 34, and a 4-bit addition circuit 36. The first input numerical data (for example, the augend data) X0 (decimal data expressed in hexadecimal; the same applies hereinafter) is input to the augend input of the 4-bit adder circuit 36, and 4 bits are input. The second input numerical data (for example, addend data) addend data Y0 (decimal data expressed in hexadecimal; the same applies hereinafter) is input to the input of the inverting circuit 30, and the input numerical data Y0 is input.
Is also supplied to one input of a multiplexer 34. 4
The output of the bit inversion circuit 30 is supplied to the other input of the multiplexer 34 via the -6 addition circuit 32. The multiplexer 34 selects one of the inputs for decimal addition and the other input for decimal subtraction. 4-bit addition circuit
"0" is input to the 36 least significant digit carrier input. The second predicted sum generation circuit 22 includes a 4-bit inversion circuit 30, a -6 addition circuit 32, a multiplexer 34, and a 4-bit addition circuit 38. The first input numerical data X0 is input to the augend input of the 4-bit adder circuit 38, and the multiplexer is input to the addend input.
34 outputs are input. “1” is input to the least significant digit carry input of the 4-bit adder circuit 38. The 3 predicted sum generation circuit 24 includes a +6 addition circuit 40, an inversion circuit 42, and a multiplexer.
44 and a 4-bit addition circuit 46. 4-bit addition circuit
The first input numerical data X0 is input to the augend 46, and the second input numerical data Y0 is input to the inputs of the +6 adding circuit 40 and the inverting circuit 42. The outputs of the +6 adding circuit 40 and the inverting circuit 42 are supplied to the other input of the 4-bit adding circuit 46 via the multiplexer 44. Multiplexer 44
Is the one input, that is, the output of + addition circuit 40 in the case of decimal addition, and the other input, that is, the inversion circuit, in the case of decimal addition.
Select 42 outputs. “0” is input to the least significant digit carry input of the 4-bit adding circuit 46. The fourth predicted sum generation circuit 26 includes a + addition circuit 40, an inversion circuit 42, and a multiplexer 44.
And a 4-bit addition circuit 48. 4-bit adder circuit 48
The first input numerical data X0 is input to the augend input, and the output of the multiplexer 44 is input to the addend input. "1" is input to the least significant digit carry input of the 4-bit adding circuit 48.

マルチプレクサ28は、2進加算回路60からのキャリCR
Y0乃至CRY3に従って次のように4ビット加算回路36、4
ビット加算回路38、4ビット加算回路46、4ビット加算
回路48の出力を選択する。マルチプレクサ28における予
測選択法を以下に記す。
The multiplexer 28 carries the carry CR from the binary addition circuit 60.
According to Y0 to CRY3, the 4-bit addition circuits 36, 4
The output of the bit addition circuit 38, the 4-bit addition circuit 46, and the 4-bit addition circuit 48 are selected. The prediction selection method in the multiplexer 28 will be described below.

10進加算の場合には、 Zn=An(CRYn=0,CRYn+1=0) Zn=Bn(CRYn=0,CRYn+1=1) Zn=Cn(CRYn=1,CRYn+1=0) Zn=Dn(CRYn=1,CRYn+1=1) のような予測和選択法に従って、マルチプレクサ28で行
なわれる。前記キャリCRYnは、上位桁への10進キャリ
を、前記キャリCRYn+1は、下位桁からの10進キャリを意
味する。最下位桁でのCRYn+1=“0"である。ここにおけ
るnは、前記入力被加数、及び前記入力加数の各桁、即
ちX0及びY0、X1及びY1、X2及びY2、並びにX3及びY3に対
応する0、1、2、並びに3である。
In the case of decimal addition, Zn = An (CRY n = 0, CRY n + 1 = 0) Zn = Bn (CRY n = 0, CRY n + 1 = 1) Zn = Cn (CRY n = 1, CRY n n + 1 = 0) is performed by the multiplexer 28 in accordance with a prediction sum selection method such as Zn = Dn (CRY n = 1, CRY n + 1 = 1). The carry CRY n means a decimal carry to the upper digit, and the carry CRY n + 1 means a decimal carry from the lower digit. CRY n + 1 at the least significant digit = "0". Here, n is the input augend and each digit of the input addend, that is, 0, 1, 2, and 3 corresponding to X0 and Y0, X1 and Y1, X2 and Y2, and X3 and Y3. .

又、10進減算の場合には、 Zn=An(CRYn=0,CRYn+1=0) Zn=Bn(CRYn=0,CRYn+1=1) Zn=Cn(CRYn=1,CRYn+1=0) Zn=Dn(CRYn=1,CRYn+1=1) のような予測差選択法に従って、マルチプレクサ28で行
なわれる。この場合におけるキャリCRYnも、又キャリCR
Yn+1も前記10進加算の場合と同義である。nについても
同様である。最下位桁でのCRYn+1=“1"である。
In the case of decimal subtraction, Zn = An (CRY n = 0, CRY n + 1 = 0) Zn = Bn (CRY n = 0, CRY n + 1 = 1) Zn = Cn (CRY n = 1 , CRY n + 1 = 0) Zn = Dn (CRY n = 1, CRY n + 1 = 1) in accordance with the prediction difference selection method. Carry CRY n in this case is also
Y n + 1 has the same meaning as in the case of the decimal addition. The same applies to n. CRY n + 1 at the least significant digit = "1".

他の桁も、全く同一の構成要素で構成される。それら
各桁の回路部分を、それぞれ110、120、130で示す。
Other digits are composed of exactly the same components. The circuit portions of each digit are indicated by 110, 120, and 130, respectively.

第2図において、+6加算回路52、反転回路54、マル
チプレクサ56は、第1図の補正回路2に対応し、反転回
路30,42、−6加算回路32、+6加算回路40、マルチプ
レクサ34,44、4ビット加算回路36,38,46,48は、第1図
の予測値生成回路4に対応する。2進加算回路61、10進
加減算選択回路61は、第1図の桁上げ信号発生回路6に
対応し、マルチプレクサ28は、第1図の選択回路8に対
応する。
2, a +6 addition circuit 52, an inversion circuit 54, and a multiplexer 56 correspond to the correction circuit 2 in FIG. 1, and include inversion circuits 30, 42, a -6 addition circuit 32, a +6 addition circuit 40, and multiplexers 34, 44. The 4-bit addition circuits 36, 38, 46, and 48 correspond to the predicted value generation circuit 4 in FIG. The binary addition circuit 61 and the decimal addition / subtraction selection circuit 61 correspond to the carry signal generation circuit 6 in FIG. 1, and the multiplexer 28 corresponds to the selection circuit 8 in FIG.

前記構成に成る本発明の10進加算、及び10進減算の動
作を以下に説明する。
The operation of the decimal addition and the decimal subtraction of the present invention having the above configuration will be described below.

先ず、10進加算の動作の説明を行なう。前述の従来例
の場合と同様に、その被加数Xを3214とし、加数Yを21
76とする。これらいずれの数値データの10進各桁も16進
法で表示されているものとする。
First, the operation of decimal addition will be described. As in the case of the above-described conventional example, the augend X is set to 3214 and the addend Y is set to 2114.
76. It is assumed that each decimal digit of any of these numerical data is displayed in hexadecimal.

この加算動作における最下位桁、即ち被加数XのX3=
4、及び加数YのY3=6について2進加算回路60から出
力される10進キャリCRY4は、“0"であり、10進キャリCR
Y3は、“1"であるから、前記設例の被加数XのX3=4、
及び加数YのY3=6をその入力に受けて4ビット加算回
路36、4ビット加算回路38、4ビット加算回路46、及び
4ビット加算回路48から既に発生されている10進予測和
で“0"、“1"、“6"及び“7"の内の、4ビット加算回路
36から発生している10進数A3=“0"が、マルチプレクサ
28において前述の予測和選択法に従って選択される。
The least significant digit in this addition operation, that is, X3 of the augend X =
The decimal carry CRY4 output from the binary adder circuit 60 for Y3 = 6 of the addend Y and the addend Y is “0”, and the decimal carry CR
Since Y3 is "1", X3 = 4 of the augend X in the above example,
And the addend Y, Y3 = 6, is input to the 4-bit adder circuit 36, 4-bit adder circuit 38, 4-bit adder circuit 46, and 4-bit adder circuit 48. 4-bit adder circuit among 0 "," 1 "," 6 "and" 7 "
The decimal number A3 = "0" generated from 36 is the multiplexer
At 28, a selection is made according to the predictive sum selection method described above.

被加数XのX2=1、及び加数YのY2=7についての加
算動作において、1つ下位の桁での10進キャリCRY3は、
“1"であり、且つ当該桁について2進加算回路60から出
力される10進キャリCRY2は、“0"であるから、前記設例
の被加数XのX2=1、及び加数YのY2=7をその入力に
受けて4ビット加算回路36、4ビット加算回路38、4ビ
ット加算回路46、及び4ビット加算回路48から既に発生
されている10進予測和で“7"、“9"、“3"及び“4"の内
の、4ビット加算回路38から発生している10進予測和B2
=“9"が、当該桁の和としてマルチプレクサ28において
前述の予測和選択法に従って選択される。
In the addition operation for the addend X of X2 = 1 and the addend Y of Y2 = 7, the decimal carry CRY3 at the next lower digit is
Since the decimal carry CRY2 output from the binary adder circuit 60 for this digit is "1", the addend X X2 = 1 and the addend Y Y2 of the above example are "0". = 7 at its input, the decimal prediction sums "7" and "9" already generated from the 4-bit addition circuit 36, the 4-bit addition circuit 38, the 4-bit addition circuit 46, and the 4-bit addition circuit 48. , “3” and “4”, the decimal predicted sum B2 generated from the 4-bit adder circuit 38
= “9” is selected by the multiplexer 28 as the sum of the digits in accordance with the above-described prediction sum selection method.

被加数XのX1=2、及び加数YのY1=1についての加
算動作においても、又被加数XのX1=3、及び加数Yの
Y1=2についての加算動作においても、その桁への10進
キャリも、又当該桁から上位桁への10進キャリも“0"で
あるから、いずれの桁においても4ビット加算回路36か
ら出力される10進予測和A1=“3"、A0=“5"が、それぞ
れ対応桁の和としてマルチプレクサ28で選択されて出力
される。
In the addition operation of X1 = 2 of the addend X and Y1 = 1 of the addend Y, also X1 = 3 of the addend X and the addend Y
Even in the addition operation for Y1 = 2, the decimal carry to that digit and the decimal carry from that digit to the upper digit are also “0”, so the output from the 4-bit adder circuit 36 is output in any digit. The calculated decimal prediction sums A1 = “3” and A0 = “5” are selected and output by the multiplexer 28 as the sums of the corresponding digits, respectively.

減算動作も、ほぼ同様の動作で被減数Xから減数Yの
減算が行なわれる。
In the subtraction operation, the subtrahend X is subtracted from the subtrahend X in substantially the same operation.

この減算動作における最下位桁、即ち被減数XのX3=
4、及び減数YのY3=6について2進加算回路60から出
力される10進キャリCRY3は、“0"であり、1つ下位の桁
からの10進キャリCRY4は、“1"であるから、前記設例の
被減数XのX3=4、及び減数YのY3=6をその入力に受
けて4ビット加算回路36、4ビット加算回路38、4ビッ
ト加算回路46、及び4ビット加算回路48から既に発生さ
れている10進予測差で“7"、“8"、“3"及び“4"の内
の、4ビット加算回路38から発生している10進予測差B3
=“8"が、当該桁の差としてマルチプレクサ28において
前述の予測差選択法に従って選択される。
The least significant digit in the subtraction operation, that is, X3 of the minuend X =
The decimal carry CRY3 output from the binary adder circuit 60 for 4 and Y3 = 6 of the decrement Y is "0", and the decimal carry CRY4 from the next lower digit is "1". In the above example, X3 = 4 of the minuend X and Y3 = 6 of the minuend Y are received at their inputs, and the 4-bit addition circuit 36, 4-bit addition circuit 38, 4-bit addition circuit 46, and 4-bit addition circuit 48 have Among the generated decimal prediction differences, the decimal prediction difference B3 generated from the 4-bit adding circuit 38 out of “7”, “8”, “3”, and “4”
= “8” is selected as the digit difference in the multiplexer 28 according to the above-described prediction difference selection method.

被減数XのX2=1、及び減数YのY2=7についての減
算動作における1つ下位の桁からの10進キャリCRY3は、
“0"であり、且つ当該桁について2進加算回路60から出
力される10進キャリCRY2は、“0"であるから、前記設例
の被減数XのX2=1、及び減数YのY2=7をその入力に
受けて4ビット加算回路36、4ビット加算回路38、4ビ
ット加算回路46、及び4ビット加算回路48から既に発生
されている10進予測差で“3"、“4"、“9"及び“0"の内
の、4ビット加算回路36から発生している10進予測差A2
=“3"が、当該桁の差としてマルチプレクサ28において
前述の予測差選択法に従って選択される。
The decimal carry CRY3 from the next lower digit in the subtraction operation for X2 = 1 of the minuend X and Y2 = 7 of the minuend Y is
Since the decimal carry CRY2 output from the binary adder circuit 60 for the digit is "0", "X2 = 1 for the minuend X and Y2 = 7 for the subtrahend Y in the above example are" 0 ". In response to the input, the 4-bit addition circuit 36, 4-bit addition circuit 38, 4-bit addition circuit 46, and 4-bit addition circuit 48 use "3", "4", "9" Of the decimal prediction difference A2 generated from the 4-bit addition circuit 36 among "0" and "0"
= “3” is selected in the multiplexer 28 as the digit difference in accordance with the above-described prediction difference selection method.

被減数XのX1=2、及び減数YのY1=1についての減
算動作においては、1つ下位の桁からの10進キャリCRY2
は、“0"であり、且つ当該桁について2進加算回路60か
ら出力される10進キャリCRY1は、“1"となるから、4ビ
ット加算回路46から発生されている10進予測差C1=“0"
が、当該桁の差としてマルチプレクサ28において前述の
予測差選択法に従って選択される。又、被減数XのX1=
3、及び減数YのY1=2についての減算動作において
は、1つ下位の桁からの10進キャリCRY1は、“1"であ
り、且つ当該桁について2進加算回路60から出力される
10進キャリCRY0は、“1"となるから、4ビット加算回路
48から発生されている10進予測差D0=“1"が、当該桁の
差としてマルチプレクサ28において前述の予測差選択法
に従って選択される。
In the subtraction operation for X1 = 2 of the minuend X and Y1 = 1 of the subtrahend Y, the decimal carry CRY2 from the next lower digit
Is "0", and the decimal carry CRY1 output from the binary addition circuit 60 for the digit is "1", so that the decimal prediction difference C1 = “0”
Is selected in the multiplexer 28 according to the above-described prediction difference selection method. Also, X1 of the minuend X =
In the subtraction operation for Y1 = 2 of the subtraction Y, the decimal carry CRY1 from the next lower digit is “1” and the digit is output from the binary adder circuit 60 for that digit.
Decimal carry CRY0 is "1", so 4-bit adder
The decimal prediction difference D0 = "1" generated from 48 is selected as the difference of the digit in the multiplexer 28 according to the above-described prediction difference selection method.

なお、前記実施例においては、10進最上位の和の桁か
らキャリがない場合について説明したが10進数A0乃至D0
の内から選択される10進数で生ずるキャリがその1つ上
位の桁を構成するようにしてマルチプレクサ28から出力
される。加算も、減算も4桁の場合について説明した
が、他の任意の桁数の数についても、本発明を実施し得
る。又、その数を何進法で表示するかと言うことも、本
発明の実施に当たって制限となるものではない。従っ
て、補正回路も、加算回路も、前記実施例のものに制限
されるのではない。
In the above embodiment, the case where there is no carry from the digit of the highest-order sum of decimal numbers is described, but the decimal numbers A0 to D0
The carry generated by a decimal number selected from the following is output from the multiplexer 28 so as to constitute the next higher digit. Although the case where both addition and subtraction have four digits has been described, the present invention can be implemented with any other number of digits. In addition, how the number is displayed in any decimal system is not a limitation in practicing the present invention. Therefore, neither the correction circuit nor the addition circuit is limited to those of the above-described embodiment.

〔発明の効果〕〔The invention's effect〕

以上の述べたところから明らかなように本発明によれ
ば、演算結果に対する再補正の代わりに、予測和の選択
方式を採用したことにより、該再補正における演算信号
の伝播時間分だけ演算の高速化が図れる。
As is apparent from the above description, according to the present invention, instead of the re-correction for the calculation result, the prediction sum selection method is employed, so that the high-speed calculation is performed by the propagation time of the calculation signal in the re-correction. Can be achieved.

【図面の簡単な説明】[Brief description of the drawings]

第1図は請求項2記載の発明の原理ブロック図、 第2図は請求項1及び請求項2記載の発明の一実施例を
示す図、 第3図は従来の10進加減算回路を示す図、 第4図は第3図回路の加算及び減算の例を示す図であ
る。 第1図及び第2図において、 2は補正回路(+6加算回路52、反転回路54、マルチプ
レクサ56)、 4は予測値生成回路(反転回路30,42、−6加算回路3
2、+6加算回路40、マルチプレクサ34,44、4ビット加
算回路36,38,46,48) 6は桁上げ信号発生回路(2進加算回路60、10進加減算
回路61)、 8は選択回路(マルチプレクサ28)である。
FIG. 1 is a block diagram of the principle of the invention according to claim 2, FIG. 2 is a diagram showing an embodiment of the invention according to claims 1 and 2, and FIG. 3 is a diagram showing a conventional decimal addition / subtraction circuit. FIG. 4 is a diagram showing an example of addition and subtraction of the circuit in FIG. 1 and 2, reference numeral 2 denotes a correction circuit (+6 addition circuit 52, inversion circuit 54, multiplexer 56), and 4 denotes a predicted value generation circuit (inversion circuits 30, 42, -6 addition circuit 3).
2, +6 addition circuit 40, multiplexers 34,44, 4-bit addition circuits 36,38,46,48) 6 is a carry signal generation circuit (binary addition circuit 60, decimal addition / subtraction circuit 61), and 8 is a selection circuit ( Multiplexer 28).

フロントページの続き (72)発明者 野々村 一泰 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 渡部 徹 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 竹野 巧 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 加藤 慎哉 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (56)参考文献 実開 昭58−124831(JP,U)Continued on the front page (72) Inventor Kazuyasu Nonomura 1015 Uedanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture Inside Fujitsu Limited (72) Inventor Toru Watanabe 1015, Kamiodanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture Fujitsu Limited (72) Inventor Takumi Takeno 1015 Uedanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture Inside Fujitsu Limited (72) Inventor Shinya Kato 1015, Kamiodanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture Inside Fujitsu Limited (56) References (JP, U)

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】各桁をn進法で表示した第1の入力数値デ
ータに対し、加算においては加算結果値をm進法で出力
せしめるための補正を各桁毎に施して出力し、減算にお
いては減算結果値をm進法で出力せしめるための反転を
各桁毎に施して出力し、 前記第1の入力数値データと各桁をn進法で表示した第
2の入力数値データとの加算についての4つのm進予測
値、又は減算についての4つのm進予測値を前記第1の
入力数値データ及び前記第2の入力数値データの各桁毎
に生成し、 前記補正、又は反転された前記第1の入力数値データ
と、前記第2の入力数値データとに応答して前記補正、
又は反転された前記第1の入力数値データ及び前記第2
の入力数値データの桁毎の桁上げ信号を加算、又は減算
に対して発生し、 各桁毎に生成された加算についての4つのm進予測値、
又は減算についての4つのm進予測値のうちの、加算、
又は減算について発生された当該桁の桁上げ信号及び当
該桁より1つ下位の桁の桁上げ信号に応じて決まるm進
予測値を当該桁の加算、又は減算のm進結果値として選
択することを特徴とする加算、又は減算のための二入力
算術演算方式。
In addition, the first input numerical data in which each digit is displayed in an n-ary system is subjected to a correction for outputting an addition result value in an m-ary system for each digit in the addition, and is output. In the above, the subtraction result value is inverted for each digit for outputting in m-ary notation and output, and the first input numerical data and the second input numerical data in which each digit is expressed in n-ary notation are output. Four m-ary prediction values for addition or four m-ary prediction values for subtraction are generated for each digit of the first input numerical data and the second input numerical data, and are corrected or inverted. Said correction in response to said first input numerical data and said second input numerical data.
Or the inverted first input numerical data and the second input numerical data
The four m-ary prediction values of the addition generated for each digit of the carry signal of each digit of the input numerical data for addition or subtraction,
Or of the four m-ary predictions for subtraction,
Alternatively, a m-ary prediction value determined according to the carry signal of the digit generated for the subtraction and the carry signal of the digit one digit lower than the digit is selected as the m-ary result value of addition or subtraction of the digit. A two-input arithmetic operation method for addition or subtraction.
【請求項2】10加算指定信号、又は10減算指定信号に応
答して各桁を16進法で表示した第1の入力数値データに
対する6の加算、又は該第1の入力数値データに対する
反転を生ぜしめる各桁毎の補正回路2と、 前記10加算指定信号、又は前記10減算指定信号並びに前
記補正回路の出力数値データ及び各桁を16進法で表示し
た第2の入力数値データに応答して前記第1の入力数値
データと前記第2の入力数値データとの加算についての
4つの10進予測値、又は減算についての4つの10進予測
値を前記第1の入力数値データ及び前記第2の入力数値
データの各桁毎に生成する各桁毎の予測値生成回路4
と、 前記第2の入力数値データと、前記補正回路2の出力数
値データとに応答して前記第2の入力数値データ及び前
記補正回路2の出力数値データの桁毎の桁上げ信号を加
算、又は減算に対して発生する桁上げ信号発生回路6
と、 各桁毎に生成された加算についての4つの10進予測値、
又は減算についての4つの10進予測値のうちの、加算、
又は減算について発生された当該桁の桁上げ信号及び当
該桁より1つ下位の桁の桁上げ信号に応じて決まる10進
予測値を当該桁の加算、又は減算の10進結果値として選
択する選択回路8とから成る10進加減算回路。
2. Addition of 6 to the first input numerical data in which each digit is displayed in hexadecimal in response to a 10 addition specifying signal or a 10 subtraction specifying signal, or inversion of the first input numerical data. The correction circuit 2 for each digit to be generated, and the 10 addition designation signal or the 10 subtraction designation signal, the output numerical data of the correction circuit and the second input numerical data in which each digit is displayed in hexadecimal notation. The four decimal predicted values for the addition of the first input numerical data and the second input numerical data or the four decimal predicted values for the subtraction are calculated by using the first input numerical data and the second Predicted value generation circuit 4 for each digit generated for each digit of input numerical data
Adding a carry signal for each digit of the second input numerical data and the output numerical data of the correction circuit 2 in response to the second input numerical data and the output numerical data of the correction circuit 2; Or a carry signal generating circuit 6 generated for the subtraction
And four decimal predicted values for the addition generated for each digit,
Or of the four decimal predictions for subtraction,
Alternatively, a selection is made to select a decimal predicted value determined according to a carry signal of the digit generated for the subtraction and a carry signal of a digit one digit lower than the digit as a decimal result value of addition or subtraction of the digit. A decimal addition / subtraction circuit comprising a circuit 8;
JP2059510A 1990-03-08 1990-03-08 Two-input arithmetic operation method for addition or subtraction and decimal addition / subtraction circuit Expired - Lifetime JP2619964B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2059510A JP2619964B2 (en) 1990-03-08 1990-03-08 Two-input arithmetic operation method for addition or subtraction and decimal addition / subtraction circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2059510A JP2619964B2 (en) 1990-03-08 1990-03-08 Two-input arithmetic operation method for addition or subtraction and decimal addition / subtraction circuit

Publications (2)

Publication Number Publication Date
JPH03259330A JPH03259330A (en) 1991-11-19
JP2619964B2 true JP2619964B2 (en) 1997-06-11

Family

ID=13115327

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2059510A Expired - Lifetime JP2619964B2 (en) 1990-03-08 1990-03-08 Two-input arithmetic operation method for addition or subtraction and decimal addition / subtraction circuit

Country Status (1)

Country Link
JP (1) JP2619964B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012077185A1 (en) * 2010-12-07 2012-06-14 富士通株式会社 Decimal absolute value adder

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56147237A (en) * 1980-04-18 1981-11-16 Nec Corp Operation processing device
JPS6232533A (en) * 1985-08-06 1987-02-12 Fujitsu Ltd Decimal data exception detecting system in decimal adding/subtracting circuit
JPH01302425A (en) * 1988-05-31 1989-12-06 Toshiba Corp Floating decimal point adder/subtracter circuit

Also Published As

Publication number Publication date
JPH03259330A (en) 1991-11-19

Similar Documents

Publication Publication Date Title
US5500812A (en) Multiplication circuit having rounding function
EP0328063B1 (en) Absolute value calculating circuit having a single adder
JP3667635B2 (en) Arithmetic unit
JPH0612229A (en) Multiplication and accumulation circuit
JPH0823811B2 (en) Method for determining overflow in a three-operand arithmetic logic mechanism and mechanism for detecting arithmetic overflow
US5877973A (en) Logic operation circuit and carry look ahead adder
JP2619964B2 (en) Two-input arithmetic operation method for addition or subtraction and decimal addition / subtraction circuit
US5870322A (en) Multiplier to selectively perform unsigned magnitude multiplication or signed magnitude multiplication
EP0643352A1 (en) Self-checking complementary adder unit
US20130238680A1 (en) Decimal absolute value adder
US6151616A (en) Method and circuit for detecting overflow in operand multiplication
JP3579087B2 (en) Arithmetic unit and microprocessor
JPH0346024A (en) Floating point computing element
JPH0464091B2 (en)
JPH0511980A (en) Overflow detecting method and circuit
JPH11126157A (en) Multiplication method and multiplication circuit
EP0328779A2 (en) Apparatus for branch prediction for computer instructions
JPH113210A (en) Three-input comparator, saturation operation device using the same, and operation method thereof
US5208769A (en) Unsigned integer multiply/divide circuit
JP2606339B2 (en) Multiplier
EP0450751B1 (en) High speed digital divider
JP3482102B2 (en) Absolute distance calculation circuit
US5483477A (en) Multiplying circuit and microcomputer including the same
KR100623604B1 (en) Data processing apparatus and its data processing method
SU1179322A1 (en) Device for multiplying two numbers