[go: up one dir, main page]

JPS6118219B2 - - Google Patents

Info

Publication number
JPS6118219B2
JPS6118219B2 JP51041495A JP4149576A JPS6118219B2 JP S6118219 B2 JPS6118219 B2 JP S6118219B2 JP 51041495 A JP51041495 A JP 51041495A JP 4149576 A JP4149576 A JP 4149576A JP S6118219 B2 JPS6118219 B2 JP S6118219B2
Authority
JP
Japan
Prior art keywords
data
decimal point
result
register
decimal
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
Application number
JP51041495A
Other languages
Japanese (ja)
Other versions
JPS52124834A (en
Inventor
Mamoru Umemura
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
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP4149576A priority Critical patent/JPS52124834A/en
Publication of JPS52124834A publication Critical patent/JPS52124834A/en
Publication of JPS6118219B2 publication Critical patent/JPS6118219B2/ja
Granted legal-status Critical Current

Links

Description

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

本発明は、小数点付データの演算装置に関する
ものである。 一般に、小数点以下の長さが異なるデータの加
減算においては、演算に先立つて桁合わせが行な
われ、更に、演算結果格納の際にも結果格納位置
の書式にしたがつた桁合わせが行なわれる。たと
えば、特公昭44−18345号公報「自動小数点位置
合せ方式」に記載された方式においては、演算の
対象となる2つのデータの小数点位置の相対関係
を覧視し双方のデータのデータの1ビツトずつの
左、あるいは右へのシフト操作の繰返しにより桁
合せを行なう方式が記載されている。すなわち桁
合せは、シフト操作の繰返しによつて実現される
が、通常は演算の前後に他の装置を用いて行なわ
れるため、命令ステツプ数が増大する欠点があ
る。さらに、このデータの小数点位置の相対関係
に基づいて桁合わせを行う方法では、演算対象の
2つのデータが整つた後でなければ桁合わせ処理
を開始する事ができないという欠点がある。ま
た、演算結果はプログラムによつて四捨五入操
作、あふれが生じたときの特別の操作、リーデイ
ング零の部分に空白コードを挿入する操作等が指
定されることがあり、これらを実現する際にも命
令ステツプ数が増大する。 本発明の目的は、小数点付きデータの演算にお
いて、自動的に桁合わせを行なう装置を提供する
ことにある。 本発明の他の目的は、小数点付きデータの演算
結果の格納に際して目的の格納位置の書式にした
がつて自動的に桁合わせを行なう装置を提供する
ことにある。 本発明の他の目的は、小数点付きデータの演算
結果の格納に際して、プログラムの指定による四
捨五入、あふれが生じたときの制御、リーデイン
グ零の部分への空白コード詰め等の操作を自動的
に処理する装置を提供することにある。 即ち、本発明は、小数点付きデータの演算にお
いて、各データ毎にデータの小数点位置を表示す
る手段と、演算の結果に応じて施されるべき操作
を従定する手段と、小数点付アキユミユレータ
と、該小数点位置を表示する手段によつて与えら
れる小数点位置にしたがつてデータを該小数点付
アキユミユレータにロードする桁合わせ手段と、
該桁合わせ手段によつて桁合わせされたデータを
演算する演算装置と、該演算装置による演算結果
を結果格納場所にストアする際に、該小数点位置
を表示する手段によつて与えられる小数点位置に
合わせてストアする手段および該演算の結果に応
じて施されるべき操作を指定する手段によつて指
定される操作を施す手段とを備えた演算装置であ
る。 つぎに、本発明の一実施例について、図面を用
いて説明する。 第1図は実施例の命令およびデスクリプタのフ
オーマツトを表わす。OS(オペランドシラブ
ル)はデスクリプタを指し、デスクリプタはオペ
ランドアドレスと、データの小数点以下の長さを
含む。本例は、OS1およびOS2で指されるアドレ
ス内のデータを加算し、OS3で指されるアドレス
に結果を格納する命令である。命令の制御フイー
ルドは、演算の結果格納に際してのデータ修飾を
指定するフイールドで、RNDは、四捨五入を指
示するビツト、BWZ(Blank When Zere)は、
頭の零へのブランクコード詰めを指示するビツト
である。 第2図はデータ形式の一例で、10進4桁ゾーン
形式である。夫々の小数点位置はデスクリプタの
SCALEフイールドで指定される。図中Zはゾー
ン、Dはデータ、Sは符号を表わし、Pは
SCALEで与えられる小数点位置を示す。以下実
施例ではデータの最大値を10進4桁として説明す
る。 第3図は実施例のブロツク図である。データの
流れを制御する回路は、従来の方式を用いること
ができるので、簡単のため本発明の説明に必要な
構成要素と相互関係のみを示してある。 第3図において、データは4バイトのメモリ読
出しレジスタ301に読み込まれ、データの小数
点以下の長さはスケールレジスタ302に読込ま
れる。データは変換回路303によつて演算に則
した形に変換され、符号の抽出が行なわれた後、
スケールレジスタ302の内容にしたがつて桁合
わせされる。第1オペランドの符号は保持回路3
08に蓄えられ、その内容と第2オペランドの符
号および命令で指定されるオペレーシヨン信号と
によつてフアンクシヨン決定回路304が加算ま
たは減算を演算器307に指示する。桁合わせさ
れたデータは8桁の中央に小数点を持つレジスタ
305および306に第1オペランド、第2オペ
ランドの順にロードされ、8桁10進加減算器30
7が演算を実行し、その結果がレジスタ305お
よび306にセツトされる。演算の結果桁あふれ
が生じたときにはあふれ表示回路315に表示し
て全演算は終了する。もし、補数をとる必要があ
るときには定数回路313と、演算器307を用
いて補数演算が行なわれると同時に、符号反転信
号保持回路314がセツトされる。四捨五入が命
令によつて指示されているときには四捨五入指示
回路312、定数回路313、演算器307を用
いて四捨五入演算が実行される。演算の結果はレ
ジスタ305から変換回路309に送られ、第3
オペランドの小数点以下の長さに合わせて4桁が
取り出され、結果格納形式に編集されて、結果格
納レジスタ311にセツトされる。 以下に、第2図に示す例題データを用いて、第
3図に示す回路の動作を更に詳細に説明する。 先ず第1オペランドデータがレジスタ301に
読込まれ、その小数点以下長さがスケールレジス
タ302にセツトされる。レジスタ301のデー
タはバス320を介して変換回路303に送られ
る。変換回路303によつて抽出された第1オペ
ランドデータの符号は信号線325を介して、保
持回路308にセツトされる。変換回路303
は、さらにデータのゾーンを取除いてD11,D12
D13,D14の4桁のパツク形式データに変換する。
この変換回路は従来の方法と変わらないため、回
路内部の詳しい説明は省略する。変換されたデー
タはスケールレジスタ302から、バス321を
介して与えられる小数点以下桁数だけシフトされ
て、バス322を介してレジスタ305にセツト
される。レジスタ305は中央に小数点をもつ第
1オペランドデータレジスタであり、第2図の例
では、スケール値2にしたがい、第3図に示すご
とく 00D11D12・D13D1400 とセツトされる。 つぎに第2オペランドデータがレジスタ301
に読み込まれ、その小数点以下長さがスケールレ
ジスタ302に読み込まれる。レジスタ301の
内容はバス320を介して変換回路303に送ら
れ、その符号が信号線325を介してフアンクシ
ヨン回路304にに転送される。フアンクシヨン
回路304は、符号保持回路308から信号線3
26を介して送られる第1オペランドの符号と、
命令のオペレーシヨン部で与えられる加算または
減算の信号と、信号線325を介して送られる第
2オペランドの符号とから、加算、減算のいずれ
かを決定し、保持する。即ち、同符号加算および
異符号減算のとき加算を、異符号加算および同符
号減算のとき減算を保持し、信号線327を介し
て演算器307のA/S端子、定数回路313、
符号反転回路314およびあふれ表示回路315
に印加される。変換回路303は、第1オペラン
ドデータと同様に、スケールレジスタ302より
与えられた桁数だけシフトして、バス322を介
し、レジスタ306に第2オペランドデータをセ
ツトする。第2図の例では、レジスタ306の内
容は、 000D21・D22D23D240 となる。 レジスタ305および306にセツトされたデ
ータは夫々バス323,324を介して演算器に
送られ、端子A/Sに与えられた信号にしたがつ
て加算または減算が行なわれ、バス322を介し
てレジスタ305および306に転送される。演
算の結果、あふれが生じなければ、正しい演算結
果がレジスタ305にセツトされたことになる。
演算の結果あふれが生じたときは、加算と減算の
場合で処理が異なる。演算結果のあふれは第3図
十進加減算器307のOVF信号であり、信号線
330を介して定数発生回路313、あふれ表示
回路315および符号反転回路314に印加され
る。加算の結果あふれが生じた場合にはあふれ表
示回路315にあふれが表示され、演算結果は無
効となる。減算の結果あふれが生じた場合には演
算結果の補数をとるために、以下の動作が実行さ
れる。即ち、定数回路313に信号線327を介
して減算指示信号、信号線330を介してあふれ
信号が与えられると、定数発生回路313はバス
322を介してレジスタ305に零値を与えると
同時に演算器307に減算を指示する。(この指
示方法は図示せず。)演算器307はレジスタ3
05にセツトされた零から、レジスタ306にセ
ツトされた演算結果を減算し、その結果をバス3
22を介してレジスタ305にセツトする。この
結果は前の演算結果の補数となつている。上記同
作に平行して符号反転回路314にも、減算信号
とあふれ信号が送られており、符号を反転すべき
ことを保持する。 上記同作が終了した後、命令で四捨五入が指示
されている場合には、以下の動作が実行される。
即ち、このとき定数回路313には、指示回路3
12から信号線329を介して四捨五入の指示
と、バス321を介して第3オペランドの小数点
以下長さが与えられている。定数回路は小数点以
下長さの1桁右側に値5をセツトし、バス322
を介してその値をレジスタ305にセツトすると
同時に、演算器307に加算を指する。加算結果
はバス322を介してレジスタ305に転送され
る。第2図の例では第3オペランドの小数点以下
長さが2であり、したがつて定数回路313は、 0000.0050 を発生し、前の演算結果に加算が行なわれる。い
ま仮に、同符号の加算が行なわれたとすれば、全
演算は以下のごとくである。
The present invention relates to an arithmetic device for data with a decimal point. Generally, when adding or subtracting data with different lengths after the decimal point, digits are aligned prior to the operation, and furthermore, digits are aligned in accordance with the format of the result storage location when storing the results of the operation. For example, in the method described in Japanese Patent Publication No. 44-18345 ``Automatic decimal point alignment method'', the relative relationship of the decimal point positions of two data to be calculated is checked, and one bit of the data of both data is checked. A method is described in which digits are aligned by repeating a shift operation to the left or right. That is, digit alignment is achieved by repeating shift operations, but this is normally done using other devices before and after the operation, which has the disadvantage of increasing the number of instruction steps. Furthermore, this method of performing digit alignment based on the relative relationship of the decimal point positions of the data has the disadvantage that the digit alignment process cannot be started until the two pieces of data to be calculated are prepared. In addition, the program may specify operations such as rounding off the calculation result, special operations when overflow occurs, operations to insert a blank code into the leading zero part, etc. The number of steps increases. SUMMARY OF THE INVENTION An object of the present invention is to provide a device that automatically performs digit alignment in calculations of data with decimal points. Another object of the present invention is to provide a device that automatically performs digit alignment according to the format of the intended storage location when storing the calculation result of data with a decimal point. Another object of the present invention is to automatically process operations such as rounding according to program specifications, control when overflow occurs, and padding of leading zeros with blank codes when storing calculation results of data with decimal points. The goal is to provide equipment. That is, the present invention provides means for displaying the position of the decimal point for each piece of data in calculations of data with a decimal point, means for determining the operation to be performed according to the result of the calculation, and an accumulator with a decimal point. digit alignment means for loading data into the decimal point accumulator according to the decimal point position given by the decimal point position display means;
a decimal point position given by an arithmetic device that calculates the data whose digits have been aligned by the digit alignment means, and a means for displaying the decimal point position when storing the arithmetic result by the arithmetic device in a result storage location; This is an arithmetic device comprising means for storing the same and means for performing an operation specified by means for specifying an operation to be performed in accordance with the result of the operation. Next, one embodiment of the present invention will be described using the drawings. FIG. 1 represents the format of the instructions and descriptors of the embodiment. The OS (operand syllable) refers to a descriptor, and the descriptor includes the operand address and the length of the data after the decimal point. This example is an instruction that adds the data in the addresses pointed to by OS 1 and OS 2 and stores the result in the address pointed to by OS 3 . The instruction control field is a field that specifies data modification when storing the result of an operation. RND is a bit that instructs rounding, and BWZ (Blank When Zere) is
This bit instructs to fill the leading zero with a blank code. Figure 2 shows an example of the data format, which is a decimal 4-digit zone format. The position of each decimal point is in the descriptor.
Specified by the SCALE field. In the figure, Z represents the zone, D represents the data, S represents the code, and P represents the
Indicates the decimal point position given by SCALE. In the following embodiment, the maximum value of data will be explained as 4 decimal digits. FIG. 3 is a block diagram of the embodiment. Since the circuitry for controlling the data flow can be of a conventional type, only the components and their interrelationships necessary for explaining the present invention are shown for the sake of simplicity. In FIG. 3, data is read into a 4-byte memory read register 301 and the decimal length of the data is read into a scale register 302. The data is converted by the conversion circuit 303 into a form suitable for calculation, and after the code is extracted,
The digits are adjusted according to the contents of the scale register 302. The sign of the first operand is the holding circuit 3
08, and the function determining circuit 304 instructs the arithmetic unit 307 to perform addition or subtraction based on the contents thereof, the sign of the second operand, and the operation signal specified by the instruction. The digit-aligned data is loaded in the order of the first operand and second operand into registers 305 and 306, which have a decimal point in the center of the eight digits, and is loaded into the eight-digit decimal adder/subtractor 30.
7 executes the operation and the results are set in registers 305 and 306. When an overflow occurs as a result of the calculation, it is displayed on the overflow display circuit 315 and the entire calculation ends. If it is necessary to take a complement, the constant circuit 313 and the arithmetic unit 307 are used to perform the complement, and at the same time, the sign-inverted signal holding circuit 314 is set. When rounding is instructed by a command, the rounding instruction circuit 312, constant circuit 313, and arithmetic unit 307 are used to execute the rounding operation. The result of the operation is sent from the register 305 to the conversion circuit 309, and the third
Four digits are taken out according to the length of the operand after the decimal point, edited into a result storage format, and set in the result storage register 311. Below, the operation of the circuit shown in FIG. 3 will be explained in more detail using the example data shown in FIG. First, the first operand data is read into the register 301, and its decimal length is set in the scale register 302. Data in register 301 is sent to conversion circuit 303 via bus 320. The sign of the first operand data extracted by the conversion circuit 303 is set in the holding circuit 308 via the signal line 325. Conversion circuit 303
further removes the zones of data and returns D 11 , D 12 ,
Convert to 4-digit pack format data of D 13 and D 14 .
Since this conversion circuit is the same as the conventional method, a detailed explanation of the inside of the circuit will be omitted. The converted data is shifted from scale register 302 by the number of decimal places given via bus 321 and set into register 305 via bus 322. Register 305 is a first operand data register with a decimal point in the center, and in the example of FIG. 2, it is set to 00D 11 D 12 · D 13 D 14 00 according to the scale value 2 as shown in FIG. 3. Next, the second operand data is in the register 301.
, and its decimal length is read into the scale register 302. The contents of register 301 are sent to conversion circuit 303 via bus 320, and its code is transferred to function circuit 304 via signal line 325. The function circuit 304 is connected to the signal line 3 from the code holding circuit 308.
the sign of the first operand sent via 26;
Either addition or subtraction is determined and held based on the addition or subtraction signal given in the operation part of the instruction and the sign of the second operand sent via the signal line 325. That is, addition is held during addition with the same sign and subtraction with the opposite sign, and subtraction is held during addition with the same sign and subtraction with the same sign.
Sign inversion circuit 314 and overflow display circuit 315
is applied to Similar to the first operand data, the conversion circuit 303 shifts the data by the number of digits given by the scale register 302 and sets the second operand data in the register 306 via the bus 322. In the example of FIG. 2, the contents of register 306 are 000D 21 ·D 22 D 23 D 24 0. The data set in the registers 305 and 306 are sent to the arithmetic unit via buses 323 and 324, respectively, where addition or subtraction is performed according to the signal applied to the terminal A/S, and the data is sent to the register via the bus 322. 305 and 306. If no overflow occurs as a result of the calculation, it means that the correct calculation result has been set in the register 305.
When an overflow occurs as a result of an operation, the processing is different for addition and subtraction. The overflow of the operation result is the OVF signal of the decimal adder/subtractor 307 in FIG. If an overflow occurs as a result of the addition, the overflow is displayed on the overflow display circuit 315, and the calculation result becomes invalid. If an overflow occurs as a result of subtraction, the following operations are performed to complement the operation result. That is, when the constant circuit 313 is given a subtraction instruction signal via the signal line 327 and an overflow signal via the signal line 330, the constant generation circuit 313 gives a zero value to the register 305 via the bus 322, and at the same time 307 to instruct subtraction. (This instruction method is not shown.) The arithmetic unit 307 is the register 3
The operation result set in the register 306 is subtracted from the zero set in the register 306, and the result is transferred to the bus 3.
22 to the register 305. This result is the complement of the previous operation result. In parallel with the above operation, a subtraction signal and an overflow signal are also sent to the sign inversion circuit 314, which holds that the sign should be inverted. After the above-mentioned work is completed, if rounding is instructed by the command, the following operation is executed.
That is, at this time, the constant circuit 313 includes the instruction circuit 3
12, a rounding instruction is given via a signal line 329, and a decimal length of the third operand is given via a bus 321. The constant circuit sets the value 5 one digit to the right of the length after the decimal point, and connects the bus 322.
At the same time, the value is set in the register 305 via the arithmetic unit 307. The addition result is transferred to register 305 via bus 322. In the example of FIG. 2, the length after the decimal point of the third operand is 2, so the constant circuit 313 generates 0000.0050, which is added to the previous operation result. Assuming that additions of the same sign are performed, the entire operation is as follows.

【表】 上記諸動作によつて正しい演算結果がレジスタ
305に蓄えられると、バス323を介して変換
回路309に結果が送られる。変換回路309
は、バス321を介して送られる第3オペランド
小数点以下の長さにしたがつて、有効な4デイジ
ツトのみをシフト動作によつて抽出する。もしこ
こで桁あふれが生じたときには、信号線334を
介してあふれ表示回路315にあふれが表示され
る。符号判定回路310は、信号線328を介し
て与えられる第1オペランドの符号と、信号33
1を介して与えられる符号反転の有無にしたがつ
て、演算結果の符号を判定し信号線332を介し
て変換回路309に符号を指示する。変換回路3
09は、有効な演算結果をゾーン形式に編集し、
バス333を介して結果保持レジスタ311に転
送する。 また、図示していないが、命令でブランクコー
ド詰めが指示されているときには、変換回路30
9はゾーンを発生するかわりに、データの頭の零
の位置にブランクコードを発生してレジスタ31
1にセツトする。 以上、本発明の動作を説明するために、簡単な
例について述べたが、これは単なる一例にすぎ
ず、本発明の範囲を限定するものではない。即
ち、 (1) 本実施例ではデータ長を4デイジツトとし、
形式をゾーンの10進数としたが、小数点付きの
データであればその形式はいかなるものでも適
応できるものであり、例えば言語仕様で許され
る最大桁数の数値について上記実施例に準じた
装置とすることができる。 (2) 本実施例では小数点付アキユミユレータを二
本用いたが、第2オペランド格納用アキユミユ
レータ(実施例レジスタ306)はレジスタで
ある必要はなく、演算器入力ゲートへ直接入力
されてもよい。 (3) 本実施例では演算結果に施す操作として、四
捨五入およびブランクコード詰めを示したが、
この二例に限定されるものではなく、例えば、
桁あふれが生じた際の特別な操作等を組み込む
ことを妨げない。 (4) 本実施例では、デスクリプタを用いて小数点
以下長さを表示したが、これを命令中に含めて
もよい。 (5) 本実施例では小数点付アキユミユレータの小
数点位置を固定したが、演算の際に夫々のデー
タの小数点位置に応じて移動する形式でもよ
い。 以上、実施例によつて本発明を詳細に説明した
が、本発明の装置により、小数データの桁合わせ
処理を、一方のデータが入力された時点で他方の
データの状態とは独立に行うことが可能となり、
パイプライン処理等の並列処理システム向けのコ
ンポーネントとして有効な演算装置が得られる。
[Table] When a correct calculation result is stored in the register 305 through the above operations, the result is sent to the conversion circuit 309 via the bus 323. Conversion circuit 309
extracts only four valid digits by a shift operation according to the third operand decimal length sent via bus 321. If an overflow occurs here, the overflow is displayed on the overflow display circuit 315 via the signal line 334. The sign determination circuit 310 determines the sign of the first operand provided via the signal line 328 and the signal 33.
The sign of the operation result is determined according to the presence or absence of sign inversion given through the signal line 332, and the sign is instructed to the conversion circuit 309 through the signal line 332. Conversion circuit 3
09 edits valid calculation results into zone format,
The result is transferred to the result holding register 311 via the bus 333. Although not shown, when a command instructs blank code filling, the conversion circuit 30
9 generates a blank code at the zero position at the beginning of the data and writes it to the register 31 instead of generating a zone.
Set to 1. Although a simple example has been described above to explain the operation of the present invention, this is just an example and does not limit the scope of the present invention. That is, (1) In this example, the data length is 4 digits,
Although the format is a zoned decimal number, any format can be applied as long as it is data with a decimal point.For example, the device may be configured in accordance with the above example regarding the maximum number of digits allowed by the language specifications. be able to. (2) Although two decimal point accumulators are used in this embodiment, the second operand storage accumulator (embodiment register 306) does not need to be a register, and may be directly input to the arithmetic unit input gate. (3) In this example, rounding and blank code filling are shown as operations performed on the calculation results.
It is not limited to these two examples, for example,
This does not preclude the incorporation of special operations when overflow occurs. (4) In this embodiment, the length below the decimal point is displayed using a descriptor, but it may be included in the instruction. (5) In this embodiment, the decimal point position of the decimal point accumulator is fixed, but it may be moved in accordance with the decimal point position of each data during calculation. The present invention has been described in detail using the embodiments above, but the apparatus of the present invention can perform digit alignment processing of decimal data at the time when one data is input, independently of the state of the other data. becomes possible,
An arithmetic device that is effective as a component for parallel processing systems such as pipeline processing can be obtained.

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

第1図は本発明の実施例における命令形式およ
びデスクリプタの形式を表わす図で、デスクリプ
タのSCALEフイールドはデータの小数点以下の
長さを指定するフイールド、命令の制御フイール
ドは演算結果に応じて施されるべき操作を指定す
るフイールドである。第2図は、本発明の実施例
におけるデータ形式の一例を示す図である。第3
図は、本発明の実施例を示すブロツク図で、30
5および306は小数点付アキユミユレータ、3
03は小数点付きアキユミユレータにデータを正
しくロードするための桁合わせおよびデータ変換
回路、307は演算器、309は演算結果を結果
格納位置に正しくストアするための変換回路、3
13は四捨五入を実施するための定数発生回路で
ある。
FIG. 1 is a diagram showing the instruction format and descriptor format in an embodiment of the present invention. The SCALE field of the descriptor is a field that specifies the length of data after the decimal point, and the control field of the instruction is a field that specifies the length of data after the decimal point. This field specifies the operation to be performed. FIG. 2 is a diagram showing an example of a data format in an embodiment of the present invention. Third
The figure is a block diagram showing an embodiment of the present invention.
5 and 306 are accumulators with decimal point, 3
03 is a digit alignment and data conversion circuit for correctly loading data into an accumulator with a decimal point; 307 is an arithmetic unit; 309 is a conversion circuit for correctly storing calculation results in a result storage position; 3
13 is a constant generation circuit for rounding off.

Claims (1)

【特許請求の範囲】[Claims] 1 小数点付データの演算において、各データ毎
にデータの小数点位置を表示する手段と、演算の
結果に応じて施されるべき操作を指定する手段
と、小数点位置を固定した小数点付アキユミユレ
ータと、該小数点位置を表示する手段によつて与
えられる小数点位置にしたがつてデータの小数点
位置を該小数点付アキユミユレータの小数点位置
に合わせてロードする桁合わせを単一のデータ入
力時に行う手段と、該桁合わせ手段によつて桁合
わせされたデータを演算する演算装置と、該演算
装置による演算結果を結果格納場所にストアする
際に該小数点位置を表示する手段によつて与えら
れる小数点位置に合わせてストアする手段および
該演算の結果に応じて施されるべき操作を指定す
る手段によつて指定される操作を施す手段とを備
え演算の対象となる各データ毎に独立して桁合わ
せ処理を実行する事を特徴とした演算装置。
1. In the operation of data with a decimal point, means for displaying the position of the decimal point for each data, means for specifying the operation to be performed according to the result of the operation, an accumulator with a decimal point that fixes the position of the decimal point, and means for performing digit alignment when inputting a single data, loading the decimal point position of data according to the decimal point position given by the decimal point position displaying means to match the decimal point position of the decimal point accumulator; an arithmetic device that calculates data whose digits have been aligned by means; and a device that stores the arithmetic results of the arithmetic device in accordance with the decimal point position given by the means for displaying the decimal point position when storing the result in a result storage location. and a means for performing an operation specified by the means for specifying an operation to be performed in accordance with the result of the operation, and independently executing digit alignment processing for each piece of data to be subjected to the operation. A computing device featuring:
JP4149576A 1976-04-13 1976-04-13 Operation unit Granted JPS52124834A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4149576A JPS52124834A (en) 1976-04-13 1976-04-13 Operation unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4149576A JPS52124834A (en) 1976-04-13 1976-04-13 Operation unit

Publications (2)

Publication Number Publication Date
JPS52124834A JPS52124834A (en) 1977-10-20
JPS6118219B2 true JPS6118219B2 (en) 1986-05-12

Family

ID=12609927

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4149576A Granted JPS52124834A (en) 1976-04-13 1976-04-13 Operation unit

Country Status (1)

Country Link
JP (1) JPS52124834A (en)

Also Published As

Publication number Publication date
JPS52124834A (en) 1977-10-20

Similar Documents

Publication Publication Date Title
US4172287A (en) General purpose data processing apparatus for processing vector instructions
JPS6028015B2 (en) information processing equipment
US5757685A (en) Data processing system capable of processing long word data
US4677582A (en) Operation processing apparatus
JPS6124729B2 (en)
JPS6118219B2 (en)
JPH0528431B2 (en)
JPS59178544A (en) Memory access circuit
JPH0452488B2 (en)
JPS63111535A (en) Data processor
JP3116444B2 (en) Semiconductor computing equipment and electronic equipment
JPH01255933A (en) Sweeping-out control system
JPS59188900A (en) Data processor
JPH01240961A (en) Dma transfer system
JPS6057603B2 (en) arithmetic processing unit
JPS61138334A (en) Decimal arithmetic processor
JP3523407B2 (en) Information processing equipment
JP2002522822A (en) Circuit device and method for performing data conversion by processor
JPS6250854B2 (en)
JPS63137332A (en) Computer
JPS6146856B2 (en)
JPH04316127A (en) Information processor
JPH037971B2 (en)
JPH02230320A (en) Data processor
JPS5834852B2 (en) Enzanshiyorihoushiki