JPS58114144A - Debugging information storage system - Google Patents

Debugging information storage system

Info

Publication number
JPS58114144A
JPS58114144A JP56214021A JP21402181A JPS58114144A JP S58114144 A JPS58114144 A JP S58114144A JP 56214021 A JP56214021 A JP 56214021A JP 21402181 A JP21402181 A JP 21402181A JP S58114144 A JPS58114144 A JP S58114144A
Authority
JP
Japan
Prior art keywords
register
information
contents
stored
macro
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.)
Granted
Application number
JP56214021A
Other languages
Japanese (ja)
Other versions
JPS642977B2 (en
Inventor
Yasuo Fujihira
藤平 泰雄
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 JP56214021A priority Critical patent/JPS58114144A/en
Publication of JPS58114144A publication Critical patent/JPS58114144A/en
Publication of JPS642977B2 publication Critical patent/JPS642977B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To obtain information required for debugging without increasing the quantity of hardware, by constituting a system so that macro information and micro information are stored in time series. CONSTITUTION:Contents of a register IR where macro instructions to be stored are accumulated and contents of a register MR where an executing macro instruction is stored are inputted to a memory MEM for information storage through a multiplexing circuit MUX. The address of the memory MEM is designated by a register IBAR when a macro instruction is stored; and it is designated by a register MBAR when a micro instruction is stored. Stored information of the memory MEM is outputted to an output circuit RR. When receiving the end signal of one macro instruction, a controlling circuit CONT stores contents of the register IR in the memory MEM and counts up contents of the register IBAR by +1. The value obtained by counting up contents of the register IBAR by +1 is set to a register MRBA. When the micro instruction is started, contents of the register MBAR are used as the address of the memory MEM to store contents of the register MR in the memory MEM. At this time, contents of the register MBAR are counted up by +1 and are updated.

Description

【発明の詳細な説明】 本発明はデータ処理装置に係り、特にデバッグ情報を格
納するデバッグ情報格納方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data processing device, and particularly to a debug information storage method for storing debug information.

従来デバッグ機能としては命令の推移を格納する機能、
八−ド状態を格納する機能が各々別々に又はスイッチ等
により初期設定することによりいずれか一方を利用でき
る形で存在し、前者はハードが多大となり、後者は必要
な情報が全ては取得できない欠点があった。
Conventional debugging functions include a function to store the transition of instructions;
The functions for storing the 8-code state exist in a form that allows you to use either one separately or by initializing with a switch, etc. The former requires a large amount of hardware, and the latter has the disadvantage that all necessary information cannot be obtained. was there.

本発明の目的はデバッグに必要な情報をマクロなものと
ミクロなものとに分類し8時系列的に古いものはマクロ
な情報で、新しいものはミクロな情報で同一メモリに格
納することによりハードをふやすことなくデバッグに必
要な情報を取得することである。
The purpose of the present invention is to classify information necessary for debugging into macro information and micro information. The purpose is to obtain the information necessary for debugging without increasing the amount of data.

即ち9本発明はデバッグに必要な情報がマクロなちの(
例えば0?コード)とミクロなもの(マイクロ命令)と
いう形で存在し、ミクロな情報は1つのマクロな情報の
範囲内で格納され、ていれば良い点を利用し、その各々
を格納する為のアドレス用のレジスタを個々に持たせる
ことにより、デバッグ情報を時系列的に取得できるよう
にしたものである。
In other words, in the present invention, the information necessary for debugging is a macro (
For example 0? Micro information exists in the form of code) and micro information (micro instructions), and micro information is stored within the scope of one macro information. By having individual registers, debug information can be acquired in chronological order.

以下本発明を図面により詳細に説明する。The present invention will be explained in detail below with reference to the drawings.

wI1図は本発明の実施例である。Figure wI1 is an embodiment of the present invention.

図において、IRはマクロなデバッグ情報を蓄積するレ
ジスタ、MRはミクロなデバッグ情報を蓄積するレジス
タ、MEMは情報格納用メモリ。
In the figure, IR is a register that stores macro debug information, MR is a register that stores micro debug information, and MEM is a memory for storing information.

IBARはマクロなデバッグ情報を格納する場合の情報
格納用メモリアドレスを設定するレジスタ回路、MBA
Rはミクロなデバッグ情報を格納する場合の情報格納用
メモリアドレスを設定するレジスタ回路、MUXはマル
チプレクサ回路、C0NTは制御回路、RRは出力回路
である。
IBAR is a register circuit that sets the memory address for storing information when storing macro debug information, MBA
R is a register circuit for setting a memory address for storing information when storing micro debug information, MUX is a multiplexer circuit, C0NT is a control circuit, and RR is an output circuit.

St図において、情報格納用メモリMEMへは格納すべ
きマクロ命令(OPコード)が蓄積されているレジスタ
IRの内容と、実行中のマイクロ命令が蓄積されている
レジスタMRの内容がマルチプレックス回路MUXを介
して入力される。
In the St diagram, the contents of a register IR storing macro instructions (OP codes) to be stored in the information storage memory MEM and the contents of a register MR storing micro instructions being executed are stored in a multiplex circuit MUX. Input via .

情報格納用メモリMEMのアドレス指定は、マクロ命令
を格納する場合はレジスタIBARにより、又マイクシ
命令を格納する場合はレジスタMRにより行われる。
Addressing of the information storage memory MEM is performed by register IBAR when storing macro instructions, and by register MR when storing macro instructions.

情報格納用メモリMEMの格納情報は出力回路RRに出
力される。
The information stored in the information storage memory MEM is output to the output circuit RR.

制御回路C0NTは、1マクロ命令の終了信号を受ける
とレジスタI SAHの内容をアドレスとして、情報格
納用メモリMEMにレジスタIRの内容を格納すると共
に/ジスタI BARを+1する。
When the control circuit C0NT receives the end signal of one macro instruction, it stores the contents of the register IR in the information storage memory MEM using the contents of the register ISAH as an address, and also increments the register IBAR by 1.

またその時レジスタIBARを+1した値をレジスタM
BARにセットする。
At that time, the value obtained by adding 1 to register IBAR is set to register M.
Set it on the bar.

マイクロ命令が開始されるとレジスタMBARの内容を
情報格納用メモリMEMのアドレスとして、情報格納用
メモリMEMにレジスタMRの内容を格納する。
When a microinstruction is started, the contents of the register MBAR are used as the address of the information storage memory MEM, and the contents of the register MR are stored in the information storage memory MEM.

またその時レジスタMBARの内容を+1して更新する
At that time, the contents of register MBAR are updated by +1.

制御回路C0NTからは格納される情報が、レジスタI
Rの内容かレジスタMRの内容かを区別表示するフラグ
情報を情報格納用メモリMEMに入力し9例えばレジス
タIRの内容の場合は“l”を、レジスタMRの内容の
場合は0”を入力する。
The information stored from the control circuit C0NT is stored in the register I.
Input flag information to distinguish between the contents of R and the contents of register MR into the information storage memory MEM.9 For example, input "l" for the contents of register IR, and input "0" for the contents of register MR. .

次に、 @alFliCONTが次のマクロ命令の終了
信号を受けるとレジスタIBARの内容をアドレスメし
て、情報格納用メモリMEMにレジスタIRの内容を格
納すると共にレジスタIBARを+1する。
Next, when @alFliCONT receives the end signal of the next macro instruction, it addresses the contents of register IBAR, stores the contents of register IR in information storage memory MEM, and increments register IBAR by 1.

この場合、先に格納されたマイクロ命令の格納アドレス
位Ni次のマクロ命令が格納されることになるが、先述
したようにミクロな情報(マイクロ命令)は対応する1
つのマクロな情報(マクロ命令)の範囲内で格納されて
いれば良いので、何等差し支えない。
In this case, the next macroinstruction will be stored at the storage address Ni of the previously stored microinstruction, but as mentioned earlier, the microinstruction (microinstruction) will be stored at the corresponding 1
As long as it is stored within the range of one macro information (macro instruction), there is no problem.

第2図は情報格納用メモリMEMへのマクロ命令、マイ
クシ命令の格納状態を示す図である。
FIG. 2 is a diagram showing the storage state of macro instructions and macro instructions in the information storage memory MEM.

本実施例によれば情報格納用のメモリを2重に持つ事な
く簡単な制御面路とアドレスレジスタ(IBAR又はM
BAR)及びマルチプレクサ回路(MUX)の追加のみ
でマクロ命令とマイクシ命令を時系列的に格納できる効
果がある。
According to this embodiment, a simple control plane and address register (IBAR or M
There is an effect that macro instructions and micro instructions can be stored in chronological order only by adding a BAR) and a multiplexer circuit (MUX).

141図の例ではマク℃命令マイクロ命令とを格納する
例であるが、マクロ命令、マイクロ命令の他にそれぞれ
のアドレスを格納するようにしてもよいし、又各命令と
アドレスの両方を格納するようにしてもよい。
In the example shown in Figure 141, a macroinstruction and a microinstruction are stored, but in addition to the macroinstruction and microinstruction, each address may be stored, or both each instruction and address may be stored. You can do it like this.

更に、同様の発明思想の下で、マクロな動作とマクロな
動作の組み合≧)せに関して、IR,MRに蓄積する情
報を変えろことにより(たとえばIRにオペランドリー
ド、ライト、命令リードというメモリアクセスのフラグ
情報をセットし、詳細情報をMRにセットし、制御II
tl!回路へは命令終了信号のかわりにメモリアクセス
終了信号を入れる)少ない回路でデバッグに必要かつ十
分な機能を提供できる。
Furthermore, based on the same inventive idea, for combinations of macro operations and macro operations (≥), by changing the information stored in IR and MR (for example, memory access such as operand read, write, and instruction read in IR) Set flag information in MR, set detailed information in MR, and control II
tl! (A memory access end signal is input to the circuit instead of an instruction end signal.) It is possible to provide necessary and sufficient functions for debugging with a small number of circuits.

本発明によればマクロな′情報と主クロな情報を時系列
的に格納することができ、少ない費用でデバッグに必要
かつ十分な機能を提供できる効果がある。
According to the present invention, macro information and main macro information can be stored in chronological order, and there is an effect that sufficient functions necessary for debugging can be provided at low cost.

【図面の簡単な説明】 第1図は本発明の実施例である。 第2図は情報格納用メモリMEMへのマクロ命令、マイ
クロ命令の格納状態を示す図である。 図において。 IRはマクロなデバッグ情報を蓄積するレジスタMRは
ミクロなデバッグ情報を蓄積するレジスタMEMは情報
格納用メモリ I BARはマクνなデバッグ情報を格納する場合の情
報格納用メモリアドレスを設定するレジスタ回路 MBARはミクロなデバッグ情報を格納する場合の情報
格納用メモリアドレスを設定するレジスタ回路 MUXはマルチプレクサ回路 C0NTは制御回路 RRは出力回路である。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 shows an embodiment of the present invention. FIG. 2 is a diagram showing the storage state of macro instructions and micro instructions in the information storage memory MEM. In fig. IR is a register that stores macro debug information MR is a register that stores micro debug information MEM is an information storage memory I BAR is a register circuit MBAR that sets a memory address for storing information when storing macro debug information A register circuit MUX sets a memory address for storing information when storing micro debug information, a multiplexer circuit C0NT and a control circuit RR are output circuits.

Claims (1)

【特許請求の範囲】 データ処理装置におけるデバッグ情報格納方式マクロな
デバッグ情報を格納する場合の情報格納用メモリアドレ
スを設定するレジスタ回路と。 ミクロなデバッグ情報を格納す°る場合の情報格納用メ
モリアドレスを設定するレジスタ回路。 及びこれらの情報及びアドレスをマルチプレックスする
マルチプレクサ回路より構成され。 マクロなデバッグ情報とミクロなデバッグ情報を時系列
的に情報格納用メモリに格納する事を特徴とするデバッ
グ情報格納方式
[Scope of Claims] A register circuit for setting a memory address for storing information when macro debug information is stored in a debug information storage method in a data processing device. A register circuit that sets the memory address for storing micro debug information. and a multiplexer circuit that multiplexes these information and addresses. A debug information storage method characterized by storing macro debug information and micro debug information in an information storage memory in chronological order.
JP56214021A 1981-12-26 1981-12-26 Debugging information storage system Granted JPS58114144A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56214021A JPS58114144A (en) 1981-12-26 1981-12-26 Debugging information storage system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56214021A JPS58114144A (en) 1981-12-26 1981-12-26 Debugging information storage system

Publications (2)

Publication Number Publication Date
JPS58114144A true JPS58114144A (en) 1983-07-07
JPS642977B2 JPS642977B2 (en) 1989-01-19

Family

ID=16648955

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56214021A Granted JPS58114144A (en) 1981-12-26 1981-12-26 Debugging information storage system

Country Status (1)

Country Link
JP (1) JPS58114144A (en)

Also Published As

Publication number Publication date
JPS642977B2 (en) 1989-01-19

Similar Documents

Publication Publication Date Title
US4878174A (en) Flexible ASIC microcomputer permitting the modular modification of dedicated functions and macroinstructions
US3553651A (en) Memory storage system
US2815168A (en) Automatic program control system for a digital computer
JPS58114144A (en) Debugging information storage system
JPS6211736B2 (en)
KR100654477B1 (en) Object oriented processing with dedicated pointer memories
JP2731047B2 (en) Program operand check method
SU960814A1 (en) Microprogram control device
SU1176346A1 (en) Device for determining intersection of sets
SU1103230A1 (en) Microprogram control device
JPS585846A (en) Instruction processing system
JP2719676B2 (en) Parallel processing unit
SU1179349A1 (en) Device for checking microprograms
SU1716528A1 (en) Computing device with overlapped operations
SU1509890A1 (en) Arrangement for forming structured files
JPH02114373A (en) Vector data processor
JPH0332814B2 (en)
SU1437920A1 (en) Associative storage
SU1339653A1 (en) Memory
SU1166109A2 (en) Microprogram control unit
JP2859921B2 (en) Instruction queue controller
SU1103229A1 (en) Microprogram control device
SU1113802A1 (en) Firmware controlunit
SU928355A1 (en) Microprogramme-control device
SU1488802A1 (en) Device for associative loading of data vector of variable format