JPS63155331A - Control system for microprogram - Google Patents

Control system for microprogram

Info

Publication number
JPS63155331A
JPS63155331A JP61302903A JP30290386A JPS63155331A JP S63155331 A JPS63155331 A JP S63155331A JP 61302903 A JP61302903 A JP 61302903A JP 30290386 A JP30290386 A JP 30290386A JP S63155331 A JPS63155331 A JP S63155331A
Authority
JP
Japan
Prior art keywords
microprogram
processing
work area
abnormality
area
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
JP61302903A
Other languages
Japanese (ja)
Inventor
Tsukasa Yagi
司 八木
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 JP61302903A priority Critical patent/JPS63155331A/en
Publication of JPS63155331A publication Critical patent/JPS63155331A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To quickly carry out the next processing without interrupting the present processing by using at least two working areas on a memory and performing the switch between both working areas when a microprogram detects the abnormality. CONSTITUTION:A memory 2 is provided with a microprogram part 3 and 1st and 2nd working areas 4 and 5. If a microprogram detects the abnormality while the area 4, for example, is used for processing, the processing is through in an abnormal state in the area 4. Then the end of the processing is reported to a CPU 1 and at the same time the area 4 is switched to the other area 5. This area 5 is initialized and carried out the next control processing.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、あらかじめ設置されたマイクロプログラムに
従いIII御処理を行なうマイクロプログラム制御方式
に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a microprogram control method for performing III control processing according to a microprogram installed in advance.

(従来の技術〕 従来、この櫨のマイクロプログラム制御方式は、マイク
ロプログラムのメモリ上に単一の作業領域を設置し、こ
の単一の作業領域だけで制御処理を実行する構成になっ
ていた。
(Prior Art) Conventionally, Haji's microprogram control system has a configuration in which a single work area is set up in the memory of the microprogram, and control processing is executed only in this single work area.

そのため、処理中に何かの異常が発生した場合、作業領
域を初期化して次の処理を実行するか、あるいは異常発
生時点で一担処理を停止し、その時点の詳細な情報を採
取したのち作業領域を初期化して次の処理を実行してい
かなければならながった。
Therefore, if any abnormality occurs during processing, either initialize the work area and execute the next process, or stop the processing at the time the abnormality occurs, collect detailed information at that point, and then I had to initialize the work area and execute the next process.

(発明が解決しようとする問題点〕 前述した従来のマイクロプログラム制御方式では、異常
発生後、次の処理を実行するに際し、異常発生時の詳細
な情報を消去してしまうため。
(Problems to be Solved by the Invention) In the conventional microprogram control method described above, detailed information at the time of the occurrence of the abnormality is erased when executing the next process after the occurrence of the abnormality.

その異常が生じた原因を解明できないという問題があっ
た。また、異常発生原因を解明するために、−担処理を
停止して異常発生時の詳細な情報を採取した場合には、
本来の制御処理が遅延するとめう問題があった。
There was a problem in that the cause of the abnormality could not be determined. In addition, in order to clarify the cause of the abnormality, if you stop the processing and collect detailed information at the time of the abnormality,
There was a problem that the original control processing was delayed.

本発明はこのような問題点を解決するためになされたも
ので、作業中に異常が発生した場合にも、処理を中断す
ることなく迅速に進めていくことができ、かつ、異常発
生時の詳細な情報をも採取することのできるマイクロプ
ログラム制御方式の提供を目的とする。
The present invention was made to solve these problems, and even if an abnormality occurs during work, it can proceed quickly without interrupting the process, and it can be The purpose is to provide a microprogram control method that can collect even detailed information.

(問題点を解決するための手段) 前記目的を達成するために、本発明は、メモリ上にあら
かじめ設置されたマイクロプログラムに従い制御処理を
行なうマイクロプログラム制御方式において、前記メモ
リ上に少なくとも二つの作業領域?設け、一つの作業領
域を使用しての制(財)処理中に異常が発生したときは
、他の作業領域に切ジ替えて続行していく方式としであ
る。
(Means for Solving the Problems) In order to achieve the above object, the present invention provides a microprogram control method in which control processing is performed according to a microprogram installed in advance on a memory, in which at least two operations are performed on the memory. region? If an abnormality occurs during control (goods) processing using one work area, the system switches to another work area and continues.

(実 流側) 以下、本発明の一実施例について図面を参照して説明す
る。
(Actual Stream Side) Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

第1図は本実施例に係るマイクロプログラム制御方式を
実行する制御lA#のブロック図、第29は同方式を採
用したマイクロプログラムが異常を検出した場合のバッ
ファ切替え動作を示すフローチャートである。
FIG. 1 is a block diagram of control lA# that executes the microprogram control method according to the present embodiment, and FIG. 29 is a flowchart showing a buffer switching operation when a microprogram employing the same method detects an abnormality.

第1図において、1は中央処理装置(CPU)、2はメ
モリである。メモリ2上には、マイクロプログラム部3
および二つの作業領域(すなわち、第一作業領域4.第
二作業領域5)が設けられている。中央処理装置1は、
あらかじめマイクロプログラムs3に記憶したマイクロ
プログラムに従い、いずれか一方の作業領域4または5
を使用して、インターフェース制御部6ならびに周辺制
御装置7を制御する。なお、周辺制御装置7には、;!
インプリンタ8、コンソール9等が接続されている。
In FIG. 1, 1 is a central processing unit (CPU) and 2 is a memory. On the memory 2, there is a microprogram section 3.
and two working areas (ie, a first working area 4 and a second working area 5). The central processing unit 1 is
According to the microprogram stored in the microprogram s3 in advance, either one of the work areas 4 or 5
is used to control the interface control unit 6 and peripheral control device 7. Note that the peripheral control device 7 includes ;!
An imprinter 8, console 9, etc. are connected.

さらに、マイクロプログラム部3には、作業実行中に異
常が発生した場合の動作用として、次のようなプログラ
ムが入力されている(第2図参照〕。すなわち、一方の
作業領域を使用して処理実行中(仮に、第一作業領域4
を使用して処理実行中とするへマイクロプログラムが異
常を検出した場合、この第一作業領域4での処理は異常
終了する。
Furthermore, the following program is input to the microprogram section 3 for operation in the event that an abnormality occurs during work execution (see Figure 2). Processing in progress (temporarily, first work area 4
If the microprogram detects an abnormality, the processing in the first work area 4 is abnormally terminated.

そして、終了報告を中央処理装f!tlに通知するとと
もに、作業領域を第二作業領域5に切り替える。
Then, the completion report is sent to the central processing unit f! tl and switches the work area to the second work area 5.

その後、第二作業領域5を初期化して、この第二作業領
域5により次の制御処理を実行していく。
Thereafter, the second work area 5 is initialized, and the next control process is executed using this second work area 5.

第二作業領域5を使用して処理実行中に異常を検出した
場合にも、同様に作業領域を切り替えて第一作業領域を
使用し次の制御処理を実行していく。
Even when an abnormality is detected during execution of processing using the second work area 5, the work area is similarly switched and the next control process is executed using the first work area.

したがって、処理実行中に異常が発生した場合であって
も、次の制御処理を遅延することなく実行することがで
きる。さらに、切替え前に使用していた作業領域に、異
常発生時の詳細な情報が残存しているため、オペレータ
は中央処理装置lからの異常発生通報にもとづき、メモ
リダンプをラインプリンタ8に出力し、異常発生時の詳
細な情報を採取することができる。
Therefore, even if an abnormality occurs during execution of a process, the next control process can be executed without delay. Furthermore, since detailed information at the time of the abnormality occurrence remains in the work area that was used before switching, the operator outputs a memory dump to the line printer 8 based on the abnormality notification from the central processing unit l. , it is possible to collect detailed information when an abnormality occurs.

なお、前記実施例においては、二つの作業領域をメモリ
に設置したが、本発明はこれに限定されず、三つ以上の
作業領域を設置してもよい。
In the above embodiment, two work areas are provided in the memory, but the present invention is not limited to this, and three or more work areas may be provided.

(発明の効果) 以上説明したように本発明は、メモリ上の作業領域を少
なくとも二つ有し、通常は一つの作業領域を使用して処
理を実行し、マイクロプログラムが異常を検出したとき
は、作業領域全切り替えて他の作業領域を使用すること
により。
(Effects of the Invention) As explained above, the present invention has at least two working areas in memory, normally uses one working area to execute processing, and when a microprogram detects an abnormality, , by switching the entire work area and using another work area.

異常発生時の作業領域を残しておけるため、処理を中断
することなく迅速に次の処理を進めていくことができ、
かつ、異常発生時の詳細な情報をも採取することができ
る効果がある。
Since you can leave a work area in the event of an error, you can quickly move on to the next process without interrupting the process.
Moreover, it has the effect of being able to collect detailed information when an abnormality occurs.

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

第1図は本発明の一実施例に係るマイクロプログラム制
御方式を実行する制a装置のブロック図、第2図は同方
式を採用したマイクロプログラムが異常を検出した場合
のバッファ切替え動作を示すフローチャートである。 l・・・中央処理装置   2・・・メモリ3・・・マ
イクロプログラム部 4・・・第一作業領域   5・・・第二作業領域6・
・・インターフェース制御部 7・・・周辺制御装置  8・・・ラインプリンタ9・
・・コンソール 特許出願人  日本電気株式会社 代理人 弁理士 井 ノ ロ    4才1図 才2図
FIG. 1 is a block diagram of a control device that executes a microprogram control method according to an embodiment of the present invention, and FIG. 2 is a flowchart showing a buffer switching operation when a microprogram employing the same method detects an abnormality. It is. l...Central processing unit 2...Memory 3...Micro program section 4...First work area 5...Second work area 6.
...Interface control unit 7...Peripheral control device 8...Line printer 9...
...Console patent applicant NEC Corporation representative Patent attorney Inoro 4 years old 1 figure 2 years old

Claims (1)

【特許請求の範囲】[Claims] メモリ上にあらかじめ設置されたマイクロプログラムに
従い制御処理を行なうマイクロプログラム制御方式にお
いて、前記メモリ上に少なくとも二つの作業領域を設け
、一つの作業領域を使用しての制御処理中に異常が発生
したときは、他の作業領域に切り替えて作業を続行して
いくことを特徴とするマイクロプログラム制御方式。
In a microprogram control method in which control processing is performed according to a microprogram installed in advance on a memory, when at least two work areas are provided on the memory and an abnormality occurs during control processing using one work area. is a microprogram control method that is characterized by switching to another work area and continuing the work.
JP61302903A 1986-12-19 1986-12-19 Control system for microprogram Pending JPS63155331A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61302903A JPS63155331A (en) 1986-12-19 1986-12-19 Control system for microprogram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61302903A JPS63155331A (en) 1986-12-19 1986-12-19 Control system for microprogram

Publications (1)

Publication Number Publication Date
JPS63155331A true JPS63155331A (en) 1988-06-28

Family

ID=17914493

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61302903A Pending JPS63155331A (en) 1986-12-19 1986-12-19 Control system for microprogram

Country Status (1)

Country Link
JP (1) JPS63155331A (en)

Similar Documents

Publication Publication Date Title
JPS6364144A (en) Inter-memory data transfer system
JPS63155331A (en) Control system for microprogram
JPH05100884A (en) Switching system at the time of fault occurrence in duplex operation
JPH0343836A (en) Vectored interruption control system
JPS63247839A (en) Microprogram control system
JPH0212531A (en) Interruption control system for virtual computer
JP2545763B2 (en) Restart method of batch processing in hot standby system
JPS60241104A (en) Arithmetic method of digital controller
JPS63155332A (en) Control system for microprogram
JPH03167633A (en) Control method for interruption program
JPS60256861A (en) Input and output control system
JPH01124033A (en) Information processor
JPH0756759A (en) Information processor
JPH04155532A (en) Task switching system
JPH02310633A (en) Fault restoration processing system for virtual computer system
JPH02176832A (en) Microcomputer
JPS63248255A (en) On-line data transmission system
JPH04177504A (en) Backup device of programmable controller
JPH0690693B2 (en) Channel failure recovery controller
JPS6285371A (en) Connection switching controlling system between computers
JP2001109634A (en) System call controller and recording medium
JPH03126134A (en) Task switching system for cpu
JPS5896355A (en) Test system for reentrable program
JPH0418655A (en) Data processor
JPH08212088A (en) Information processor and communication processor