JPS61168046A - Microprocessor - Google Patents

Microprocessor

Info

Publication number
JPS61168046A
JPS61168046A JP60009586A JP958685A JPS61168046A JP S61168046 A JPS61168046 A JP S61168046A JP 60009586 A JP60009586 A JP 60009586A JP 958685 A JP958685 A JP 958685A JP S61168046 A JPS61168046 A JP S61168046A
Authority
JP
Japan
Prior art keywords
instruction
prefetch
signal line
logic
prefetching
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
JP60009586A
Other languages
Japanese (ja)
Inventor
Yoshinori Sugawara
菅原 芳則
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 JP60009586A priority Critical patent/JPS61168046A/en
Publication of JPS61168046A publication Critical patent/JPS61168046A/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/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/38Concurrent instruction execution, e.g. pipeline or look ahead
    • G06F9/3802Instruction prefetching

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Advance Control (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To easily discriminate an instruction being executed by means of an external bus monitoring device when a prefetch invalidation designating signal is received from the outside, by invalidating the prefetch of an instruction. CONSTITUTION:If the logic of the prefetch invalidation designating signal on a signal line 15 is '0' and the signal of an instruction prefetch designating signal line 14 is '1' in logic, the output of an AND gate 5 becomes '1' in logic and an instruction prefetch controlling section 3 prefetches an instruction, and then, the instruction is supplied to an instruction prefetching cue 4. If the prefetch invalidating signal on the signal line 15 is '1' in logic, on the other hand, the output of the AND gate 5 becomes '0' in logic. Therefore, no instruction is supplied to the instruction prefetching cue 4 and no instruction exists, since the instruction prefetch controlling section 3 does not make prefetching of any instruction even if the instruction prefetch designating signal line 14 is '1' in logic. When an instruction is requested under this condition from an instruction executing section 2 through an instruction requesting signal line 10, the instruction prefetch controlling section 3 necessarily sends reading designation to an instruction reading designating signal line 12.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、先取シ命令を無効化できるマイクロプロセサ
に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a microprocessor capable of invalidating preemptive instructions.

(従来の技術) マイクロプロセサを使用した情報処理装置において、装
置の動作試験、あるいはプログラムの評価を行う際には
マイクロプロセサの入出力信号をバス監視装置によりチ
ェックし、実行中の命令を監視するのが一般的である。
(Prior art) In an information processing device using a microprocessor, when testing the device's operation or evaluating a program, the input/output signals of the microprocessor are checked by a bus monitoring device and instructions being executed are monitored. is common.

(発明が解決しようとする問題点) しかしながら、斯かる従来技術により構成点れた命令の
先取シ機能を有するマイクロプロセサでは、どの命令を
実行しているかをマイクロプロセサの入出力信号から判
定できないという問題点があった。
(Problems to be Solved by the Invention) However, in the microprocessor that has the function of preempting instructions configured according to the prior art, it is impossible to determine which instruction is being executed from the input/output signals of the microprocessor. There was a problem.

本発明の目的は、外部からの先取り無効化指示信号を受
取った時には命令を先取シする機能を停止して先取シ命
令を無効化するようにして上記欠点を除去し、外部のバ
ス信号監視装置により容易に実行中の命令を判別できる
ように構成した命令先取り機能を有するマイクロプロセ
サを提供することにある。
An object of the present invention is to eliminate the above-mentioned drawbacks by stopping the function of preempting commands and invalidating the preemption command when receiving a preemption invalidation instruction signal from the outside, and to provide an external bus signal monitoring device. It is an object of the present invention to provide a microprocessor having an instruction prefetching function configured so that the instruction being executed can be easily determined.

(問題点を解決するための手段) 本発明によるマイクロプロセサは、外部からの先取り無
効化指示信号を受取るための入力手段と、命令実行の終
了時に次の命令を要求するための命令先取シキュー手段
と、上記先取シ無効化指示信号により命令の先取りを無
効化すると共に、上記命令先取りキュー手段に対する命
令の供給を停止するための命令キュー制御手段とを具備
して構成したものである。
(Means for Solving the Problems) A microprocessor according to the present invention includes an input means for receiving a prefetch invalidation instruction signal from the outside, and an instruction prefetch queue means for requesting the next instruction at the end of instruction execution. and an instruction queue control means for disabling instruction prefetching by the prefetching disabling instruction signal and stopping the supply of instructions to the instruction prefetching queue means.

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

本発明の一実施例を示す第1図において、本発明のマイ
クロプロセサ1は命令を実行するための命令実行部2と
、命令実行部2が命令の実行を終了した時に命令要求信
号線10を通して次の命令を要求するための命令キュー
制御部3と、命令が存在する時には命令キュー制御部3
により命令供給信号線11を通して命令を命令実行部1
に供給するための命令先取りキュー4と、ANDゲート
とレシーバ6と、インバータ7とから成立つ。
In FIG. 1 showing an embodiment of the present invention, a microprocessor 1 of the present invention includes an instruction execution section 2 for executing an instruction, and an instruction request signal line 10 that is transmitted when the instruction execution section 2 finishes executing an instruction. an instruction queue control section 3 for requesting the next instruction; and an instruction queue control section 3 when an instruction exists;
The command is sent to the command execution unit 1 through the command supply signal line 11.
It consists of an instruction prefetch queue 4, an AND gate, a receiver 6, and an inverter 7.

命令先取りキュー4に命令が存在しない時には、命令読
取シ指示信号線12に命令の読取り指示を送出して、読
取られた命令をデータバス信号線13を通して命令先取
りキュー4に入れた後、命令供給信号線11を通して上
記命令を命令実行部1に供給する。
When there is no instruction in the instruction prefetch queue 4, an instruction read instruction is sent to the instruction read instruction signal line 12, the read instruction is placed in the instruction prefetch queue 4 via the data bus signal line 13, and then the instruction is supplied. The above command is supplied to the command execution unit 1 through a signal line 11.

命令先取りキュー4からは、一つ以上の命令を格納する
ことができる旨を示す命令先取り指示信号線14がAN
Dゲート5を通して命令先取シ制御部3に送られている
。ANDゲート6の一方の入力には、外部からの信号線
15を介して先取り無効化指示をレシーバ6で受け、そ
れをインツク−タフで反転させて得た信号が入力されて
いる。いま、信号線15上の先取り無効化指示が論理1
01で、命令先取シ指示信号線14が論理111である
と、ANDゲート6の出力は論理%11となり、命令先
取シ制御部3は命令の先取りを行い、命令先取りキュー
4に命令が供給される。
From the instruction prefetch queue 4, an instruction prefetch instruction signal line 14 indicating that one or more instructions can be stored is connected to AN
The command is sent to the command preemption control section 3 through the D gate 5. One input of the AND gate 6 receives a signal obtained by receiving a prefetch invalidation instruction from the outside via the signal line 15 at the receiver 6 and inverting it at the inverter. Now, the preemption invalidation instruction on the signal line 15 is logic 1.
01, the instruction prefetch instruction signal line 14 is logic 111, the output of the AND gate 6 becomes logic %11, the instruction prefetch control unit 3 prefetches the instruction, and the instruction is supplied to the instruction prefetch queue 4. Ru.

一方、信号線15上の先取り無効化指示が論理%11で
あると、ANDゲート6の出力は論理101となるため
、命令先取シ指示信号N14が論理%11であっても命
令先取り制御部3では命令の先取りを行わないため、命
令先取りキュー4には命令が供給されずに命令が存在し
なくなってしまう。このような状態で命令実行部2から
命令要求信号線10を通して命令を要求すると、命令先
取り制御部3は必ず命令読取シ指示信号線12に読取り
指示を送出する。このため、命令読取り指示信号線12
を外部のバス監視装置で監視すれば、次に実行する命令
を容易に判別できる。
On the other hand, when the prefetch invalidation instruction on the signal line 15 is logic %11, the output of the AND gate 6 becomes logic 101. Therefore, even if the instruction prefetch instruction signal N14 is logic %11, the instruction prefetch control unit 3 Since no instructions are prefetched in this case, no instructions are supplied to the instruction prefetch queue 4 and no instructions exist. When the instruction execution unit 2 requests an instruction through the instruction request signal line 10 in such a state, the instruction prefetch control unit 3 always sends a read instruction to the instruction read instruction signal line 12. Therefore, the instruction read instruction signal line 12
By monitoring the command with an external bus monitoring device, the next command to be executed can be easily determined.

(発明の効果) 本発明には以上説明したように、外部からの先取り無効
化指示信号を受取って命令の先取りを無効化することに
よって、外部のバス監視装置により容易に実行中の命令
を判別できるという効果がある。
(Effects of the Invention) As described above, the present invention enables an external bus monitoring device to easily determine which command is being executed by receiving a prefetching disabling instruction signal from the outside and disabling the prefetching of the instruction. There is an effect that it can be done.

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

第1図は、本発明によるマイクロプロセサの一実施例を
示すブロック図である。 1・・・マイクロプロセサ 2・・・命令実行部 3・・・命令キュー制御部 4・・・命令先取りキュー 5・・・ANDゲート 6・・・レシーバ 7・・・インバータ 10〜16・・・信号線
FIG. 1 is a block diagram showing one embodiment of a microprocessor according to the present invention. 1...Microprocessor 2...Instruction execution unit 3...Instruction queue control unit 4...Instruction prefetch queue 5...AND gate 6...Receiver 7...Inverters 10 to 16... Signal line

Claims (1)

【特許請求の範囲】[Claims] 外部からの先取り無効化指示信号を受取るための入力手
段と、命令実行の終了時に次の命令を要求するための命
令先取りキュー手段と、前記先取り無効化指示信号によ
り前記命令の先取りを無効化すると共に、前記命令先取
りキュー手段に対する前記命令の供給を停止するための
命令キュー制御手段とを具備して構成したことを特徴と
するマイクロプロセサ。
an input means for receiving a prefetch disabling instruction signal from the outside; an instruction prefetch queue means for requesting the next instruction at the end of instruction execution; and disabling the prefetching of the instruction by the prefetch disabling instruction signal. A microprocessor further comprising: instruction queue control means for stopping supply of the instructions to the instruction prefetch queue means.
JP60009586A 1985-01-22 1985-01-22 Microprocessor Pending JPS61168046A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60009586A JPS61168046A (en) 1985-01-22 1985-01-22 Microprocessor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60009586A JPS61168046A (en) 1985-01-22 1985-01-22 Microprocessor

Publications (1)

Publication Number Publication Date
JPS61168046A true JPS61168046A (en) 1986-07-29

Family

ID=11724423

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60009586A Pending JPS61168046A (en) 1985-01-22 1985-01-22 Microprocessor

Country Status (1)

Country Link
JP (1) JPS61168046A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07200402A (en) * 1995-01-17 1995-08-04 Hitachi Ltd Data processor
US5787276A (en) * 1993-07-07 1998-07-28 Nec Corporation Microprocessor including circuit for generating signal used for tracing executed instruction stream

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5787276A (en) * 1993-07-07 1998-07-28 Nec Corporation Microprocessor including circuit for generating signal used for tracing executed instruction stream
JPH07200402A (en) * 1995-01-17 1995-08-04 Hitachi Ltd Data processor
JP2685727B2 (en) * 1995-01-17 1997-12-03 株式会社日立製作所 Data processing device

Similar Documents

Publication Publication Date Title
KR850001574A (en) Dual processing unit equipped data processing system
KR960705271A (en) Execution of data processing instructions (EXECUTION OF DATA PROCESSING INSTRUCTIONS)
KR950001417B1 (en) Computer system
JP2583525B2 (en) Data processing device
KR870011540A (en) System Management System for Multiprocessor Systems
JPS61168046A (en) Microprocessor
JPS58197553A (en) Program monitor
JP2974681B2 (en) Data processor with pulse width encoding state output signal
KR960025046A (en) Slave Storage Device Access Method and Data Processing System
KR100223096B1 (en) Method and apparatus for observing internal memory-mapped registers
JPS6349938A (en) Instruction prefetch control device
JP2679440B2 (en) Information processing device
JP2665173B2 (en) Processor trap circuit
KR960018958A (en) Main Memory Access Device Using Data Buffer When Performing Atomic Instruction in Multiprocessor System
JPS6120903B2 (en)
JP2504754B2 (en) Central processing unit
JPS63148329A (en) Instruction prefetch control system
JPH0298735A (en) Instruction pre-fetch system
JPS63187339A (en) Information processor
JPH01240941A (en) Information processor
JPH04158443A (en) Microcomputer
JPH04188226A (en) Instruction pre-read controller
JPH0479022B2 (en)
JPH0573461A (en) Input/output processor
JPH01266630A (en) Address controller