JPS5960645A - System for processing instruction execution of processor - Google Patents
System for processing instruction execution of processorInfo
- Publication number
- JPS5960645A JPS5960645A JP17156382A JP17156382A JPS5960645A JP S5960645 A JPS5960645 A JP S5960645A JP 17156382 A JP17156382 A JP 17156382A JP 17156382 A JP17156382 A JP 17156382A JP S5960645 A JPS5960645 A JP S5960645A
- Authority
- JP
- Japan
- Prior art keywords
- instruction
- processor
- control bit
- instructions
- execution
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4812—Task transfer initiation or dispatching by interrupt, e.g. masked
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Executing Machine-Instructions (AREA)
Abstract
Description
【発明の詳細な説明】
四 発明の技術分野
本発明は、プロセッサ命令実行処理方式、特にストアト
・グログラム方式のプロセッサにおいて、いわばチャネ
ルにおけるコマンド・チェインに対応する命令のチェイ
ン機能を与え、その間における停止指示や割込指示をハ
ードウェア処理によって無視できるようにしたプロセッ
サ命令実行処理方式に関するものである。DETAILED DESCRIPTION OF THE INVENTION 4. Technical Field of the Invention The present invention provides an instruction chain function corresponding to a command chain in a channel in a processor instruction execution processing system, particularly a stored program system processor, and provides an instruction chain function corresponding to a command chain in a channel. The present invention relates to a processor instruction execution processing method that allows instructions and interrupt instructions to be ignored by hardware processing.
但)技術の背景と問題点
従来からストアト・プログラム方式のプロセッサにおい
て処理が実行されてゆく途中に割込−7A要求が発止す
ると、プロセッサは尚該割込み要求が高い優先度をもっ
ている場合に当該割込みに対応する処理に移行するよう
にされる。However, technical background and problems Conventionally, when an interrupt-7A request is issued while processing is being executed in a stored program type processor, the processor will not respond to the request if the interrupt request has a high priority. A transition is made to processing corresponding to the interrupt.
本発明はそれに限られるものではないが、マイクロプロ
グラム制御のプロセッサにおいては、複数個の一連のマ
イクロ命令を実行することによって、例えば成るフラグ
を立て当該フラグが立てられるのを侍って次の処理を実
行してゆく如き処理を実行するなどの処理が行われる。Although the present invention is not limited thereto, in a microprogram-controlled processor, for example, by executing a series of a plurality of microinstructions, a flag is set, the flag is set, and the next processing is performed. Processing such as executing a process is performed.
このような処理などについてデバッグを行うような場合
に、上記一連のマイクロ命令実行の間に上記割込み要求
が発生すると、上記デバッグが困難になるなどの問題が
ある。このために、上記一連のマイクロ命令を実行し終
るまでの間に、割込みなどを禁止することが望まれ、上
記一連のマイクロ命令の実行に対して一時的にソフト的
に割込レベルを高めるようとすることも考l7I1.す
れる。しかし、マイクロプログラム制御の場合、割込み
要求にいちいち対応すること自体が好ましくない。When debugging such processing, if the interrupt request occurs during the execution of the series of microinstructions, there is a problem that the debugging becomes difficult. For this reason, it is desirable to disable interrupts until the execution of the series of microinstructions described above is completed, and the interrupt level may be temporarily increased by software for the execution of the series of microinstructions described above. It is also possible to consider 17I1. I can pass. However, in the case of microprogram control, it is not desirable to respond to each interrupt request.
(C) 発明の目的と構成
本発明は上記の点を解決することを目的としており、上
記の一連の命令の実行に当ってハードウェア的に上記割
込みなどを須止するようにすることを目的としている。(C) Purpose and structure of the invention The purpose of the present invention is to solve the above-mentioned problems, and its purpose is to prevent the above-mentioned interrupts etc. by hardware when executing the above-mentioned series of instructions. It is said that
そしてそのため本発明のプロ方ツサ命令実行処理方式は
、命令が格納されてなる命令記憶部をそなえ、プロセッ
サ・シーケンス制御部が上記命令記憶部から順次命令を
フェッチしつつ命令実行回路部によって当該命令を実行
せしめるよう構成され、当該命令の実行に対応して、別
個に与えられている停止指示および/または割込指示を
チェックし、当該指示が与えられているとぎ当該指示に
対応した処理が行われるよう構成されるストアト・プロ
グラム方式のプロセッサにおいて、上記停止指示および
/または割込指示の存在を無視して次の命令を実行せし
めることを表わ¥制御ビットを用、をすると共に、当該
制御ピラトラ上記命令の実行に対応してセットおよび/
またはリセット可能K11l成し、上記プロセッサ・シ
ーケンス制御部は、上記制御ビットが存在している場合
に上記指示の存在を無視して上記命令実行回路部I部に
対して次の命令の実行を行わせるようにしたことを特徴
としている。以下図面を径間しつつ説明する。Therefore, the processor instruction execution processing method of the present invention is provided with an instruction storage section in which instructions are stored, and the processor sequence control section sequentially fetches instructions from the instruction storage section and uses the instruction execution circuit section to execute the instructions. In response to the execution of the instruction, the system checks the separately given stop instruction and/or interrupt instruction, and as soon as the instruction is given, the process corresponding to the instruction is executed. In a stored program type processor configured to be executed, the control bit is used to indicate that the presence of the above-mentioned stop instruction and/or interrupt instruction is ignored and the next instruction is executed. Piratra sets and / in response to the execution of the above command.
or resettable K11l, and when the control bit exists, the processor sequence control section ignores the presence of the instruction and causes the instruction execution circuit section I to execute the next instruction. It is characterized by being designed to allow The explanation will be given below with reference to the drawings.
同 発明の実施例
第1図および第2図は夫々本発明の一実施例構成を示し
、第3図は本発明による動作を説明する一実施例フロー
チャートを示す。Embodiment of the Invention FIGS. 1 and 2 each show the configuration of an embodiment of the present invention, and FIG. 3 shows a flowchart of an embodiment for explaining the operation of the present invention.
第1図において、lはプロセッサ、2はプロセッサやシ
ーケンス制御部、3は命令実行回路部、4は命令レジス
タ%5は制御メモリ、6−1.・・・・・・は夫々マイ
クロ命令を表わしている。また図示Cビットは本発明に
いう制御ビラトラ衣わして(・る。In FIG. 1, l is a processor, 2 is a processor or sequence control section, 3 is an instruction execution circuit section, 4 is an instruction register, 5 is a control memory, 6-1. . . . each represents a microinstruction. Further, the C bit shown in the figure corresponds to the control flyer according to the present invention.
第1図図示構成の場合、本発明にいう制御ビットは、制
御メモリ5上に格納されているマイクロ茄令上に]ビッ
トを与えられて用意される。百うまでもなく、プロセッ
サ1においては、プロセッサ・シーケンス制御部2は、
制御メモリ5上のマイクロ請合6−1を順次フェッチす
る。そして、ゾロセッサ・シーケンス制御部2は、例え
は当該命令を実行し長った時点において、停止指示およ
び/または割込指示が与えられているか否かをチェック
し、例えば割込指示の割込レベルが現実行中の処理より
も高いレベルにあれば当該割込指示に対応した処理に入
つγゆ(。In the case of the configuration shown in FIG. 1, the control bits referred to in the present invention are prepared by providing bits on the microcontroller stored in the control memory 5. Needless to say, in the processor 1, the processor sequence control unit 2:
The micro requests 6-1 on the control memory 5 are sequentially fetched. Then, the processor sequence control unit 2 checks whether or not a stop instruction and/or an interrupt instruction has been given, for example, at the point when the instruction has been executed for a long time, and, for example, the interrupt level of the interrupt instruction is If the level is higher than the process currently being executed, the process corresponding to the interrupt instruction is started.
第1図図示の場合、マイクロ命令中に制御ビットが与え
られており、例えばC−1の場合にプロセッサ・シーケ
ンス制御部2は、上記停止指示および/または割込指示
のチェックを行うことなく、次の命令をフェッチし、命
令実行回路部3に対して当該次の命令を実行せしめるよ
うにする。即ち、令弟1図図示の命令■が命令レジスタ
4にフェッチされてきたとするとさ、制御ビットがC=
1となっていることから、プロセッサ・シーケンス制御
部2は、上記割込指示などの指示をチェックすることな
く、次の命令■をフェッチする。In the case shown in FIG. 1, a control bit is given in the microinstruction, and for example, in the case of C-1, the processor sequence control unit 2 does not check the above-mentioned stop instruction and/or interrupt instruction. The next instruction is fetched and the instruction execution circuit section 3 is made to execute the next instruction. That is, if the instruction ■ shown in the diagram of the younger brother 1 is fetched into the instruction register 4, the control bit is C=
1, the processor sequence control unit 2 fetches the next instruction (2) without checking instructions such as the above-mentioned interrupt instruction.
命令■においても制御ビットがC=1であり、当該命令
■が実行された後に、直ちに命令■が7エツチされて実
行される。命令■の場合には制御ビットがC20である
ために、プロセッサ・シーケンス制御部2は命令■が実
行された後に上記指示などをチェックし、指示などが存
在しなければ、次の命令■′?ニアエッチする。Also in the instruction (2), the control bit is C=1, and immediately after the instruction (2) is executed, the instruction (7) is etched and executed. In the case of the instruction ■, the control bit is C20, so the processor sequence control unit 2 checks the above-mentioned instructions after the instruction ■ is executed, and if no instructions exist, the next instruction ■'? Have near sex.
この間の動作は、第3図図示の70−チャートによって
明らかにされている。The operation during this time is clarified by the chart 70 shown in FIG.
第2図は他の一実施例を示し、図中の符号1゜2、3.
5.6 は第1図に対応し、7は制御ビット・レジス
タを表わしている。図示実施例の場合、任意の命令例え
は命令■によって制御ビット・レジスタ7上に制御ビッ
トをC=1にセットし、また倒えは命令■によって当該
レジスタ7上の制御ビットYc=oにリセットするよう
に、命令によってセット/リセットを行うようにされる
。FIG. 2 shows another embodiment, in which reference numerals 1°2, 3.
5.6 corresponds to FIG. 1 and 7 represents the control bit register. In the illustrated embodiment, any instruction example sets the control bit C=1 on the control bit register 7 by the instruction ■, and resets the control bit Yc=o on the register 7 by the instruction ■. The set/reset is performed by an instruction as follows.
このようにすることによって、図示命令■ないし命令■
が実行されるまでの間、プロセッサ・シーケンス制御部
2は、上記割込指示などの指示を無視するように働ら(
。なお、第2図図示実施例の場合、命令のビット幅が少
な(でさる利点をもっている。By doing this, the illustrated command ■ or command ■
Until this is executed, the processor sequence control unit 2 works to ignore instructions such as the above interrupt instruction (
. The embodiment shown in FIG. 2 has the advantage that the bit width of the instruction is small.
(E) 発明の詳細
な説明した如く、本発明によれは、一連の命令が、1か
たfりの命令群として、いわばチェインされた形となり
、非所望な割込みなどをノ)−ド的に禁止せしめること
が可能となる。(E) As described in detail, according to the present invention, a series of instructions are chained together as a single group of instructions, and undesired interrupts are prevented from being caused by a node. It is now possible to ban the following.
第1図および第2図は夫々本発明の一実施例構成を示し
、第3図は本発明による動作を説明する一実施例フロー
チャートを示す。
図中、1はプロセッサ、2はプロセッサ・シーケンス制
御部、3は命令実行回路部、4は命令レジスタ、5は制
御メモリ、6はマイクロ命令、7は制御ビットΦレジス
タ、Cは制御ビットを表わす。
tp!j許出願人出願人士通株式会社
代理人弁理士 森 1) 寛
(外1名)
?sE1 and 2 each show the configuration of an embodiment of the present invention, and FIG. 3 shows a flowchart of an embodiment for explaining the operation according to the present invention. In the figure, 1 is a processor, 2 is a processor sequence control unit, 3 is an instruction execution circuit unit, 4 is an instruction register, 5 is a control memory, 6 is a microinstruction, 7 is a control bit Φ register, and C is a control bit. . tp! J Patent Attorney Patent Attorney for Applicant Shitsu Co., Ltd. Hiroshi Mori 1) Hiroshi (1 other person)? sE
Claims (1)
・シーケンス制御部が上記命令記憶部から順次命令をフ
ェッチしつつ命令実行回路部によって当該命令な実行せ
しめるよう構成され、当該昔令の実行に対応して、別個
に与えられている停止指示によひ/または割込指示をチ
ェックし、当該指示が与えられているとぎ尚該指示に対
応した処理か行われるまう構成されるストアト・プログ
ラム方式のプロセッサにおいて、上記停止指示Sよぴ/
または割込指示の存在をS祝して次の命令を実行せしめ
ることを衣わ子制御ビットを用意すると共に、当該制御
ビットを上記命令の実行に対応してセットおよび/また
はリセット可能に構成し、上Maプロセッサ・シーケン
ス制御部は、上記制御ビットが存在している場合に上記
指示の存在を無視して上記命令実行回路部に対して次の
命令の実行を行わせるようにしたことを%徴とするプロ
セッサ命令実行処理方式。The processor has an instruction storage section in which instructions are stored, and is configured such that the processor sequence control section sequentially fetches the instructions from the instruction storage section and causes the instruction execution circuit section to execute the instructions, so as to correspond to the execution of the previous instruction. The stored program system is configured to check the separately given stop instruction and/or interrupt instruction, and as soon as the instruction is given, the processing corresponding to the instruction is performed. In the processor, the above stop instruction Syopi/
Alternatively, a control bit is prepared to execute the next instruction in response to the presence of an interrupt instruction, and the control bit is configured to be set and/or reset in response to the execution of the above instruction. , the upper Ma processor sequence control unit ignores the presence of the instruction and causes the instruction execution circuit unit to execute the next instruction when the control bit exists. A characteristic processor instruction execution processing method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP17156382A JPS5960645A (en) | 1982-09-30 | 1982-09-30 | System for processing instruction execution of processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP17156382A JPS5960645A (en) | 1982-09-30 | 1982-09-30 | System for processing instruction execution of processor |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS5960645A true JPS5960645A (en) | 1984-04-06 |
Family
ID=15925452
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP17156382A Pending JPS5960645A (en) | 1982-09-30 | 1982-09-30 | System for processing instruction execution of processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS5960645A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2448488A (en) * | 2007-04-10 | 2008-10-22 | Cambridge Consultants | Processor which can conditionally inhibit trap, interrupt or exception events but inhibition means are not accessible by a running program |
US8166210B2 (en) * | 2004-11-19 | 2012-04-24 | Canon Kabushiki Kaisha | Electronic device and control method therefor |
US9645949B2 (en) | 2008-07-10 | 2017-05-09 | Cambridge Consultants Ltd. | Data processing apparatus using privileged and non-privileged modes with multiple stacks |
US9652241B2 (en) | 2007-04-10 | 2017-05-16 | Cambridge Consultants Ltd. | Data processing apparatus with instruction encodings to enable near and far memory access modes |
-
1982
- 1982-09-30 JP JP17156382A patent/JPS5960645A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8166210B2 (en) * | 2004-11-19 | 2012-04-24 | Canon Kabushiki Kaisha | Electronic device and control method therefor |
US8438317B2 (en) | 2004-11-19 | 2013-05-07 | Canon Kabushiki Kaisha | Electronic device and control method therefor |
GB2448488A (en) * | 2007-04-10 | 2008-10-22 | Cambridge Consultants | Processor which can conditionally inhibit trap, interrupt or exception events but inhibition means are not accessible by a running program |
GB2448488B (en) * | 2007-04-10 | 2012-09-12 | Cambridge Consultants | Data processing apparatus |
US9652241B2 (en) | 2007-04-10 | 2017-05-16 | Cambridge Consultants Ltd. | Data processing apparatus with instruction encodings to enable near and far memory access modes |
US9645949B2 (en) | 2008-07-10 | 2017-05-09 | Cambridge Consultants Ltd. | Data processing apparatus using privileged and non-privileged modes with multiple stacks |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6029222A (en) | Method and processor for selectively marking instructions as interruptible or uninterruptible and judging interrupt requests based on the marked instruction | |
JPH02156334A (en) | Information processor | |
US7865883B1 (en) | Parallel and asynchronous debugger and debugging method for multi-threaded programs | |
JPH02153434A (en) | Data processing system | |
US6128679A (en) | Computer for executing I/O instructions, by emulation, in a foreign application program wherein the emulator result thread is blocked from running between processes | |
JPS5960645A (en) | System for processing instruction execution of processor | |
CN110955503A (en) | Task scheduling method and device | |
JPS63279328A (en) | Control system for guest execution of virtual computer system | |
CN113407240B (en) | Simulation method of C64x + DSP software flow circulation buffer mechanism | |
JPS59186062A (en) | Decentralized processor system | |
JP3449812B2 (en) | Control electronics | |
JP2541940B2 (en) | Micro program controller | |
JP2581327B2 (en) | Virtual machine I / O interrupt handling method | |
JPS6029844A (en) | Switching system for program mode | |
JPS6217840A (en) | Microprogram control system based upon attribution flag | |
JPS6191727A (en) | Information take-over system | |
JPS62243032A (en) | Information processor | |
JPS6266357A (en) | File controller | |
JPS62212755A (en) | Channel controller | |
JPS62120551A (en) | Information processor | |
JPS63245524A (en) | Microprocessor | |
JPH0693225B2 (en) | Event processing method | |
JPS6349941A (en) | Arithmetic processing unit | |
JPH0530950U (en) | Information processing equipment | |
JPS61198355A (en) | Multi-processor system |