JPS6131895B2 - - Google Patents

Info

Publication number
JPS6131895B2
JPS6131895B2 JP55112440A JP11244080A JPS6131895B2 JP S6131895 B2 JPS6131895 B2 JP S6131895B2 JP 55112440 A JP55112440 A JP 55112440A JP 11244080 A JP11244080 A JP 11244080A JP S6131895 B2 JPS6131895 B2 JP S6131895B2
Authority
JP
Japan
Prior art keywords
instruction
microprogram
circuit
address
nop
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
JP55112440A
Other languages
Japanese (ja)
Other versions
JPS5739449A (en
Inventor
Kozo Yamano
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 JP11244080A priority Critical patent/JPS5739449A/en
Publication of JPS5739449A publication Critical patent/JPS5739449A/en
Publication of JPS6131895B2 publication Critical patent/JPS6131895B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/22Microcontrol or microprogram arrangements
    • G06F9/226Microinstruction function, e.g. input/output microinstruction; diagnostic microinstruction; microinstruction format

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Executing Machine-Instructions (AREA)

Description

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

本発明は、情報処理装置に適するマイクロプロ
グラム制御装置に関する。特に、命令コードによ
るブランチ制御によつて、ノー・オペレーシヨン
命令を検出することのできる制御装置に関する。
ここで「ノー・オペレーシヨン命令」とは、実質
的に何の演算や動作をしない命令をいう(以下
「NOP命令」という。)。 従来、この種のマイクロプログラム制御装置で
は、条件分岐命令を含みすべての命令コードによ
るブランチにより各命令のマイクロプログラム開
始アドレスを決定していた。従つてNOP命令か
どかの伴別を条件分岐命令マイクロプログラム内
で実行する必要があつたため、NOP動作の高速
化ができない欠点があつた。 本発明は上記欠点を解決するもので、命令コー
ドによるブランチと同レベルにおいて、NOP動
作専用マイクロプログラム開始アドレスを与え
て、NOP動作の高速化を可能とするマイクロプ
ログラム制御装置を提供することを目的とする。 本発明は、NOP命令を含む条件分岐命令をデ
コードするデコード回路と、NOP命令を検出す
る検出回路と、上記デコード回路および検出回路
の各出力に接続されたアンド回路と、このアンド
回路の出力と上記命令レジスタの命令コードとに
接続されるアドレスレジスタと、このアドレスレ
ジスタに接続される格納メモリとを備え、NOP
命令の条件分岐命令が検出されたとき、条件分岐
命令コードとは別のマイクロプログラム開始アド
レスを与えるように制御することを特徴とする。 次に、実施例により本発明を詳しく説明する。 第1図は本発明の第一実施例ブロツク図であ
る。 図において、命令を保持するレジスタ1の命令
コード部Aがアドレスレジスタ2のD部に接続さ
れ、上記アドレスレジスタ2の最下位ビツトのE
部には、命令レジスタ1のA部から条件分岐命令
をデコードする条件分岐命令デコード回路3と、
命令レジスタ1の分岐条件判定コード部Bから
NOP動作を検出するNOP命令検出回路4との出
力がアンド回路5を介して接続される。この検出
回路4は特定の命令コードの中に特定のNOP命
令のデイジツトがあるかどうかを検出する。また
このアンド回路5は回路3および回路4の出力が
共に論理「1」の場合のみ論理「1」を出力す
る。また、アドレスレジスタ2の出力はマイクロ
プログラム格納メモリ6に接続される。 このような構成で、条件分岐命令の場合には、
デコード回路3の出力が論理「1」となり、その
条件分岐命令がNOP動作を指示していれば、検
出回路4の出力が論理「1」となり、従つてアン
ド回路5の出力が論理「1」となる。 その結果、NOP命令の条件分岐命令のマイク
ロプログラム開始アドレスは、NOP動作を指示
しない条件分岐命令開始アドレスより「1」だけ
高い固有のアドレスとなる。 前記条件を満足しない場合、マイクロプログラ
ムアドレスレジスタ2のE部には常に論理「0」
が入力される。 このようにして作成されたマイクロプログラム
の開始アドレスは、命令開始時に、アドレスレジ
スタ2にセツトされて処理を開始するが、NOP
動作の場合には異なるマイクロプログラム開始ア
ドレスが与えられ、そのステツプのみで命令アド
レスの更新指示を出して終了することができる。 本実施例におけるマイクロプログラム開始アド
レスの割付け表は下記のようになる。
The present invention relates to a microprogram control device suitable for an information processing device. In particular, the present invention relates to a control device capable of detecting a no-operation instruction through branch control using instruction codes.
Here, the "no-operation instruction" refers to an instruction that does not substantially perform any calculation or operation (hereinafter referred to as a "NOP instruction"). Conventionally, in this type of microprogram control device, the microprogram start address of each instruction has been determined by branches based on all instruction codes including conditional branch instructions. Therefore, it was necessary to determine whether the instruction was a NOP instruction or not within the conditional branch instruction microprogram, which had the disadvantage that the NOP operation could not be made faster. The present invention solves the above-mentioned drawbacks, and aims to provide a microprogram control device that can speed up NOP operations by giving a microprogram start address dedicated to NOP operations at the same level as branching by instruction codes. shall be. The present invention includes a decoding circuit that decodes conditional branch instructions including NOP instructions, a detection circuit that detects NOP instructions, an AND circuit connected to each output of the decoding circuit and the detection circuit, and an output of the AND circuit. NOP
The present invention is characterized in that when a conditional branch instruction is detected, control is performed to provide a microprogram start address different from the conditional branch instruction code. Next, the present invention will be explained in detail with reference to Examples. FIG. 1 is a block diagram of a first embodiment of the present invention. In the figure, the instruction code section A of register 1 that holds instructions is connected to section D of address register 2, and the least significant bit E of address register 2 is connected to section D of address register 2.
The section includes a conditional branch instruction decoding circuit 3 for decoding a conditional branch instruction from section A of the instruction register 1;
From branch condition judgment code part B of instruction register 1
The output of the NOP instruction detection circuit 4 that detects a NOP operation is connected via an AND circuit 5. This detection circuit 4 detects whether a specific NOP instruction digit is present in a specific instruction code. Further, this AND circuit 5 outputs a logic "1" only when the outputs of the circuit 3 and the circuit 4 are both logic "1". Further, the output of the address register 2 is connected to a microprogram storage memory 6. In such a configuration, in the case of a conditional branch instruction,
If the output of the decode circuit 3 becomes logic "1" and the conditional branch instruction instructs a NOP operation, the output of the detection circuit 4 becomes logic "1", and therefore the output of the AND circuit 5 becomes logic "1". becomes. As a result, the microprogram start address of the conditional branch instruction of the NOP instruction becomes a unique address higher by "1" than the start address of the conditional branch instruction that does not instruct a NOP operation. If the above conditions are not satisfied, the E portion of the microprogram address register 2 is always set to logic “0”.
is input. The start address of the microprogram created in this way is set in address register 2 to start processing when the instruction starts, but NOP
In the case of operation, a different microprogram start address is given, and with only that step, an instruction to update the instruction address can be issued and the program can be terminated. The microprogram start address allocation table in this embodiment is as follows.

【表】 従つて、命令コード「00」(16進)がNOP命令
を含む条件分岐命令の場合は、上記命令がNOP
命令であれば、マイクロプログラム開始アドレス
は〔×××1〕となる。 第2図は本発明第二実施例のブロツク図であ
る。この実施例の特徴ある構成は、マイクロプロ
グラムアドレスレジスタ2の入力にセツトアドレ
ス切替回路7を備えたことにある。このセツトア
ドレス切替回路7には、命令レジスタ1のA部か
らの命令コード分岐アドレスおよびNOP動作開
始固定アドレス「F」が接続される。この切替回
路7は、条件分岐命令のNOP命令を検出したア
ンド回路5のの出力が論理「0」のときA部から
の命令コード分岐アドレスを、論理「1」とき
NOP動作開始アドレスを選択して上記アドレス
レジスタ2に出力を送出する。その他の動作およ
び構成は第一実施例と同様である。 以上説明したように、本発明によれば、条件分
岐命令におけるNOP命令のマイクロプログラム
開始アドレスを上記条件分岐命令コードで分岐さ
れた開始アドレスとは別の専用のアドレスに分岐
させることにより、デコーダの論理構成を複雑化
するとなく、命令アドレスの更新をワンステツプ
で行い、NOP命令の命令実行時間を高速化させ
る優れた効果がある。
[Table] Therefore, if the instruction code "00" (hexadecimal) is a conditional branch instruction that includes a NOP instruction, the above instruction is a NOP instruction.
If it is an instruction, the microprogram start address will be [XXX1]. FIG. 2 is a block diagram of a second embodiment of the present invention. A characteristic feature of this embodiment is that a set address switching circuit 7 is provided at the input of the microprogram address register 2. The set address switching circuit 7 is connected with the instruction code branch address from part A of the instruction register 1 and the NOP operation start fixed address "F". This switching circuit 7 changes the instruction code branch address from part A when the output of the AND circuit 5 that detects the NOP instruction of the conditional branch instruction is logic "0", and when the output is logic "1"
Select the NOP operation start address and send the output to the address register 2. Other operations and configurations are the same as in the first embodiment. As explained above, according to the present invention, by branching the microprogram start address of the NOP instruction in the conditional branch instruction to a dedicated address different from the start address branched by the conditional branch instruction code, the decoder This has the excellent effect of speeding up the instruction execution time of the NOP instruction by updating the instruction address in one step without complicating the logical configuration.

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

第1図は本発明第一実施例ブロツク図。 第2図は本発明第二実施例ブロツク図。 1…命令レジスタ、2…マイクロプログラムア
ドレスレジスタ、3…条件分岐命令デコード回
路、4…NOP命令検出回路、5…アンド回路、
6…マイクロプログラム格納メモリ、7…マイク
ロプログラムアドレスレジスタ入力切替回路。
FIG. 1 is a block diagram of a first embodiment of the present invention. FIG. 2 is a block diagram of a second embodiment of the present invention. 1... Instruction register, 2... Micro program address register, 3... Conditional branch instruction decoding circuit, 4... NOP instruction detection circuit, 5... AND circuit,
6...Microprogram storage memory, 7...Microprogram address register input switching circuit.

Claims (1)

【特許請求の範囲】 1 命令レジスタの命令コードをマイクロプログ
ラムの開始アドレスとし、命令コードの内容によ
つてはその開始アドレスを変更する制御を行うマ
イクロプログラム制御装置において、 ノー・オペレーシヨン命令を含む条件分岐命令
をデコード回路と、 ノー・オペレーシヨン命令を上記命令コードに
付随する分岐条件判定コードから検出する検出回
路と、 上記デコード回路およびこの検出回路の各出力
に接続されたアンド回路と、 このアンド回路の出力と上記命令レジスタの命
令コードとに接続されるアドレスレジスタと、 このアドレスレジスタに接続される格納メモリ
と を備え、 ノー・オペレーシヨン命令の条件分岐命令が検
出されたとき、条件分岐命令コードとは別のマイ
クロプログラム開始アドレスを与える制御手段を
設けた ことを特徴とするマイクロプログラム制御装
置。
[Claims] 1. A microprogram control device that uses an instruction code in an instruction register as a start address of a microprogram and controls to change the start address depending on the contents of the instruction code, including a no-operation instruction. a decoding circuit for a conditional branch instruction; a detection circuit for detecting a no-operation instruction from a branch condition determination code attached to the instruction code; an AND circuit connected to each output of the decoding circuit and this detection circuit; An address register connected to the output of the AND circuit and the instruction code of the instruction register, and a storage memory connected to this address register, and when a conditional branch instruction of a no-operation instruction is detected, a conditional branch is executed. A microprogram control device characterized by comprising a control means for giving a microprogram start address different from an instruction code.
JP11244080A 1980-08-15 1980-08-15 Microprogram control device Granted JPS5739449A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11244080A JPS5739449A (en) 1980-08-15 1980-08-15 Microprogram control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11244080A JPS5739449A (en) 1980-08-15 1980-08-15 Microprogram control device

Publications (2)

Publication Number Publication Date
JPS5739449A JPS5739449A (en) 1982-03-04
JPS6131895B2 true JPS6131895B2 (en) 1986-07-23

Family

ID=14586676

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11244080A Granted JPS5739449A (en) 1980-08-15 1980-08-15 Microprogram control device

Country Status (1)

Country Link
JP (1) JPS5739449A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4537832A (en) * 1982-12-25 1985-08-27 Tdk Corporation Magnetic recording medium
GB2149320B (en) * 1983-10-18 1988-02-10 Tdk Corp Magnetic recording medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5397349A (en) * 1977-02-05 1978-08-25 Fujitsu Ltd Order decording system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5397349A (en) * 1977-02-05 1978-08-25 Fujitsu Ltd Order decording system

Also Published As

Publication number Publication date
JPS5739449A (en) 1982-03-04

Similar Documents

Publication Publication Date Title
US5758115A (en) Interoperability with multiple instruction sets
JPS6224326A (en) Data processor
EP0240606B1 (en) Pipe-line processing system and microprocessor using the system
JPS6212529B2 (en)
JPS6156822B2 (en)
JPS6131895B2 (en)
US4831572A (en) Polynomial vector arithmetic operation control system
US4959780A (en) Microprogram processor with logic circuitry for combining signals from a microcode decoder and an instruction code decoder to produce a memory access signal
JPS6217773B2 (en)
JPH0218729B2 (en)
JPH0377137A (en) Information processor
JPS6240538A (en) Data processor
JPS6131896B2 (en)
KR100488536B1 (en) Microprocessor control circuit
JPS59191612A (en) Input and output designating system of sequence controller
JPH0375904B2 (en)
JPS61143847A (en) Central processor
JPH11191066A (en) Robust multiple word instruction and its method
JPS62115541A (en) Microinstruction branch address generating system
JPS5943444A (en) Method and device for microprogram control
JPS6362037A (en) Microprogram controller
JPH0424732B2 (en)
JPS61235946A (en) Data processor
JPS5831451A (en) Controlling device for microprogram
JPS62210544A (en) Microcomputer