JPH0250222A - Operand supplying system - Google Patents

Operand supplying system

Info

Publication number
JPH0250222A
JPH0250222A JP63200903A JP20090388A JPH0250222A JP H0250222 A JPH0250222 A JP H0250222A JP 63200903 A JP63200903 A JP 63200903A JP 20090388 A JP20090388 A JP 20090388A JP H0250222 A JPH0250222 A JP H0250222A
Authority
JP
Japan
Prior art keywords
instruction
operand
memory
immediate operand
immediate
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
JP63200903A
Other languages
Japanese (ja)
Inventor
Masao Hasegawa
正雄 長谷川
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
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 filed Critical NEC Corp
Priority to JP63200903A priority Critical patent/JPH0250222A/en
Publication of JPH0250222A publication Critical patent/JPH0250222A/en
Pending legal-status Critical Current

Links

Landscapes

  • Executing Machine-Instructions (AREA)

Abstract

PURPOSE:To reduce firmware quantity by making a supplying pass being the instruction executing part of an immediate operand the same as a memory operand. CONSTITUTION:An immediate operand detecting means 115 provided in an instruction fetching part 111 detects whether the immediate operand is included in an instruction word taken out from a memory control part 101 or not. When it is detected that the immediate operand is included, the immediate operand in the instruction word is sent to the memory control part 101 by an immediate operand sending means 117 and transferred to an instruction executing part 131 by the memory control part 101 with use of a supplying pass P the same as the memory operand. Accordingly, in the instruction executing part 131, the taking out of the immediate operand can be executed samely as the memory operand. Thus, the firmware to be prepared in each instruction for immediate operand is eliminated and whole firmware capacity can be reduced.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 零発゛明は、中央処理装置におけるイミデイエイトオペ
ランドの命令実行部に対する供給方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The invention relates to a method for supplying an immediate operand to an instruction execution unit in a central processing unit.

〔従来の技術〕[Conventional technology]

オペランドとは、命令語で指定されるデータ即ち演算の
対象となるデータのことであり、一般にイミデイエイト
オペランド、レジスタオペランド。
An operand is data specified by an instruction word, that is, data that is the target of an operation, and is generally an immediate operand or a register operand.

メモリオペランドの種類がある。イミデイエイトオペラ
ンドとは、命令語中に含まれるオペランドのことを言い
、レジスタオペランドとは、命令語で指定されるソフト
ウェアビジプルなレジスタに格納されたオペランドのこ
とを言い、メモリオペランドとは、命令語中のアドレス
で指定されたメモリ(主記憶)上に存在するオペランド
のことを言う。何れのオペランドも、最終的には命令語
で指定された動作を実行する命令実行部内のオペランド
レジスタに取り込まれて処理されるが、従来、メモリと
の間のデータ転送を制御するメモリ制御部と、命令語の
取り出しを制御する命令取り出し部と、この命令取り出
し部で取り出された命令語で指定された動作を実行する
命令実行部とを含み、オペランドの実行をファームウェ
アで制御する中央処理装置においては、次のように各種
類のオペランドを処理している。
There are different types of memory operands. An immediate operand is an operand included in an instruction word, a register operand is an operand stored in a software-visible register specified by an instruction word, and a memory operand is an operand contained in an instruction word. Refers to the operand that exists in the memory (main memory) specified by the address in the instruction word. All operands are ultimately taken into the operand register in the instruction execution unit that executes the operation specified by the instruction word, and are processed by the memory control unit that controls data transfer to and from memory. , a central processing unit that includes an instruction fetching section that controls fetching of an instruction word, and an instruction execution section that executes an operation specified by the instruction word fetched by the instruction fetching section, and that controls execution of operands by firmware. handles each type of operand as follows:

先ず、中央処理装置内の命令実行部に、イミデイエイト
オペランド、レジスタオペランド、メモリオペランドを
受は取るハードウェア機構を個別に設けると共に、各命
令毎に上記3つのオペランドの種類数分のファームウェ
ア・エントリを持つファームウェア格納用メモリを設け
ておく、そして、命令取り出し部においてメモリ制御部
から取り出した命令語の命令コード部をデコードするこ
とにより、命令コードの種類および指定されるオペラン
ドの種類を判別し、その命令のそのオペランドの種類に
対応するファームウェア・エントリ内のファームウェア
を起動する。これにより、例えば、イミデイエイトオペ
ランドの場合は、その命令のそのオペランドの種類に対
応するファームウェアが起動されて、命令取り出し部に
取り出されていた命令語中のイミデイエイトオペランド
がイミデイエイトオペランド用のハードウェア機構によ
り命令取り出し部から命令実行部に取り込まれ、オペラ
ンドレジスタにセットされて処理される。また、メモリ
オペランドの場合は、メモリ制御部によってメモリから
読み出されたメモリオペランドが、当該命令のそのオペ
ラン1゛の種類に対応するファームウェアで規定される
制御によって、メモリオペランド用のバー1′ウ工ア機
構によりメモリ制御部から命令実行部に取り込まれ、オ
ペランドレジスタにセントされて処理される。更に、レ
ジスタオペランドの場合は、当該命令のそのオペランド
の種類に対応するファームウェアが起動されて、内部の
ソフトウェアビジプルなレジスタに格納されているレジ
スタオペランドがオペランドレジスタに格納されて処理
される。
First, the instruction execution unit in the central processing unit is provided with separate hardware mechanisms for receiving and receiving immediate operands, register operands, and memory operands, and firmware for the number of types of the above three operands is installed for each instruction. A firmware storage memory having an entry is provided, and the instruction fetch section decodes the instruction code part of the instruction word fetched from the memory control section to determine the type of instruction code and the type of specified operand. , launches the firmware in the firmware entry corresponding to that operand type of that instruction. As a result, for example, in the case of an immediate operand, the firmware corresponding to the type of operand of that instruction is activated, and the immediate operand in the instruction word that was fetched by the instruction fetching section becomes the immediate operand. The instruction is fetched from the instruction fetching section to the instruction execution section by the hardware mechanism, and is set in the operand register and processed. In the case of a memory operand, the memory operand read from the memory by the memory control unit is controlled by the firmware that corresponds to the type of operan 1 of the instruction in question. The instruction processing unit imports the instruction from the memory control unit to the instruction execution unit, writes it to the operand register, and processes it. Further, in the case of a register operand, firmware corresponding to the type of operand of the instruction is activated, and the register operand stored in an internal software-visible register is stored in the operand register and processed.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の中央処理装置においては、イミデイエイ
トオペランドは命令取り出し部から命令実行部に供給し
、メモリオペランドはメモリ制御部から命令実行部に供
給し、レジスタオペランドについては命令実行部内に存
在するソフトウェアビジプルなレジスタから取り出して
いる。その為に、前述したように、各オペランドを受は
取る為のハードウェア機構を各オペランドの種類毎に設
け、それに応じてファームウェアも各命令毎にオペラン
ドの種類だけ用意しておく必要があった。
In the conventional central processing unit described above, the immediate operand is supplied from the instruction fetching section to the instruction execution section, the memory operand is supplied from the memory control section to the instruction execution section, and the register operand exists within the instruction execution section. It is retrieved from a software-visible register. Therefore, as mentioned above, it was necessary to provide a hardware mechanism for each type of operand to receive and receive each operand, and to prepare firmware correspondingly for each type of operand for each instruction. .

従って、全体としてのファームウェア量(ファームウェ
アのステンプ数)は相当に大きくなっていた。
Therefore, the overall amount of firmware (number of firmware steps) has become considerably large.

そこで、本発明の目的は、イミデイエイトオペランドの
命令実行部に対する供給バスをメモリオペランドと同じ
にすることにより、ファームウェア量の削減を可能とし
たオペランド供給方式を提供することにある。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide an operand supply method that makes it possible to reduce the amount of firmware by using the same bus for supplying immediate operands to an instruction execution unit as for memory operands.

(課題を解決するための手段〕 本発明のオペランド供給方式は、上記の目的を達成する
ために、メモリとの間のデータ転送を制御するメモリ制
御部と、命令語の取り出しを制御する命令取り出し部と
、この命令取り出し部で取り出された命令語で指定され
た動作を実行する命令実行部とを含む中央処理装置にお
いて、前記メモリ制御部から取り出した命令語がイミデ
イエイトオペランドを含むか否かを検出するイミデイエ
゛イトオペランド検出手段と、このイミデイエイトオペ
ランド検出手段でイミデイエイトオペランドを含む命令
語であることが検出されたとき前記命令語中のイミデイ
エイトオペランドを前記メモリ制御部に送出するイミデ
イエイトオペランド送出手段とを前記命令取り出し部に
設け、前記メモリ制御部は前記命令取り出し部からイミ
デイエイトオペランドを受信すると、この受信したイミ
デイエイトオペランドを、メモリオペランドと同一の供
給バスで前記命令実行部に転送するように構成されてい
る。
(Means for Solving the Problems) In order to achieve the above object, the operand supply method of the present invention includes a memory control unit that controls data transfer to and from memory, and an instruction fetch unit that controls fetching of instruction words. and an instruction execution section that executes an operation specified by the instruction word fetched by the instruction fetch section, the instruction word fetched from the memory control section includes an immediate operand. an immediate operand detection means for detecting whether the instruction word is an immediate operand; the instruction fetching section is provided with immediate operand sending means for sending out an immediate operand to the instruction fetching section, and when the memory control section receives the immediate operand from the instruction fetching section, the received immediate operand is sent to the instruction fetching section. The information is configured to be transferred to the instruction execution unit via a supply bus.

〔作用〕[Effect]

本発明のオペランド供給方式においては、命令取り出し
部に設けられたイミデイエイトオペランド検出手段が、
メモリ制御部から取り出された命令語にイミデイエイト
オペランドが含まれるか否かを検出し、含むことが検出
された場合には同じく命令取り出し部に設けられたイミ
デイエイトオペランド送出手段が、その命令語中のイミ
デイエイトオペランドをメモリ制御部に送出し、メモリ
制御部が、このイミデイエイトオペランドをメモリオペ
ランドと同一の供給パスで命令実行部に転送する。
In the operand supply method of the present invention, the immediate operand detection means provided in the instruction fetching section
It is detected whether or not an immediate operand is included in the instruction word fetched from the memory control section, and if it is detected that the instruction word is included, the immediate operand sending means also provided in the instruction fetch section sends the immediate operand. The immediate operand in the instruction word is sent to the memory control unit, and the memory control unit transfers this immediate operand to the instruction execution unit through the same supply path as the memory operand.

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

第1図は本発明のオペランド供給方式を適用した中央処
理装置の要部ブロフク図であり、101は図示しないメ
モリとの間のデータ転送を制御するメモリ制御部(MB
U)、111は命令語の取り出しを制御する命令取り出
し部(PFU)、121はファームウェア制御部、13
1は命令取り出し部111で取り出された命令語で指定
された動作をファームウェア制御部121に格納された
対応するファームウェアを実行することにより遂行する
命令実行部(EXU)である。
FIG. 1 is a block diagram of the main parts of a central processing unit to which the operand supply method of the present invention is applied, and 101 is a memory control unit (MB) that controls data transfer to and from a memory (not shown).
U), 111 is a command fetching unit (PFU) that controls fetching of instruction words, 121 is a firmware control unit, 13
Reference numeral 1 denotes an instruction execution unit (EXU) that executes the operation specified by the instruction word extracted by the instruction extraction unit 111 by executing the corresponding firmware stored in the firmware control unit 121.

メモリ制御部101.命令取り出し部111゜ファーム
ウェア制御部121および命令実行部13I内には、本
発明のオペランド供給方式にかかる主要な構成要素が含
まれている。すなわち、メモリ制御部101には、メモ
リ読み出しレジスタ102、メモリ読み出しデータ出力
バッファ103、イミデイエイトオペランド入カバソフ
ァ104、パイプラインのタイミング調整用のレジスタ
105および106が含まれ、命令取り出し部111に
は、メモリ読み出しデータ人力バッファ112、セレク
タ113.命令レジスタ114.イミデイエイトオペラ
ンド検出手段115.命令バッファレジスタ116.イ
ミデイエイトオペランド送出手段117およびイミデイ
エイトオペランド・メモリオペランドORゲート118
が含まれ、ファームウェア制御部121にはファームウ
ェア格納用メモリ122が含まれ、命令実行部131に
はオペランドレジスタ132が含まれる。
Memory control unit 101. The instruction retrieval unit 111, the firmware control unit 121, and the instruction execution unit 13I include the main components related to the operand supply method of the present invention. That is, the memory control unit 101 includes a memory read register 102, a memory read data output buffer 103, an immediate operand input buffer sofa 104, and registers 105 and 106 for adjusting pipeline timing. , memory read data manual buffer 112, selector 113 . Instruction register 114. Immediate operand detection means 115. Instruction buffer register 116. Immediate operand sending means 117 and immediate operand/memory operand OR gate 118
The firmware control section 121 includes a firmware storage memory 122, and the instruction execution section 131 includes an operand register 132.

第2図は、第1図において、メモリ制御部101からイ
ミデイエイトオペランドを含む命令語が命令取り出し部
111に転送され、その命令語中のイミデイエイトオペ
ランドが再びメモリ制御部101に転送され、このメモ
リ制御部101を経由して命令実行部に供給される際の
タイムチャートである。また、第3図はイミディエイト
オペランドを含む命令語のメモリ上のイメージを示し、
この命令語300は命令コード部301とイミデイエイ
トオペランド302で構成されている。更に、第4図を
参照すると、命令コード部301は、命令コード401
とアドレスシラブル(オペランドのアドレッシングの手
続きを記述したもの)402とで構成されている。
FIG. 2 shows that in FIG. 1, an instruction word including an immediate operand is transferred from the memory control unit 101 to the instruction fetching unit 111, and the immediate operand in the instruction word is transferred to the memory control unit 101 again. , is a time chart when the instruction is supplied to the instruction execution unit via the memory control unit 101. Also, Figure 3 shows an image of the instruction word including the immediate operand in memory,
This instruction word 300 is composed of an instruction code section 301 and an immediate operand 302. Furthermore, referring to FIG. 4, the instruction code section 301 includes an instruction code 401
and an address syllable (describing the procedure for addressing the operand) 402.

次に、第1図乃至第4図を参照して、第3図に示すイミ
デイエイトオペランド302を命令実行部131に供給
する本実施例のオペランド供給方式にかかる動作につい
て説明する゛。
Next, with reference to FIGS. 1 to 4, the operation of the operand supply system of this embodiment for supplying the immediate operand 302 shown in FIG. 3 to the instruction execution section 131 will be described.

第1図を参照すると、命令取り出し部111からメモリ
制御部101に発行された命令フェッチ要求に応答して
、メモリ制御部101はメモリ読み出しレジスタ102
に命令語(今の場合は第3図に示すイミデイエイトオペ
ランド302を含む命令語300)を第2図のタイミン
グt1でセットする。このメモリ読み出しレジスタ10
2にセットされた命令語300は、メモリ読み出しデー
タ出力バッファ103.メモリ制御部101と命令取り
出し部111との間のパスP1を経由して命令取り出し
部111に供給され、第2図のタイミングt2において
、命令語300中の命令コード部301はメモリ読み出
しデータ人力バッファ112およびセレクタ113を経
由して命令レジスタ114にセットされ、イミデイエイ
トオペランド302はメモリ読み出しデータ入力バッフ
ァ112を経由して命令バッファレジスタ116にセッ
トされる。
Referring to FIG. 1, in response to an instruction fetch request issued from the instruction fetching unit 111 to the memory control unit 101, the memory control unit 101 sends the memory read register 102
An instruction word (in this case, an instruction word 300 including the immediate operand 302 shown in FIG. 3) is set at timing t1 in FIG. 2. This memory read register 10
The instruction word 300 set to 2 is the memory read data output buffer 103. The instruction code section 301 in the instruction word 300 is supplied to the instruction fetch section 111 via the path P1 between the memory control section 101 and the instruction fetch section 111, and at timing t2 in FIG. 112 and selector 113, and the immediate operand 302 is set in the instruction buffer register 116 via the memory read data input buffer 112.

命令レジスタ114にセットされた命令コード部301
即ち第4図の命令コード401およびアドレスシラブル
402はイミデイエイトオペランド検出手段115でデ
コードされる。その結果、命令語300はイミデイエイ
トオペランドを含む命令語であることが検出されると、
イミデイエイトオペランド送出手段117がイミデイエ
イトオペランド検出手段115の出力によって有効化さ
れると共に、当該命令コード401に対応するイミデイ
エイト・メモリオペランド用ファームウェアエントリ1
23を指示する情報がイミデイエイトオペランド検出手
段115からイミデイエイトオペランド・メモリオペラ
ンドORゲート118および命令取り出し部111とフ
ァームウェア制御部121との間のパスP2を経由して
ファームウェア制御部121に送出され、イミデイエイ
ト・メモリオペランド用ファームウェアエントリ123
がポイントされることになる。
Instruction code section 301 set in instruction register 114
That is, the instruction code 401 and address syllable 402 in FIG. 4 are decoded by the immediate operand detection means 115. As a result, when it is detected that the instruction word 300 is an instruction word containing an immediate operand,
The immediate operand sending means 117 is enabled by the output of the immediate operand detecting means 115, and the immediate memory operand firmware entry 1 corresponding to the instruction code 401 is
23 is sent from the immediate operand detection means 115 to the firmware control unit 121 via the immediate operand/memory operand OR gate 118 and the path P2 between the instruction fetching unit 111 and the firmware control unit 121. Firmware entry 123 for immediate memory operand
will be highlighted.

上述の如くイミデイエイトオペランド送出手段117が
を効化されると、命令バッファレジスタ116中のイミ
デイエイトオペランド302はその有効化されたイミデ
イエイトオペランド送出手段117.パスP1を経由し
てメモリ制御部101に送出され、メモリ制御部101
内では、このイミデイエイトオペランド302は、イミ
デイエイトオペランド入力バッファ104を介してパイ
プラインのタイミング調整用のレジスタ105に第2図
のタイミングt3でセットされ、その後もう1段のタイ
ミング調整用のレジスタ106に第2図のタイミングt
4でセットされた後、タイミングt4でメモリ制御部1
01と命令実行部131との間のパスP3を介して命令
実行部131に移送される。そして、命令実行部131
においては、前記ポイントされたイミデイエイト・メモ
リオペランド用ファームウェアエントリ123中のファ
ームウェアによって規定される動作が第2図のタイミン
グむ4において開始され、これにより、メモリ制御部1
01から転送されてきたイミデイエイトオペランド30
2がタイミングL5でオペランドレジスタ132にセッ
トされ、続いてそのイミデイエイトオペランド302に
対して命令コード401で指定された動作が実行される
When the immediate operand sending means 117 is enabled as described above, the immediate operand 302 in the instruction buffer register 116 is transferred to the activated immediate operand sending means 117. It is sent to the memory control unit 101 via the path P1, and the memory control unit 101
In this case, this immediate operand 302 is set in the pipeline timing adjustment register 105 via the immediate operand input buffer 104 at timing t3 in FIG. The timing t in FIG. 2 is stored in the register 106.
4, the memory controller 1 is set at timing t4.
01 and the instruction execution unit 131 via the path P3. Then, the instruction execution unit 131
, the operation specified by the firmware in the pointed immediate memory operand firmware entry 123 is started at timing 4 in FIG.
Immediate operand 30 transferred from 01
2 is set in the operand register 132 at timing L5, and then the operation specified by the instruction code 401 is executed on the immediate operand 302.

他方、命令レジスタ114にセットされた命令コードが
第4図に示す命令コードと同一であるが、アドレスシラ
ブルがイミデイエイトオペランドを措定せず、メモリオ
ペランドを指定している場合、命令バッファレジスタ1
16中のデータはイミデイエイトオペランドでなくメモ
リオペランドを指示するアドレス情報である。この場合
は、セレクタ113を介して命令バッファレジスタ11
6中のデータを命令レジスタ114に移送し、そのデー
タに従って従来と同様にしてメモリ制御部101をイ吏
って虚亥当するメモリオペランドをメモリから読み出す
。メモリ制御部101で読み出されたメモリオペランド
は、パスP3を経由してメモリ制御部lotから命令実
行部131に供給される。
On the other hand, if the instruction code set in the instruction register 114 is the same as the instruction code shown in FIG. 4, but the address syllable does not specify an immediate operand but specifies a memory operand, the instruction buffer register 1
The data in 16 is address information indicating a memory operand, not an immediate operand. In this case, the instruction buffer register 11
6 is transferred to the instruction register 114, and in accordance with the data, the memory control unit 101 is operated in the same manner as in the prior art to read out the false memory operand from the memory. The memory operand read by the memory control unit 101 is supplied from the memory control unit lot to the instruction execution unit 131 via a path P3.

即ち、メモリオペランドとイミディエイトオペランドと
は同じパスP3を経由し双方ともメモリ制御部101か
ら命令実行部131に供給される。
That is, both the memory operand and the immediate operand are supplied from the memory control unit 101 to the instruction execution unit 131 via the same path P3.

このため、同じ命令コードに対応するファームウェアは
、メモリオペランドの場合とイミデイエイトオペランド
の場合とで兼用することができる。
Therefore, firmware corresponding to the same instruction code can be used for both the memory operand and the immediate operand.

従って、イミデイエイトオペランド検出手段115は、
メモリオペランドを指定する命令コードをデコードした
場合、イミデイエイトオペランドの場合と同じエントリ
ポイント即ち第1図のイミデイエイト・メモリオペラン
ド用ファームウェアエントリ123をポイントするもの
である。
Therefore, the immediate operand detection means 115
When the instruction code specifying the memory operand is decoded, it points to the same entry point as for the immediate operand, ie, firmware entry 123 for the immediate memory operand in FIG.

このように、本実施例によれば、命令実行部131に対
するイミデイエイトオペランドの供給パスを、メモリオ
ペランドの供給パスと共用化することができ、これによ
って同一命令コードに対応するファームウェアを共通化
することが可能となる。更に、供給パスを共用化した分
、命令取り出し部111.命令実行部131等を個別の
LSIで実現する際の各LSIの入出力ビン数を削減す
ることが可能となる0例えば、従来、命令取り出し部1
11から32ビット幅の供給パスによりイミデイエイト
オペランドを命令実行部131に供給していたのであれ
ば、命令取り出し部111および命令実行部131から
それぞれ32本の入出力ピンを削減することができる。
In this way, according to this embodiment, the immediate operand supply path to the instruction execution unit 131 can be shared with the memory operand supply path, thereby making it possible to share firmware corresponding to the same instruction code. It becomes possible to do so. Furthermore, since the supply path is shared, the instruction retrieval unit 111. For example, conventionally, the number of input/output bins of each LSI can be reduced when the instruction execution unit 131 and the like are implemented using individual LSIs.
If the immediate operand is supplied to the instruction execution unit 131 by a supply path with a width of 11 to 32 bits, 32 input/output pins can be reduced from each of the instruction fetch unit 111 and the instruction execution unit 131. .

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

以上説明したように、本発明のオペランド供給方式にお
いては、イミデイエイトオペランドがメモリオペランド
と同一の供給パスを介してメモリ制御部から命令実行部
に供給されるので、命令実行部においてはイミデイエイ
トオペランドの取り込みをメモリオペランドと同様に行
え、従って、従来イミデイエイトオペランド用として各
命令毎に用意していたファームウェアが不要になり、全
体のファームウェア容量を少ないものとすることができ
る。また、命令取り出し部から命令実行部へのイミデイ
エイトオペランド供給用パスが不要になるので、命令取
り出し部や命令実行部をLSI化した場合、各LSIの
入出力ピン数を削減することができる効果もある。更に
、ファームウェア容量を小さく抑えることができるので
、ファームウェア格納用メモリを構成するLSI中のゲ
ート数の削減も可能となる。
As explained above, in the operand supply method of the present invention, the immediate operand is supplied from the memory control unit to the instruction execution unit via the same supply path as the memory operand, so the immediate operand is supplied to the instruction execution unit in the instruction execution unit. The eight operands can be taken in in the same way as the memory operands, so the firmware that was conventionally prepared for each instruction for the immediate eight operands is no longer necessary, and the overall firmware capacity can be reduced. Additionally, since the path for supplying immediate operands from the instruction fetching section to the instruction execution section is no longer required, when the instruction fetching section and the instruction execution section are integrated into an LSI, the number of input/output pins of each LSI can be reduced. It's also effective. Furthermore, since the firmware capacity can be kept small, it is also possible to reduce the number of gates in the LSI that constitutes the firmware storage memory.

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

第1図は本発明のオペランド供給方式を適用した中央処
理装置の要部ブロック図、 第2図はイミデイエイトオペランドが命令実行部のオペ
ランドレジスタに格納されるまでのタイムチャート、 第3図はイミデイエイトオペランドを含む命令語のメモ
リ上のイメージを示す図および、第4図は命令コード部
301の構成例を示す図である。 図において、 101・・・メモリ制御部(MBU) 102・・・メモリ読み出しレジスタ 103・・・メモリ読み出しデータ出力バッファ104
・・・イミデイエイトオペランド入カバソファ 105.106・・・パイプラインのタイミング調整用
のレジスタ 111・・・命令取り出し部(PFU)112・・・メ
モリ読み出しデータ人力バッファ113・・・セレクタ 114・・・命令レジスタ 115・・・イミデイエイトオペランド検出手段116
・・・命令バッファレジスタ 117・・・イミデイエイトオペランド送出手段118
・・・イミデイエイトオペランド・メモリオペランドO
Rゲート 121・・・ファームウェア制御部 122・・・ファームウェア格納用メモリ123・・・
イミデイエイト・メモリオペランド用ファームウェアエ
ントリ 131・・・命令実行部(EXU) 132・・・オペランドレジスタ P1〜P3・・・パス
Figure 1 is a block diagram of the main parts of a central processing unit to which the operand supply method of the present invention is applied, Figure 2 is a time chart until the immediate operand is stored in the operand register of the instruction execution unit, and Figure 3 is A diagram showing an image of an instruction word including an immediate operand on the memory, and FIG. 4 are diagrams showing an example of the configuration of the instruction code section 301. In the figure, 101...Memory control unit (MBU) 102...Memory read register 103...Memory read data output buffer 104
... Immediate operand input cover sofa 105, 106... Register for pipeline timing adjustment 111... Instruction fetch unit (PFU) 112... Memory read data manual buffer 113... Selector 114... - Instruction register 115...immediate operand detection means 116
...Instruction buffer register 117...Immediate operand sending means 118
...immediate operand/memory operand O
R gate 121...firmware control unit 122...firmware storage memory 123...
Immediate memory operand firmware entry 131...Instruction execution unit (EXU) 132...Operand registers P1 to P3...Path

Claims (1)

【特許請求の範囲】 メモリとの間のデータ転送を制御するメモリ制御部と、
命令語の取り出しを制御する命令取り出し部と、該命令
取り出し部で取り出された命令語で指定された動作を実
行する命令実行部とを含む中央処理装置において、 前記メモリ制御部から取り出した命令語がイミデイエイ
トオペランドを含むか否かを検出するイミデイエイトオ
ペランド検出手段と、該イミデイエイトオペランド検出
手段でイミデイエイトオペランドを含む命令語であるこ
とが検出されたとき前記命令語中のイミデイエイトオペ
ランドを前記メモリ制御部に送出するイミデイエイトオ
ペランド送出手段とを前記命令取り出し部に備え、前記
メモリ制御部は前記命令取り出し部からイミデイエイト
オペランドを受信すると、該受信したイミデイエイトオ
ペランドを、メモリオペランドと同一の供給パスで前記
命令実行部に転送することを特徴とするオペランド供給
方式。
[Claims] A memory control unit that controls data transfer to and from the memory;
In a central processing unit that includes an instruction fetching section that controls fetching of an instruction word, and an instruction execution section that executes an operation specified by the instruction word fetched by the instruction fetching section, the instruction word fetched from the memory control section. an immediate operand detection means for detecting whether or not the instruction word includes an immediate operand; The instruction retrieval section includes immediate operand sending means for sending an immediate operand to the memory control section, and when the memory control section receives the immediate operand from the instruction retrieval section, the received immediate operand is sent to the memory control section. An operand supply method characterized in that eight operands are transferred to the instruction execution unit through the same supply path as a memory operand.
JP63200903A 1988-08-11 1988-08-11 Operand supplying system Pending JPH0250222A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63200903A JPH0250222A (en) 1988-08-11 1988-08-11 Operand supplying system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63200903A JPH0250222A (en) 1988-08-11 1988-08-11 Operand supplying system

Publications (1)

Publication Number Publication Date
JPH0250222A true JPH0250222A (en) 1990-02-20

Family

ID=16432178

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63200903A Pending JPH0250222A (en) 1988-08-11 1988-08-11 Operand supplying system

Country Status (1)

Country Link
JP (1) JPH0250222A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5563439A (en) * 1978-11-06 1980-05-13 Omron Tateisi Electronics Co Instruction control system for direct data bit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5563439A (en) * 1978-11-06 1980-05-13 Omron Tateisi Electronics Co Instruction control system for direct data bit

Similar Documents

Publication Publication Date Title
EP0689131B1 (en) A computer system for executing branch instructions
EP0213842B1 (en) Mechanism for performing data references to storage in parallel with instruction execution on a reduced instruction-set processor
US4648034A (en) Busy signal interface between master and slave processors in a computer system
JP2701179B2 (en) Data processing system
US5257354A (en) System for monitoring and undoing execution of instructions beyond a serialization point upon occurrence of in-correct results
JPH09138778A (en) Device and method using semaphore buffer for semaphore instruction
US7134001B1 (en) Pipeline replay support for unaligned memory operations
US6266767B1 (en) Apparatus and method for facilitating out-of-order execution of load instructions
US6725355B1 (en) Arithmetic processing architecture having a portion of general-purpose registers directly coupled to a plurality of memory banks
EP0600583B1 (en) Vector processing device
EP1177499B1 (en) Processor and method of executing instructions from several instruction sources
US5283881A (en) Microcoprocessor, memory management unit interface to support one or more coprocessors
JP2918019B2 (en) Test circuit for single-chip microprocessor
JPH0250222A (en) Operand supplying system
EP1050805B1 (en) Transfer of guard values in a computer system
JPH05241827A (en) Command buffer controller
JP2619425B2 (en) Sequence controller
JPH04220722A (en) Pipeline control system
JP2622026B2 (en) Register writing control method in central processing unit
JPH0279122A (en) Floating point arithmetic mechanism
JP2506591B2 (en) Auxiliary processor
JPS6221131B2 (en)
US6564303B1 (en) Dual port memory for digital signal processor
JP2513846B2 (en) Vector instruction generation method
JPH0333951A (en) Microcomputer system