JPS6293733A - Microprogram control system data processor - Google Patents

Microprogram control system data processor

Info

Publication number
JPS6293733A
JPS6293733A JP60234012A JP23401285A JPS6293733A JP S6293733 A JPS6293733 A JP S6293733A JP 60234012 A JP60234012 A JP 60234012A JP 23401285 A JP23401285 A JP 23401285A JP S6293733 A JPS6293733 A JP S6293733A
Authority
JP
Japan
Prior art keywords
maintenance
microprogram
routine
memory
read
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
JP60234012A
Other languages
Japanese (ja)
Inventor
Meiko Yokoyama
横山 メイ子
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 JP60234012A priority Critical patent/JPS6293733A/en
Publication of JPS6293733A publication Critical patent/JPS6293733A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To analyze a microprogram of a read only memory in the same way as an analysis of a microprogram of a general control memory by making the titled processor have a function for transferring the contents which are stored in the read only memory, to the control memory, and executing its maintenance. CONSTITUTION:By making a maintenance the routine 11 have a usual standard maintenance function, namely, a function of read-out, write, etc. of a control memory 20, a maintenance object microprogram 15 can be analyzed, executed and traced easily. Other important function of the maintenance use routine 11 is to deliver its control to the maintenance object microprogram 15 after embedding a start instruction of the maintenance use routine 11 into an optional address of the maintenance object microprogram 15. In such a way, debugging by delimiting a flow of the processing of the maintenance object microprogram 15 to an optional section is made possible, and this processor realizes a means which is effective for the maintenance of the maintenance object microprogram 15 and the trouble shooting of a hardware controlled by this maintenance object microprogram 15.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、マイクログログラム制御式データ処理装置、
特に、読み出し専用メモリを備えその読み出し専用メモ
リを保守するための機能を有するマイクロプログラム制
御式データ処理装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a microprogram-controlled data processing device,
More particularly, the present invention relates to a microprogram-controlled data processing apparatus having a read-only memory and functions for maintaining the read-only memory.

〔従来の技術〕[Conventional technology]

従来のマイクロプログラム制御式データ処理装置は、読
み出し専用メモリ内の保守対象マイクロプログラムを、
マイクロプログラムを収容できる制御メモリへ転送しか
つ保守する機能を持っていなかった。
Conventional microprogram-controlled data processing devices maintain microprograms in read-only memory.
It did not have a function to transfer and maintain a control memory capable of accommodating microprograms.

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

すなわち、上述した従来のマイクロプログラム制御式デ
ータ処理装置に、読み出し専用メモリ内の保9対家マイ
クロプログラムの解析を行5際、一般には保守対象マイ
クロプログラムを曹換えて実行する機能が必須であるた
め、外部に、読み出し専用メモリ内に格納された保守対
象プログラムを転送するだめのメモリを備えた高価な保
守専用製筒を接続して初めて、保守対象マイクロプログ
ラムの変更が可能であるという欠点がある。
That is, the conventional microprogram-controlled data processing device described above is required to have a function of executing the maintenance target microprogram in its place when analyzing the maintenance microprogram in the read-only memory. Therefore, the disadvantage is that the maintenance target microprogram can only be changed by connecting an expensive maintenance tube equipped with external memory to transfer the maintenance target program stored in read-only memory. be.

〔問題点を解決するだめの手段〕[Failure to solve the problem]

本発明のマイクロプログラム制御式データ処理装置は、
読み出し専用メモリと、本専用メモリの保守手段をそれ
自身の中に有して構成される。
The microprogram controlled data processing device of the present invention includes:
It is constructed with a read-only memory and maintenance means for the read-only memory within itself.

すなわち、本発明のマイクロプログラム制御式データ処
理装置は、マイタロブロククム金収容できる制御メ七り
と、読み出し専用メモリとを含与、不等用メモリ内には
、保守用ルーチンと、保守対数となるマイクロプログラ
ムと、読み出し専用メモリの内容を制御メモリへ転送す
るルーチンと、転送された前記保守対米マイクロプログ
ラムの実行前に制御メモリの既定番地に保守用ルーチン
を起動する命令を誓き込むルーチンと、保守用ルーチン
を起動する命令を検出する手段とを有して構成される。
That is, the microprogram-controlled data processing device of the present invention includes a control mechanism capable of accommodating a mital block and a read-only memory, and a maintenance routine and a maintenance logarithm in the non-uniform memory. A microprogram to be used, a routine to transfer the contents of the read-only memory to the control memory, and an instruction to start the maintenance routine at a predetermined location in the control memory before executing the transferred maintenance microprogram. The maintenance routine is configured to include a routine and means for detecting an instruction to start the maintenance routine.

〔実施例〕〔Example〕

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

第1図は本発明の一実施例を示すプロ、り図である。FIG. 1 is a diagram showing an embodiment of the present invention.

第1図に示すマイクロプログラム制御式データ処理装置
1は、読み出し専用メモリ10と、制御メモリ20とを
含み、読み出し専用メモリ10内には、保守対象プログ
ラム15に加えて、この保守対象プログラム15を制御
メモリ20に転送するだめの転送ルーチン13と、保守
機能を実行するだめの保守用ルーチン11と、保守用ル
ーチン起動命令書込みルーチン14と、保守用ルーチン
起動命令検出ルーチン12の各ルーチンを持っている。
The microprogram-controlled data processing device 1 shown in FIG. 1 includes a read-only memory 10 and a control memory 20. It has a transfer routine 13 for transferring data to the control memory 20, a maintenance routine 11 for executing maintenance functions, a maintenance routine start command writing routine 14, and a maintenance routine start command detection routine 12. There is.

その他の基本的な栴成袂索CPU、I10等は説明を省
略する。
A description of other basic components such as the CPU, I10, etc. will be omitted.

第2図はこれらの各ルーチンの処理の流れを示したフロ
ーチャートである。
FIG. 2 is a flowchart showing the processing flow of each of these routines.

装置の電源投入により、保守用ルーチン11と保守対米
プログラム15を実行するだめの・・−ドウエアに対す
る初期設定が行なわれた後、転送ルーチン13により、
読み出し専用メモリ10の内容が制御メモIJ 20上
に転送される。
When the device is powered on, the maintenance routine 11 and the maintenance program 15 are executed. After initial settings are made for the software, the transfer routine 13 executes the maintenance routine 11 and maintenance program 15.
The contents of read-only memory 10 are transferred onto control memo IJ 20.

次に、保守用ルーチン起動命令書込みルーチン14によ
り制御メモリ20の既定番地に保守用ルーチン11を起
動する命令が書き込まれる。
Next, a maintenance routine startup command writing routine 14 writes a command to start the maintenance routine 11 to a predetermined location in the control memory 20.

制御メモリ20に展開されたマイクロプログラムの処理
が開始され、保守用ルーチン起製命令挾出ルーチン12
によりプログラムの命令が保守ルーチン起動命令か否か
を判断し、保守ルーチン起動命令でなければ、保守対象
マイクロプログラム15を実行し、保守ルーチン起動命
令ならば、保守用ルーチン11が起動される。
Processing of the microprogram developed in the control memory 20 is started, and the maintenance routine creation command extraction routine 12 is started.
It is determined whether the program command is a maintenance routine activation command or not. If it is not a maintenance routine activation command, the maintenance target microprogram 15 is executed, and if it is a maintenance routine activation command, the maintenance routine 11 is activated.

保守用ルーチン11に通常の標準的な保守機能、すなわ
ち、制御メモリ20の読出し書込み、プロセッサ内のレ
ジスタ内容の読出し書込みおよび入出力ボートの読出し
書込み等の機能を具備させておくことにより保守対象マ
イクロプログラム15を容易に解析、実行トレースする
ことを可能とする。
By equipping the maintenance routine 11 with normal standard maintenance functions, such as reading and writing the control memory 20, reading and writing register contents in the processor, and reading and writing the input/output board, the maintenance target micro It is possible to easily analyze and trace the execution of the program 15.

保守用ルーチン11の他の重要な機能は、保守対象マイ
クロプログラム15の任意のアドレスに保守用ルーチン
11の起動命令を埋込んでから制御を保守対象マイクロ
プログラム15に渡すことにある。これにより保守対象
マイクロプログラム15の処理の流れを任意の区間に区
切ってデバグすることが可能となり、保守対象マイクロ
プログラム15の保守およびこの保守対訳マイクロプロ
グラム15が制御しているハードウェアのトラブルシュ
ーティングに有効な手段を可能としている。
Another important function of the maintenance routine 11 is to embed a startup instruction for the maintenance routine 11 in an arbitrary address of the microprogram 15 to be maintained and then pass control to the microprogram 15 to be maintained. This makes it possible to debug the processing flow of the maintenance target microprogram 15 by dividing it into arbitrary sections, which is useful for maintenance of the maintenance target microprogram 15 and troubleshooting of the hardware controlled by this maintenance translation microprogram 15. It enables effective means.

なお、保守用ルーチン11が保守対象マイクロプログラ
ム15に制御を戻す前には、本来保守ルーチン起動命令
にて埋込まれたオリジナルの命令を復元する必要があり
、この処理により保守用ルーチン11を実行した場合と
しない場合とで保守対象マイクロプログラム15の動作
が異ならないようにしている。
Note that before the maintenance routine 11 returns control to the maintenance target microprogram 15, it is necessary to restore the original instruction that was originally embedded in the maintenance routine startup instruction, and this process executes the maintenance routine 11. The operation of the maintenance target microprogram 15 is made to be the same whether or not the maintenance target microprogram 15 is used.

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

本発明のマイクロプログラム制御式データ処理装置は読
み出し専用メモリに記憶されているグ内容を制御メモリ
に転送して保守する機能を有することによって、一般の
制御メモリのマイクロブロダラムの解析と同様に、読み
出し専用メモリのマイクロプログラムの解析を可能とす
るという効果がある。
The microprogram-controlled data processing device of the present invention has a function to transfer and maintain the program contents stored in the read-only memory to the control memory, so that it can be used in the same manner as in the analysis of the microprogram of the general control memory. This has the effect of making it possible to analyze microprograms in read-only memory.

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

第1図は本発明の一実施例を示すブロック図、第2図は
第1図に示す実施例の動作を説明するためのフローチャ
ートである。 1・・・・・・マイクロプログラム制御式データ処理装
置、10・・・・・・読み出し専用メモリ、20・・・
・・・制御メモリ、11・・・・・・保守用ルーチン、
12・・・・・・保守用ルーチン起動命令検出ルーチン
、13・・・・・・転送ルーチン、14・・・・・・保
守用ルーチン起動命令書込みルーチン、15・・・・・
・保守対象マイクロプログラム〇 代理人 弁理士  内 原   晋 子 2 図
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a flow chart for explaining the operation of the embodiment shown in FIG. 1...Microprogram controlled data processing device, 10...Read-only memory, 20...
...Control memory, 11...Maintenance routine,
12... Maintenance routine start command detection routine, 13... Transfer routine, 14... Maintenance routine start command write routine, 15...
・Microprogram to be maintained〇Representative Patent Attorney Shinko Uchihara 2 Diagram

Claims (1)

【特許請求の範囲】[Claims] マイクロプログラム制御によりデータを処理する装置に
おいて、マイクロプログラムを収容できる制御メモリと
、読み出し専用メモリとを含み、前記読み出し専用メモ
リ内には保守用ルーチンと、保守対象となる保守対象マ
イクロプログラムと、前記読み出し専用メモリの内容を
前記制御メモリへ転送するための転送ルーチンと、転送
された前記保守対象マイクロプログラムの実行前に前記
制御メモリの既定番地に前記保守用ルーチンを起動する
命令を書き込むための保守用ルーチン起動命令書込みル
ーチンと、前記保守用ルーチンを起動する命令を検出す
るための保守用ルーチン起動命令検出ルーチンとを収容
したことを特徴とするマイクロプログラム制御式データ
処理装置。
An apparatus for processing data under microprogram control, including a control memory capable of accommodating a microprogram, and a read-only memory, in which the read-only memory contains a maintenance routine, a maintenance target microprogram to be maintained, and the a transfer routine for transferring the contents of the read-only memory to the control memory; and maintenance for writing an instruction to start the maintenance routine at a predetermined location in the control memory before executing the transferred microprogram to be maintained. 1. A microprogram-controlled data processing device, comprising: a maintenance routine activation command writing routine; and a maintenance routine activation command detection routine for detecting an instruction to activate the maintenance routine.
JP60234012A 1985-10-18 1985-10-18 Microprogram control system data processor Pending JPS6293733A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60234012A JPS6293733A (en) 1985-10-18 1985-10-18 Microprogram control system data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60234012A JPS6293733A (en) 1985-10-18 1985-10-18 Microprogram control system data processor

Publications (1)

Publication Number Publication Date
JPS6293733A true JPS6293733A (en) 1987-04-30

Family

ID=16964168

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60234012A Pending JPS6293733A (en) 1985-10-18 1985-10-18 Microprogram control system data processor

Country Status (1)

Country Link
JP (1) JPS6293733A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01253044A (en) * 1988-03-31 1989-10-09 Nec Corp Input/output controller
JPH01253043A (en) * 1988-03-31 1989-10-09 Nec Corp Input/output controller
US7240334B1 (en) 2000-06-29 2007-07-03 International Business Machines Corporation Methods, systems, and computer program products for deferred computer program tracing

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS545343A (en) * 1977-06-15 1979-01-16 Toshiba Corp Micro program processing system
JPS5854456A (en) * 1981-09-28 1983-03-31 Fujitsu Ltd Debugging control system for program to be debugged

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS545343A (en) * 1977-06-15 1979-01-16 Toshiba Corp Micro program processing system
JPS5854456A (en) * 1981-09-28 1983-03-31 Fujitsu Ltd Debugging control system for program to be debugged

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01253044A (en) * 1988-03-31 1989-10-09 Nec Corp Input/output controller
JPH01253043A (en) * 1988-03-31 1989-10-09 Nec Corp Input/output controller
US7240334B1 (en) 2000-06-29 2007-07-03 International Business Machines Corporation Methods, systems, and computer program products for deferred computer program tracing

Similar Documents

Publication Publication Date Title
US4794522A (en) Method for detecting modified object code in an emulator
DE69728632D1 (en) Single-step execution of processor and subsystem pipelines while troubleshooting a data processing system
JP4766487B2 (en) Program alteration detection device
IE56792B1 (en) Method and apparatus for self-testing of floating point accelerator processors
FR2609340B1 (en)
US6425122B1 (en) Single stepping system and method for tightly coupled processors
JPS6293733A (en) Microprogram control system data processor
JP2003508864A (en) Thread-oriented debugging
JPS5875256A (en) Monitoring system for execution instruction processing state
JP2007272303A (en) Simulator with memory breakage detecting function
JP2902861B2 (en) Buffer device with trace function
US5901300A (en) Control store address stop
JP2875606B2 (en) Testing equipment
JPS6325742A (en) Microprocessor with tracing function
KR930010775A (en) Image processing device
JPS6158049A (en) Error detection
KR890008681A (en) Processor control unit
JPH0287237A (en) Execute instruction control system
JPH03252731A (en) Microprocessor
JPS6385940A (en) Testing system for information processor
JPS6214240A (en) Program inspecting system
JPH05165672A (en) Processor
JPS59167759A (en) Data processing device
JPS6249454A (en) Debug supporting circuit for microprogram
JPS604492B2 (en) calculator