JPS62115541A - Microinstruction branch address generating system - Google Patents

Microinstruction branch address generating system

Info

Publication number
JPS62115541A
JPS62115541A JP25591285A JP25591285A JPS62115541A JP S62115541 A JPS62115541 A JP S62115541A JP 25591285 A JP25591285 A JP 25591285A JP 25591285 A JP25591285 A JP 25591285A JP S62115541 A JPS62115541 A JP S62115541A
Authority
JP
Japan
Prior art keywords
instruction
byte
address
microinstruction
operation code
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.)
Granted
Application number
JP25591285A
Other languages
Japanese (ja)
Other versions
JP2637070B2 (en
Inventor
Yuji Kamisaka
神阪 裕士
Takeshi Murata
雄志 村田
Takahito Noda
野田 敬人
Kenichi Abo
阿保 憲一
Masayoshi Takei
武居 正善
Kazuyasu Nonomura
野々村 一泰
Riyouichi Nishimachi
西町 良一
Yasutomo Sakurai
康智 桜井
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP60255912A priority Critical patent/JP2637070B2/en
Publication of JPS62115541A publication Critical patent/JPS62115541A/en
Application granted granted Critical
Publication of JP2637070B2 publication Critical patent/JP2637070B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To generate quickly a head address of a microinstruction by reading the next byte directly when it is judged that an operation code part is bridged over the next type from the content of the most significant byte. CONSTITUTION:A machine word instruction read from a main storage device 1 is set to an instruction fetch register FR 2. The operation code of a machine word instruction in an FR0 is read via a changeover circuit 6, becomes a low- order type of a microinstruction address 4 and an address of a BF instruction enters a high-order part. When the operation code of the machine word instruction is a 2-byte instruction briged over an FR1, the presence of the 2-byte instruction is identified as the execution result of the microinstruction by the FR0. When the BFF instruction of the microinstruction is coded, a level of a signal A goes to '1' and the changeover circuit 6 selects the FR1. Then the microinstruction address using the content of the fR1 as a low-order byte and using an address of the BFF instruction as a high-order byte is generated.

Description

【発明の詳細な説明】 [概 要] 1命令(機械語命令)の実行に係る論理動作を複数のマ
イクロ命令を実行することによって実現するごとく構成
されていて、該複数のマイクロ命令の先頭番地が実行す
べき命令のオペコード部の最上位バイトあるいは最上位
バイトと該最上位バイトの次のバイトの内容に基づいて
生成される情報処理装置においては、従来、実行すべき
命令の最上位バイトの内容によって、オペコードに最上
位バイトの次のバイトも含まれると判断したとき、演算
系を用いて、該バイトの内容を最上位バイトの位置まで
シフトして改めてその内容を読み出し、これに基づいて
マイクロ命令の先頭アドレスを生成するという制御を行
なっていたので処理速度が遅く、また演算系の処理能力
に影響を与えるという欠点があった。本発明は、このよ
うな従来の欠点を解決するため、実行すべき命令のオペ
コード部の最上位バイトあるいは該バイトの次に位・置
するバイトのいずれかを選択してしてその内容を出力す
ることの可能なハードウェアを設けて、最上位バイトの
内容からオペコード部が次のバイトに跨ると判断された
とき、該次のバイトを直接読み出すことにより、マイク
ロ命令の先頭アドレスを迅速に生成し得る制御方式に係
る技術を開示している。
[Detailed Description of the Invention] [Summary] The invention is configured such that a logical operation related to the execution of one instruction (machine language instruction) is realized by executing a plurality of microinstructions, and the first address of the plurality of microinstructions is Conventionally, in information processing devices, the most significant byte of the opcode part of the instruction to be executed is generated based on the contents of the most significant byte or the most significant byte and the byte next to the most significant byte. When it is determined that the opcode includes the next byte after the most significant byte depending on the contents, an arithmetic system is used to shift the contents of that byte to the position of the most significant byte, read the contents again, and based on this, Since control was performed by generating the start address of a microinstruction, the processing speed was slow and the processing performance of the arithmetic system was affected. In order to solve these conventional drawbacks, the present invention selects either the most significant byte of the opcode part of the instruction to be executed or the byte located next to the byte and outputs its contents. When it is determined from the contents of the most significant byte that the opcode section spans the next byte, the first address of the microinstruction can be quickly generated by directly reading the next byte. This technology discloses a technology related to a control method that can be controlled.

[産業上の利用分野] 本発明は情報処理装置の機械語命令実行の制御に関する
ものであって、特に、機械語命令の実行に係る論理的動
作を複数のマイクロ命令(マイクロステップ)によって
実現する場合のマイクロステップの先頭アドレスの生成
方式に係る。
[Industrial Application Field] The present invention relates to controlling the execution of machine language instructions in an information processing device, and in particular, to a method for realizing logical operations related to the execution of machine language instructions using a plurality of microinstructions (microsteps). This relates to the generation method of the start address of the microstep in the case of a case.

[従来の技術] 情報処理装置において、機械語命令の解読、実行等の論
理動作は、主記憶装置へのアクセス、シフト、加算器に
よる演算などの限られた数の基本動作の組み合わせによ
って実現される。
[Prior Art] In information processing devices, logical operations such as decoding and executing machine language instructions are realized by a combination of a limited number of basic operations such as accessing the main memory, shifting, and operations using adders. Ru.

そして、このような基本動作は、ハードウェアによる論
理回路によって実現する場合と、マイクロ命令と呼ばれ
る基本的論理動作を行なう命令をいくつか実行すること
により実現する場合とがある。
Such basic operations may be realized by a hardware logic circuit or by executing several instructions called microinstructions that perform basic logic operations.

後者の、機械語命令の実行に係る論理動作を複数のマイ
クロ命令の実行によって行なう場合を以下、マイクロプ
ログラム方式と呼び、また複数のマイクロ命令の集まり
をマイクロステップとも呼ぶ。
The latter case in which logical operations related to the execution of machine language instructions are performed by executing a plurality of microinstructions is hereinafter referred to as a microprogram method, and a collection of a plurality of microinstructions is also referred to as a microstep.

前述したような、マイクロプログラム方式の情報処理装
置においては、実行すべき機械語命令のオペコードから
動作させるべきマイクロステップの先頭アドレスを生成
する方式を採ることが多い。
In the microprogram type information processing apparatus as described above, a method is often adopted in which a start address of a microstep to be operated is generated from an operation code of a machine language instruction to be executed.

すなわち、各機械語命令のオペコードに対応して、それ
ぞれの機械語命令の実行に係る論理動作を実現するマイ
クロステップの先頭アドレスが定められているので、オ
ペコードをデコートしまたは修飾することによって、迅
速にマイクロステップの先頭アドレスを生成することが
できる。
In other words, the start address of the microstep that realizes the logical operation related to the execution of each machine language instruction is determined corresponding to the opcode of each machine language instruction, so by decoding or modifying the opcode, you can quickly The start address of the microstep can be generated.

そして、該アドレスの生成に際しては、機械語命令のオ
ペコードを命令フェッチレジスタ(以下PRレジスタと
もいう)にセットして、その最上位バイト(F RO)
の内容からアドレスを生成するという方法が採られる。
When generating the address, the opcode of the machine language instruction is set in the instruction fetch register (hereinafter also referred to as PR register), and its most significant byte (F RO) is
A method is adopted in which an address is generated from the contents of the address.

また、このようなアドレスの生成はBF命令と呼ばれる
マイクロ命令によって行なわれる。
Further, generation of such an address is performed by a microinstruction called a BF instruction.

第2図は上述した従来のマイクロ命令アドレス生成方式
を説明する図であって、1は主記憶装置、2はFRレジ
スタ、・3は演算回路、4はマイクロ命令アドレス、5
はマイクロ命令を表している。
FIG. 2 is a diagram explaining the above-mentioned conventional microinstruction address generation system, in which 1 is the main memory, 2 is the FR register, 3 is the arithmetic circuit, 4 is the microinstruction address, and 5
represents a microinstruction.

第2図において、主記憶装置1から読み出された機械語
命令はFRレジスタ2にセットされ、その最上位バイト
FROの内容が読み出されて、これによりマイクロ命令
のアドレスが生成される。
In FIG. 2, a machine language instruction read from main memory 1 is set in FR register 2, and the contents of its most significant byte FRO are read, thereby generating the address of the microinstruction.

[発明が解決しようとする問題点] 機械語命令のオペコードとして最上位バイトだけでなく
、次のバイト (第2図におけるFRl)まで使用され
ることがある(以下2バイト命令ともいう)。これは、
命令の種類が多い場合にアドレッシングのための数値表
現がFROの1バイトだけでは足りなくなる場合がある
ことによる。
[Problems to be Solved by the Invention] Not only the most significant byte but also the next byte (FRl in FIG. 2) may be used as an operation code for a machine language instruction (hereinafter also referred to as a 2-byte instruction). this is,
This is because when there are many types of instructions, one byte of FRO may not be enough to represent the numerical value for addressing.

そして、従来、オペコードがFRIに跨′っているとき
は、FROの内容でBP命令を実行することにより、そ
れが2バイト命令であることを識別して、第2図におけ
る演算回路3を用いて、PRレジスタ2の内容を左へ1
バイトシフトすることによりFROの位置に移動したF
Rlの内容で再度BF命令を実行することによりマイク
ロ命令アドレスを生成するという方法に依っていた。
Conventionally, when an opcode straddles FRI, by executing a BP instruction with the contents of FRO, it is identified that it is a 2-byte instruction, and the arithmetic circuit 3 in FIG. and move the contents of PR register 2 1 to the left.
F moved to the FRO position by byte shifting
This method relied on a method of generating a microinstruction address by executing the BF instruction again with the contents of Rl.

このような、従来の機械語命令のオペコードからマイク
ロ命令アドレスを生成する方式においては、2バイト命
令の場合、上述したような煩雑な制御を行わなくてはな
らないため、非常に時間がかかるという問題点があった
。また、FRlの内容をFROの位置ヘシフトするとき
、演算回路を使用しているので他のマイクロ命令(例え
ば機械語命令のオペランドを使用したアドレス計算等)
の処理が影響を受けるという問題点があった。
In this conventional method of generating a microinstruction address from the opcode of a machine language instruction, the problem is that it takes a very long time because the complicated control described above has to be performed in the case of 2-byte instructions. There was a point. Also, when shifting the contents of FRl to the FRO position, since an arithmetic circuit is used, other microinstructions (for example, address calculation using machine language instruction operands, etc.)
There was a problem that the processing of

本発明は、このような従来の問題点に鑑み、2バイト命
令の場合であっても、演算回路を使用することなく、迅
速にマイクロ命令アドレスを生成することのできる情報
処理装置を提供することを目的としている。
In view of these conventional problems, it is an object of the present invention to provide an information processing device that can quickly generate a microinstruction address without using an arithmetic circuit even in the case of a 2-byte instruction. It is an object.

[問題点を解決するための手段] そして、この目的は本発明によれば、特許請求の範囲に
記載のとおり、1命令の実行に係る論理動作を複数のマ
イクロ命令を実行することによって実現するごとく構成
されていて、該複数のマイクロ命令の先頭番地が実行す
べき命令のオペコード部の最上位バイトあるいは最上位
バイトと該最上位バイトの次のバイトの内容に基づいて
生成去れる情報処理装置において、実行すべき命令のオ
ペコード部の最上位バイトあるいは該最上位バイトの次
のバイトのいずれかを選択してその内容を出力する手段
を設け、前記手段により該オペコード部の最上位バイト
の次のバイトを選択して該バイトの値を用いて実行すべ
きマイクロ命令の先頭アドレスを生成することを特徴と
するマイクロ命令分岐アドレス方式により達成される。
[Means for solving the problem] According to the present invention, this object is achieved by executing a logical operation related to the execution of one instruction by executing a plurality of microinstructions, as described in the claims. an information processing device configured as shown in FIG. means for selecting either the most significant byte of the opcode portion of the instruction to be executed or the next byte of the most significant byte and outputting the content thereof; This is achieved by a microinstruction branch addressing method that is characterized by selecting a byte and using the value of the byte to generate the start address of the microinstruction to be executed.

[実施例] 第1図は本発明の1実施例のアドレス生成方式を説明す
る図であって、1〜5は第2図と同様であり、6は切替
回路を表している。
[Embodiment] FIG. 1 is a diagram illustrating an address generation system according to an embodiment of the present invention, in which 1 to 5 are the same as in FIG. 2, and 6 represents a switching circuit.

第1図において、主記憶装置1から読み出された機械語
命令はFRレジスタ2にセットされる。そしてFROの
内容く機械語命令のオペコード)が切替回路6を経由し
て読み出されこれがマイクロ命令アドレス4の下位バイ
トとなる。
In FIG. 1, machine language instructions read from main memory 1 are set in FR register 2. In FIG. Then, the contents of FRO (opcode of machine language instruction) are read out via switching circuit 6 and become the lower byte of microinstruction address 4.

またマイクロ命令アドレス4の上位部分にはBF命令の
アドレスが入る。アドレス生成用の命令として該BF命
令の他にBFF命令も用意される。
Further, the upper part of the microinstruction address 4 contains the address of the BF instruction. In addition to the BF instruction, a BFF instruction is also prepared as an address generation instruction.

機械語命令のオペコードがFROだけの1バイト命令で
ある場合には、このようにして生成されたアドレスによ
って直ちに目的のマイクロステップを実行することがで
きる。
If the operation code of the machine language instruction is a 1-byte instruction with only FRO, the target microstep can be immediately executed using the address generated in this way.

機械語命令のオペコードがFRIに跨がる2バイト命令
の場合には、FROによるマイクロ命令の実行結果とし
て2バイト命令であることが識別される。そしてマイク
ロ命令でBFF命令がコーディングされた時“A”信号
が“1”になり、このときには切替回路6がFRIを選
択する。そして該FRIの内容を下位バイトとし前′記
BFF命令のアドレスを上位とするマイクロ命令アドレ
スが生成される。
If the opcode of the machine language instruction is a 2-byte instruction that straddles the FRI, it is identified as a 2-byte instruction as a result of the execution of the microinstruction by the FRO. Then, when the BFF instruction is coded as a microinstruction, the "A" signal becomes "1", and at this time, the switching circuit 6 selects FRI. Then, a microinstruction address is generated in which the content of the FRI is the lower byte and the address of the BFF instruction is the upper byte.

[発明の効果] 以上、説明したように本発明の方式によれば、機械語命
令の実行に係る論理動作を複数のマイクロ命令の動作に
より実現するごとく構成された情報処理装置において、
機械語命令のオペコードが2バイトに跨る場合であって
も、迅速にマイクロ命令の先頭アドレスを生成すること
が可能であり、またアドレス生成に際して演算回路を使
用しないので、他のマイクロ命令の処理に影響を与える
ことがないという利点がある。
[Effects of the Invention] As described above, according to the system of the present invention, in an information processing apparatus configured to realize logical operations related to the execution of machine language instructions by operations of a plurality of microinstructions,
Even if the opcode of a machine language instruction spans 2 bytes, it is possible to quickly generate the start address of the microinstruction, and since no arithmetic circuit is used to generate the address, it is easy to process other microinstructions. It has the advantage of having no influence.

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

第1図は本発明の1実施例のアドレス生成方式を説明す
る図、第2図は従来のマイクロ命令アドレス生成方式を
説明する図である。 1・・・主記憶装置、2・・・FRレジスタ、3・・・
演算回路、4・・・マイクロ命令アドレス、5・・・マ
イクロ命令、6・・・切替回路 代理人 弁理士 井 桁 貞 −・ ミ 。 −−−一パ
FIG. 1 is a diagram for explaining an address generation method according to an embodiment of the present invention, and FIG. 2 is a diagram for explaining a conventional microinstruction address generation method. 1... Main storage device, 2... FR register, 3...
Arithmetic circuit, 4...Microinstruction address, 5...Microinstruction, 6...Switching circuit agent Patent attorney Sada Igeta - Mi. ---Ippa

Claims (1)

【特許請求の範囲】[Claims] 1命令の実行に係る論理動作を複数のマイクロ命令を実
行することによって実現するごとく構成されていて、該
複数のマイクロ命令の先頭番地が実行すべき命令のオペ
コード部の最上位バイトあるいは最上位バイトと該最上
位バイトの次のバイトの内容に基づいて生成される情報
処理装置において、実行すべき命令のオペコード部の最
上位バイトあるいは該最上位バイトの次のバイトのいず
れかを選択してその内容を出力する手段を設け、前記手
段により該オペコード部の最上位バイトの次のバイトを
選択して該バイトの値を用いて実行すべきマイクロ命令
の先頭アドレスを生成することを特徴とするマイクロ命
令分岐アドレス方式。
It is configured such that the logical operation related to the execution of one instruction is realized by executing multiple microinstructions, and the first address of the multiple microinstructions is the most significant byte or the most significant byte of the opcode part of the instruction to be executed. and the contents of the byte next to the most significant byte.The information processing device selects either the most significant byte of the opcode section of the instruction to be executed or the byte next to the most significant byte, and A microcontroller comprising: means for outputting contents; the means selects a byte next to the most significant byte of the operation code section, and uses the value of the byte to generate a start address of a microinstruction to be executed. Instruction branch address method.
JP60255912A 1985-11-15 1985-11-15 Micro instruction start address generation method Expired - Lifetime JP2637070B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60255912A JP2637070B2 (en) 1985-11-15 1985-11-15 Micro instruction start address generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60255912A JP2637070B2 (en) 1985-11-15 1985-11-15 Micro instruction start address generation method

Publications (2)

Publication Number Publication Date
JPS62115541A true JPS62115541A (en) 1987-05-27
JP2637070B2 JP2637070B2 (en) 1997-08-06

Family

ID=17285294

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60255912A Expired - Lifetime JP2637070B2 (en) 1985-11-15 1985-11-15 Micro instruction start address generation method

Country Status (1)

Country Link
JP (1) JP2637070B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02184921A (en) * 1989-01-12 1990-07-19 Fujitsu Ltd Instruction decoding circuit

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5423342A (en) * 1977-07-25 1979-02-21 Nippon Telegr & Teleph Corp <Ntt> Microprogram control system
JPS57106957A (en) * 1980-12-24 1982-07-03 Fujitsu Ltd Microprogram address control system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5423342A (en) * 1977-07-25 1979-02-21 Nippon Telegr & Teleph Corp <Ntt> Microprogram control system
JPS57106957A (en) * 1980-12-24 1982-07-03 Fujitsu Ltd Microprogram address control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02184921A (en) * 1989-01-12 1990-07-19 Fujitsu Ltd Instruction decoding circuit

Also Published As

Publication number Publication date
JP2637070B2 (en) 1997-08-06

Similar Documents

Publication Publication Date Title
US4179731A (en) Microprogrammed control system
KR890010673A (en) Data processor and its processing control method
JPS63226732A (en) Sequencer circuit
JPS6212529B2 (en)
JPH0523447B2 (en)
JPS62115541A (en) Microinstruction branch address generating system
JPH0218729B2 (en)
JPS588011B2 (en) Microprogram Seigiyohoshiki
JPS58200349A (en) Microprogram controller
JPS6339928B2 (en)
JPS6049935B2 (en) Microprogram control method
JPS6325373B2 (en)
JPS6131896B2 (en)
JPH0612253A (en) Microcomputer
JPH0713758A (en) Instruction decoding method
JPH0218732B2 (en)
JPS61161509A (en) System and device for operating high speed sequence
JPH0353322A (en) Information processor
JPS6126693B2 (en)
JPH0636161B2 (en) Information processing equipment
JPH0375904B2 (en)
JPH0319570B2 (en)
JPS6298427A (en) Associative type micro control system
JPS63229526A (en) Information processor
JPH02105936A (en) Data processor