JPS62296242A - Microprogram controller - Google Patents

Microprogram controller

Info

Publication number
JPS62296242A
JPS62296242A JP61139268A JP13926886A JPS62296242A JP S62296242 A JPS62296242 A JP S62296242A JP 61139268 A JP61139268 A JP 61139268A JP 13926886 A JP13926886 A JP 13926886A JP S62296242 A JPS62296242 A JP S62296242A
Authority
JP
Japan
Prior art keywords
instruction
microprogram
executed
storage device
microprocessor
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
JP61139268A
Other languages
Japanese (ja)
Inventor
Tamotsu Asahina
朝比奈 保
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP61139268A priority Critical patent/JPS62296242A/en
Publication of JPS62296242A publication Critical patent/JPS62296242A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To earlier discover an error occurring in a microprogram controller by providing a display function to inform the execution of the instruction in order to detect the run-away. CONSTITUTION:When a program 6 is stored into a control memory device 2A, a hexadecimal FF is buried to the unused area. When the instruction code and hexadecimal FF buried to the unused area are executed by some reason, coincident conditions occur in an instruction comparator 4, and the output 5 of the instruction comparator 4 is generated. The output 5 is inputted to an indicator 7, informed to an operator and simultaneously, the program to execute an abnormal processing stored from a hexadecimal 38 address is started. As the indicator 7, a light emitting diode, a buzzer, etc., are suitable.

Description

【発明の詳細な説明】 3 発明の詳細な説明 〔産業上の利用分野〕 この発明は、マイクロプロセッサを使ったマイクロプロ
グラム制御に関し、特に暴走検出のための命令実行時に
その事を示す表示機能を有する制御装置に関するもので
ある、 〔従来の技術〕 第3図は、従来のマイクロプログラム制御装置の基本構
成を示すブロック図であり、(ハはマイクロ・プロセッ
サ、(2)はマイクロ・プログラムを格納した制御記憶
装置、(3)はマイクロ・プロセッサ(ハと制御記憶装
置(コ)との間でデータ交換をするためのローカル・バ
スである、 従来のマイクロ・プログラム制御装置は、前述したよう
に構成嬶れており、以下に、その動作について説明する
。マイクロ・プロセッサ(ハは、制御記憶装置(2)に
入っているマイクロ・プログラムを、ローカル・バス(
3)を通じて/命令づつ取り出し実行する。通常、命令
け/命令づつ順次実行されるが、命令によっては1次の
命令ではなく他の番地の命令を取り出して実行するよう
な命令の場合もある。
[Detailed Description of the Invention] 3 Detailed Description of the Invention [Field of Industrial Application] The present invention relates to microprogram control using a microprocessor, and particularly relates to a display function that indicates runaway detection when an instruction is executed. [Prior Art] Fig. 3 is a block diagram showing the basic configuration of a conventional microprogram control device, in which C is a microprocessor and (2) is a microprogram storage device. The control storage device (3) is a local bus for exchanging data between the microprocessor (C) and the control storage device (C). Its operation will be explained below.The microprocessor (c) transfers the microprogram contained in the control storage (2) to the local bus (c).
3) Extract and execute instructions one by one. Normally, instructions are executed one after another, but depending on the instruction, there are cases where an instruction at another address is taken out and executed instead of the first instruction.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来のマイクロプログラム制御装置は以上のように構成
されているので、制御記憶装置(コ1に格納されている
マイクロプログラムは、それが取り出され、実行される
順序に従っていくつかの機能が果される7したがって、
このマイクロ・プログラムは必ず正しい順序に実行され
る必要があるが。
Since the conventional microprogram control device is configured as described above, the microprograms stored in the control storage device (1) perform several functions according to the order in which they are retrieved and executed. 7 Therefore,
This microprogram must be executed in the correct order.

マイクローフ“ログラム自身のまちがい、または。Mikulov's own mistake, or.

マイクロプロセッサ(ハの故障等により、この順序が正
しく行なわれないことがある、かかる状況が発生した場
合、従来のマイクロプログラム制御装置においては、マ
イクロ・プログラムが暴走し、結果としては、オペレー
タの操作不能などの二次的な原因としてしか観察できな
かった5この発明は上記のような問題点を解決するため
になされたもので、マイクロ・プログラム制御装置の領
域以外から取り出した命令を実行しようとした場合に、
直ちにそれを外部に知らせると同時に、取り出された命
令によって実行さオするのは。
This order may not be performed correctly due to a failure of the microprocessor (c). If such a situation occurs, in a conventional microprogram control device, the microprogram will run out of control, and as a result, the operator's operation will be interrupted. This invention was made to solve the above-mentioned problems. In the event that
Immediately notify the outside world and at the same time execute the retrieved command.

異常処理のためのプログラムへのジャンプ命令であるこ
とを表示するようにしたマイクロプログラム制S装置を
得ることを目的とする7 〔問題点を解決するための手段〕 この発明におけるマイクロプログラム制御装置は、マイ
クロ・プロセッサ及び制御記憶装置とがらなり、マイク
ロ・プロセッサによって制御を受ける制御記憶装置にマ
イクロプログラムを書き込む場合、未使用の領域に対し
ては、暴走検出のための命令を書き込んでおくとともに
、暴走検出のための命令が実行された時には、その事を
示す表示機能を持つとともに、前述の命令は、制御記憶
装置の特定番地へのジャンプ命令となるようにした構成
である、 〔作 用〕 この発明におけるマイクロプログラム制御装置において
は、不正なマイクロプログラム、または、マイクロプロ
セッサの故障によシ、本来、未使用の領域にある命令が
実行された場合には、当該事象が発生したことを示す表
示機能が作動状態となると同時に、リカバリーのための
プログラムが格納されている特定の記憶場所示らの命令
の実行を行なうことができるためオペレータは直ちに異
常に気付くことができ、信頼性の高いマイクロプログラ
ムの実行を行うことができる。
Aim to obtain a microprogram S device that displays a jump command to a program for abnormal processing 7 [Means for solving problems] A microprogram control device according to the present invention is , a microprocessor and a control storage device, and when writing a microprogram to a control storage device controlled by a microprocessor, an instruction for runaway detection must be written in an unused area, and a runaway detection When an instruction for detection is executed, it has a display function to indicate this fact, and the above-mentioned instruction is configured to be a jump instruction to a specific address in the control storage device. In the microprogram control device according to the invention, if an instruction in an originally unused area is executed due to an invalid microprogram or a malfunction of the microprocessor, an indication indicating that the event has occurred is provided. As soon as the function becomes operational, the instructions specified in the specific memory location where the recovery program is stored can be executed, allowing the operator to immediately notice an abnormality and creating a highly reliable microprogram. can be executed.

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明する。第1
図はこの発明によるマイクロ書プログラム制御装置を示
すブロック図であシ、図において、(/A)はマイクロ
プロセッサ、(2人)は制御記憶装置、(3)はローカ
ルバス、(弘)は実行しようとする命令が76進数OF
Fでおることを比較する命令比較器、(夕)は前述の比
較が一致した場合の命令比較器(lI)から出力される
出力、(6)は制御記憶装置(−A)に格納されている
マイクログログラム、(7)はこの命令比較器(りの出
力(夕)を入力とする表示器でるる。従って、前述の命
令比較器(ll)と表示i (7)とによシ表示機能(
ff)を構成している。第一図は、マイクロプロセッサ
として採用したインチ/I/ K Ot !r (イン
テル社製)のりスター) (R8T)命令のフォーマッ
トを示す構成図である。
An embodiment of the present invention will be described below with reference to the drawings. 1st
The figure is a block diagram showing a microprogram controller according to the present invention. In the figure, (/A) is a microprocessor, (2) is a control storage device, (3) is a local bus, and (Hiro) is an execution The command being attempted is a 76-decimal OF
(6) is the output from the instruction comparator (lI) when the above comparison matches, and (6) is the output stored in the control storage (-A). The microprogram (7) is a display that inputs the output (event) of this instruction comparator. Therefore, the above-mentioned instruction comparator (ll) and display i (7) are function(
ff). Figure 1 shows the inch/I/K Ot! adopted as a microprocessor. FIG. 2 is a configuration diagram showing the format of an r (manufactured by Intel Corporation) (Norister) (R8T) instruction.

この発明によるマイクロ・プログラム制御装置は、前述
したように構成されておシ、以下に、その動作について
説明する。尚、この実施例では、マイクロプロセッサと
して、前述のインテルのgotりを使った場合について
説明する。このインテルのgotりでは、命令コードが
16進数OFFの場合、第2図に示すごとく、/A進数
の3S番地からの命令を実行するりスター) (R3T
)命令になる。そこで、暴走検出の命令としては/A進
数OFFすなわちR8T命令を使い、このR8’l’命
令が実行された時に実行が開始される特定の記憶場所と
して/6進数の35番地を選ぶ。
The microprogram control device according to the present invention is constructed as described above, and its operation will be explained below. In this embodiment, a case will be explained in which the above-mentioned Intel's GOT is used as the microprocessor. In this Intel's computer, if the instruction code is OFF in hexadecimal, the instruction is executed from address 3S in the /A base as shown in Figure 2) (R3T
) becomes a command. Therefore, /A base number OFF, ie, R8T command is used as the runaway detection command, and address 35 of /Hex number is selected as the specific storage location where execution starts when this R8'l' command is executed.

次に制御記憶装置(ユA)にプログラム(6)を格納す
る場合、未使用の領域に対しては、/A進数OFFを埋
めこむ。また、インテルrotsのアトない場合、領域
外へのアクセスが起った場合、マイクロプロセッサに読
み込まれるデータを/6進数OFFにすることは通常行
なうことであるが、これは未使用領域に埋め込んだ命令
FFと同等の結果をもたらす。かかるマイクロプログラ
ム制御装置においては、何らかの原因によシ、未使用領
だ 域に埋め込まれる命令コード、76進数OFFを実行し
ようとすると、命令比較器(りにおいて一致条件が発生
し、命令比較器(りの出力(夕)が発生する。この出力
(夕)が表示器(7)に入力され、オペレータに知らさ
れる。同時に、76進数31番地から格納されている異
常処理のためのプログラムが起動される。この実施例に
おいて表示器(り)としては、発光ダイオード、ブザー
などが好適である。
Next, when storing the program (6) in the control storage device (UA), an /A-adic number OFF is embedded in an unused area. In addition, when the Intel ROTs is not running and an access outside the area occurs, it is normal to turn off the data read into the microprocessor in hexadecimal, but this is done by embedding it in an unused area. Produces the same result as the instruction FF. In such a microprogram control device, if for some reason an attempt is made to execute the instruction code embedded in an unused area, 76-decimal OFF, a match condition occurs in the instruction comparator (), and the instruction comparator ( A second output (evening) is generated. This output (evening) is input to the display (7) and is notified to the operator. At the same time, the stored abnormality handling program starts from address 31 in 76-decimal notation. In this embodiment, a light emitting diode, a buzzer, etc. are suitable as the indicator.

なお、前述の実施例では、暴走検出のための命令が実行
されたことをオペレータへ知らせる表示機能0>とじて
、命令比較器(す、表示器(ワ)を用いた場合を示して
いるが、特定の記憶番地、本実施例においては76進数
3g番地から格納されているプログラムによυ実現しう
るオペレータとの問答手段を光示機能(ざ)として使う
ことによシ、前述の命令比較器(り及び表示器(り)を
省略し、オペレータが図示しないディスプレイ装置等を
介して問答式に対話をし、前述の状態を知ることも可能
でおる。
In addition, in the above-mentioned embodiment, a case is shown in which an instruction comparator is used as a display function to inform the operator that a command for runaway detection has been executed. , the above-mentioned command comparison can be carried out by using a question and answer means with the operator as a light display function, which can be realized by a program stored from a specific memory address, in this embodiment, 76-decimal address 3g. It is also possible to omit the equipment and display and have the operator interact in a question-and-answer format via a display device (not shown) to learn the above-mentioned status.

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

以上のように、この発明によれば、暴走検出のための命
令の実行を知らせるための表示機能を有しているため、
マイクロプログラム制御装置内で発生した誤シを、よシ
早く発見し、発見後のプログラムの暴走を防ぎ、よシ適
切な回復プログラムの実行ができるように構成したので
、より信頼性の高いマイクロプログラム制御装置が得ら
れる効果がある。
As described above, according to the present invention, since it has a display function to notify the execution of an instruction for runaway detection,
The structure is designed to quickly detect errors that occur in the microprogram control device, prevent the program from running out of control after the error is detected, and execute an appropriate recovery program, resulting in a more reliable microprogram. This has the effect of providing a control device.

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

tg1図はこの発明の一実施例によるマイクロプログラ
ム制御装置を示すブロック図、第2図はこの発明の実施
例で用いられたR8T命令の形式を示す構成図、第3図
は従来のマイクロプログラム制御装置を示すブロック図
である。 (/A)はマイクロ・プロセッサ、(2人)は制御記憶
装置、(3)はローカルバス、(りは命令比較器、(夕
)は命令比較器からの出力、(ル)はマイクロ・プログ
ラム、(り)は表示器、0>は表示機能である。 なお、図中、同一符号は同一、又は相当部分を示す。 然1図 /1A
tg1 is a block diagram showing a microprogram control device according to an embodiment of this invention, FIG. 2 is a block diagram showing the format of the R8T instruction used in the embodiment of this invention, and FIG. 3 is a conventional microprogram control FIG. 2 is a block diagram showing the device. (/A) is the microprocessor, (2) is the control storage, (3) is the local bus, (ri is the instruction comparator, (even) is the output from the instruction comparator, (ru) is the micro program , (ri) is a display device, and 0> is a display function. In addition, in the figures, the same reference numerals indicate the same or equivalent parts. Figure 1/1A

Claims (3)

【特許請求の範囲】[Claims] (1)制御記憶装置に格納されたマイクロプログラムを
順次に、あるいは、正しく実行されたジャンプ命令によ
り、制御記憶装置内の他の領域から取り出しては、マイ
クロプロセッサでその命令を実行していく、マイクロプ
ログラム制御装置において、その命令が実行されると、
制御記憶装置内の特定の場所にジャンプする命令を、暴
走検出のための命令と定義し、この命令を制御記憶装置
の未使用領域に埋め込み、前記暴走検出のための命令が
実行された場合、その事を示す表示機能を持つようにし
たことを特徴とするマイクロプログラム制御装置。
(1) The microprogram stored in the control storage device is retrieved from another area in the control storage device sequentially or by a correctly executed jump instruction, and the instructions are executed by the microprocessor. When the instruction is executed in the microprogram controller,
An instruction to jump to a specific location in a control storage device is defined as an instruction for runaway detection, and this instruction is embedded in an unused area of the control storage device, and when the instruction for runaway detection is executed, A microprogram control device characterized by having a display function to indicate this.
(2)表示機能は、特定の記憶番地から格納されている
プログラムにより、オペレータとの問答手段にて行うよ
うにしたことを特徴とする特許請求の範囲第1項記載の
マイクロプログラム制御装置。
(2) The microprogram control device according to claim 1, wherein the display function is performed by a question-and-answer means with an operator using a program stored from a specific memory address.
(3)表示機能は、マイクロプロセッサ及び制御記憶装
置に接続された命令比較器及び表示器とから構成されて
いることを特徴とする特許請求の範囲第1項記載のマイ
クロプログラム制御装置。
(3) The microprogram control device according to claim 1, wherein the display function comprises an instruction comparator and a display device connected to the microprocessor and control storage device.
JP61139268A 1986-06-17 1986-06-17 Microprogram controller Pending JPS62296242A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61139268A JPS62296242A (en) 1986-06-17 1986-06-17 Microprogram controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61139268A JPS62296242A (en) 1986-06-17 1986-06-17 Microprogram controller

Publications (1)

Publication Number Publication Date
JPS62296242A true JPS62296242A (en) 1987-12-23

Family

ID=15241326

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61139268A Pending JPS62296242A (en) 1986-06-17 1986-06-17 Microprogram controller

Country Status (1)

Country Link
JP (1) JPS62296242A (en)

Similar Documents

Publication Publication Date Title
JPS62296242A (en) Microprogram controller
JPS628831B2 (en)
JP2679575B2 (en) I / O channel fault handling system
JPS59216250A (en) Control method of general-purpose pc peripheral device
JPH11272490A (en) Dlagnostic control system
JPH05143518A (en) System starting system
KR830002883B1 (en) Micro programmable controller
JPH07239802A (en) Fault information managing device
JPS63178357A (en) System starting-up method for computer system
JP3060376U (en) Memory device
JPS62133549A (en) Ipl sate display control system
JPH04296938A (en) Computer device
JPH0612251A (en) Program starting device
JPH0434626A (en) Error logging method
JPS58141500A (en) Memory management protecting system
JPH05282209A (en) Data access controller
JPH06266551A (en) Program protection system
JPH0448332A (en) Information processor
JPS60140958A (en) Line control system
JPS6053887B2 (en) information processing system
JPH11259332A (en) Computer system device
JPS61139862A (en) System start system
JPH03105493A (en) Control information input/output device
JPH0667921A (en) Information processor having fault processing function
JPS63103330A (en) Detecting system for misuse of address stack