JPS5835660A - Microprocessor - Google Patents

Microprocessor

Info

Publication number
JPS5835660A
JPS5835660A JP56133623A JP13362381A JPS5835660A JP S5835660 A JPS5835660 A JP S5835660A JP 56133623 A JP56133623 A JP 56133623A JP 13362381 A JP13362381 A JP 13362381A JP S5835660 A JPS5835660 A JP S5835660A
Authority
JP
Japan
Prior art keywords
circuits
circuit
microinstruction
arithmetic
carry
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
JP56133623A
Other languages
Japanese (ja)
Inventor
Yoshinobu Ikeda
池田 義伸
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
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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP56133623A priority Critical patent/JPS5835660A/en
Publication of JPS5835660A publication Critical patent/JPS5835660A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/78Architectures of general purpose stored program computers comprising a single central processing unit
    • G06F15/7896Modular architectures, e.g. assembled from a number of identical packages
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2207/00Indexing scheme relating to methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F2207/38Indexing scheme relating to groups G06F7/38 - G06F7/575
    • G06F2207/3804Details
    • G06F2207/3808Details concerning the type of numbers or the way they are handled
    • G06F2207/3828Multigauge devices, i.e. capable of handling packed numbers without unpacking them

Abstract

PURPOSE:To make a microprocessor operate as a processor for two sets of data independent of each other or a processor for single data having the double bit length through it is the one-chip processor, by providing a carry switching circuit and a micro instruction converting circuit. CONSTITUTION:The micro instruction given from the external is stored in a micro instruction register 1. When contents of this register 1 are two micro instructions independent of each other, upper bits and lower bits are given to controlling circuits 4 and 5 respectively through a micro instruction converting circuit 2 by a switching signal. Respective control signals generated in circuits 4 and 5 are given to an operating circuit 6 as well as a sequencer 13 and an operating circuit 9 as well as a sequencer 11 respectively. In this case, carry switching circuits 12 and 20 are closed, and circuits 5 and 9 and sequencers 13 and 11 are operated independently of each other respectively. When contents of the register 1 are a single micro instruction, it is converted in the circuit 2 and is sent to circuits 4 and 5. Circuits 12 and 20 are opened, and circuits 5 and 9 and sequencers 13 and 11 are operated as one body respectively.

Description

【発明の詳細な説明】 本発明は1チツプ形のマイクロプロセッサに関する。特
に、大きいビット幅の信号を処理することができるよう
に構成されたマイクロプロセッサが、小さいビット幅の
信号処理にも使用できるように構成する改良に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a single-chip microprocessor. In particular, the present invention relates to an improvement in which a microprocessor configured to process signals with a large bit width can also be used to process signals with a small bit width.

集積回路技術の進歩に伴って、マイクロプロセッサの処
理可能なビット数は4ビツトから、8ビツトま友は16
ビツトと拡大されてきた。近年は62ビツトのものも計
画されている。これらの処理可能なビット数が増加して
ゆくと、処理の内容によっては従来の少ないビット数の
方が都合がよいものも出てくる。特にマイクロプロセッ
サL8Iを1個の商品として見ると大きいビット幅の処
理ができるものの需要はそれほど増加せず、ビット幅の
大きいマイクロプロセッサを開発しても、必ずしも販売
数量の、増加あるいは価格の低下に結びつかないことに
なる。
As integrated circuit technology advances, the number of bits that microprocessors can process has increased from 4 bits to 8 bits and 16 bits.
It has been expanded by bits. In recent years, a 62-bit version is also being planned. As the number of bits that can be processed increases, depending on the processing content, it may be more convenient to use a smaller number of bits. In particular, when looking at the microprocessor L8I as a single product, although it can process large bit widths, demand has not increased significantly, and even if a microprocessor with a large bit width is developed, it will not necessarily lead to an increase in sales volume or a decrease in price. It will not be connected.

本発明は、1チツプ形のマイクロプロセッサでちゃなか
ら、独立した2組のデータ処理装置あるいは2倍のビッ
ト長の単一データ処理装置として動作させることができ
る装置を提供することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a device that can operate as two sets of independent data processing devices or a single data processing device with double bit length from a single-chip microprocessor. .

本発明は、マイクロプロセッサの外部から与える切替信
号によυマイクロ命令変換回路を制御して、ビット幅の
大きいものと小さいものとのいずれKも使用できる装置
を提供する。すなわち、マイクロ命令が2組の独立した
命令である場合は、2組のマイクロ命令制御回路で独立
の制御信号を発生させ、かつ2組の演算回路と対応する
2組のシーケンサを独立に動作させる。一方マイクロ命
令が2倍のビット幅の単独の命令の場合には、2組のマ
イクロ命令制御回路で単独のマイクロ命令を制御するた
めの制御信号を発生させ、かつ前記切替信号にて2組の
演算回路と2組のシーケンサとが下位ビットと上位ビッ
トとでキャリーの伝播が行われるよううにする。これに
より、同一チップのマイクロプロセッサで2組の独立し
たデータ処理を行うことができ、あるいは2倍のビット
幅をもつデータ処理を行うことができる。また、必要な
らば2組の内のどちらか一方だけでデータ処理を行うこ
ともできる。
The present invention provides a device that can use either a large bit width or a small bit width K by controlling the υ microinstruction conversion circuit by a switching signal applied from outside the microprocessor. That is, if the microinstructions are two sets of independent instructions, the two sets of microinstruction control circuits generate independent control signals, and the two sets of arithmetic circuits and the corresponding two sequencers operate independently. . On the other hand, if the microinstruction is a single instruction with twice the bit width, two sets of microinstruction control circuits generate control signals for controlling the single microinstruction, and the switching signal is used to control the two sets of microinstruction control circuits. An arithmetic circuit and two sets of sequencers allow carry propagation between lower bits and upper bits. This allows the microprocessor on the same chip to process two sets of independent data, or to process data with twice the bit width. Furthermore, if necessary, data processing can be performed using only one of the two sets.

本発明のマイクロプロセッサ社演算回路2組とこの演算
回路2組を単独の2倍のビット幅の演算回路として動作
させる場合のキャリー切替回路と、シーケンサ2組と、
このシーケンサ2組を単独のシーケンサとして動作させ
る場合のキャリー切替回路と、マイクロ命令レジスタと
、マイクロ命令変換回路と、マイクロ命令制御回路2組
とを同一のL8エチツブ上に有するマイクロプロセッサ
でらって、このマイクロプロセッサを単独のデータ処理
装置として動作させる場合は、このマイクロプロセッサ
外部からの切替信号により、前記マイクロ命令レジスタ
の内容を前記マイクロ命令変換回路を通して前記2組の
マイクロ命令制御回路に転送し、このマイクロプロセッ
サを単独のデータ処理装置として制御し、かつ前記切替
信号にて前記演算回路のキャリー切替回路および前記シ
ーケンサのキャリー切替回路を制御し、前ff12組の
演算回路および前記2組のシーケンサを連結させること
により、前記2組の演算回路と前記2組の7−ケンナが
各々単独の2倍のビット幅の演算回路と単独の2倍のビ
ット幅のシーケンサとなるようにし、一方このマイクロ
プロセッサを独立の2組のデータ処理装置として動作さ
せる場合は、前記切替信号により前記マイクロ命令レジ
スタの内容を前記マイクロ命令変換回路を通して独立の
2組のマイクロ命令として前記2組のマイクロ命令制御
回路に転送することにより、独立の制御信号を出し、か
つ前記切替信号により前記演算回路のキャリー切替回路
および前記シーケンサのキャリ−切替回路を制御し、前
記演算回路2組と前記シーケンサ2組を各々対応するよ
うに独立に動作させ、各々独立の2組のデータ処理機能
と単独の2倍のビット幅のデータ処理機能を有すること
を特徴とする。
Two sets of Microprocessor arithmetic circuits of the present invention, a carry switching circuit for operating the two sets of arithmetic circuits as a single double bit width arithmetic circuit, and two sets of sequencers;
A microprocessor that has a carry switching circuit, a microinstruction register, a microinstruction conversion circuit, and two sets of microinstruction control circuits on the same L8 chip is used to operate these two sequencers as a single sequencer. , when this microprocessor is operated as an independent data processing device, the contents of the microinstruction register are transferred to the two sets of microinstruction control circuits through the microinstruction conversion circuit in response to a switching signal from outside the microprocessor. , the microprocessor is controlled as a single data processing device, and the carry switching circuit of the arithmetic circuit and the carry switching circuit of the sequencer are controlled by the switching signal, By connecting the two sets of arithmetic circuits and the two sets of 7-kennas, each becomes a single arithmetic circuit with twice the bit width and a single sequencer with double bit width. When the processor operates as two independent sets of data processing devices, the switching signal causes the contents of the microinstruction register to be passed through the microinstruction conversion circuit to the two sets of microinstruction control circuits as two independent sets of microinstructions. By transferring, an independent control signal is issued, and the switching signal controls the carry switching circuit of the arithmetic circuit and the carry switching circuit of the sequencer, so that the two sets of arithmetic circuits and the two sets of sequencers correspond to each other. It is characterized by having two sets of independent data processing functions and a single data processing function with twice the bit width.

以下、図面を参照しながら詳しく説明する。A detailed description will be given below with reference to the drawings.

第1図に本発明の第一実施例のブロック図を示す。外部
のメモリから与えられたマイクロ命令は、32ビツトの
マイクロ命令レジスタ(以後「MxR」という。)1に
その命令の実行が終了する壕で記憶される。このMxR
1にマイクロ命令がセットされると、MxR1のデータ
はマイクロ命令変換回路2に送られる。このマイクロ命
令変換回路2は本発明の中心をなす回路である。
FIG. 1 shows a block diagram of a first embodiment of the present invention. A microinstruction given from an external memory is stored in a 32-bit microinstruction register (hereinafter referred to as "MxR") 1 at the end of execution of the instruction. This MxR
When the microinstruction is set to 1, the data of MxR1 is sent to the microinstruction conversion circuit 2. This microinstruction conversion circuit 2 is a circuit that forms the core of the present invention.

このMxR1の内容が独立した2組のマイクロ命令であ
る場合は、L8エチツプ外部からの切替信号によりマイ
クロ命令変換回路2を通じて、32ビツトの命令のうち
第O〜15番目のビットは制御回路4に入る。ここで作
られた制御信号は16ビツトの演算回路@、256ワー
ド×16ビツトのレジスタメモリ7およびシーケンサ8
等、このマイクロプロセッサの半分を制御する。このM
XRlの第16〜32番目のビットは制御回路5に入り
、16ヒツトの演算回路9.256ワード×16ビツト
のレジスタメモリ10およびシーケンサ11等、このマ
イクロプロセッサのもう一方の半分を制御する。このM
工R1の内容が単独のマイクロ命令の場合には、電工R
1の第0〜31番目のビットはマイクロ命令変換回路2
で変換して、制御回路4および5に送られる。それぞれ
制御回路4および50制御信号は、前記と同様にこのマ
イクロプロセッサの半分ずつを制御する。この場合には
、制御回路4および5の制御信号は同一のビット幅の大
きいマイクロ命令を実行させる。
If the contents of MxR1 are two independent sets of microinstructions, the Oth to 15th bits of the 32-bit instruction are transferred to the control circuit 4 through the microinstruction conversion circuit 2 by a switching signal from outside the L8 chip. enter. The control signals generated here are used by a 16-bit arithmetic circuit @, a 256-word x 16-bit register memory 7, and a sequencer 8.
etc., which controls half of this microprocessor. This M
The 16th to 32nd bits of XRl enter a control circuit 5 which controls the other half of the microprocessor, including a 16-bit arithmetic circuit, a 256-word by 16-bit register memory 10, and a sequencer 11. This M
If the content of electrician R1 is a single microinstruction, electrician R
The 0th to 31st bits of 1 are microinstruction conversion circuit 2
is converted and sent to control circuits 4 and 5. Control circuits 4 and 50 control signals respectively control each half of this microprocessor as before. In this case, the control signals of control circuits 4 and 5 cause the same large-bit-width microinstruction to be executed.

次に本!イクロプロセッサの動作について第2図および
第3図を用いて駅間する。第2図はマイクロ命令のフォ
ーマットの一例である。第2図上段の命令は32ビツト
の演算命令で、このうち8ビツトのレジスタメモリアド
レスRAの内容と、16ビツトの定数Cとを4ビツトの
演算モードMの指示に従って演算し、その結果をレジス
タメモリアドレスRムに書込む。定数Cは演算回路6の
下位16ビツトに入力され、上位16ビツトには「0」
が挿入される。
Next is the book! The operation of the microprocessor will be explained using Figures 2 and 3. FIG. 2 is an example of the format of a microinstruction. The instruction in the upper part of FIG. 2 is a 32-bit arithmetic instruction, which calculates the contents of the 8-bit register memory address RA and the 16-bit constant C according to the instruction of the 4-bit arithmetic mode M, and stores the result in the register. Write to memory address Rm. The constant C is input to the lower 16 bits of the arithmetic circuit 6, and the upper 16 bits are "0".
is inserted.

第2図下段のマイクロ命令は2組の独立した16ビツト
のマイクロ命令からなり、4ビツトのレジスタメモリア
ドレスRム1の内容と4ビツトの定数01とを4ビツト
の演算モードM1の指示に従って演算し、その結果をレ
ジスタメモリアドレスRA1に書込む。t+同時に4ビ
ツトのレジスタメモリアドレスRム2の内容と4ピツF
の定数02とを4ビツトの演算モードM2の指示に従っ
て演算し、その結果をレジスタメモリアドレスRム2に
書込むように使用される。定数01および02はそれぞ
れ演算回路6.9の下位4ビツトに入力され、上位12
ビツトには「0」が挿入される。
The microinstruction shown in the lower part of Figure 2 consists of two sets of independent 16-bit microinstructions, and calculates the contents of the 4-bit register memory address Rm1 and the 4-bit constant 01 according to the instructions of the 4-bit operation mode M1. and writes the result to register memory address RA1. t + contents of 4-bit register memory address Rm2 and 4-bit F at the same time
It is used to calculate constant 02 in accordance with the instruction of 4-bit calculation mode M2 and write the result to register memory address Rm2. Constants 01 and 02 are each input to the lower 4 bits of the arithmetic circuit 6.9, and the upper 12
A "0" is inserted into the bit.

第2図の例では、レジスタメモリ7およびレジスタメモ
リ10の容量として8ビツトのアドレス空間を持つが、
第2図下段のマイクロ命令の場合には、下位4ビツトの
アドレスのみが使用される。
In the example shown in FIG. 2, the capacity of register memory 7 and register memory 10 is 8 bits of address space.
In the case of the microinstruction shown in the lower part of FIG. 2, only the lower 4 bits of the address are used.

第3図は第2図の上段のマイクロ命令がMIRIK4フ
トされた場合と、下段のマイクロ命令がセットされた場
合との切替を行うマイクロ命令変換回路2の詳細図であ
る。
FIG. 3 is a detailed diagram of the microinstruction conversion circuit 2 that performs switching between the case where the microinstruction in the upper row of FIG. 2 is MIRIK4-ft and the case where the microinstruction in the lower row is set.

第2図下段のようなマイクロ命令で、切替信号が独立し
た2組の演算を指定している場合には、マイクロ命令の
識別コードであるファンクションコードν1はそのまま
制御回路4に入り、デコードされて制御回路4の内容の
制御信号として使用される。ファンクションコードIP
2はマルチプレクサ(以後rMpxJという。)33を
通して制御回路5に入に、同様に制御回路5の内部で使
用される。レジスタメモリアドレスRA1およびRム2
はそれぞれM P X 30および34を通して上位4
ビツトを全て「0」とし、合せて8ビツトのアドレスと
なって制御回路4および5に送られ、そのままレジスタ
メモリ7および10のアドレスとなる。レジスタメモリ
7およびlOの16ビツトのデータは演算回路6および
9に入力され、演算の対象になる。
When the switching signal specifies two independent sets of operations in a microinstruction as shown in the lower part of Figure 2, the function code ν1, which is the identification code of the microinstruction, enters the control circuit 4 as is and is decoded. It is used as a control signal for the contents of the control circuit 4. Function code IP
2 enters the control circuit 5 through a multiplexer (hereinafter referred to as rMpxJ) 33, and is similarly used within the control circuit 5. Register memory address RA1 and RM2
are the top 4 through M P X 30 and 34 respectively
All the bits are set to "0", and the total becomes an 8-bit address, which is sent to the control circuits 4 and 5, and becomes the address of the register memories 7 and 10 as it is. The 16-bit data in register memory 7 and IO is input to arithmetic circuits 6 and 9 and becomes the subject of arithmetic operations.

演算モードM1およびM2は、それぞれMPX31およ
び35を通して、制御回路4および5に送られて演算モ
ードを決定し、演算回路6および9の演算を指示する。
The calculation modes M1 and M2 are sent to the control circuits 4 and 5 through the MPXs 31 and 35, respectively, to determine the calculation mode and instruct the calculation circuits 6 and 9 to perform calculations.

定数01および02は、それぞれM P X 32およ
び36の下位4ビツトに入り、上位12ビツトには全て
「0」が挿入される。制御回路4および5に渡されり1
6ビツトの定数は、そのまま演算回路6および9に送ら
れ演算の対象となる。
Constants 01 and 02 are entered into the lower 4 bits of M P X 32 and 36, respectively, and all "0" are inserted into the upper 12 bits. Passed to control circuits 4 and 5 1
The 6-bit constant is sent as is to arithmetic circuits 6 and 9 to be subjected to arithmetic operations.

演算回路6および9のキャリー人力は、それぞれ制御回
路4および5から演算モードと共に入力され、キャリー
切替回路12は切替信号にて閉じた状態であり、演算回
路9から演算回路6へのキャリーの伝播は起らない。以
上のようにして演算が行われてその演算結果は読出時と
同一のレジスタメモリアドレスに書込まれる。
The carry power of the arithmetic circuits 6 and 9 is input together with the arithmetic mode from the control circuits 4 and 5, respectively, and the carry switching circuit 12 is in a closed state by the switching signal, and the carry is not propagated from the arithmetic circuit 9 to the arithmetic circuit 6. doesn't happen. The arithmetic operation is performed as described above, and the result of the arithmetic operation is written to the same register memory address at the time of reading.

次K、第2図上段のマイクロ命令で切替信号が32ビツ
トの単独の演算を指定している場合について説明する。
Next, the case where the switching signal specifies a single 32-bit operation in the microinstruction shown in the upper part of FIG. 2 will be explained.

ファンクションコードνはそのまま制御回路4に入シ、
同時にM P X 33を通して制御回路5にも入る。
The function code ν is input directly to the control circuit 4,
At the same time, it also enters the control circuit 5 through the M PX 33.

これらは共にデコードされ、演算回路6および9が同一
のマイクロ命令を実行するように制御回路内で使用され
る。次に8ビツトのレジスタメモリアドレスRAtiM
PX30および34を通して制御回路4および5に送ら
れ、同一アドレスの16ビツトのデータをレジスタメモ
リ7および10から読出し、演算回路6および9に入力
して演算の対象とする。演算モードMはMP!31シよ
び35を通して制御回路4および5に送られ、演算回路
6および9に同一の演算を行うように指示する。
These are decoded together and used within the control circuit so that arithmetic circuits 6 and 9 execute the same microinstruction. Next, the 8-bit register memory address RAtiM
The data is sent to control circuits 4 and 5 through PXs 30 and 34, and 16-bit data at the same address is read from register memories 7 and 10, and input to arithmetic circuits 6 and 9 to be subjected to arithmetic operations. Calculation mode M is MP! The signal is sent to the control circuits 4 and 5 through 31 and 35, and instructs the calculation circuits 6 and 9 to perform the same calculation.

16ビツトの定数Cは、MPX35を通して制御回路5
へ送られ、そのまま16ビツトのデータとして演算回路
9へ入力され演算の対象となる。制御回路4にはM P
 X 32より全て「0」の16ビツトのデータが送ら
れ、演算回路6の演算の対象となる。演算回路9の演算
でのキャリー出力はキャリー切替回路12を通して、上
位の演算回路6ヘキヤリ一人力として送られる。演X回
路6では前記キャリー人力を加えて演算が行われる。演
算回路9のキャリー人力は、演算モードMと共に制御回
路5より入力される。
The 16-bit constant C is sent to the control circuit 5 through the MPX35.
The data is sent to the arithmetic circuit 9 as 16-bit data and is subjected to arithmetic operations. The control circuit 4 has MP
16-bit data of all "0" is sent from the X 32 and becomes the subject of calculation by the calculation circuit 6. The carry output from the arithmetic operation of the arithmetic circuit 9 is sent through the carry switching circuit 12 to the upper arithmetic circuit 6 as a carry output. In the calculation X circuit 6, calculation is performed by adding the carry human power. The carry power of the arithmetic circuit 9 is inputted from the control circuit 5 together with the arithmetic mode M.

以上のようにして演算が行われ、演算回路6および9の
演算結果はそれぞれレジスタメモリ7および10の続出
時と同一のアドレスに書込まれる。
The calculations are performed as described above, and the calculation results of calculation circuits 6 and 9 are written to the same addresses in register memories 7 and 10, respectively, as in the subsequent writing.

ここで演算回路6および9の詳しい動作は、本発明に直
接関係ないので説明を省略する。
Here, the detailed operation of the arithmetic circuits 6 and 9 is not directly related to the present invention, so a description thereof will be omitted.

次にシーケンサについて説明する。シーケンサ13は制
御回路4に、シーケンサ11は制御回路5にそれぞれ制
御される。インクリメンタ14および15はマイクロ命
令のアドレスを「1」ずつ加算カウントする回路で、通
常はマイクロ命令アドレスレジスタ18および19の内
容をインクリメンタ14および15で「1」だけ加算し
、それぞれMP X 16および17を通して、前のマ
イクロ命令の実行が終了した時点で再びiイクロ命令ア
ドレスレジスタ18および19に書込み次の命令の7エ
ツチを行う。
Next, the sequencer will be explained. The sequencer 13 is controlled by the control circuit 4, and the sequencer 11 is controlled by the control circuit 5. The incrementers 14 and 15 are circuits that add and count the address of the microinstruction by "1", and normally the contents of the microinstruction address registers 18 and 19 are incremented by "1" by the incrementers 14 and 15. and 17, when the execution of the previous microinstruction is completed, the i microinstruction address registers 18 and 19 are written again and the next instruction is etched.

ブランチ系のマイクロ命令がM工R1にセットされた場
合には、制御回路4および5の指示に従い演算回路6お
よび9で演算した結果をそれぞれM P X 16およ
び17を通して、マイクロ命令アドレスレジスタ18お
よび19に書込み、ブランチ先のマイクロ命令のフェッ
チを行う1、このマイクロプロセッサが16ビツトの独
立した2組のマイクロ命令を7エツチする場合には、切
替信号によってインクリメンタ14のキャリー人力には
キャリー切替回路20を通して「0」が入力され、シー
ケンサ11と13は別々に動作する、32ビツトの単独
のマイクロ命令をフェッチする場合には、インクリメン
タ14のキャリー人力はキャリー切替回路20を切替信
号で切替えることにより、インクリメンタ15のキャリ
ー出力を結合され、キャリーが伝播するようになり、シ
ーケンサ11と13は1つの32ビツトのシーケンサと
して動作する。
When a branch-related microinstruction is set in M R1, the results of calculations in arithmetic circuits 6 and 9 are sent to the microinstruction address registers 18 and 17 through MPX 16 and 17, respectively, according to instructions from control circuits 4 and 5. When this microprocessor fetches two sets of 16-bit independent microinstructions, the incrementer 14's carry input is switched by the switching signal. When fetching a single 32-bit microinstruction in which "0" is input through the circuit 20 and the sequencers 11 and 13 operate separately, the carry power of the incrementer 14 switches the carry switching circuit 20 with a switching signal. As a result, the carry outputs of the incrementer 15 are combined, the carry is propagated, and the sequencers 11 and 13 operate as one 32-bit sequencer.

以上説明したように本発明によれば、キャリー切替回路
とマイクロ命令変換回路を設けることにより、1チツプ
のマイクロプロセッサでありながら、これを独立した2
組のデータ処理装置または2倍のビット長の単一のデー
タ処理装置として使用することができる。1+同一チツ
ブで、2種のピット長のマイクロプロセッサとしても使
用することができる。し九がって、本発明のマイクロプ
ロセッサLB工は、ビット幅の大きい処理に対する要望
にも応じられるとともに、需要の大きい短いビット幅の
処理にも利用できるので、量産することがアき、低価格
の商品として提供することができる。短いビット幅の処
jlK利用する場合には、並列処理を行い、その信頼性
を向上させるような使い方もできる。
As explained above, according to the present invention, by providing a carry switching circuit and a microinstruction conversion circuit, although it is a single-chip microprocessor, it can be used as an independent two-chip microprocessor.
It can be used as a set of data processors or as a single double bit length data processor. 1+ The same chip can also be used as a microprocessor with two types of pit lengths. Therefore, the microprocessor LB of the present invention can meet the demand for processing with a large bit width, and can also be used for processing with a short bit width, which is in high demand. It can be offered as a price product. When using short bit width processing, parallel processing can be performed to improve its reliability.

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

第1図は本発明の一実施例装置構成を示すブロック図。 第2図はマイクロ命令フォーマットの一1jl t 示
す図。 第3図は第2図に示すマイクロ命令を実行するときのマ
イクロ命令変換回路の詳細図。 1・・・マイクロ命令レジスタ(M工i)、z−マイク
ロ命令変換回路、4.5・−マイクロ命令制御回路、6
.9・・・演算回路、11.13・・・シーケンサ、1
2.20−・キャリー切替回路。 特許出願人 日本電気株式会社 代理人 弁理士弁 出 直 孝 兇 1 図
FIG. 1 is a block diagram showing the configuration of an apparatus according to an embodiment of the present invention. FIG. 2 is a diagram showing a microinstruction format. FIG. 3 is a detailed diagram of the microinstruction conversion circuit when executing the microinstruction shown in FIG. 2. 1... Microinstruction register (M engineering i), z-microinstruction conversion circuit, 4.5 - microinstruction control circuit, 6
.. 9...Arithmetic circuit, 11.13...Sequencer, 1
2.20--Carry switching circuit. Patent Applicant NEC Corporation Representative Patent Attorney Takamasa Izu 1 Figure

Claims (1)

【特許請求の範囲】[Claims] (1)少なくとも論理演算と算術演算とシフト演算とを
実行することのできる2個の演算回路と、この2個の演
算回路の一方から他方へのキャリー信号を開閉する第一
のキャリー切替回路と、マイクロ命令のアドレスを定め
る2組のシーケンサと、この2組のシーケンサの一方か
ら他方へのキャリー信号を前記第一のキャリー切替回路
と連動して開閉する第二のキャリー切替回路と、与えら
れるマイクロ命令を一時蓄積するマイクロ命令レジスタ
(MIR)と、このレジスタのa’、力に接続されたマ
イクロ命令変換回路と、このマイクロ命令変換回路の出
力の上位ビットと下位ビットとをそれぞれの入力として
前記2個の演算回路に制御信号を与える2個のマイクロ
命令制御回路とを同一のチップ上に備え、 前記第一および第二のキャリー切替回路を閉じて前記2
個の演算回路および前記2組のシーケンサが長いビット
幅の信号処理を行うモードと、前記第一および第二のキ
ャリー切替回路を開いて前記2個の演算回路および前記
2組のシーケンサが短いビット幅の信号処理をそれぞれ
独立に行うモードとに切替えて利用できるように構成さ
れたことを特徴とするマイクロプロセッサ。
(1) Two arithmetic circuits capable of executing at least a logical operation, an arithmetic operation, and a shift operation, and a first carry switching circuit that opens and closes a carry signal from one of these two arithmetic circuits to the other. , two sets of sequencers that determine the address of the microinstruction, and a second carry switching circuit that opens and closes a carry signal from one of the two sequencers to the other in conjunction with the first carry switching circuit. A micro-instruction register (MIR) that temporarily stores micro-instructions, a micro-instruction conversion circuit connected to the register a', and the upper and lower bits of the output of this micro-instruction conversion circuit as inputs, respectively. two microinstruction control circuits that provide control signals to the two arithmetic circuits are provided on the same chip; the first and second carry switching circuits are closed;
A mode in which the two arithmetic circuits and the two sequencers process signals with a long bit width, and a mode in which the first and second carry switching circuits are opened and the two arithmetic circuits and the two sequencers process signals with a short bit width. A microprocessor characterized in that it is configured so that it can be used by switching to a mode in which signal processing of different widths is performed independently.
JP56133623A 1981-08-26 1981-08-26 Microprocessor Pending JPS5835660A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56133623A JPS5835660A (en) 1981-08-26 1981-08-26 Microprocessor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56133623A JPS5835660A (en) 1981-08-26 1981-08-26 Microprocessor

Publications (1)

Publication Number Publication Date
JPS5835660A true JPS5835660A (en) 1983-03-02

Family

ID=15109141

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56133623A Pending JPS5835660A (en) 1981-08-26 1981-08-26 Microprocessor

Country Status (1)

Country Link
JP (1) JPS5835660A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59206970A (en) * 1983-05-11 1984-11-22 Nec Corp Microprocessor
JPS6191726A (en) * 1984-10-11 1986-05-09 Ascii Corp Composite microprocessor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59206970A (en) * 1983-05-11 1984-11-22 Nec Corp Microprocessor
JPS6191726A (en) * 1984-10-11 1986-05-09 Ascii Corp Composite microprocessor

Similar Documents

Publication Publication Date Title
KR100440841B1 (en) Microcomputer
US4131941A (en) Linked microprogrammed plural processor system
JPS6311697B2 (en)
JPH0827716B2 (en) Data processing device and data processing method
JPH01224873A (en) Method and apparatus for double precision vector computation in coprocessor
KR940005202B1 (en) Bit order inverting device
JPH01119828A (en) Microprocessor
JP3004108B2 (en) Information processing device
JPH07120278B2 (en) Data processing device
JPS623461B2 (en)
US5077659A (en) Data processor employing the same microprograms for data having different bit lengths
JPS5835660A (en) Microprocessor
JP3727395B2 (en) Microcomputer
JPS59114677A (en) Vector processor
JP2006134347A (en) Microcomputer
JPS6057435A (en) Microprocessor
JP3003292B2 (en) Data alignment equipment
KR950006585B1 (en) Micro program control apparatus and control method thereof
JP3765782B2 (en) Microcomputer
JPS58176751A (en) Decoding unit of instruction word
JPH06149563A (en) Data processor
JPH04163628A (en) Information processor
JPH01116702A (en) Sequence controller
SU940158A1 (en) Microprogramme control device
JPS63629A (en) Data processing system