JPS6246891B2 - - Google Patents

Info

Publication number
JPS6246891B2
JPS6246891B2 JP11042278A JP11042278A JPS6246891B2 JP S6246891 B2 JPS6246891 B2 JP S6246891B2 JP 11042278 A JP11042278 A JP 11042278A JP 11042278 A JP11042278 A JP 11042278A JP S6246891 B2 JPS6246891 B2 JP S6246891B2
Authority
JP
Japan
Prior art keywords
instruction
instruction decoder
decoder
register
section
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
JP11042278A
Other languages
Japanese (ja)
Other versions
JPS5537648A (en
Inventor
Takashi Sakao
Yoshiaki Daimatsu
Toshiaki Suzuki
Kazuaki Mayumi
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP11042278A priority Critical patent/JPS5537648A/en
Publication of JPS5537648A publication Critical patent/JPS5537648A/en
Publication of JPS6246891B2 publication Critical patent/JPS6246891B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Executing Machine-Instructions (AREA)

Description

【発明の詳細な説明】 本発明はマイクロコンピユータにおける命令デ
コーダ回路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an instruction decoder circuit in a microcomputer.

一般的なマイクロコンピユータ制御回路部の構
成例を第1図に示す。同図においてプログラムカ
ウンタ11の示す番地によつてアクセスされる命
令語記憶装置12の読出しデータの中で命令部分
は命令レジスタ13に置かれる。この命令レジス
タ13及び命令実行サイクルを制御する状態制御
レジスタ14を命令デコーダ15に入力し、その
出力によつてマイクロコンピユータを制御する。
An example of the configuration of a general microcomputer control circuit section is shown in FIG. In the figure, an instruction portion of the read data of the instruction word storage device 12 accessed by the address indicated by the program counter 11 is placed in the instruction register 13. The instruction register 13 and the state control register 14 that controls the instruction execution cycle are input to an instruction decoder 15, and the microcomputer is controlled by the output thereof.

この装置において命令デコーダ15の出力1a
はプログラムカウンタ11の制御(インクレメン
ト,分岐等)を行い、1bは状態制御レジスタ1
4の制御を行う。また1cは内蔵レジスタ、演算
論理部(以下ALUと記す)およびデータメモリ
(以下RAMという)等の制御を行う。
In this device, the output 1a of the instruction decoder 15
1b controls the program counter 11 (increment, branch, etc.), and 1b controls the state control register 1.
4 control is performed. Further, 1c controls built-in registers, an arithmetic logic unit (hereinafter referred to as ALU), a data memory (hereinafter referred to as RAM), and the like.

ところで命令デコーダ15は第2図に示す様に
デコーダ部16とエンコーダ部17から構成さ
れ、制御信号2aはデコーダ部16より出力され
るものと、エンコーダ部17より出力されるもの
とよりなる。
By the way, the instruction decoder 15 is composed of a decoder section 16 and an encoder section 17 as shown in FIG. 2, and the control signal 2a consists of one output from the decoder section 16 and one output from the encoder section 17.

本発明はデコーダ部(アンド論理に相当)とエ
ンコーダ部(オア論理に相当)よりなる命令デコ
ーダ回路を、主命令デコーダおよび従命令デコー
ダよりなる構成とすることにより、回路規模を大
幅に縮小した命令デコーダ回路を提供することを
目的とする。以下に実施例とともに本発明につい
て説明する。第3図は本発明の一実施例による命
令デコーダ回路を示す。同図において、第1図に
示した命令デコーダ15は主命令デコーダ18及
び従命令デコーダ19に分割され、この従命令デ
コーダ19の入力は命令レジスタ13の出力の一
部3a及び主命令デコーダ18の出力の一部3b
とし、その出力は主命令デコーダ18のデコード
出力とワイアード論理接続する。一般的には主命
令デコーダ18及び従命令デコーダ19とワイア
ードされる制御出力3cは有効レベルがLOWレ
ベルに選ばれる。(なお一般の論理回路ではワイ
アード接続によつて論理値を定める場合、有効レ
ベルがLOWとなる)。
In the present invention, an instruction decoder circuit consisting of a decoder section (corresponding to AND logic) and an encoder section (corresponding to OR logic) is configured to consist of a main instruction decoder and a subordinate instruction decoder, thereby significantly reducing the circuit scale. The purpose is to provide a decoder circuit. The present invention will be described below along with examples. FIG. 3 shows an instruction decoder circuit according to one embodiment of the present invention. In the figure, the instruction decoder 15 shown in FIG. Part 3b of output
The output thereof is connected to the decode output of the main instruction decoder 18 by wired logic. Generally, the effective level of the control output 3c wired to the main instruction decoder 18 and the slave instruction decoder 19 is selected to be the LOW level. (In addition, in general logic circuits, when determining logical values by wired connections, the effective level is LOW).

次に第4図に示した命令コーデイング例で、レ
ジスタ、演算部の構成をもつて本実施例の具体的
説明を行う。まずT1においては命令レジスタ1
3へ(00000000)なる値がセツトされ、Aレジス
タとXレジスタを加算し、Aレジスタに格納す
る。またT2においては命令レジスタ13へ
(00000001)なる値がセツトされ、Aレジスタと
Xレジスタの論理積をとり、Aレジスタに格納す
る。またT3においては同様に(00000010)がセ
ツトされAレジスタとXレジスタの排他的論理和
をとり、Aレジスタに格納する。またT4におい
ては(00000011)がセツトされ、AレジスタとX
レジスタの論理和をとり、Aレジスタに格納す
る。またT5においては(00000100)がセツトさ
れ、AレジスタとYレジスタの論理和をとり、A
レジスタに格納する。またT6においては
(00000101)がセツトされ、AレジスタとYレジ
スタの否定との論理積をとり、Aレジスタに格納
する。
Next, the present embodiment will be specifically explained using the instruction coding example shown in FIG. 4 and the configuration of registers and arithmetic section. First, in T1, instruction register 1
A value of 3 (00000000) is set, the A register and the X register are added, and the result is stored in the A register. At T2, a value (00000001) is set in the instruction register 13, and the logical product of the A register and the X register is taken and stored in the A register. Similarly, at T3, (00000010) is set, the exclusive OR of the A register and the X register is taken, and the result is stored in the A register. Also, in T4, (00000011) is set, and the A register and
The logical sum of the registers is taken and stored in the A register. Also, at T5, (00000100) is set, the logical sum of the A register and the Y register is taken, and the
Store in register. At T6, (00000101) is set, and the logical product of the A register and the negation of the Y register is taken and stored in the A register.

第5図はレジスタおよびALU部において第4
図に示した命令を説明するのに必要な部分のみを
示している。すなわちバス構成は4a,4b及び
4cの3バスである。Aレジスタ20はバス4b
にデータを出力し、ALU21の出力バス4cよ
りデータを取り込む。Xレジスタ22はバス4a
にデータを出力し、ALU21の出力バス4cよ
りデータを取り込む。Yレジスタ23はバス4a
にデータを出力し、ALU21の出力バス4cよ
りデータを取り込む。バス4bはALU21に直
接入力される。またバス4aはALU21に1の
補数をとる補数制御部24を介し入力される。
Figure 5 shows the 4th block in the register and ALU section.
Only the parts necessary to explain the instructions shown in the figure are shown. That is, the bus configuration is three buses 4a, 4b, and 4c. A register 20 is connected to bus 4b
It outputs data to and takes in data from the output bus 4c of the ALU 21. X register 22 is connected to bus 4a
It outputs data to and takes in data from the output bus 4c of the ALU 21. Y register 23 is connected to bus 4a
It outputs data to and takes in data from the output bus 4c of the ALU 21. The bus 4b is directly input to the ALU 21. The bus 4a is also input to the ALU 21 via a complement control unit 24 that takes one's complement.

補数制御部24の出力はCCOMP信号4dが有
効レベル(LOWレベル)の時入力の補数とな
り、HIGHレベルの時は出力は入力値そのままと
なる。
The output of the complement control section 24 becomes the complement of the input when the CCOMP signal 4d is at a valid level (LOW level), and when it is at a HIGH level, the output remains the input value.

ALU21は入力の2進加算、論理積、排他的
論理和、及び論理和をALU制御信号CALU1,
4e、CALU2,4fによつて実行するものとす
る。CALU1,CALU2の演算モード指定を第6
図に示す。
ALU21 performs binary addition, AND, exclusive OR, and OR of inputs using ALU control signal CALU1,
4e, CALU2, and 4f. Specify the calculation mode of CALU1 and CALU2 in the 6th
As shown in the figure.

第4図に示した命令群でT1,T2,T3及び
T4は1つのグループをなす。即ち第5図におい
て以上の命令はALU21のモードが異なるのみ
で、Aレジスタ20をバス4bに出力すること、
Xレジスタ22をバス4aに出力すること、及び
ALU21の出力をAレジスタへ取り込むことは
同一である。したがつてT1〜T4で共通な制御
信号は第3図の主命令デコーダ18の主命令デコ
ーダ専用の制御出力部3dを使用し、かつALU
21の制御信号CALU,4e、CALU2,4fは
従命令デコーダ19を使用するために、主命令デ
コーダ18からのALU21への制御信号4e,
4fは無効とし、従命令デコーダ19へ制御信号
CCNφ,CCN1,3bを送る。
In the instruction group shown in FIG. 4, T1, T2, T3 and T4 form one group. That is, in FIG. 5, the above instructions differ only in the mode of the ALU 21, and output the A register 20 to the bus 4b.
outputting the X register 22 to the bus 4a; and
Taking the output of the ALU 21 into the A register is the same. Therefore, the control signal common to T1 to T4 uses the control output section 3d dedicated to the main instruction decoder of the main instruction decoder 18 shown in FIG.
21 control signals CALU, 4e, CALU2, 4f are the control signals 4e, 4e, CALU 2, 4f from the main instruction decoder 18 to the ALU 21 in order to use the slave instruction decoder 19.
4f is invalidated and a control signal is sent to the slave instruction decoder 19.
Send CCNφ, CCN1, 3b.

ここで主命令デコーダ18の制御出力4e,4
fを無効にすることは、主命令デコーダ18と従
命令デコーダ19の結合出力を切り離したとき
に、前記出力がHighレベルとなるように、主命
令デコーダ18を構成することになる。
Here, the control outputs 4e, 4 of the main instruction decoder 18
Disabling f means configuring the main instruction decoder 18 so that when the combined output of the main instruction decoder 18 and slave instruction decoder 19 is separated, the output becomes High level.

従命令デコーダ19はCCNφ,CCN1,3b
と命令レジスタ13の下位2ビツトiR1とiRφ
を入力とし、ALU21の制御モードをCALU
2、CALU1によつて指定する。
The slave instruction decoder 19 is CCNφ, CCN1, 3b
and the lower two bits iR1 and iRφ of the instruction register 13
is input, and the control mode of ALU21 is set to CALU.
2. Specified by CALU1.

かくして、T1〜T4の命令群では主命令デコ
ーダは命令レジスタの上位6ビツトのみをデコー
ドすればよい。
Thus, for the instruction group T1 to T4, the main instruction decoder only needs to decode the upper six bits of the instruction register.

第9図は第3図の命令デコーダ回路をより詳細
に示したブロツク図であり、この第9図を用いて
命令T1〜T4が加えられる場合について更に詳
細に説明する。
FIG. 9 is a block diagram showing the instruction decoder circuit of FIG. 3 in more detail, and the case where instructions T1 to T4 are added will be explained in more detail using FIG.

図において、18a,18bはそれぞれ主命令
デコーダ18におけるデコーダ部、エンコーダ
部、19a,19bはそれぞれ従命令デコーダ1
9におけるデコーダ部、エンコーダ部である。命
令レジスタ13からの命令が主命令デコーダ18
のデコーダ部18aに加えられると、この命令に
対応する一本の出力線が選択される。主命令デコ
ーダ18のエンコーダ部18bは選択された出力
線に応じ前記命令に対応する制御信号を出力す
る。
In the figure, 18a and 18b are the decoder section and encoder section of the main instruction decoder 18, respectively, and 19a and 19b are the subordinate instruction decoder 1, respectively.
These are the decoder section and the encoder section in 9. The instruction from the instruction register 13 is sent to the main instruction decoder 18
When the instruction is applied to the decoder section 18a, one output line corresponding to this instruction is selected. The encoder section 18b of the main command decoder 18 outputs a control signal corresponding to the command according to the selected output line.

いまT1〜T4の命令が加えられると、これら
の命令に対してはデコーダ部18aの同じ出力線
が選択され、T1〜T4の命令に共通する制御信
号3dがエンコーダ部18bより出力される。ま
たエンコーダ部18bからは制御信号3b
(CCN0=0,CCN1=0)が出力され従命令デコ
ーダ19のデコーダ部19aに加えられる。この
デコーダ部19aにはまたT1〜T4の命令の下
位2ビツト(iR0,iR1)が加えられている。デコ
ーダ部19aは前記CCN0,CCN1,iR0,iR1の値
により出力線のうちの一本が選択される。即ち、
命令T1(iR0=0,iR1=0),命令T2(iR0
1,iR1=0),命令T3(iR0=0,iR1=1),
命令T4(iR0=1,iR1=1)に応じた出力線が
選択される。従命令デコーダ19のエンコーダ部
19bは選択された出力線に応じ、前記命令に対
応する制御信号のうちT1〜T4の命令群におい
て共通しない制御信号4d,4e,4f(例えば
命令T1のとき、CCOMP=H,CALU1=L,
CALU2=L)を出力する。
When commands T1 to T4 are now added, the same output line of the decoder section 18a is selected for these commands, and a control signal 3d common to the commands T1 to T4 is outputted from the encoder section 18b. Furthermore, a control signal 3b is output from the encoder section 18b.
(CCN 0 =0, CCN 1 =0) is output and added to the decoder section 19a of the slave instruction decoder 19. The lower two bits (iR 0 , iR 1 ) of the instructions T1 to T4 are also added to this decoder section 19a. In the decoder section 19a, one of the output lines is selected based on the values of CCN 0 , CCN 1 , iR 0 , and iR 1 . That is,
Instruction T1 (iR 0 = 0, iR 1 = 0), instruction T2 (iR 0 =
1, iR 1 =0), instruction T3 (iR 0 =0, iR 1 =1),
The output line corresponding to command T4 (iR 0 =1, iR 1 =1) is selected. The encoder unit 19b of the slave instruction decoder 19 outputs control signals 4d, 4e, and 4f that are not common among the instruction groups T1 to T4 among the control signals corresponding to the instruction (for example, for instruction T1, CCOMP =H, CALU1=L,
CALU2=L) is output.

即ち、主命令デコーダ18のデコーダ部18a
においては、T1〜T4の4種の命令に対し、従
来、各命令毎に必要であつた出力線4本を1本に
することができる。これにより主命令デコーダの
面積は小さくなる。
That is, the decoder section 18a of the main instruction decoder 18
In the present invention, four output lines, which were conventionally required for each instruction, can be reduced to one for four types of instructions T1 to T4. This reduces the area of the main instruction decoder.

次に第4図に示した命令群のうちT5,T6の
場合について説明する。T5,T6の場合も第4
図においてALU21のモード、及び補数制御部
24が異なるのみで、Aレジスタ20をバス4b
に出力すること、Yレジスタ23をバス4aに出
力すること、及びALU21の出力をAレジスタ
へ取り込むことは同一である。そこでT5〜T6
で共通な制御信号は第3図の主命令デコーダ18
の主命令デコーダ専用の制御出力部3dを使用
し、かつALU21の制御信号CALU,4e、
CALU2,4f及び補数制御信号4dは従命令デ
コーダ19を使用するために、主命令デコーダ1
8からのALU21の制御信号CALU1,4e、
CALU2,4f及び補数制御信号4dは無効に
し、従命令デコーダへ制御信号CCNφ,CCN
1,3bを送る。
Next, the cases of T5 and T6 of the instruction group shown in FIG. 4 will be explained. In the case of T5 and T6, the fourth
In the figure, the only difference is the mode of the ALU 21 and the complement control unit 24, and the A register 20 is connected to the bus 4b.
Outputting the Y register 23 to the bus 4a, and taking in the output of the ALU 21 to the A register are the same. So T5~T6
The common control signal is the main command decoder 18 in FIG.
The control output unit 3d dedicated to the main instruction decoder is used, and the control signals CALU, 4e, of the ALU 21 are
CALU2, 4f and complement control signal 4d are sent to main instruction decoder 1 in order to use slave instruction decoder 19.
ALU21 control signal CALU1, 4e from 8,
CALU2, 4f and complement control signal 4d are disabled, and control signals CCNφ, CCN are sent to the slave instruction decoder.
Send 1,3b.

従命令デコーダは、CCNφ,CCN1,3bと
命令レジスタの下位2ビツトiR1とiRφを入力
とし、ALU21の制御信号、CALU1,4e、
CAL2,4f及び補数制御信号4dを出力す
る。
The slave instruction decoder inputs CCNφ, CCN1, 3b and the lower two bits iR1 and iRφ of the instruction register, and receives the control signals of ALU21, CALU1, 4e,
Outputs CAL2, 4f and complement control signal 4d.

このようにして、T5,T6の命令群でも主命
令デコーダは命令レジスタの上位6ビツトのみを
デコードすればよい。
In this way, even in the instruction groups T5 and T6, the main instruction decoder only needs to decode the upper six bits of the instruction register.

以上述べたT1〜T6の場合の従命令デコーダ
内容を第7図に示す。この第7図においてCCN
1,CCNφは主命令デコーダ18より従命令デ
コーダ19への制御出力である。T1〜T4では
(00)とし、T5,T6では(01)としている。
また従命令デコーダ19を使用しない場合は
(11)としている。CCOMP,CALM2、CALM
1は従命令デコーダよりの制御出力信号である。
これらの信号は従命令デコーダ19を使用しない
場合では、主命令デコーダ18より制御される。
この第7図よりも明らかなように、従命令デコー
ダは、CCN1,CCNφ,iR1,iRφを入力と
し、T1〜T6および主命令デコーダモードを出
力とするデコーダ部と、このデコーダ部の出力を
入力とし、CCOMP,CALU2,CALU1を出力
とするエンコーダ部より構成される。
FIG. 7 shows the contents of the slave instruction decoder in the cases T1 to T6 described above. In this figure 7, CCN
1, CCNφ is a control output from the main instruction decoder 18 to the slave instruction decoder 19. It is set to (00) for T1 to T4, and (01) for T5 and T6.
Moreover, when the slave instruction decoder 19 is not used, (11) is used. CCOMP, CALM2, CALM
1 is a control output signal from the slave instruction decoder.
These signals are controlled by the main instruction decoder 18 when the slave instruction decoder 19 is not used.
As is clear from FIG. 7, the slave instruction decoder includes a decoder section which inputs CCN1, CCNφ, iR1, and iRφ and outputs T1 to T6 and the main instruction decoder mode, and an output from this decoder section. It consists of an encoder section whose outputs are CCOMP, CALU2, and CALU1.

上述した従命令デコーダ19を採用することに
よつて、主命令デコーダ18の従命令デコーダ制
御出力3bは増加するが、従命令デコーダ入力数
{(3a)+(3b)}は主命令デコーダ入力数より、一
般にはるかに少なく、総合的には命令デコード部
は簡単化され、特にマイクロコンピユータの様に
LSiで作られる場合には大きな効果がある。
By employing the slave instruction decoder 19 described above, the slave instruction decoder control output 3b of the main instruction decoder 18 increases, but the number of slave instruction decoder inputs {(3a) + (3b)} is equal to the number of main instruction decoder inputs. In general, the instruction decoding section is much simpler, especially for microcomputers.
There is a great effect when it is made with LSi.

第4図に示した命令群でT1〜T4はAレジス
タとXレジスタとの演算で、T5,T6はAレジ
スタとYレジスタとの演算であるが仮りにZレジ
スタが存在したとし、第8図に示す命令群を有
し、かつZレジスタが第5図のバス4aに接続さ
れていたとすれば、Zレジスタに関係する命令群
のT7,T8,T9,T10の命令デコードにも
従命令デコーダは使用でき、主命令デコーダは命
令レジスタ13の上位6ビツト(000010)のみを
デコードすればよい。このようにして、マイクロ
コンピユータの命令セツトには従命令デコーダ1
9の一つのモードが利用可能な場合は複数回存在
し、命令デコーダ回路15の一層の減少が可能と
なる。但し本発明の命令デコード回路を利用すれ
ば、命令デコーダ出力が安定するまでの時間は主
命令デコーダのアクセス時間+従命令デコーダの
アクセス時間となるが、デコード回路のアクセス
時間がそれ程問題とならないマイクロコンピユー
タ等の場合、その欠点は免れる。
In the instruction group shown in Figure 4, T1 to T4 are operations on the A register and If we have the instruction group shown in Figure 5 and the Z register is connected to the bus 4a in Figure 5, the slave instruction decoder will also decode instructions T7, T8, T9, and T10 of the instruction group related to the Z register. The main instruction decoder only needs to decode the upper 6 bits (000010) of the instruction register 13. In this way, the microcomputer's instruction set includes the slave instruction decoder 1.
If one mode of 9 is available, it exists multiple times, allowing further reduction of the instruction decoder circuit 15. However, if the instruction decoding circuit of the present invention is used, the time it takes for the instruction decoder output to become stable will be the access time of the main instruction decoder + the access time of the slave instruction decoder. In the case of computers, etc., this drawback can be avoided.

以上の説明では従命令デコーダが単数の場合に
ついて述べているが、複数個の従命令デコーダを
設け、命令群をグループ化することによつて本発
明の効果はより拡大することは設計上の変更にす
ぎない。
In the above explanation, the case where there is a single slave instruction decoder is described, but the effect of the present invention is further expanded by providing a plurality of slave instruction decoders and grouping instruction groups.This is a design change. It's nothing more than that.

以上のように本発明の主命令デコーダおよび従
命令デコーダよりなる命令デコーダ回路は、単一
命令デコーダ方式を採用した場合に比べ、回路規
模を大幅に縮小できる。またこの結果、製造コス
トを下げる等の効果も得られる。
As described above, the instruction decoder circuit including the main instruction decoder and the slave instruction decoder according to the present invention can significantly reduce the circuit scale compared to the case where a single instruction decoder method is adopted. As a result, effects such as lowering manufacturing costs can also be obtained.

さらに本発明によれば、従命令デコーダへ入力
される命令レジスタのコード割当てはALU制御
モードを区別するだけでよい。一般的にプロセツ
サの命令コードを設計するに当たり、命令コード
割当てに対し制御構造等から制限を受けることは
設計に非常な困難性を与えるが、本発明によれば
命令コードの割当ての自由度が大きくなり、設計
が容易になる。またデコーダ部およびエンコーダ
部よりなる従命令デコーダにより変換する制御モ
ードとして複数の制御モードとすることが可能で
ある。
Further, according to the present invention, the code assignment of the instruction register input to the slave instruction decoder only needs to distinguish between ALU control modes. Generally, when designing instruction codes for a processor, restrictions on instruction code assignments from control structures etc. make the design extremely difficult, but according to the present invention, the degree of freedom in instruction code assignments is large. This makes the design easier. Further, it is possible to set a plurality of control modes as the control modes to be converted by the slave instruction decoder consisting of a decoder section and an encoder section.

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

第1図はマイクロコンピユータの制御回路のブ
ロツク図、第2図は一般の命令デコーダ回路のブ
ロツク図、第3図は本発明の一実施例による命令
デコーダ回路のブロツク図、第4図は命令コーテ
イングを示す図、第5図は要部の詳細な構成を示
すブロツク図、第6図はALUの演算モードを示
す図、第7図は従命令のデコーダの内容を示す
図、第8図は命令コーデイングを示す図、第9図
は第3図の命令デコーダ回路の詳細を示すブロツ
ク図である。 13……命令レジスタ、18……主命令デコー
ダ、19……従命令デコーダ。
FIG. 1 is a block diagram of a microcomputer control circuit, FIG. 2 is a block diagram of a general instruction decoder circuit, FIG. 3 is a block diagram of an instruction decoder circuit according to an embodiment of the present invention, and FIG. 4 is an instruction coating. Figure 5 is a block diagram showing the detailed configuration of the main parts, Figure 6 is a diagram showing the operation mode of the ALU, Figure 7 is a diagram showing the contents of the slave instruction decoder, and Figure 8 is the instruction FIG. 9 is a block diagram showing details of the instruction decoder circuit of FIG. 3. 13...Instruction register, 18...Main instruction decoder, 19...Slave instruction decoder.

Claims (1)

【特許請求の範囲】[Claims] 1 半導体集積回路上に構成されるマイクロコン
ピユータの制御信号を生成する命令デコーダ回路
において、命令構造上デコードする必要のある命
令レジスタ部の出力を全て入力として含み、かつ
デコーダ部及びエンコーダ部よりなる主命令デコ
ーダと、この主命令デコーダからの一部の制御信
号及び上記命令レジスタ部の一部分の出力を入力
とし、かつデコーダ部及びエンコーダ部よりなる
従命令デコーダとを備え、上記主命令デコーダと
上記従命令デコーダにおける同一制御対象のため
の制御信号出力を接続し、各命令のうち、その制
御信号がまつたく共通しない命令群についての制
御信号の生成を主命令デコーダに割り当てるモー
ドと、各命令のうち、その制御信号の一部が共通
する少なくとも一部の命令群について、その共通
する制御信号の生成を主命令デコーダに割り当て
ることにより、共通の制御信号を生成する命令群
については上記主命令デコーダのデコーダ部の出
力線を共通とするとともに、当該命令群における
共通しない制御信号の生成を従命令デコーダに割
り当てるモードとよりなり、上記主命令デコーダ
からの一部の制御信号により従命令デコーダの出
力制御を行い、上記モードの切換えを行うことを
特徴とする命令デコーダ回路。
1 In an instruction decoder circuit that generates control signals for a microcomputer configured on a semiconductor integrated circuit, a main circuit that includes as input all the outputs of the instruction register section that needs to be decoded due to the instruction structure, and that consists of a decoder section and an encoder section. The main instruction decoder and the slave instruction decoder are provided with an instruction decoder and a slave instruction decoder which takes as input some control signals from the main instruction decoder and a portion of the output of the instruction register section, and is composed of a decoder section and an encoder section. A mode in which control signal outputs for the same control target in the instruction decoder are connected and the main instruction decoder is assigned the generation of control signals for a group of instructions whose control signals are not common among each instruction; , by assigning the generation of the common control signal to the main instruction decoder for at least some instruction groups that have a part of their control signals in common. In this mode, the output line of the decoder section is shared, and the generation of control signals that are not common in the instruction group is assigned to the slave instruction decoder, and the output of the slave instruction decoder is controlled by some control signals from the main instruction decoder. An instruction decoder circuit characterized in that the instruction decoder circuit performs the above-mentioned mode switching.
JP11042278A 1978-09-07 1978-09-07 Instruction decoder circuit Granted JPS5537648A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11042278A JPS5537648A (en) 1978-09-07 1978-09-07 Instruction decoder circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11042278A JPS5537648A (en) 1978-09-07 1978-09-07 Instruction decoder circuit

Publications (2)

Publication Number Publication Date
JPS5537648A JPS5537648A (en) 1980-03-15
JPS6246891B2 true JPS6246891B2 (en) 1987-10-05

Family

ID=14535351

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11042278A Granted JPS5537648A (en) 1978-09-07 1978-09-07 Instruction decoder circuit

Country Status (1)

Country Link
JP (1) JPS5537648A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02253082A (en) * 1989-03-24 1990-10-11 Tokai Rubber Ind Ltd Connector

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS592146A (en) * 1982-06-29 1984-01-07 Fujitsu Ltd Microprogram control device
WO1996017291A1 (en) 1994-12-02 1996-06-06 Intel Corporation Microprocessor with packing operation of composite operands

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02253082A (en) * 1989-03-24 1990-10-11 Tokai Rubber Ind Ltd Connector

Also Published As

Publication number Publication date
JPS5537648A (en) 1980-03-15

Similar Documents

Publication Publication Date Title
EP0022622B1 (en) Programmable controller
US4484303A (en) Programmable controller
US5771363A (en) Single-chip microcomputer having an expandable address area
JPS6246891B2 (en)
JPH07302254A (en) Microcomputer system
US5603023A (en) Processor circuit for heapsorting
JPH0612107A (en) Sequence arithmetic processor and sequence arithmetic processing unit
JPH0227696B2 (en) JOHOSHORISOCHI
JPS6330658B2 (en)
JPS6055911B2 (en) main storage
JPH0341862B2 (en)
JPS5999551A (en) Address generating circuit
JPS6362778B2 (en)
JPS60129856A (en) Memory control circuit
JPH0683765A (en) Microcomputer
JP2953584B2 (en) Memory protection method for each memory board in a multiprocessor system
US20040034758A1 (en) System for producing addresses for a digital signal processor
JPS60134940A (en) Register selecting system of information processing device
JPS592938B2 (en) Memory workspace
JP2590704B2 (en) Parallel processor LSI
JPS59117651A (en) Memory extension circuit of single-chip microcomputer
JPH02297672A (en) Microcomputer
JPH0338612B2 (en)
JP2000163315A (en) Memory control system
JPS63829B2 (en)