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
JPS6136653B2 - - Google Patents
[go: Go Back, main page]

JPS6136653B2 - - Google Patents

Info

Publication number
JPS6136653B2
JPS6136653B2 JP56104830A JP10483081A JPS6136653B2 JP S6136653 B2 JPS6136653 B2 JP S6136653B2 JP 56104830 A JP56104830 A JP 56104830A JP 10483081 A JP10483081 A JP 10483081A JP S6136653 B2 JPS6136653 B2 JP S6136653B2
Authority
JP
Japan
Prior art keywords
decimal
shift
bit
bit byte
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
Application number
JP56104830A
Other languages
English (en)
Other versions
JPS585838A (ja
Inventor
Toshio Yagihashi
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 JP56104830A priority Critical patent/JPS585838A/ja
Priority to US06/391,256 priority patent/US4473894A/en
Priority to FR8211663A priority patent/FR2509070A1/fr
Publication of JPS585838A publication Critical patent/JPS585838A/ja
Publication of JPS6136653B2 publication Critical patent/JPS6136653B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/38Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
    • G06F7/48Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
    • G06F7/491Computations with decimal numbers radix 12 or 20.
    • G06F7/4912Adding; Subtracting
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Executing Machine-Instructions (AREA)

Description

【発明の詳細な説明】 本発明は9ビツトバイトの10進パツクデータ処
理装置におけるシフト回路に関する。
従来、パツク形式の2進化10進数(BCD)を
9ビツトバイト形態で扱うデータ処理装置では9
ビツトバイトの最上位ビツトを分離し、第1図の
ように8ビツトバイトのデータフオーマツトへ変
換し、8ビツトバイトデータを入力とする10進演
算器とシフト回路を制御して命令で規定される動
作を行なつた後、8ビツトバイトの演算結果を9
ビツトバイトへ逆変換するように構成されてお
り、演算処理の前後で2サイクルの9ビツト、8
ビツトのデータ変換サイクルがあつた。そのた
め、この種のデータ処理装置では命令実行時間が
必要以上に大きくなり、システム性能が低下する
という欠点があり、また9,8ビツトのデータ変
換器が設けられることから金物増の要因にもなつ
ていた。
本発明の目的は上記9ビツトバイトの10進パツ
クデータ処理装置の命令実行時間の短縮、および
金物量の削減を可能にするシフト回路を提供する
ことにある。
前記目的を達成するため本発明によるシフト回
路はシフトすべき10進数の桁数Nに対してNが偶
数のときN/2×9ビツトのシフトをし、Nが奇数
のときN−1/2×9+5ビツトのシフトを行なう
シフト機能回路と、前記10進数の桁数Nが奇数の
場合に前記シフト機能回路出力の10進数番号が偶
数の10進数桁とこの10進数桁に続く下位1ビツト
の順序を入換え、偶数の場合には前記シフト機能
回路の出力を元のまま出力する編集手段とを含
み、9ビツトバイトのパツク形式の10進数を9ビ
ツトバイトのデータ形態のままでシフトするよう
に構成してある。
前記構成によれば従来に比較し命令実行時間が
短縮でき、金物も減少するデータ処理装置を実現
でき、本発明の目的を完全に達成できる。
以下、図面を参照して本発明をさらに詳しく説
明する。
第2図は本発明の一実施例を示すブロツク図
で、データ処理装置の構成図である。
9ビツトバイトの8バイト幅の第1オペランド
レジスタ1は10進命令の第1オペランドをメモリ
(図示してない)から読出し一時的に格納する。
同様に第1オペランドレジスタを同じ構成の第2
オペランドレジスタ2も第2オペランドをメモリ
から読出し一時的に格納する。8バイト幅の選択
回路3は第1、第2オペランドレジスタのいずれ
か一方の出力を選択し、同様に8バイト幅の選択
回路4も第1、第2オペランドレジスタのいずれ
か一方の出力を選択する。これら選択回路の出力
はそれぞれシフト機能回路5と10進加減算器7に
接続されている。シフト機能回路5は選択回路3
からの出力を左から入力し、一方、選択回路4か
らの出力を右から入力し、0〜71ビツトの任意の
ビツト数を左シフトする。10進加減算器7は選択
回路3,4の8バイトを入力し16桁の10進数加減
算を行なう。この10進加減算器には9ビツトバイ
トの最上位ビツトを除く8ビツトバイト(10進数
2桁)で16桁分の10進数が入力される。また10進
加減算器7の各8ビツトバイトの上位1ビツトに
は0がクロスバスイツチ9で挿入され、9ビツト
バイトへ変換される。選択回路(編集手段)6は
シフト機能回路5で桁数シフトされたデータを奇
数、偶数に応じて編集する。
このデータ置換の態様を第3図に示す。第3図
aはシフト桁数が奇数(本例では3桁分)の場合
でこのようにシフトすると14のように各9ビツト
バイトで最上位ビツトとそれに続く上位桁(4ビ
ツトの10進数)を置換する。また第3図bはシフ
ト桁数が偶数(本例では2桁分)の場合で、この
ときはシフト機能回路の9ビツトバイト出力を元
のまま出力する。書込レジスタ8は演算結果をセ
ツトしメモリへ格納する。選択回路10はメモリ
から信号線100を経由して送られてくる読出デ
ータ信号とクロスバスイツチ9の出力とを切替え
る。この選択回路の出力は4ワード×72ビツトの
オペランドバツフア11へ格納される。オペラン
ドバツフア11から読出される72ビツト幅のオペ
ランドはクロスバスイツチ9へ入力される。クロ
スバスイツチ9はオペランドバツフア11、選択
回路6,10進加減算器7の夫々の出力を切替えて
第1出力を選択回路10へ、第2出力を第1オペ
ランドレジスタ1へ、第3出力を第2オペランド
レジスタ2へセツトする。演算制御回路12は以
上の10進演算をマイクロプログラムで制御する。
次に本発明の動作を従来技術の装置と比較す
る。従来の9ビツトバイトに2桁分の10進数を含
む10進データの演算制御は次の3段階に分かれて
いる。
8ビツトバイトへのデータ変換 これは9ビツトバイトを8ビツトバイトへ第
4図のようにデータ変換する。
命令での規定演算 10進加減算等の演算実行である。
9ビツトバイトへの逆変換 の逆変換で、9ビツトバイトの最上位ビツ
トには0を挿入する。
これに対して本発明では上述のようにとの変
換、逆変換サイクルを経由せず9ビツトバイトの
データフオーマツトのままで演算処理を実行して
いる。すなわち10進加減算器7では9ビツトバイ
トの最上位ビツトを除いて10進加減算を行ない、
シフト機能回路5でのシフト桁数が奇数の場合、
選択回路6では、偶数番目の10進数桁と10進数桁
の下位に続く1ビツトを入換えるようにしてあ
る。これにより変換しない分だけ10進演算命令の
実行時間を短縮でき、9ビツトバイト、8ビツト
バイトの変換、逆変換回路を設けないことにより
金物量を削減できる。
本発明よるシフト回路は以上説明したように9
ビツトバイトから8ビツトバイトへの変換回路を
設けず、9ビツトバイトの10進データ形態でシフ
ト機能を実現できるので、データ処理装置の命令
実行時間を短縮し、システム性能を向上させるこ
とができる。
【図面の簡単な説明】
第1図は9ビツトバイトと8ビツトバイトのデ
ータフオーマツトを示す図、第2図は本発明によ
るシフト回路によつて構成したデータ処理装置の
一実施例を示すブロツク図、第3図はシフト回路
のデータ置換の態様を示す図で、同図aはシフト
桁数が奇数の場合、同図bはシフト桁数が偶数の
場合を示している。第4図は9ビツトバイトから
8ビツトバイトへの変換を示す図である。 1…第1オペランドレジスタ、2…第2オペラ
ンドレジスタ、3,4…選択回路、5…シフト機
能回路、6…選択回路(編集手段)、7…10進加
減算器、8…演算結果レジスタ、9…クロスバス
イツチ、10…選択回路、11…オペランドバツ
フア、12…10進演算制御回路、100…読出デ
ータ信号線、101…書込データ信号線。

Claims (1)

    【特許請求の範囲】
  1. 1 シフトすべき10進数の桁数Nに対してNが偶
    数のときN/2×9ビツトのシフトをし、Nが奇数
    のときN−1/2×9+5ビツトのシフトを行なう
    シフト機能回路と、前進10進数の桁数Nが奇数の
    場合に前記シフト機能回路出力の10進数番号が偶
    数の10進数桁とこの10進数桁に続く下位1ビツト
    の順序を入換え、偶数の場合には前記シフト機能
    回路の出力を元のまま出力する編集手段とを含
    み、9ビツトバイトのバツク形式の10進数を9ビ
    ツトバイトのデータ形態のままでシフトするよう
    に構成したことを特徴とするシフト回路。
JP56104830A 1981-07-03 1981-07-03 シフト回路 Granted JPS585838A (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP56104830A JPS585838A (ja) 1981-07-03 1981-07-03 シフト回路
US06/391,256 US4473894A (en) 1981-07-03 1982-06-23 Shift circuit which need no transformation between nine-bit-byte and eight-bit-byte data
FR8211663A FR2509070A1 (fr) 1981-07-03 1982-07-02 Circuit de decalage ne necessitant aucune transformation entre des donnees a multiplets a neuf bits et des donnees a multiplets a huit bits

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56104830A JPS585838A (ja) 1981-07-03 1981-07-03 シフト回路

Publications (2)

Publication Number Publication Date
JPS585838A JPS585838A (ja) 1983-01-13
JPS6136653B2 true JPS6136653B2 (ja) 1986-08-19

Family

ID=14391288

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56104830A Granted JPS585838A (ja) 1981-07-03 1981-07-03 シフト回路

Country Status (3)

Country Link
US (1) US4473894A (ja)
JP (1) JPS585838A (ja)
FR (1) FR2509070A1 (ja)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0831276B2 (ja) * 1990-06-15 1996-03-27 松下電器産業株式会社 半導体メモリ
US5394450A (en) * 1993-04-13 1995-02-28 Waferscale Integration, Inc. Circuit for performing arithmetic operations

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3581285A (en) * 1968-11-20 1971-05-25 Honeywell Inc Keyboard to memory peripheral device
US4141005A (en) * 1976-11-11 1979-02-20 International Business Machines Corporation Data format converting apparatus for use in a digital data processor
JPS5694589A (en) * 1979-12-27 1981-07-31 Nec Corp Memory device

Also Published As

Publication number Publication date
JPS585838A (ja) 1983-01-13
FR2509070B1 (ja) 1984-06-08
FR2509070A1 (fr) 1983-01-07
US4473894A (en) 1984-09-25

Similar Documents

Publication Publication Date Title
JPH0644714B2 (ja) コ−ド変換装置
JPS6136653B2 (ja)
JPH03135627A (ja) ファジイ演算装置
US5148161A (en) Digital signal processor for fixed and floating point data
US3937941A (en) Method and apparatus for packed BCD sign arithmetic employing a two's complement binary adder
JP3850512B2 (ja) リードソロモン復号装置
JPH01314023A (ja) ディジタル信号処理回路
JPS63276923A (ja) ガロア体演算器
JPH03228434A (ja) 符号変換回路
US4141077A (en) Method for dividing two numbers and device for effecting same
JPH04195423A (ja) 乗算器
JP2928027B2 (ja) 十進二進変換回路
JPH04263317A (ja) 演算装置
JPH0381175B2 (ja)
JP2830075B2 (ja) 2進10進変換装置
JPH0243816A (ja) 伸張回路
JP3193830B2 (ja) 演算回路
JPS59168543A (ja) 2進−10進変換回路
JP3104569B2 (ja) 除算回路
JPS6222144A (ja) 10進演算回路
JPS61105123A (ja) 誤り訂正符号の復号演算回路
JPH0584931B2 (ja)
JPS62253228A (ja) パリテイあるいはシンドロ−ム生成回路
JPS58119046A (ja) 加減算器
JPS6148177B2 (ja)