JPS62134733A - Control system for microprogram trace of communication equipment - Google Patents

Control system for microprogram trace of communication equipment

Info

Publication number
JPS62134733A
JPS62134733A JP60274554A JP27455485A JPS62134733A JP S62134733 A JPS62134733 A JP S62134733A JP 60274554 A JP60274554 A JP 60274554A JP 27455485 A JP27455485 A JP 27455485A JP S62134733 A JPS62134733 A JP S62134733A
Authority
JP
Japan
Prior art keywords
microprogram
execution
control device
communication control
locus
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
JP60274554A
Other languages
Japanese (ja)
Inventor
Yoshikazu Yonezawa
米澤 禎和
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 JP60274554A priority Critical patent/JPS62134733A/en
Publication of JPS62134733A publication Critical patent/JPS62134733A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To offer easily only a microprogram executing locus which is required by an analyzer, by executing a control for starting a store of an executing locus of a microprogram, when the number of times of an instruction processing has reached a designated number of times. CONSTITUTION:Before executing an issue of an instruction, the number of times of an instruction processing (n) before starting a store of a microprogram executing locus is set to a register 30 which is provided on a communication control device 6, by using a maintenance supporting device 5, and also a switch of a microprogram store area 20 is set to off so that the executing locus is not stored. (n) is a positive integer except '0'. When the communication control device 6 receives the instruction, the communication control device 6 executes the instruction and executes the processing in accordance with the contents which are stored in the microprogram store area 20, under a control of a microprogram execution controlling circuit 10.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はマイクロプログラムによって処理ン実行する通
信制御装置に関し、特にマイクロプログラム実行軌跡の
スタック制(財)方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a communication control device that processes and executes microprograms, and particularly relates to a stack system for microprogram execution trajectories.

(従来の技術) 従来、この種の通信制御装置におけるマイクロプログラ
ム実行軌跡のスタック制御は、スタック開始/終了の指
示Zマイクロプログラムの走行中に制御することはでき
なかった。
(Prior Art) Conventionally, stack control of the microprogram execution locus in this type of communication control device could not be performed while the stack start/end instruction Z microprogram was running.

(発明が解決しようとする問題点) 上述した従来のマイクロプログラム実行軌跡のスタック
制御方式では、「マイクロプログラムの実行軌跡ンスタ
ックする。」あるいはrマイクロプログラムの実行軌跡
タスタックしない。」のいずれかの環境下でマイクロプ
ログラムl走行することになり、rマイクロプログラム
の実行軌跡をスタックする。」環境下でマイクロプログ
ラムl走行した場合には、マイクロプログラム走行開始
時から吏行停止時まで、すべてのマイクロプログラム実
行軌跡がスタックされるという欠点があった。
(Problems to be Solved by the Invention) In the conventional microprogram execution locus stack control method described above, the execution locus of the microprogram is stacked, or the execution locus of the r microprogram is not stacked. The microprogram l will run under any of the following environments, and the execution locus of the r microprogram will be stacked. When a microprogram is run under an environment such as ``1'', there is a drawback that all microprogram execution trajectories are stacked from the time the microprogram starts running until the time it stops running.

本発明の目的は、マイクロプログラムの制御下でマイク
ロプログラムの実行軌跡χスタックして、マイクロプロ
グラムの実行軌跡のスタックの開始を制御し、通信制御
装置が接続されている上位装置から実行軌跡のスタック
開始乞カウントし、通信制御装置の命令処理回数が実行
軌跡のスタック開始カウントと一致したとき、マイクロ
プログラムの実行軌跡の格納を開始することにより上記
欠点χ除去し、不必要なマイクロプログラムの実行軌跡
lスタックしないように構成した通信制御装置のマイク
ロプログラムトレース制御方式ケ提供することにある。
An object of the present invention is to stack the execution trajectory of a microprogram under the control of the microprogram, control the start of stacking the execution trajectory of the microprogram, and stack the execution trajectory from a host device to which a communication control device is connected. When the number of commands processed by the communication control device matches the stack start count of the execution trajectory, the above-mentioned drawback χ is eliminated by starting to store the execution trajectory of the microprogram, and the execution trajectory of unnecessary microprograms is eliminated. An object of the present invention is to provide a microprogram trace control method for a communication control device configured to prevent stacking.

(問題点χ解決するための手段〕 本発明による通信装置のマイクロプログラムトレース側
副方式は記憶手段と、レジスタと、マイクロプログラム
実行制御手段と乞具備して構成したものである。
(Means for Solving Problem χ) The microprogram trace collateral system of the communication device according to the present invention is constructed by including a storage means, a register, and a microprogram execution control means.

記憶手段は、マイクロプログラムの実行軌跡χスタック
するだめのものである。
The storage means is for storing the execution trajectory χ of the microprogram.

レジスタは、マイクロプログラムの実行軌跡のスタック
開始Y f!tlJ御するため、命令処理回数を格納し
てカウントするためのものである。
The register is the stack start Y f! of the microprogram execution trajectory. It is used to store and count the number of instruction processings in order to control tlJ.

マイクロプログラム実行制御手段は、実行軌跡のスタッ
ク開始7与える所定カウント値ン設定しておき、命令処
理回数が上記所定カウント値に一致したとき、マイクロ
プログラムの実行軌跡ケ記憶手段に格納せしめるための
ものである。
The microprogram execution control means is configured to set a predetermined count value given to the stack start 7 of the execution locus, and when the number of instruction processing times matches the predetermined count value, the microprogram execution locus is stored in the storage means. It is.

(実 雄側) 次に、本発明の実施例について図面χ参照して説明する
(Actual male side) Next, embodiments of the present invention will be described with reference to drawing χ.

第1図は、本発明に関係する通信制御装置11¥:含む
t子計算機システムの一構成馨示す実施例であり、中央
処理装置1と、入出力装置群7と、中央処F[]装装置
と他の装置との間に置かれたデータ転送装置2〜4と、
保守支援装車5と、通信制御装置6とから構成される。
FIG. 1 is an embodiment showing the configuration of a child computer system including a communication control device 11 related to the present invention, which includes a central processing unit 1, an input/output device group 7, and a central processing unit F[]. data transfer devices 2 to 4 placed between the device and other devices;
It is composed of a maintenance support vehicle 5 and a communication control device 6.

第2図は、通信制御装置6の一部分の一実施例χ示すブ
ロック図である。第2図において、lOはマイクロプロ
グラム実行制御回路、20は通信制御装置6の自身ン制
御するマイクログログラムの格納領域、30はレジスタ
である。マイクロプログラム実行制御回路10は、通信
制御装置6の自身のマイクロプログラムの実行’!’ 
IIJ 1111する。マイクロプログラム格納領域2
0は、通信制御装置i6の内部の記憶回路(図示してな
い)に備えられている。レジスタ10は、マイクロプロ
グラム実行軌跡スタックの実行を開始するまで、通イぎ
制御装置6に接続された中央処理装置1からの命令処理
回数ン格納しておく。
FIG. 2 is a block diagram showing an embodiment of a portion of the communication control device 6. In FIG. 2, IO is a microprogram execution control circuit, 20 is a storage area for a microprogram that is controlled by the communication control device 6, and 30 is a register. The microprogram execution control circuit 10 executes the communication control device 6's own microprogram! '
IIJ 1111. Microprogram storage area 2
0 is provided in a storage circuit (not shown) inside the communication control device i6. The register 10 stores the number of times instructions are processed from the central processing unit 1 connected to the pass control device 6 until execution of the microprogram execution trajectory stack is started.

第3図は、本発明による通信制御装置マイクロプログラ
ムトレース制御方式の実行馨示すフローチャートである
。第3図において、通信制御装置6が中央処理袋wL1
からの命令ンひとつ実行するごとに、レジスタ30の内
容をひとつずつ減算し、内容が0にリセットされたとき
、マイクロプログラム実行軌跡のスタック開始する。
FIG. 3 is a flowchart illustrating the execution of the communication control device microprogram trace control method according to the present invention. In FIG. 3, the communication control device 6 is the central processing bag wL1.
Each time one instruction from 1 is executed, the contents of the register 30 are subtracted by one, and when the contents are reset to 0, the microprogram execution locus starts stacking.

次に、第1図〜第3図ヶ参照して本発明の動作例につい
て詳しく説明する。
Next, an example of the operation of the present invention will be described in detail with reference to FIGS. 1 to 3.

中央処理袋に1から通信制御jA置6に1回めの命令が
受付けられたときから、後のマイクロプログラムの実行
軌跡を格納する動作は次のようになる。命令の発行ン実
行する前に保守支援装f15ン用いて、通信制御装fI
t、6に備えられてVhルレジスタ30に、マイクロプ
ログラム実行軌跡の格納!開始するまでの命令処理回数
n7設定するとともに、実行軌跡ン格納χしないようマ
イクロプログラム格納領域20のスイッチケオフに設定
する。nは、0以外の正の整数である。
The operation for storing the execution locus of the subsequent microprogram from the time when the first command is received from the central processing bag 1 to the communication control station 6 is as follows. Before issuing and executing a command, use the maintenance support device f15 to check the communication control device fI.
The microprogram execution trajectory is stored in the Vh register 30 at t, 6! The number of times n7 of command processing until the start is set, and the switch of the microprogram storage area 20 is set to OFF so that the execution locus is not stored. n is a positive integer other than 0.

通信制御装置6が命令乞受取ると、通イぎ制御裟f!l
L6はマイクロプログラム実行制御回路10の制御のも
とで、マイクロプログラム格納領域20に格納された内
容に従って命令乞実行して処理7行う。このとき、マイ
クロプログラム実行制御回路10はマイクロプログラム
格納類g20の内部に実行軌跡ン格納するためのスイッ
チ7調べ、マイクロプログラム実行軌跡格納スイッチが
オンになっているときは、実行されたマイクロプログラ
ムの番地と同じマイクロプログラム格納領域20の内部
にある実行番地に格納されたルーチンを参照してi+h
信制御装置6の内部の別の記憶回路にi11次格納して
ゆく。
When the communication control device 6 receives the command, the communication control device f! l
Under the control of the microprogram execution control circuit 10, L6 executes instructions according to the contents stored in the microprogram storage area 20 to perform process 7. At this time, the microprogram execution control circuit 10 checks the switch 7 for storing the execution locus inside the microprogram storage g20, and when the microprogram execution locus storage switch is turned on, the executed microprogram i+h by referring to the routine stored at the execution address inside the microprogram storage area 20 that is the same as the address
The i11th data is then stored in another storage circuit inside the communication control device 6.

さて、通信制御装置6がマイクロプログラム格納領域2
0の内部の命令処理ルーチン1004実行した陵、レジ
スタ30の内容を処理ステップ110において調べる。
Now, the communication control device 6 is connected to the microprogram storage area 2.
The contents of the register 30 executed by the internal instruction processing routine 1004 are checked in processing step 110.

レジスタ30の内容が0でないときには次の処理120
へ進み、レジスタl。
When the contents of the register 30 are not 0, the next process 120
Go to register l.

の内容が0であるか否かを処理ステップ130で調ヘル
。レジスタ10の内容がθではないときには、処理ステ
ップ140の次へ分I妓する。処理ステップ120では
レジスタ30の内容からひとつだけ内容の減算ン行う。
In processing step 130, it is checked whether the content of is 0 or not. If the contents of the register 10 are not θ, the process proceeds to step 140. In processing step 120, only one content is subtracted from the content of register 30.

さらに、次の処理ステップ130へ進み、レジスタ30
の内容が0になったか否かの判定1行う。判定の結果、
レジスタ3゜の内容が0のときには、次の処理ステップ
140へ進み、0でないときには処理ステップ140i
スキツプして、次のマイクロプログラムの処理へ進む。
Further, the process proceeds to the next processing step 130, where the register 30
A determination 1 is made as to whether the content of has become 0 or not. As a result of the judgment,
When the contents of register 3° are 0, the process proceeds to the next processing step 140, and when it is not 0, the process proceeds to process step 140i.
Skip and proceed to processing of the next microprogram.

処理ステップ140では、マイクロプログラム格納領域
20の内部にあるマイクロプログラムの実行軌跡格納ス
イッチンオンにして次の処理へ制御χ渡す。これ以降は
、実行軌跡格納スイッチがオン状態であるため、上述し
たようにマイクロプログラムの実行軌跡が格納される。
In processing step 140, the microprogram execution locus storage switch in the microprogram storage area 20 is turned on and control χ is passed to the next process. From this point on, since the execution locus storage switch is in the on state, the execution locus of the microprogram is stored as described above.

以上、本発明の1実施例について図面ン参照して説明し
た。マイクロプログラムの実行軌跡格納機能については
、「有効」あるいは「無効」ン装置内に具備されたパネ
ルスイッチによって指定することが可能な通信制御装置
に刈して本発明ン適用することはきわめて容易である。
An embodiment of the present invention has been described above with reference to the drawings. Regarding the microprogram execution trajectory storage function, it is extremely easy to apply the present invention to a communication control device in which "enable" or "disable" can be specified by a panel switch provided in the device. be.

(発明の効果) 以上説明したように本発明は、マイクロプログラムの実
行軌跡の格納Z命令処理回数が指定した回数に達したと
きから開始するという制御χ行うことにエフ、解析者が
必要とするマイクロプログラム実行軌跡だけン容易に提
供することができるという効果がある。
(Effects of the Invention) As explained above, the present invention requires an analyst to store the execution trajectory of a microprogram and perform control to start when the number of Z command processing reaches a specified number of times. This has the advantage that only the microprogram execution trajectory can be easily provided.

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

第1図は、本発明に関係する通信制御装置ン含む胤子計
算磯システムの実施例7示すブロック図である。 第2図は、第1図に示す通信制御装置の詳細例を示すブ
ロック図である。 第3図は、本発明による通信制御装置のマイクロプログ
ラムトレース制御方式’&!現するフローチャートであ
る。 1・・・中央処理装置 2〜4・・・データ転送装置 5・・・保守支援装置!L  6・・・通信制御装置7
・・・入出力装置群 lO・・・マイクロプログラム実行制御回路20・・・
マイクロプログラム格納領域3θ・・・レジスタ 特許11:1IIJ4人  日本電気株式会社代理人 
弁理士 井 ノ  ロ    連片1 図 才28
FIG. 1 is a block diagram showing a seventh embodiment of a Taneko calculation system including a communication control device related to the present invention. FIG. 2 is a block diagram showing a detailed example of the communication control device shown in FIG. 1. FIG. 3 shows the microprogram trace control method of the communication control device according to the present invention'&! FIG. 1...Central processing unit 2-4...Data transfer device 5...Maintenance support device! L 6...Communication control device 7
...Input/output device group lO...Microprogram execution control circuit 20...
Microprogram storage area 3θ...Register Patent 11:1 IIJ 4 people NEC Corporation agent
Patent Attorney Inoro Renban 1 Illustration 28

Claims (1)

【特許請求の範囲】[Claims] マイクロプログラムの実行軌跡をスタックするための記
憶手段と、前記マイクロプログラムの実行軌跡のスタッ
ク開始を制御するため命令処理回数を格納してカウント
するためのレジスタと、前記実行軌跡のスタック開始を
与える所定カウント値を設定しておき、前記命令処理回
数が前記所定カウント値に一致したとき、前記マイクロ
プログラムの実行軌跡を前記記憶手段に格納せしめるた
めのマイクロプログラム実行制御手段とを具備して構成
した通信制御装置のマイクロプログラムトレース制御方
式。
a storage means for stacking the execution trajectory of the microprogram; a register for storing and counting the number of instruction processings to control the stacking start of the execution trajectory of the microprogram; and a predetermined register for giving the stacking start of the execution trajectory. and microprogram execution control means for setting a count value and storing the execution locus of the microprogram in the storage means when the number of instruction processing times matches the predetermined count value. Microprogram trace control method for control equipment.
JP60274554A 1985-12-06 1985-12-06 Control system for microprogram trace of communication equipment Pending JPS62134733A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60274554A JPS62134733A (en) 1985-12-06 1985-12-06 Control system for microprogram trace of communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60274554A JPS62134733A (en) 1985-12-06 1985-12-06 Control system for microprogram trace of communication equipment

Publications (1)

Publication Number Publication Date
JPS62134733A true JPS62134733A (en) 1987-06-17

Family

ID=17543340

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60274554A Pending JPS62134733A (en) 1985-12-06 1985-12-06 Control system for microprogram trace of communication equipment

Country Status (1)

Country Link
JP (1) JPS62134733A (en)

Similar Documents

Publication Publication Date Title
JPS62134733A (en) Control system for microprogram trace of communication equipment
JPH01136251A (en) Self-diagnosing system
JPS62196753A (en) Controlling system for microprogram execution locus stack in data transmission device
JPS62221059A (en) Central processing unit
JPH021014A (en) Portable computer
JPS62196738A (en) Control system for microprogram execution locus stack in data transmission equipment
JPH05241986A (en) Input/output instruction retrying system
JPH04199445A (en) Microprogram load control system
JPS61202239A (en) Information processor
JPS61288232A (en) Output instruction control system
JPS61188630A (en) Argument checking system
JPS63163563A (en) Data processor
JPH04362741A (en) Interruption control method
JPH05225112A (en) Information processor
JPH0273447A (en) Log-on method for local cpu
JPH01185733A (en) Input/output emulation system
JPS638949A (en) Program inspection device
JPH0535643A (en) Fully duplex channel input/output control system
JPS59116999A (en) Memory destruction verifying system
JPS62107355A (en) Data processor
JPS6053887B2 (en) information processing system
JPH0262649A (en) Input/output controller
JPH0417530B2 (en)
JPS61235925A (en) Operating system for electronic computer system
JPH01211269A (en) Computer system