JPS60239831A - Microprogram control device - Google Patents

Microprogram control device

Info

Publication number
JPS60239831A
JPS60239831A JP9716084A JP9716084A JPS60239831A JP S60239831 A JPS60239831 A JP S60239831A JP 9716084 A JP9716084 A JP 9716084A JP 9716084 A JP9716084 A JP 9716084A JP S60239831 A JPS60239831 A JP S60239831A
Authority
JP
Japan
Prior art keywords
address
branch
embedding
condition
instruction
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
JP9716084A
Other languages
Japanese (ja)
Inventor
Tooru Motohisa
本寿 徹
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 JP9716084A priority Critical patent/JPS60239831A/en
Publication of JPS60239831A publication Critical patent/JPS60239831A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To expand the freedom of address distribution by optionally setting a branch condition inserting position in a branch control system. CONSTITUTION:Addredd information on an address signal line 8 for a control storage device consists of 16 bits. At the execution of an embedding instruction having an one-bit condition in branch processing, an embedding condition is added to any one bit specified by P0, P1 in the low-order 4 bits S4-S7 of an address field NEXA of a microinstruction to be the low-order 8 bits of the address through a signas line 7 to form the succeeding address on an address signal line 8. In said address formation method, the width of address branched in two directions by the condition-provided embedding type branch instruction can be varied.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、iイクロプログラム制御装雪に関し、特にそ
のブランチ制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to i-microprogram controlled snow removal, and in particular to its branch control method.

(従来技術) 一般にマイクロプログラム制御形データ処理装置は、基
本的にマイクロプログラムを格納する制御記憶装置と、
制御記憶装置に対応するアドレスレジスタと、制御記憶
装置から読出されたアドレスで現在実行されているマイ
クロ命令を格納するためのマイクロ命令レジスタとから
構成されている。マイクロプログラムの実行順序は、現
在実行されているマイクロプログラムの命令の種類によ
シ、次に実行すべきマイクロプログラムのアドレスを決
定して制御されふ。
(Prior Art) In general, a microprogram-controlled data processing device basically includes a control storage device that stores a microprogram,
It consists of an address register corresponding to the control memory and a microinstruction register for storing the microinstruction currently being executed at the address read from the control memory. The execution order of microprograms is controlled by determining the address of the next microprogram to be executed, depending on the type of instruction of the currently executed microprogram.

次に実行すべきマイクロプログラムのアドレス、すなわ
ち次命令アドレスを指定する一方式として、マイクロ命
令に対して次に実行すみアドレス要素を与えるためのフ
ィールドを設けふ方式がめシ、この方式は分岐処理に使
用される。その一つに、条件付き埋込み分岐形命令があ
る。これは゛与えられたアドレスの所定のピット位置に
条件が埋込まれ、次アドレスを決定するものである。こ
の形の命令では、埋込み条件のビット数を増加すること
によシ二方向以上の分岐も可能でおる。しかし、例えば
第1図(a)、(b)K示すような1ビット埋込み形分
岐において、埋込み条件の挿入ビット位置が固定されて
いると、第2図のアドレステーブルに示すように、二方
向の分岐先の間のステップ数、す々わち分岐幅は埋込み
条件の挿入ビット位置に応じて固定されている。ここで
、第1図(a)H従来の1ビット条件埋込み分岐命令に
おける次アドレス生成動作を説明するブロック図、第1
図(b)は次アドレス生成のビットパターンを示す。
One method for specifying the address of the microprogram to be executed next, that is, the next instruction address, is to provide a field for giving the next execution address element to the microinstruction.This method is suitable for branch processing. used. One of them is a conditional embedded branch type instruction. In this method, a condition is embedded in a predetermined pit position of a given address to determine the next address. With this type of instruction, branching in two or more directions is also possible by increasing the number of bits in the embedded condition. However, for example, in a 1-bit embedded branch as shown in FIGS. 1(a) and (b)K, if the insertion bit position of the embedded condition is fixed, two-way branching as shown in the address table of FIG. The number of steps between branch destinations, that is, the branch width, is fixed according to the insertion bit position of the embedding condition. Here, FIG. 1(a)H is a block diagram explaining the next address generation operation in a conventional 1-bit conditional embedded branch instruction.
Figure (b) shows the bit pattern for next address generation.

筑2図は、マイクロプログラムの1ビット条件埋込み命
令のアドレス割1付けを示す図であfi、al’2 +
bl ”2 +CI ’2けそれぞれ従来の埋込みビッ
ト固定における二方向の分岐先である。
Figure 2 is a diagram showing address allocation for a 1-bit conditional embedded instruction in a microprogram.fi, al'2 +
bl "2 + CI '2 are two-way branch destinations in the conventional embedded bit fixation.

上記によシマイクロプログラムのアドレス割付けに制限
が付けられ、埋込みビッシを増加するとアドレス割付け
はさらに困難になり、例えば途中に無駄な無条件分岐を
追加した場合には、ステップ数の増加や割付けが不可能
になるという欠点があった。
As mentioned above, there are restrictions on address allocation in microprograms, and as the number of embedded bits increases, address allocation becomes even more difficult.For example, if a useless unconditional branch is added in the middle, the number of steps increases and the allocation becomes The drawback was that it was impossible.

(発明の目的) 本発明の目的は、分岐制御方式における分岐条件挿入位
置を自由に設定可能に構成すみことにより上記欠点を除
去し、アドレス割付けの自由度を大きくしたマイクロプ
ログラム制御装置を提供することにおる。
(Objective of the Invention) An object of the present invention is to provide a microprogram control device that eliminates the above-mentioned drawbacks and increases the degree of freedom in address assignment by configuring the branch condition insertion position in a branch control system to be freely settable. It's in particular.

(発明の構成) 本発明によるマイクロプログラム制御装置は次アドレス
生成部を含み、マイクロ命令へ次に実行すべきマイクロ
命令のアドレスを格納するフィールドを備え不ように#
!成したものであシ、次アドレス生r1!部は状態保持
手段と、埋込み保持手段と。
(Structure of the Invention) A microprogram control device according to the present invention includes a next address generation section, and has a field for storing the address of a microinstruction to be executed next to a microinstruction.
! The next address is r1! The part includes a state holding means and an embedded holding means.

選択手段と8次アドレス格納手段とを具備している。It is equipped with a selection means and an 8th address storage means.

状態保持手段は、先行命令実行後の状態情報を保持する
ための略のである。
The state holding means is an abbreviation for holding state information after execution of a preceding instruction.

埋込み保持手段は、状態情報を分岐処理すみ場合におけ
ふ分岐先アドレスの一部分として埋込んで保持するため
ゝのものである。
The embedding holding means is for embedding and holding the state information as a part of the branch destination address when the branch processing is completed.

選択手段は、埋込みの挿入位置を選択するためのもので
お為。
The selection means is for selecting the insertion position of the embedding.

次アドレス格納手段は、次アドレスを生成して保持する
ためのものである。
The next address storage means is for generating and holding the next address.

(実施例) 次に、本発明の実施例について図面を参照して詳細に説
明する。
(Example) Next, an example of the present invention will be described in detail with reference to the drawings.

第8図は、本発明によるマイクロプログラム匍制御装置
の一部分の一実施例を示すブロック図である。
FIG. 8 is a block diagram illustrating an embodiment of a portion of a microprogram controller according to the present invention.

第8図に尽すマイクロプログラム制御装置の一部分け、
現在実行中のマイクロ命令を保持するためのマイクロ命
令レジスタ2と2次アドレス生成m3とを示すものでお
る。第3図において次アドレス生成部3は、各種の状態
情報を保持するための状卯保持部10と2条件付き埋込
み分岐時に埋込み位置の選択信号を生成するだめのデコ
ーダ11と、デコーダ11によシ選択された埋込み位置
へ上記各種状態を保持するための状態保持部10からの
条件情報を信号a7を介して挿入するための選択ゲート
12〜15とから構成されている。
Partial division of the microprogram control device shown in Figure 8,
It shows a microinstruction register 2 for holding the microinstruction currently being executed and a secondary address generation m3. In FIG. 3, the next address generation section 3 includes a state holding section 10 for holding various state information, a decoder 11 for generating a selection signal for the embedding position at the time of embedding branch with two conditions, and It is comprised of selection gates 12 to 15 for inserting condition information from the state holding section 10 for holding the various states mentioned above into the selected embedding position via a signal a7.

本実施例では、制御記憶装置1に対するアドレス信号m
8上のアドレス情報は16ビツトとする。
In this embodiment, the address signal m for the control storage device 1 is
The address information on 8 is assumed to be 16 bits.

また、分岐処理における1ビット条件付き埋込み命令時
に上記アドレスの下位8eツトとなるマイクロ命令のア
ドレスフィールドNEXAの下位4ビツトA4〜A7の
Po、Plにより指定された、いずれかの1ビットに埋
込み条件が信号Ii!i17を介して挿入され、次アド
レスをアドレス信号゛線8上に生成する。
In addition, when a 1-bit conditional embedding instruction is used in branch processing, the embedding condition is set in any one bit specified by Po and Pl of the lower 4 bits A4 to A7 of the address field NEXA of the microinstruction that is the lower 8e of the above address. is the signal Ii! i17 to generate the next address on address signal line 8.

以上のような次アドレス生成方法により、第4図に示す
ように、条件付き埋込み形分岐命令における二方向の分
岐先のアドレス幅を可変にしている。第4図においては
、do−d、、d2.d、 。
By the above-described next address generation method, the address width of the branch destination in two directions in the conditional embedded branch instruction is made variable as shown in FIG. In FIG. 4, do-d, d2. d.

d4+eOel +82 +e’l +64 は埋込み
ビットの選択により二方向の分岐先の分岐幅の可食を実
現できることが示されている。
It has been shown that d4+eOel +82 +e'l +64 can realize the edible branch width of the branch destination in two directions by selecting the embedded bit.

上記方式により第2図で説明したアドレス割付けの柔軟
性に関する問題点は、条件埋込み形分岐命令時の分岐・
条件挿入位置をアドレス割付は時にP o e P l
によ多自由に設定することにより解消される。
The problem with the flexibility of address allocation explained in Figure 2 using the above method is that branching and
When assigning an address to the condition insertion position, use P o e P l
This problem can be resolved by freely setting the settings.

(発明の効果) 本発明11以上説明したように、φ件付き埋込み分岐形
命令時に、指定する条件を埋込む挿入位置を自由に設定
可能なように構成することにより、アドレス割I付けの
自由度が大きくなり、蕪用な無φ件分岐命令を削減でき
、ステップ数のより少ない高速なマイクロプログラムを
を扱うことができるという効果がおる。
(Effects of the Invention) As explained above in the eleventh aspect of the present invention, when an embedded branch type instruction with a φ condition is used, the insertion position for embedding a specified condition can be freely set, thereby providing freedom in address allocation. This has the effect of increasing the speed, reducing unnecessary no-φ branch instructions, and allowing high-speed microprograms with a smaller number of steps to be handled.

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

第1図は、従来の1ビット条件埋込み形分岐命令におけ
る次アドレス生成動作を説明するブロック図であみ。 第2図および第4図は、マイクロプログラムの1ビット
姿件埋込み命令のアドレス割付けを示す図である。 第8図は、本発明によるマイクロプログラム制御装置の
一部分を成す次アドレス生成部の一実施例を示すブロッ
ク図である。 1・・・制御記憶装置 2・拳・マイクロ命令レジスタ 3・・中火アドレス生成部 4・・・現在アドレスレジスタ 10・−デコーダ 11・・状態保持部 12〜15・・働選択回路 5〜8噛as偏号線 特許出願人 日本電気株式会社 代理人 弁理士 井ノ ロ 連 片1図 (6) (1)) 牙2図 Tイ’11 B ?、、 # 第4図 1tx訳多F
FIG. 1 is a block diagram illustrating the next address generation operation in a conventional 1-bit conditional embedded branch instruction. FIGS. 2 and 4 are diagrams showing address assignment for a 1-bit format embedding instruction in a microprogram. FIG. 8 is a block diagram illustrating one embodiment of a next address generator forming part of a microprogram controller according to the present invention. 1...Control storage device 2...Fist/Micro instruction register 3...Medium address generation section 4...Current address register 10...Decoder 11...Status holding section 12-15...Work selection circuit 5-8 As-biased line patent applicant NEC Co., Ltd. agent Patent attorney Inoro 1st figure (6) (1)) 2nd figure T'11 B? ,, # Fig. 4 1tx translation multi-F

Claims (1)

【特許請求の範囲】[Claims] 先行命令実行後の状態情報を保持するだめの状態保持手
段と、前記状態情報を分岐処理における分岐先アドレス
の一部分として埋込んで保持するための埋込み保持手段
と、前記埋込みの挿入位置を選択するための選択手段と
2次アドレスを生成して保持するための次アドレス格納
手段とを次アドレス生成部に具備し、前記マイクロ命令
へ次に実行すべきマイクロ命令のアドレスを格納すみフ
ィールドを備えるように構成したことを特徴とす石マイ
クロプログラム制御装置。
Selecting a state holding means for holding state information after execution of a preceding instruction, an embedded holding means for embedding and holding the state information as part of a branch destination address in branch processing, and an insertion position for the embedding. and a next address storage means for generating and holding a secondary address in the next address generation section, and a field for storing an address of a microinstruction to be executed next to the microinstruction. A stone microprogram control device characterized by comprising:
JP9716084A 1984-05-15 1984-05-15 Microprogram control device Pending JPS60239831A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9716084A JPS60239831A (en) 1984-05-15 1984-05-15 Microprogram control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9716084A JPS60239831A (en) 1984-05-15 1984-05-15 Microprogram control device

Publications (1)

Publication Number Publication Date
JPS60239831A true JPS60239831A (en) 1985-11-28

Family

ID=14184814

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9716084A Pending JPS60239831A (en) 1984-05-15 1984-05-15 Microprogram control device

Country Status (1)

Country Link
JP (1) JPS60239831A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04328634A (en) * 1991-04-26 1992-11-17 Nec Corp Microprogram controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04328634A (en) * 1991-04-26 1992-11-17 Nec Corp Microprogram controller

Similar Documents

Publication Publication Date Title
KR100290325B1 (en) A processor with long instruction words
EP0147684A2 (en) Processor
US5657484A (en) Method for carrying out a boolean operation between any two bits of any two registers
CA2266259A1 (en) Variable length register device
JPS60239831A (en) Microprogram control device
GB2120425A (en) Arithmetic control unit
JPS6240538A (en) Data processor
JPH0375904B2 (en)
JP2531206B2 (en) Channel device
WO2019244947A1 (en) Computation device
JPS61267162A (en) Data transferring device
JPS5687142A (en) Sequence control system for rom address
JP3541936B2 (en) Instruction execution device
JPS6058493B2 (en) information processing equipment
JPS61249140A (en) Microprogram controller
JPS6373332A (en) Microprogram control system
JPS6313202B2 (en)
JPS6048569A (en) Input/output processing device
JPH0625966B2 (en) Micro program controller
JPH04270430A (en) Address extending system
JPH1185506A (en) Data processor having plural condition code processing function
JPS59128644A (en) Sequence control circuit
JPS6127775B2 (en)
JPS56163571A (en) Address converting system
JPH07105017A (en) Register renaming device