JPH04241623A - Decimal multiplication processor - Google Patents

Decimal multiplication processor

Info

Publication number
JPH04241623A
JPH04241623A JP251191A JP251191A JPH04241623A JP H04241623 A JPH04241623 A JP H04241623A JP 251191 A JP251191 A JP 251191A JP 251191 A JP251191 A JP 251191A JP H04241623 A JPH04241623 A JP H04241623A
Authority
JP
Japan
Prior art keywords
multiplier
stored
adder
data
digits
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.)
Pending
Application number
JP251191A
Other languages
Japanese (ja)
Inventor
Takao Kishi
岸高夫
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP251191A priority Critical patent/JPH04241623A/en
Publication of JPH04241623A publication Critical patent/JPH04241623A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate the need for data holding operations in a chip so as to improve the processing speed without performing a firmware branching process and multiple mode setting process by means of firmware. CONSTITUTION:The 1-9 times multiples of multiplicand data are generated by means of a multiple generating means 5 and stored in a multiple storing means 6 in corresponding to the multiples. On the other hand, the stored multiples are read out and sent to an adder 2 for arithmetic operations by successively fetching multiplier digits from the high-order digit of multiplier data stored in a multiplier holding register 7 and generating addresses to be read out from the means 6 by means of a multiple reading-out address designating means 9.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は10進乗算処理装置、特
に電子計算機による10進データの乗算のための10進
乗算処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a decimal multiplication processing device, and more particularly to a decimal multiplication processing device for multiplication of decimal data by an electronic computer.

【0002】0002

【従来の技術】従来、この種の10進乗算処理装置は、
図6に乗算処理のフローチャートを示すように、乗数デ
ータから乗数桁を1桁ずつ取出し(ステップ301〜3
04)、取出された乗数桁にしたがってファームウェア
分岐を行ない(ステップ305)、ファームウェア分岐
先でファームウェアによって倍数モードを設定し(ステ
ップ306)、設定された倍数モードにしたがって倍数
を発生し(ステップ307)、発生した倍数を乗算の途
中結果に加算後(ステップ308)、1桁左シフトを行
って(ステップ309,310)、ステップ304に戻
ることを繰返し、乗数桁がなくなれば途中結果をメモリ
へストアしている(ステップ311)。
[Prior Art] Conventionally, this type of decimal multiplication processing device has
As shown in the flowchart of the multiplication process in FIG. 6, the multiplier digits are extracted one by one from the multiplier data (steps 301 to 3
04), performs firmware branching according to the extracted multiplier digit (step 305), sets a multiple mode by firmware at the firmware branch destination (step 306), and generates a multiple according to the set multiple mode (step 307). , after adding the generated multiple to the intermediate result of multiplication (step 308), perform a left shift by one digit (steps 309, 310), and return to step 304. When there are no more multiplier digits, the intermediate result is stored in memory. (step 311).

【0003】図5は図6の処理を実現するための代表的
なブロック図である。図5のブロック図は15桁×15
桁以内の乗算を行うことを想定したもので、演算処理装
置30内には、16桁のデータ間で演算を行うアダー1
,2および16桁のデータ間で1桁単位のシフト動作を
行うシフタ3,4が設けられている。
FIG. 5 is a typical block diagram for implementing the process shown in FIG. The block diagram in Figure 5 is 15 digits x 15
It is assumed that multiplication is performed within digits, and the arithmetic processing unit 30 includes an adder 1 that performs calculations between 16-digit data.
, 2 and 16 digits of data in units of 1 digit.

【0004】さて、メモリから15桁以内の被乗数デー
タ、および乗数データが送出されてくると、被乗数デー
タは倍数発生手段5の入力データとなり、倍数発生のた
めに使用される。一方、乗数データは乗数保持レジスタ
7へ格納され、乗数桁取出し手段8によって上位桁から
乗数桁がレジスタ19に取出される。レジスタ19に取
出された乗数桁はファームウェア制御部31内の分岐ア
ドレス生成ロジック32へ入力される。分岐アドレス生
成ロジック32は入力された乗数桁にしたがって分岐ア
ドレスを作成し、アドレスレジスタ33へ送出する。次
いでアドレスレジスタ33に格納された分岐アドレスに
したがって、コントロールストア34内のマイクロ命令
が読出され、コントロールストアレジスタ35へ格納さ
れる。コントロールストアレジスタ35へ格納されたマ
イクロ命令の一部は、演算処理装置30内の倍数モード
レジスタ20へ格納される。倍数モードレジスタ20の
内容にしたがって、倍数発生手段5では被乗数の倍数が
発生され、アダー入力レジスタ11へ格納される。次い
で、乗算の途中結果の下位16桁を保持するアダー入力
レジスタ12とアダー2によって加算される。この加算
でキャリーが出た場合には、アダー1で乗算の途中結果
の上位16桁を保持するアダー入力レジスタ10と加算
される。アダー1および2の加算結果はそれぞれアダー
出力レジスタ13および14へ格納される。そして、シ
フタ3および4でそれぞれ1桁左シフトされ、シフト結
果はシフタ出力レジスタ15および16へ格納される。 シフタ出力レジスタ15および16へ格納されたデータ
は、それぞれアダー入力レジスタ10および12へ格納
され、被乗数データの倍数と再び加算される。以上の動
作が繰返され、乗数保持レジスタ7内に格納されている
乗数データの乗数桁の取出しが終了すると乗算は完了す
る。そして、アダー出力レジスタ13および14の内容
が積としてメモリへ格納される。
Now, when multiplicand data within 15 digits and multiplier data are sent from the memory, the multiplicand data becomes input data to the multiple generation means 5 and is used for multiple generation. On the other hand, the multiplier data is stored in the multiplier holding register 7, and the multiplier digits are extracted from the upper digits into the register 19 by the multiplier digit extracting means 8. The multiplier digit taken out in the register 19 is input to the branch address generation logic 32 in the firmware control section 31. The branch address generation logic 32 creates a branch address according to the input multiplier digits and sends it to the address register 33. Then, according to the branch address stored in address register 33, the microinstruction in control store 34 is read out and stored in control store register 35. A part of the microinstructions stored in the control store register 35 is stored in the multiple mode register 20 in the arithmetic processing unit 30. According to the contents of the multiple mode register 20, the multiple generating means 5 generates a multiple of the multiplicand and stores it in the adder input register 11. Next, the adder 2 and the adder input register 12 hold the lower 16 digits of the intermediate result of the multiplication. If this addition results in a carry, the adder 1 adds the carry to the adder input register 10 that holds the upper 16 digits of the intermediate multiplication result. The addition results of adders 1 and 2 are stored in adder output registers 13 and 14, respectively. Then, shifters 3 and 4 each shift the signal to the left by one digit, and the shift results are stored in shifter output registers 15 and 16. The data stored in shifter output registers 15 and 16 is stored in adder input registers 10 and 12, respectively, and added again with the multiple of the multiplicand data. The above operation is repeated, and when the extraction of the multiplier digit of the multiplier data stored in the multiplier holding register 7 is completed, the multiplication is completed. The contents of adder output registers 13 and 14 are then stored in memory as a product.

【0005】[0005]

【発明が解決しようとする課題】さて、最近のテクノロ
ジーの進歩にも拘わらず、微小クロックのもとで、RA
Mから読出されたデータはディレイタイムの制約上、一
度レジスタで保持されなければならない。そして、これ
らのデータはレジスタで保持されてから各LSIチップ
へ送出される。
[Problem to be Solved by the Invention] Despite recent advances in technology, RA
Data read from M must be held once in a register due to delay time constraints. These data are held in registers and then sent to each LSI chip.

【0006】上述した従来の10進乗算処理方式では、
乗数データから乗数桁を1桁ずつ取出し、取出された桁
数にしたがってファームウェア分岐を行ない、ファーム
ウェア分岐先でファームウェアによって倍数モードを設
定し、設定された倍数モードに従って倍数を発生し、発
生した倍数を乗算の途中結果に加算後、1桁シフトを行
なう方式となっているので、取出された乗数桁にしたが
ってファームウェア分岐を行なう処理、およびファーム
ウェア分岐先でファームウェアによって倍数モードを設
定する処理において、それぞれ別のRAMチップへのデ
ータ移送が行なわれ、上述のように必ずRAMチップ内
で一度データを保持するステップを経由していて、余計
な実行マシンサイクルタイムを費しているという欠点が
ある。さらにこの欠点は乗算のループ処理の中で発生す
るので、乗算の桁数が増加すると飛躍的に乗算処理の実
行マシンサイクルタイムが増加するという問題点がある
In the conventional decimal multiplication processing method described above,
Extracts the multiplier digits one by one from the multiplier data, performs firmware branching according to the number of extracted digits, sets the multiple mode by firmware at the firmware branch destination, generates a multiple according to the set multiple mode, and calculates the generated multiple. Since the method is to perform a one-digit shift after adding to the intermediate result of multiplication, the process of performing firmware branching according to the extracted multiplier digit, and the process of setting the multiple mode by firmware at the firmware branch destination, are performed separately. The transfer of data to the RAM chip is always performed through the step of holding the data once in the RAM chip as described above, which has the drawback of consuming extra execution machine cycle time. Furthermore, since this drawback occurs during multiplication loop processing, there is a problem in that as the number of digits in multiplication increases, the execution machine cycle time for multiplication processing increases dramatically.

【0007】[0007]

【課題を解決するための手段】本発明の10進乗算処理
装置は、10進形式のデータを処理するアダーおよびシ
フタを有する10進乗算処理装置において、被乗数の倍
数を発生させる倍数発生手段と、この倍数発生手段によ
って発生した倍数を倍数対応に格納しておく倍数格納手
段と、この倍数格納手段に倍数を格納した後に、複数桁
で構成される乗数を1桁ずつ取出す乗数桁取出し手段と
、この乗数桁取出し手段によって取出された乗数桁から
前記倍数格納手段に格納されている倍数のアドレスを指
定して倍数格納手段に格納されている倍数を読出させて
アダーに送出させる倍数読出しアドレス指定手段とを有
することにより構成され、また10進形式のデータを処
理するアダーおよびシフタを有する10進乗算処理装置
において、複数桁で構成される乗数桁を1桁ずつ取出す
乗数桁取出し手段と、この乗数桁取出し手段で取出され
た乗数桁から倍数のモードを設定する倍数モード設定手
段と、この倍数モード設定手段で設定された倍数モード
に従って被乗数の倍数を発生してアダーに送出する倍数
発生手段とを有することにより構成される。
[Means for Solving the Problems] A decimal multiplication processing device of the present invention has a decimal multiplication processing device having an adder and a shifter for processing data in decimal format, and includes: multiple generation means for generating a multiple of a multiplicand; a multiple storage means for storing the multiples generated by the multiple generation means in correspondence with multiples; a multiplier digit extraction means for extracting a multiplier composed of multiple digits one by one after storing the multiple in the multiple storage means; Multiple read address designation means for specifying the address of the multiple stored in the multiple storage means from the multiplier digit taken out by the multiplier digit extraction means and reading out the multiple stored in the multiple storage means and sending it to the adder. In a decimal multiplication processing device comprising an adder and a shifter for processing data in decimal format, a multiplier digit extraction means for extracting a multiplier digit composed of a plurality of digits one by one; A multiple mode setting means for setting a multiple mode from the multiplier digit extracted by the digit extraction means, and a multiple generation means for generating a multiple of the multiplicand according to the multiple mode set by the multiple mode setting means and sending it to the adder. It is constituted by having.

【0008】[0008]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be explained with reference to the drawings.

【0009】図1は本発明の一実施例のブロック図であ
る。図1の実施例は15桁以内の乗算を想定していて、
16桁のデータ間で演算を行うアダー1,2および16
桁のデータ間で1桁単位のシフト動作を行うシフタ3,
4が設けられている。さらに、15桁のデータの1〜9
倍を発生させる倍数発生手段5および倍数発生手段5で
発生させられた倍数を格納しておく倍数格納手段6が設
けられ、倍数格納手段6に格納された倍数を読出すため
に、乗数保持レジスタ7,乗数桁取出し手段8および倍
数読出しアドレス指定手段9が設けられている。またア
ダー1,2およびシフタ3,4とそれらの入出力レジス
タとは図5の従来の乗算処理装置と同じに構成されてい
る。
FIG. 1 is a block diagram of one embodiment of the present invention. The embodiment in FIG. 1 assumes multiplication within 15 digits,
Adders 1, 2 and 16 that perform calculations between 16-digit data
A shifter 3 that performs a shift operation between digit data in units of digits,
4 is provided. Furthermore, 1 to 9 of the 15-digit data
A multiple generation means 5 for generating a multiple and a multiple storage means 6 for storing the multiple generated by the multiple generation means 5 are provided, and a multiplier holding register is provided to read the multiple stored in the multiple storage means 6. 7. A multiplier digit extraction means 8 and a multiple read address designation means 9 are provided. Further, the adders 1 and 2, shifters 3 and 4, and their input/output registers are constructed in the same manner as the conventional multiplication processing device shown in FIG.

【0010】図2は図1の実施例の処理のフローチャー
トで、以下図2を参照して図1の動作について説明を進
める。メモリから15桁以内の被乗数データ、および乗
数データが送出されてくると、被乗数データは倍数発生
手段5の入力データとなり(ステップ102)、倍数発
生のために使用される。倍数発生手段5で発生された1
〜9倍の倍数は次々と倍数格納手段6へ格納される。一
方、乗数データは乗数保持レジスタ7に格納され(ステ
ップ101)、乗数保持レジスタ7へ格納された乗数デ
ータは乗数桁取出し手段8によって上位桁から乗数桁が
取出されて、取出された乗数桁は倍数読出しアドレス指
定手段9へ送られる(ステップ105)。倍数読出しア
ドレス指定手段9は倍数格納手段6に格納されている倍
数の読出しアドレスを提供し、倍数格納手段6から倍数
を読出す(ステップ106)。読出された倍数はアダー
入力レジスタ11へ格納され、乗算の途中結果の下位1
6桁を保持するアダー入力レジスタ12とアダー2によ
って加算される。この加算でキャリーが出た場合には、
アダー4で乗算の途中結果の上位16桁を保持するアダ
ー入力レジスタ10と加算される。アダー1および2の
加算結果はそれぞれアダー出力レジスタ13および14
へ格納される(ステップ107)。そして、乗数桁の取
出しが終了していなければ(ステップ108)、アダー
出力レジスタ13および14の内容がシフタ3および4
でそれぞれ1桁左シフトされ(ステップ109)、シフ
ト結果はシフタ出力レジスタ15および16へ格納され
る。シフト出力レジスタ15および16へ格納されたデ
ータはそれぞれアダー入力レジスタ10および12へ格
納され、被乗数データの倍数と再び加算される。次いで
ステップ105へ戻ってステップ106〜109の動作
が繰返され、乗数保持レジスタ7内に格納されている乗
数データの乗数桁の取出しが終了すると(ステップ10
8)、乗算は完了し、アダー出力レジスタ13および1
4の内容が積としてメモリへ格納される(ステップ11
0)。
FIG. 2 is a flowchart of the processing of the embodiment of FIG. 1, and the operation of FIG. 1 will be explained below with reference to FIG. When multiplicand data within 15 digits and multiplier data are sent from the memory, the multiplicand data becomes input data to the multiple generation means 5 (step 102) and is used for multiple generation. 1 generated by multiple generation means 5
The multiples of .about.9 times are stored in the multiple storage means 6 one after another. On the other hand, the multiplier data is stored in the multiplier holding register 7 (step 101), and from the multiplier data stored in the multiplier holding register 7, the multiplier digits are extracted from the upper digits by the multiplier digit extracting means 8, and the extracted multiplier digits are It is sent to the multiple read address designating means 9 (step 105). The multiple read addressing means 9 provides the read address of the multiple stored in the multiple storage means 6 and reads the multiple from the multiple storage means 6 (step 106). The read multiple is stored in the adder input register 11, and the lower one of the intermediate results of multiplication is stored in the adder input register 11.
It is added by adder input register 12 and adder 2 which hold 6 digits. If this addition results in a carry,
The adder 4 adds the result to the adder input register 10 that holds the upper 16 digits of the multiplication result. The addition results of adders 1 and 2 are added to adder output registers 13 and 14, respectively.
(step 107). If the extraction of the multiplier digit is not completed (step 108), the contents of adder output registers 13 and 14 are transferred to shifters 3 and 4.
are shifted to the left by one digit (step 109), and the shift results are stored in shifter output registers 15 and 16. The data stored in shift output registers 15 and 16 is stored in adder input registers 10 and 12, respectively, and added again with the multiple of the multiplicand data. Next, the process returns to step 105 and the operations of steps 106 to 109 are repeated, and when the extraction of the multiplier digit of the multiplier data stored in the multiplier holding register 7 is completed (step 10
8), the multiplication is completed and the adder output registers 13 and 1
4 is stored in memory as a product (step 11
0).

【0011】図3は本発明の別の実施例のブロック図で
ある。図3の実施例は図1の場合と同様に15桁以内の
乗算を想定していて、図1と同じく16桁のデータ間で
演算を行なうアダー1,2および16桁のデータ間で1
桁単位のシフト動作を行なうシフタ3,4ならびにそれ
らの入出力レジスタが設けられている。さらに15桁の
乗数データを保持する乗数保持レジスタ7,乗数桁取出
し手段8,取出した乗数桁により倍数発生モードを出力
する倍数モード設定手段18,被乗数保持レジスタ17
および被乗数の倍数を発生する倍数発生手段5が設けら
れている。
FIG. 3 is a block diagram of another embodiment of the invention. The embodiment in FIG. 3 assumes multiplication within 15 digits as in the case of FIG.
Shifters 3 and 4 that perform a digit-by-digit shift operation and their input/output registers are provided. Furthermore, a multiplier holding register 7 that holds 15-digit multiplier data, a multiplier digit extraction means 8, a multiple mode setting means 18 that outputs a multiple generation mode based on the extracted multiplier digit, and a multiplicand holding register 17
A multiple generating means 5 for generating a multiple of the multiplicand is provided.

【0012】図4は図3の実施例の処理のフローチャー
トで、以下図4を参照して図3の動作について説明を進
める。メモリから15桁以内の被乗数データおよび乗数
データが送られてくると、被乗数データ被乗数保持レジ
スタ17へ格納され、倍数発生手段5の入力データとな
り(ステップ202)、倍数発生のために使用される。 一方、乗数データは乗数保持レジスタ7へ格納される(
ステップ201)。乗数保持レジスタ7へ格納された乗
数データは、乗数桁取出し手段8によって上位桁から乗
数桁が取出され、取出された乗数桁は倍数モード設定手
段18へ送られる(ステップ204)。倍数モード設定
手段18は倍数発生手段5の倍数発生モードを指定し、
倍数発生手段5は倍数モード設定手段10にしたがって
、被乗数の倍数を発生する(ステップ205)。この倍
数はアダー入力レジスタ11へ格納される。以下図1と
同じに、乗算途中結果の下位16桁を保持するアダー入
力レジスタ12とアダー2によって加算される。この加
算でキャリーが出た場合には、アダー3で乗算の途中結
果の上位16桁を保持するアダー入力レジスタ10と加
算される。アダー1および2の加算結果はそれぞれアダ
ー出力レジスタ13および14へ格納される(ステップ
206)。そして、乗数桁の取出しが終了していなけれ
ば(ステップ207)、アダー出力レジスタ13および
14の内容がシフタ3および4でそれぞれ1桁左シフト
され(ステップ208)、シフト結果はシフタ出力レジ
スタ15および16へ格納される。シフタ出力レジスタ
15および16へ格納されたデータはそれぞれアダー入
力レジスタ10および12へ格納され、被乗数データの
倍数と加算される。次いでステップ204へ戻ってステ
ップ205〜208の動作が繰返され、乗数保持レジス
タ7内に格納されている乗数データの乗数桁の取出しが
終了すると(ステップ207)、乗算は完了し、アダー
出力レジスタ13および14の内容が積としてメモリへ
格納される(ステップ209)。
FIG. 4 is a flowchart of the processing of the embodiment of FIG. 3, and the operation of FIG. 3 will be explained below with reference to FIG. When multiplicand data and multiplier data within 15 digits are sent from the memory, they are stored in the multiplicand data multiplicand holding register 17, become input data to the multiple generation means 5 (step 202), and are used for multiple generation. On the other hand, the multiplier data is stored in the multiplier holding register 7 (
Step 201). From the multiplier data stored in the multiplier holding register 7, the multiplier digits are extracted from the most significant digits by the multiplier digit extracting means 8, and the extracted multiplier digits are sent to the multiple mode setting means 18 (step 204). The multiple mode setting means 18 specifies the multiple generation mode of the multiple generation means 5,
The multiple generating means 5 generates a multiple of the multiplicand according to the multiple mode setting means 10 (step 205). This multiple is stored in adder input register 11. Hereinafter, as in FIG. 1, addition is performed by the adder input register 12 and the adder 2, which hold the lower 16 digits of the intermediate multiplication result. If this addition results in a carry, the adder 3 adds the result to the adder input register 10 that holds the upper 16 digits of the intermediate result of the multiplication. The addition results of adders 1 and 2 are stored in adder output registers 13 and 14, respectively (step 206). If the extraction of the multiplier digit has not been completed (step 207), the contents of adder output registers 13 and 14 are shifted to the left by one digit in shifters 3 and 4, respectively (step 208), and the shift results are transferred to shifter output registers 15 and 14. 16. The data stored in shifter output registers 15 and 16 is stored in adder input registers 10 and 12, respectively, and added to the multiple of the multiplicand data. Next, the process returns to step 204 and the operations of steps 205 to 208 are repeated, and when the extraction of the multiplier digit of the multiplier data stored in the multiplier holding register 7 is completed (step 207), the multiplication is completed and the adder output register 13 and 14 are stored in memory as a product (step 209).

【0013】[0013]

【発明の効果】以上説明したように本発明は、第一の実
施例では被乗数の倍数を倍数発生手段により発生し、発
生した倍数を倍数対応に倍数格納手段に格納しておき、
複数桁で構成される乗数を1桁ごとに取出して、倍数格
納手段に格納されている倍数を読出すアドレスを指定す
る倍数読出しアドレス指定手段を有することにより、ま
た別の実施例では被乗数をレジスタに保持し、複数桁で
構成される乗数を1桁ごとに取出し倍数のモードを設定
して、被乗数を倍数モードに従って倍数する倍数発生手
段を有することにより、RAMチップの特性によりRA
Mチップから別のLSIチップへデータを移送するとき
、必ずRAMチップ内で一度データを保持しなければな
らないような従来の取出された乗数桁にしたがってファ
ームウェア分岐を行なう処理、およびファームウェア分
岐先でファームウェアによって倍数モードを設定する処
理を行なうことがなく、余計に実行マシンサイクルタイ
ムを要しないので、迅速な演算処理が行なえるという効
果がある。
As explained above, in the first embodiment of the present invention, a multiple of a multiplicand is generated by a multiple generation means, and the generated multiple is stored in a multiple storage means corresponding to the multiple.
In another embodiment, the multiplicand is stored in a register by having a multiple read addressing means for extracting a multiplier consisting of a plurality of digits one by one and specifying an address for reading out the multiple stored in the multiple storage means. By having a multiple generating means that takes out a multiplier consisting of multiple digits one by one, sets a multiple mode, and multiples the multiplicand according to the multiple mode, the RAM
When transferring data from an M chip to another LSI chip, the data must be held once in the RAM chip, which is the conventional process of branching the firmware according to the multiplier digit taken out, and the process of branching the firmware at the destination of the firmware branch. Since there is no need to perform processing to set the multiple mode, and no additional execution machine cycle time is required, there is an effect that quick arithmetic processing can be performed.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

【図2】図1の実施例のフローチャートである。FIG. 2 is a flowchart of the embodiment of FIG. 1;

【図3】本発明の別の実施例のブロック図である。FIG. 3 is a block diagram of another embodiment of the invention.

【図4】図3の実施例のフローチャートである。FIG. 4 is a flowchart of the embodiment of FIG. 3;

【図5】従来の10進乗算処理方式の代表的なブロック
図である。
FIG. 5 is a typical block diagram of a conventional decimal multiplication processing method.

【図6】図5のブロック図のフローチャートである。FIG. 6 is a flowchart of the block diagram of FIG. 5;

【符号の説明】[Explanation of symbols]

1,2    アダー 3,4    シフタ 5    倍数発生手段 6    倍数格納手段 7    乗数保持レジスタ 8    乗数桁取出し手段 9    倍数読出しアドレス指定手段10,11,1
2    アダー入力レジスタ13,14    アダ
ー出力レジスタ15,16    シフタ出力レジスタ
17    被乗数保持レジスタ 18    倍数モード設定手段 19    レジスタ 20    倍数モードレジスタ 30    演算処理装置 31    ファームウェア制御部 32    分岐アドレス生成ロジック33    ア
ドレスレジスタ 34    コントロールストア
1, 2 Adder 3, 4 Shifter 5 Multiple generation means 6 Multiple storage means 7 Multiplier holding register 8 Multiplier digit extraction means 9 Multiple read address specification means 10, 11, 1
2 Adder input registers 13, 14 Adder output registers 15, 16 Shifter output register 17 Multiplicand holding register 18 Multiple mode setting means 19 Register 20 Multiple mode register 30 Arithmetic processing unit 31 Firmware control unit 32 Branch address generation logic 33 Address register 34 Control store

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  10進形式のデータを処理するアダー
およびシフタを有する10進乗算処理装置において、被
乗数の倍数を発生させる倍数発生手段と、この倍数発生
手段によって発生した倍数を倍数対応に格納しておく倍
数格納手段と、この倍数格納手段に倍数を格納した後に
、複数桁で構成される乗数を1桁ずつ取出す乗数桁取出
し手段と、この乗数桁取出し手段によって取出された乗
数桁から前記倍数格納手段に格納されている倍数のアド
レスを指定して倍数格納手段に格納されている倍数を読
出させてアダーに送出させる倍数読出しアドレス指定手
段とを有することを特徴とする10進乗算処理装置。
Claims: 1. A decimal multiplication processing device having an adder and a shifter for processing data in decimal format, comprising: multiple generation means for generating a multiple of a multiplicand; and multiples generated by the multiple generation means are stored in correspondence with the multiples. a multiplier storage means for storing a multiple, a multiplier digit extraction means for extracting a multiplier consisting of a plurality of digits one by one after storing the multiple in the multiple storage means; A decimal multiplication processing device comprising: multiple reading address designating means for specifying the address of the multiple stored in the storage means, reading out the multiple stored in the multiple storage means and sending it to an adder.
【請求項2】  10進形式のデータを処理するアダー
およびシフタを有する10進乗算処理装置において、複
数桁で構成される乗数桁を1桁ずつ取出す乗数桁取出し
手段と、この乗数桁取出し手段で取出された乗数桁から
倍数のモードを設定する倍数モード設定手段と、この倍
数モード設定手段で設定された倍数モードに従って被乗
数の倍数を発生してアダーに送出する倍数発生手段とを
有することを特徴とする10進乗算処理装置。
2. A decimal multiplication processing device having an adder and a shifter for processing data in decimal format, comprising: multiplier digit extraction means for extracting a multiplier digit consisting of a plurality of digits one by one; It is characterized by having a multiple mode setting means for setting a multiple mode from the extracted multiplier digit, and a multiple generation means for generating a multiple of the multiplicand according to the multiple mode set by the multiple mode setting means and sending it to the adder. A decimal multiplication processing device.
JP251191A 1991-01-14 1991-01-14 Decimal multiplication processor Pending JPH04241623A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP251191A JPH04241623A (en) 1991-01-14 1991-01-14 Decimal multiplication processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP251191A JPH04241623A (en) 1991-01-14 1991-01-14 Decimal multiplication processor

Publications (1)

Publication Number Publication Date
JPH04241623A true JPH04241623A (en) 1992-08-28

Family

ID=11531397

Family Applications (1)

Application Number Title Priority Date Filing Date
JP251191A Pending JPH04241623A (en) 1991-01-14 1991-01-14 Decimal multiplication processor

Country Status (1)

Country Link
JP (1) JPH04241623A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014200084A (en) * 2013-03-14 2014-10-23 株式会社半導体エネルギー研究所 Data processing device, data processing method, and computer program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6314233A (en) * 1986-07-03 1988-01-21 Fujitsu Ltd Decimal multplying circuit
JPH01309123A (en) * 1988-06-07 1989-12-13 Fujitsu Ltd Decimal multiplication system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6314233A (en) * 1986-07-03 1988-01-21 Fujitsu Ltd Decimal multplying circuit
JPH01309123A (en) * 1988-06-07 1989-12-13 Fujitsu Ltd Decimal multiplication system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014200084A (en) * 2013-03-14 2014-10-23 株式会社半導体エネルギー研究所 Data processing device, data processing method, and computer program
US10061558B2 (en) 2013-03-14 2018-08-28 Semiconductor Energy Laboratory Co., Ltd. Data processing device, data processing method, and computer program

Similar Documents

Publication Publication Date Title
US5226171A (en) Parallel vector processing system for individual and broadcast distribution of operands and control information
US5081573A (en) Parallel processing system
US4525796A (en) Pipelined operation unit for vector data
JP3869269B2 (en) Handling multiply accumulate operations in a single cycle
US5473554A (en) CMOS multiplexor
EP0154051B1 (en) Integrated and programmable processor for word-wise digital signal processing
US5235536A (en) Absolute difference processor element processing unit, and processor
JP2001516916A (en) Data processing device with digital signal processing capability
US3297999A (en) Multi-programming computer
JPS6256536B2 (en)
KR20010078508A (en) Matrix operation apparatus and Digital signal processor capable of matrix operation
US4065666A (en) Multiply-divide unit
US4631672A (en) Arithmetic control apparatus for a pipeline processing system
US5363322A (en) Data processor with an integer multiplication function on a fractional multiplier
US3260840A (en) Variable mode arithmetic circuits with carry select
US4924377A (en) Pipelined instruction processor capable of reading dependent operands in parallel
JPH04241623A (en) Decimal multiplication processor
US4685077A (en) Data processing apparatus having binary multiplication capability
JP7078129B2 (en) Arithmetic processing device and control method of arithmetic processing device
JPS59501426A (en) Mechanism for calculating the next address in advance
JPS6259828B2 (en)
JP3723311B2 (en) Parallel processor
EP0333306B1 (en) Single chip integrated circuit digital signal processor with a slow or fast mode of operation
JPH05165875A (en) Vector arithmetic processor
KR100303136B1 (en) Structure for microprocessor having digital signal processor

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19970924