JPS6292038A - Control system for record of history memory - Google Patents

Control system for record of history memory

Info

Publication number
JPS6292038A
JPS6292038A JP60232446A JP23244685A JPS6292038A JP S6292038 A JPS6292038 A JP S6292038A JP 60232446 A JP60232446 A JP 60232446A JP 23244685 A JP23244685 A JP 23244685A JP S6292038 A JPS6292038 A JP S6292038A
Authority
JP
Japan
Prior art keywords
register
contents
history memory
record
recording
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
JP60232446A
Other languages
Japanese (ja)
Inventor
Hideo Miyake
英雄 三宅
Masanobu Yuhara
雅信 湯原
Mitsuhiro Kishimoto
岸本 光弘
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP60232446A priority Critical patent/JPS6292038A/en
Publication of JPS6292038A publication Critical patent/JPS6292038A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To record effective record information with a history memory comparatively small in capacity by recording the contents of a designated register only when they may possibly be renewed. CONSTITUTION:The contents of an instruction code register 2 are decoded by a decoder 3 and a signal showing a desired instruction is supplied to a record control circuit 4. Then a command is issued from the circuit 4 to record to a history memory 6 via a record command signal line 10. The contents to be recorded are selected by a multiplexer 5 according to the register number set to a number register 1. While the contents of a selected register 11 are sent to the memory 6. In such a constitution, the output of the decoder 3 that is supplied to the circuit 4 is selected properly. Thus the contents of the designated register are stored only an instruction having the sufficient possibility for replacement of the register 11 is executed. Thus it is possible to record the effective record information with a history memory of a comparatively small capacity.

Description

【発明の詳細な説明】 〔(既  要〕 計算機システムにおけるプログラムのデバッグ等の資料
として、プログラム実行中の処理装置の所要レジスタの
内容を記録するヒストリメモリの記録の制御方式である
。必要なレジスタを指定する番号を保持し、特定の命令
、例えばロード命令のコードを検出したとき、指定のレ
ジスタの内容を記録するように制御する。この構成によ
り、小容量のヒストリメモリで有効な情報を落ち無く記
録することが、簡単な回路の追加によって可能になる。
[Detailed Description of the Invention] [(Already required)] A control method for recording a history memory that records the contents of necessary registers of a processing device during program execution as data for debugging programs in a computer system. Necessary registers When the code of a specific instruction, such as a load instruction, is detected, the contents of the specified register are recorded.This configuration allows effective information to be stored in the small history memory. By adding a simple circuit, it is possible to record data without any need for recording.

〔産業上の利用分野〕[Industrial application field]

本発明は、計算機システムにおけるプログラムのデバッ
グ等の資料として、プログラム実行中の処理装置の所要
レジスタの内容を記録するヒストリメモリの記録制御方
式に関する。
The present invention relates to a history memory recording control method for recording the contents of required registers of a processing device during program execution as data for program debugging and the like in a computer system.

ヒストリメモリの記録は、処理装置の各種レジスタの内
容の履歴の記録であって、プログラム実行中グ等の有効
な情報として使用されている。
Records in the history memory are records of the history of the contents of various registers in the processing device, and are used as effective information during program execution.

しかし、必要な情報を脱落のないように記録しようとす
ると、−Cにヒストリィメモリには大きな記憶容量が必
要になりやすい。
However, if necessary information is to be recorded without being omitted, the history memory tends to require a large storage capacity.

(従来の技術と発明が解決しようとする問題点)従来の
ヒストリメモリの記録方式には、例えば一定の時間ごと
に、所要のレジスタの内容を記録する方式がある。
(Prior Art and Problems to be Solved by the Invention) Conventional history memory recording methods include, for example, a method of recording the contents of required registers at fixed time intervals.

この方式では、レジスタの内容に変化が無い場合にも記
録が採られるので、記録頻度を多くすればヒストリメモ
リの必要な記憶容量が大きくなる。
In this method, recording is performed even when there is no change in the contents of the register, so increasing the recording frequency increases the required storage capacity of the history memory.

又、記録間隔を広くすると、頻繁な変化を捕らえられな
くなるという問題がある。
Furthermore, if the recording interval is widened, there is a problem that frequent changes cannot be detected.

そのために、所要のレジスタの内容の変化がある場合の
み記録することが行われているが、比較的複雑な回路を
要し、ヒストリメモリの所要容量を効果的に減少し、且
つ有効情報の記録漏れを生しないような簡易な方式が無
かった。
For this purpose, recording is performed only when there is a change in the contents of a required register, but this requires a relatively complex circuit, effectively reduces the required capacity of the history memory, and records effective information. There was no simple method that would prevent leaks.

〔問題点を解決するための手段〕[Means for solving problems]

図は本発明の構成を示すブロック図である。 The figure is a block diagram showing the configuration of the present invention.

図において、1はレジスタ番号の指定情報を保持する番
号レジスタ、2は命令コードレジスタ、3はデコーダ、
4は記録制御回路、5はマルチプレクサ、6はヒストリ
メモリ、10は記録指令信号線である。
In the figure, 1 is a number register that holds register number specification information, 2 is an instruction code register, 3 is a decoder,
4 is a recording control circuit, 5 is a multiplexer, 6 is a history memory, and 10 is a recording command signal line.

〔作 用〕 命令コードレジスタ2の内容は、デコーダ3でデコード
され、所要の命令を示す信号が記録制御回路4へ入力さ
れて、該回路から記録指令信号線10によって、ヒスト
リメモリ6へ記録が指令される。
[Operation] The contents of the instruction code register 2 are decoded by the decoder 3, and a signal indicating the required instruction is input to the recording control circuit 4, from which recording is performed in the history memory 6 via the recording command signal line 10. commanded.

記録すべき内容は、番号レジスタ1に設定されたレジス
タ番号によって、マルチプレクサ5で選択され、レジス
タ11のうちの、選択されたlレジスタの内容がヒスト
リメモリ6へ送られる。
The contents to be recorded are selected by the multiplexer 5 according to the register number set in the number register 1, and the contents of the selected l register among the registers 11 are sent to the history memory 6.

以上の構成により、記録制御回路4に入力するデコーダ
3の出力を適切に選ぶことにより、レジスタ11を更新
する可能性の大きい命令の実行時のみ、指定のレジスタ
の内容を記憶するようになり、有効な記録情報が比較的
小容量のヒストリメモリで可能になる。
With the above configuration, by appropriately selecting the output of the decoder 3 that is input to the recording control circuit 4, the contents of the specified register can be stored only when an instruction that has a high possibility of updating the register 11 is executed. Valid recording information is possible with a relatively small amount of history memory.

更に、デコーダ3は、命令実行制御のために必要なデコ
ーダ機能を兼用することができるので、比較的少量の回
路の追加のみで前記の機能を実現することができる。
Further, since the decoder 3 can also serve as a decoder function necessary for controlling instruction execution, the above function can be achieved with only a relatively small amount of additional circuitry.

(実施例〕 図の命令コードレジスタ2及びデコーダ3には、命令実
行制御のために、主記憶装置等からフエ’7すした命令
の命令コード部を保持するレジスタ及びデコーダを兼用
してよい。
(Embodiment) The instruction code register 2 and decoder 3 shown in the figure may also serve as a register and a decoder for holding the instruction code part of the instruction retrieved from the main storage device etc. for instruction execution control.

番号レジスタ1には、記録を要するレジスタの番号を予
め設定しておく。
The number register 1 is set in advance with the number of the register that requires recording.

命令コードレジスタ2の内容は、デコーダ3でデコード
され、ロード命令等の所要の命令を示す信号のみが記録
制御回路4へ入力される。
The contents of the instruction code register 2 are decoded by a decoder 3, and only a signal indicating a required instruction such as a load instruction is input to the recording control circuit 4.

記録制御回路4は、例えばそれらの入力信号の論理和に
よって、所定の命令のとき記録指令信号を発生し、記録
指令信号線10によって、ヒストリメモリ6へ記録を指
令する。
The recording control circuit 4 generates a recording command signal at the time of a predetermined command by, for example, the logical sum of these input signals, and instructs the history memory 6 to record through the recording command signal line 10.

記録すべき内容は、番号レジスタ1に設定されたしz−
5スタ番号によ−て、マルチプレクサ5で選択されるの
で、レジスタ11のうちの、選択されたlレジスタの内
容がヒストリメモリ6へ転送される。
The content to be recorded is set in number register 1.
Since the 5 star number is selected by the multiplexer 5, the contents of the selected 1 register of the registers 11 are transferred to the history memory 6.

以上の構成により、指定のレジスタの内容を、更新の可
能性のあるときのみ記録するようにして、有効な記録情
報を比較的小容量のヒストリメモリによって記録するこ
とができる。
With the above configuration, the contents of a designated register are recorded only when there is a possibility of updating, and valid recording information can be recorded using a relatively small-capacity history memory.

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

以上の説明から明らかなように、本発明によれば、計算
機システムの処理装置において、比較的小容量のヒスト
リメモリを使用して、有効な情報を記録することが、少
量の回路の付加によって可能になるという著しい工業的
効果がある。
As is clear from the above description, according to the present invention, it is possible to record valid information using a relatively small-capacity history memory in a processing device of a computer system by adding a small amount of circuitry. This has a significant industrial effect.

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

図は本発明の実施例構成を示すブロック図である。 図において、 1は番号レジスタ、   2は命令コードレジスタ、3
はデコーダ、     4は記録制御回路、5はマルチ
プレクサ、  6はヒストリメモリ、10は記録指令信
号線、 11はレジスタを示す。
The figure is a block diagram showing the configuration of an embodiment of the present invention. In the figure, 1 is the number register, 2 is the instruction code register, and 3 is the number register.
4 is a decoder, 4 is a recording control circuit, 5 is a multiplexer, 6 is a history memory, 10 is a recording command signal line, and 11 is a register.

Claims (1)

【特許請求の範囲】 計算機システムの処理装置のレジスタ(11)に保持す
る内容をヒストリメモリ(6)に記録するに際し、 レジスタ番号の指定情報を保持する手段(1)、及び、
所要の命令コードの検出手段(2、3、4)を有し、 該検出手段による該所要の命令コードの検出を示す信号
(10)により、該指定番号のレジスタの内容を該ヒス
トリメモリに記録することを特徴とするヒストリメモリ
記録制御方式。
[Claims] Means (1) for holding register number designation information when recording contents held in a register (11) of a processing device of a computer system in a history memory (6);
It has detection means (2, 3, 4) for a required instruction code, and records the contents of the register with the specified number in the history memory by a signal (10) indicating that the detection means detects the required instruction code. A history memory recording control method characterized by:
JP60232446A 1985-10-18 1985-10-18 Control system for record of history memory Pending JPS6292038A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60232446A JPS6292038A (en) 1985-10-18 1985-10-18 Control system for record of history memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60232446A JPS6292038A (en) 1985-10-18 1985-10-18 Control system for record of history memory

Publications (1)

Publication Number Publication Date
JPS6292038A true JPS6292038A (en) 1987-04-27

Family

ID=16939402

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60232446A Pending JPS6292038A (en) 1985-10-18 1985-10-18 Control system for record of history memory

Country Status (1)

Country Link
JP (1) JPS6292038A (en)

Similar Documents

Publication Publication Date Title
JP2539199B2 (en) Digital processor controller
US5404466A (en) Apparatus and method to set and reset a pipeline instruction execution control unit for sequential execution of an instruction interval
JPS6292038A (en) Control system for record of history memory
JPH0793101A (en) Data backup device
JPH02197924A (en) Central arithmetic processor
JPS6020769B2 (en) Microprogram control method
JPH05257807A (en) Cache memory controller
JPS6270947A (en) Control system for debug interruption
JPS617965A (en) Input/output control device
JPS5922147A (en) Checking system of retrial processing
JPH04153731A (en) Program memory control system
JPH02204843A (en) Execution history storage device
JPS60105048A (en) Microprogram control system
JPS61131126A (en) Information processing unit
JPH02242444A (en) Debugging mechanism for information processor
JPH0342721A (en) Information processor
JPS61143848A (en) Microprogram controller
JPH01279330A (en) Error processing system
JPS59186048A (en) Microprogram control system
JPH0675789A (en) Information processor
JPS61141046A (en) System for controlling debug interruption
JPH02105237A (en) Data update system for sequence organization file
JPS63147231A (en) Data processor for prefetch of instruction
JPH01140351A (en) Data processor
JPH02242445A (en) Debugging mechanism for information processor