JPS58201146A - Microprogram controlling system - Google Patents

Microprogram controlling system

Info

Publication number
JPS58201146A
JPS58201146A JP8429582A JP8429582A JPS58201146A JP S58201146 A JPS58201146 A JP S58201146A JP 8429582 A JP8429582 A JP 8429582A JP 8429582 A JP8429582 A JP 8429582A JP S58201146 A JPS58201146 A JP S58201146A
Authority
JP
Japan
Prior art keywords
branch
address
condition
memory
field
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
JP8429582A
Other languages
Japanese (ja)
Inventor
Shuichi Hara
修一 原
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Tokyo Shibaura 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 Toshiba Corp, Tokyo Shibaura Electric Co Ltd filed Critical Toshiba Corp
Priority to JP8429582A priority Critical patent/JPS58201146A/en
Publication of JPS58201146A publication Critical patent/JPS58201146A/en
Pending 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/26Address formation of the next micro-instruction ; Microprogram storage or retrieval arrangements
    • G06F9/262Arrangements for next microinstruction selection
    • G06F9/264Microinstruction selection based on results of processing
    • G06F9/265Microinstruction selection based on results of processing by address selection on input of storage

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)

Abstract

PURPOSE:To access an instruction on the basis of a less branch condition selecting field and a less address field selected on the basis of the contents of the branch condition selecting field, by performing access to a memory according to an (n)-bit condition signal and the contents of the address field. CONSTITUTION:The condition selecting circuit 351 of a multiple branch address selecting circuit 35 selects an (n)-bit branch condition which is referred to during multiple branch among numbers of external conditions according to the contents of a microfield (b) for selecting the branch condition. This branch condition and an address field (a) for indicating which multiple branch refers to the branch condition is regarded as an address to access the memory 352 stored with a branch destination address, obtaining a corresponding branch address MBA. Then, the address MBA is set in an address register 32 through an address sepecifying circuit 33 to access a control memory 31, reading and executing a desired microinstruction.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明はマイクロプログラム制御装置、特に多重分岐マ
イクロ命令におけるアドレスのシーケンス制御に関する
TECHNICAL FIELD OF THE INVENTION The present invention relates to microprogram controllers, and more particularly to address sequencing in multiple branch microinstructions.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

lマシンサイクルで実行できる、いわゆる機械処理単位
毎にプログラミングし、ソフトウェア命令の実行等を行
うマイクロプログラムの技術はよく使用されている。
Microprogram technology, which can be executed in one machine cycle and is programmed in so-called machine processing units to execute software instructions, is often used.

マイクロプログラムは通常制御記憶装置と呼ばれる読出
“し専用メモリに格納されておシ、マイクロプログラム
シーケンサによシ順次シーケンシャルに読出され実行さ
れる。分岐が必要なときには、あるマイクロアドレスに
bt件でブランチした)、する条件を調べてその条件に
従ってブランチするいわゆる条件分岐ができるようにな
っている。
Microprograms are usually stored in a read-only memory called a control memory, and are sequentially read out and executed by a microprogram sequencer. When a branch is required, a branch is sent to a certain microaddress with bt entries. ), it is now possible to perform so-called conditional branching, which examines the conditions to be executed and branches according to those conditions.

即ち、マイクロプログラム制御装置は、その時点の処理
結果の条件によって分岐先を決定する多重分岐マイクロ
命令を実行できるようになっている。従来、この多重分
岐マイクロ命令には、ネクス) (NEXT)アドレス
情報と多重分岐先選択情報が設定されるフィールドが含
まれており、この選択情報とその時点までに処理された
分岐条件によシ分岐先の1つを選択してい&。
That is, the microprogram control device is capable of executing multiple branch microinstructions that determine branch destinations depending on the processing result conditions at that time. Traditionally, this multiple branch microinstruction includes a field in which NEXT address information and multiple branch target selection information are set, and the system is configured based on this selection information and the branch conditions processed up to that point. Selecting one of the branch destinations &.

第1図、第2図に従来方式による動作概念を示す。第1
図の方式においては、メモリアドレスNの多重分岐マイ
クロ命令によシ分岐先先頭アドレスBranch Oを
先頭アドレスとして連続的に記入された2n個の分岐命
令Dl乃至Dnのうちの1個を選択情報beと外部条件
等にもとづき選択し分岐する。その分岐先、例えば命令
D2が読み込まれ、読み込まれた分岐先アドレスBra
nch 2に分岐し、Branch 2に記入された命
令にもとづきジョブが実行される。従がってこのような
多重分岐方式ではそのときの条件に応じて実際に必要と
するジョブを実行するために、途中に命令D2を読み出
し実行する必要がある。
FIGS. 1 and 2 show the concept of operation according to the conventional system. 1st
In the system shown in the figure, one of the 2n branch instructions Dl to Dn consecutively written with the branch destination start address Branch O as the start address is selected by the multiple branch microinstruction at the memory address N as the selection information be. Select and branch based on external conditions, etc. The branch destination, for example, the instruction D2 is read, and the read branch destination address Bra
The process branches to Branch 2, and the job is executed based on the instructions written in Branch 2. Therefore, in such a multiple branching method, it is necessary to read and execute the instruction D2 midway in order to execute the actually required job according to the conditions at that time.

そのため、処理ステップ数の短かいデータ処理の場合に
は、この命令D!のステップがデータ処理効率上かなシ
の割合を占める欠点がある。
Therefore, in the case of data processing with a short number of processing steps, this command D! This step has the disadvantage that it takes up a significant portion of the data processing efficiency.

第2図の方式において、多重分岐マイクロ命令は、分岐
先先頭アドレスの上位を示すB r a n ch O
のフィールドとnビットの多重分岐先選択情報bo フ
ィールド、分岐先先頭アドレス下位を示すBranch
 1のフィールドをもつ。この場合には、実際に多重分
岐する先頭アドレスはboフィールドを“O”としたア
ドレスフィールドによって示されるアドレスである。選
択情報す。Kよって選択される1組のnビットの外部信
号がboフィールドに置き換わって実際の分岐先アドレ
スを生成する。
In the system shown in FIG. 2, a multiple branch microinstruction is a branch microinstruction that indicates the upper address of the branch destination start address.
field, n-bit multiple branch destination selection information bo field, and Branch indicating the lower order of the branch destination start address.
It has 1 field. In this case, the actual starting address for multiple branching is the address indicated by the address field with the bo field set to "O". Selection information. A set of n-bit external signals selected by K replaces the bo field to generate the actual branch destination address.

この方式では、実際に必要とするジョブに直接分岐でき
、第1図に示した従来方式のときの様な処理効率の低下
はない。しかし、この方式では、処理プログラムがラン
ダムに割力付けられ、同じ処理を必要とする条件に対し
ても同様の処理プログラムを割り付けがければならず、
必要メモリの容量が大きくなるという欠点がある。
With this method, it is possible to branch directly to the job that is actually required, and there is no reduction in processing efficiency as in the conventional method shown in FIG. However, in this method, processing programs are randomly assigned, and similar processing programs must be assigned to conditions that require the same processing.
The disadvantage is that the required memory capacity is large.

さらに上記2方式ともに多重分岐命令を実行するために
は、選択情報フィールドboと分岐先先頭アドレスを示
すマイクロフィールドが必要でアシ、マイクロプログラ
ム格納メモリの容量が大きい場合には必要なマイクロフ
ィールドが大きくなシ、同時に実行可能な制御命令フィ
ールドが小さくなるといり欠点がある。
Furthermore, in order to execute multiple branch instructions in both of the above two methods, a selection information field bo and a microfield indicating the branch destination start address are required.If the capacity of the microprogram storage memory is large, the required microfield is large. However, there is a drawback that the field of control commands that can be executed simultaneously becomes smaller.

〔発明の目的〕[Purpose of the invention]

本発明は上記欠点に鑑みてなされたものであシ、多重分
岐マイクロ命令において、よシ少ないアドレスフィール
ドと分岐条件選択フィールドにより直接必要とする命令
をアクセスできる様に構成したマイクロプログラム制御
方式を提供することを目的とする。
The present invention has been made in view of the above-mentioned drawbacks, and provides a microprogram control system configured such that a required instruction can be accessed directly using fewer address fields and branch condition selection fields in multiple branch microinstructions. The purpose is to

〔発明の概要〕[Summary of the invention]

本発明は、多重分岐マイクロ命令において、外部よシ供
給される分岐条件を分岐条件選択回路を介してマイクロ
フィールド(分岐条件選択フィールド)の内容に基づき
選択し、且つこの5− 分岐条件選択回路の出力であるnビットの条件信号ドア
ドレスフィールドの内容によシメモリをアクセスし、こ
のメモリ出力を対応する分岐先アドレスとしてアドレス
指定回路へ供給するものである。
The present invention selects a branch condition supplied from an external source in a multiple branch microinstruction based on the contents of a micro field (branch condition selection field) via a branch condition selection circuit, and The memory is accessed according to the contents of the output n-bit condition signal address field, and this memory output is supplied to the addressing circuit as the corresponding branch destination address.

これKよシ、マイクロフィールドの削減が出来、冗長な
分岐を避けることができるため効率の良いシーケンス制
御が実現できる。
In addition, microfields can be reduced and redundant branches can be avoided, so efficient sequence control can be realized.

〔発明の実施例〕[Embodiments of the invention]

以下、第3図を使用して本発明につき詳細に説明する。 Hereinafter, the present invention will be explained in detail using FIG. 3.

第3図は本発明の実施例を示すブロック図である。図に
おいて、31はマイクロプログラムが記憶される制御メ
モリである。この制御メモリ31は、アドレスレジスタ
32に設定されるマイク日アドレスによシアクセスされ
る。
FIG. 3 is a block diagram showing an embodiment of the present invention. In the figure, 31 is a control memory in which a microprogram is stored. This control memory 31 is accessed by the microphone date address set in the address register 32.

上記アドレスレジスタ32の前段にはアドレス指定回路
33(次に実行すべきアドレスを指定)が存在し、該ア
ドレス指定回路33には、アドレス更新(+1)回路3
4出力UA 、マイクロ6一 フィールドによシ示される分岐アドレスBA、  そし
て本発明により付加される多重分岐先アドレス選択回路
35出力である多重分岐アドレスMBAが供給され、マ
イクロフィールドの機能指定部fを介して発せられる制
御信号SELにより、いずれか1個のアドレスが選択出
力される。
An address designation circuit 33 (which designates the next address to be executed) is present in the preceding stage of the address register 32, and the address designation circuit 33 includes an address update (+1) circuit 3.
4 output UA, the branch address BA indicated by the micro 6 field, and the multiple branch address MBA which is the output of the multiple branch destination address selection circuit 35 added according to the present invention are supplied, and the function designation part f of the micro field is supplied. One of the addresses is selected and output by the control signal SEL issued through the control signal SEL.

多重分岐アドレス選択回路35は条件選択回路351と
メモリ352によ多構成される。条件選択回路351に
は、分岐条件を選択するためのマイクロフィールド(分
岐条件選択フィールドb)の内容と、外部よシ多数の分
岐条件が供給されている。分岐条件フィールドbの内容
に基づいて選択されるnビットから成る1組の条件信号
として、メモリ35に対し下位アドレスとして供給され
る。メモリ352へは他に、上記1組の条件信号を用い
た多数の多重分岐のうちの1つを選択するためのマイク
ロフィールド(アドレスフィールドa)の内容が上位ア
ドレδとして供給されている。メモリ352は上記両ア
ドレスによってアクセスされるものであシ、上記条件に
応じた分岐先アドレスが記憶されている。このメモリ3
52よυ得られる分岐先アドレスはアドレス指定回路3
3へ供給される。
The multiple branch address selection circuit 35 includes a condition selection circuit 351 and a memory 352. The condition selection circuit 351 is supplied with the contents of a microfield (branch condition selection field b) for selecting a branch condition and a large number of external branch conditions. A set of condition signals consisting of n bits selected based on the contents of the branch condition field b is supplied to the memory 35 as a lower address. The memory 352 is also supplied with the contents of a microfield (address field a) for selecting one of a large number of multiple branches using the above set of condition signals as an upper address δ. The memory 352 is accessed by both of the above addresses, and stores branch destination addresses corresponding to the above conditions. This memory 3
The branch destination address obtained from 52 is the address specification circuit 3.
3.

以下、第3図を使用して本発明実施例の動作につき詳細
に説明する。制御メモリ31に記憶されたマイクロ命令
は、通常アドレスレジスタ32により指示されるアドレ
スのもとシーケンシャルに読出され実行される。
Hereinafter, the operation of the embodiment of the present invention will be explained in detail using FIG. The microinstructions stored in the control memory 31 are normally read out and executed sequentially under the address indicated by the address register 32.

ところで、アドレスレジスタ32で指定されたマイクロ
命令が多重分岐命令であるとき、アドレス指定回路33
は多重分岐アドレスMBA’i選択シ、アドレスレジス
タ32へ供給する。このときの多重分岐アドレスMBA
は次のよのにして出力される。
By the way, when the microinstruction specified by the address register 32 is a multiple branch instruction, the address designation circuit 33
selects the multiple branch address MBA'i and supplies it to the address register 32. Multiple branch address MBA at this time
is output as follows.

まず、分岐条件選択信号(分岐条件を選択するためのマ
イクロフィールドbの内容)によシ、多重分岐において
参照するnビットの分岐条件□ を多数の外部条件から選択する。これは条件選択回路3
51によりなされる。この分岐条件とアドレスフィール
ドaの内容(この分岐条件を参照するどの多重分岐かを
示す)をアドレスとして、分岐先アドレスが記憶されて
いるメモリ352をアクセスし、対応する分岐アドレス
MBAを得る。そしてこのアドレスMBA lアドレス
指定回路33を介してアドレスレジスタ32に設定し、
制御メモリ3ノをアクセスして所望のマイクロ命令を読
出し、これを実行する。
First, an n-bit branch condition □ to be referred to in multiple branching is selected from a large number of external conditions based on a branch condition selection signal (contents of microfield b for selecting a branch condition). This is condition selection circuit 3
51. Using this branch condition and the contents of address field a (indicating which multiple branch refers to this branch condition) as an address, the memory 352 in which the branch destination address is stored is accessed to obtain the corresponding branch address MBA. Then, this address MBA is set in the address register 32 via the address designation circuit 33,
The control memory 3 is accessed to read a desired microinstruction and execute it.

〔発明の効果〕〔Effect of the invention〕

以上説明の如く本発明によれば、少ないマイクロフィー
ルドにて冗長な分岐を避けることができ、効率の良い多
重分岐が実現できると共に以下に列挙する効果を有する
As described above, according to the present invention, redundant branching can be avoided with a small number of microfields, efficient multiple branching can be realized, and the present invention has the following effects.

(1)多重分岐命令フィールドの削減ならびにこの多重
分岐命令フィールドの削減による並行動作命令の増加。
(1) Reduction of the multiple branch instruction field and increase of parallel operating instructions due to the reduction of the multiple branch instruction field.

(2)データ処理の能率低下を生じる分岐命令を途中に
実行することなく、必要とするジョブが実行できる。
(2) Necessary jobs can be executed without intermediately executing branch instructions that reduce data processing efficiency.

(3)マイクロ命令格納メモリの容量を増加させること
なく且つ、プログラムアドレス割シ付9− けの自由度を示す。
(3) It provides a degree of freedom in program address allocation without increasing the capacity of the microinstruction storage memory.

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

第1図、第2図は多重分岐マイクロ命令における従来の
アドレスシーケンス制御の動作概念を示す図、第3図は
本発明が実現されるマイクログロダラム制御装置の実施
例を示すブロック図である。 31・・・制御メモリ、32・・・アドレスレジスタ、
33・・・アドレス指定回路、34・・・アドレス更新
回路、35・・・多重分岐先アドレス選択回路、351
・・・条件選択回路、352・・・メモリ。 出願人代理人  弁理士、鈴 江 武 彦io− 第2図 ; : M+2m゛21ヨエヨヨヨヨニエよ−d3第3図
FIGS. 1 and 2 are diagrams showing the operational concept of conventional address sequence control in multiple branch microinstructions, and FIG. 3 is a block diagram showing an embodiment of a microglomodular control device in which the present invention is implemented. 31... Control memory, 32... Address register,
33...Address designation circuit, 34...Address update circuit, 35...Multiple branch destination address selection circuit, 351
...Condition selection circuit, 352...Memory. Applicant's representative Patent attorney Takehiko Suzue Figure 2;

Claims (1)

【特許請求の範囲】[Claims] マイクログログラム・を記憶する制御メモリとマイクロ
グログラムのアドレス指定回路を有し、マイクロプログ
ラムによってソフトウェア命令の実行を行う情報処理装
置において、マイクロアドレスの分岐条件を選択するマ
イクロフィールドの内容ならびに外部より供給され−る
分岐条件によシ1組の条件信号を選択する選択回路と、
この選択回路によシ出力される1組の条件信号とその1
組の条件信号を用いた多数の多重分岐(Dうちの1つを
選択するマイクロフィールドの内容とによシアクセスさ
れ、そのアクセスされた条件に対応した分岐先アドレス
を出力するメモリとを有し、このメモリ出力を対応する
分岐先アドレスとし上記アドレス指定回路に供給するこ
とを特徴とするマイクロプログラム制御方式。
In an information processing device that has a control memory that stores a microprogram and a microprogram addressing circuit, and executes software instructions using a microprogram, the contents of the microfield that selects the branch condition of the microaddress as well as the external a selection circuit that selects one set of condition signals according to supplied branch conditions;
One set of condition signals output by this selection circuit and its first
It has a memory that is accessed by a large number of multiple branches using a set of condition signals (the contents of a micro field that selects one of D) and outputs a branch destination address corresponding to the accessed condition. , a microprogram control system characterized in that this memory output is used as a corresponding branch destination address and is supplied to the addressing circuit.
JP8429582A 1982-05-19 1982-05-19 Microprogram controlling system Pending JPS58201146A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8429582A JPS58201146A (en) 1982-05-19 1982-05-19 Microprogram controlling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8429582A JPS58201146A (en) 1982-05-19 1982-05-19 Microprogram controlling system

Publications (1)

Publication Number Publication Date
JPS58201146A true JPS58201146A (en) 1983-11-22

Family

ID=13826474

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8429582A Pending JPS58201146A (en) 1982-05-19 1982-05-19 Microprogram controlling system

Country Status (1)

Country Link
JP (1) JPS58201146A (en)

Similar Documents

Publication Publication Date Title
US4954943A (en) Data processing system
US4764869A (en) Method and apparatus for controlling interruption in the course of instruction execution in a processor
US5519649A (en) Micro-processor having rapid condition comparison function
US5124910A (en) Microprogram control apparatus for generating a branch condition signal to be designated by a micro-branch instruction
JPS62226231A (en) Processor
JPS58201146A (en) Microprogram controlling system
CA1155231A (en) Pipelined digital processor arranged for conditional operation
JPS63142431A (en) Pipeline control system
US5187782A (en) Data processing system
JP2583506B2 (en) Data processing device
KR880000817B1 (en) Data processing apparatus and method
EP0359823A1 (en) Method and apparatus for controlling the execution of microprogram
JPS6158042A (en) Microprogram control system
JPH05210500A (en) Data processor
JP2583614B2 (en) Vector arithmetic unit
JPS63141131A (en) Pipeline control system
JPS5899843A (en) Condition branching device of microprogram
JPH0778730B2 (en) Information processing equipment
JPS59153242A (en) Microprogram control device
JPS6136657B2 (en)
JPS58200348A (en) Microprogram controller
JPS62191931A (en) Microprogram control method
JPH04364532A (en) Data processing method of central processor
JPH0644066A (en) Information processor
JPS62259139A (en) Microprogram controller