JPS62154035A - System developing supporting device - Google Patents

System developing supporting device

Info

Publication number
JPS62154035A
JPS62154035A JP60292503A JP29250385A JPS62154035A JP S62154035 A JPS62154035 A JP S62154035A JP 60292503 A JP60292503 A JP 60292503A JP 29250385 A JP29250385 A JP 29250385A JP S62154035 A JPS62154035 A JP S62154035A
Authority
JP
Japan
Prior art keywords
memory address
memory
mode
cpu
development support
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
JP60292503A
Other languages
Japanese (ja)
Inventor
Nobutoshi Nakayama
中山 信敏
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP60292503A priority Critical patent/JPS62154035A/en
Publication of JPS62154035A publication Critical patent/JPS62154035A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering

Abstract

PURPOSE:To designate various developing supporting function modes by retrieving an associative memory with the executing memory address during the execution of a programs and reading the corresponding system developing supporting function mode. CONSTITUTION:In an associative memory 10, one pair or plural pairs of the memory address and the 'system developing supporting function' mode at the memory address are written by the associative memory writing signal. At the time of the execution of the program, the memory address of the associative memory 10 is retrieved by the real time, when the memory address coincident with the programs executing memory address exists at the time of the writing or reading of a memory 2, an interrupting signal is outputted from a signal generating part 11 to a CPU 1, simultaneously, the corresponding 'system developing supporting function' mode is set to a mode register 12, by the mode reading signal from the CPU 1, a gate 13 is opened and the mode data are outputted to the CPU 1.

Description

【発明の詳細な説明】 [発明の技術分野] 本発明は、システムを開発するにあたり、CPUがプロ
グラムを実行中にCPtJに割り込みをかけて種々のモ
ードで開発支援を行うことのできるシステム開発支援装
置に関する。
[Detailed Description of the Invention] [Technical Field of the Invention] The present invention provides system development support that can provide development support in various modes by interrupting CPtJ while a CPU is executing a program. Regarding equipment.

し発明の技術的背景とその問題点] この種のシステム開発支援装置では、CPUが実行する
プログラムを停止したい場合、停止すべきプログラム・
ストップ・メモリ番地をあらかじめレジスタに記憶して
おき、現在実行中のメモリ番地と比較して割り込みをか
けるようにしていた。
[Technical background of the invention and its problems] In this type of system development support device, when you want to stop a program executed by a CPU, you can
The stop memory address was stored in a register in advance, and compared with the memory address currently being executed, an interrupt was generated.

この場合、停止すべきプログラム・ストップ・メモリ番
地は1個しか設定できなかったため、複数のメモリ番地
でストップをかけることができなかった。
In this case, since only one program stop memory address to be stopped could be set, it was not possible to stop at multiple memory addresses.

また、システムを開発支援するにあたりプログラム・ス
トップ機能しか果せなかったため、プログラムの実行を
停止しないでレジスタ群の内容を表示したり、テスト信
号を発生することができなかった。
Furthermore, since it could only perform the program stop function when supporting system development, it was not possible to display the contents of registers or generate test signals without stopping program execution.

[発明の目的] 本発明は上記事情に鑑みて成されたものであり、複数の
プログラム・メモリ番地に対しても種々の開発支援機能
モードの指定が可能なシステム開発支援装置を提供する
ことを目的とするものである。
[Object of the Invention] The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a system development support device capable of specifying various development support function modes even for a plurality of program memory addresses. This is the purpose.

[発明の概要1 上記目的を達成するための本発明の概要は、CPUがプ
ログラムの実行中に、そのCPUに割り込みをかけてシ
ステム開発支援機能モードを実行させるシステム開発支
援装置において、メモリ番地に対応させて前記システム
開発支援機能モードを予め記憶した連想メモリを具備し
、プログラムの実行中にその実行メモリ番地で前記連想
メモリを検索し、実行メモリ番地と一致したメモリ番地
が存在したときに、前記CPtJに割り込み信号を出力
し、かつ、そのメモリ番地に対応する前記システム開発
支援機能モードを読み出すように構成したことを特徴と
するものである。
[Summary of the Invention 1] A summary of the present invention for achieving the above object is to provide a system development support device that interrupts the CPU and executes a system development support function mode while the CPU is executing a program. An associative memory is provided in which the system development support function mode is stored in advance in association with the system development support function mode, and when the associative memory is searched at the execution memory address during execution of the program and a memory address matching the execution memory address is found, The present invention is characterized in that it is configured to output an interrupt signal to the CPtJ and read out the system development support function mode corresponding to the memory address.

[発明の実施例1 以下、本発明の一実施例を図面を参照して説明する。第
1図は本発明に係る装置の要部構成を示すブロック図、
第2図は本実施例装置のブロック図である。
[Embodiment 1 of the Invention Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the main configuration of the device according to the present invention;
FIG. 2 is a block diagram of the apparatus of this embodiment.

先ず、実施例装置の全体構成について第2図を参照して
説明する。同図において、CPU1は、本実施例装置の
制御を司どるものであり、所定のプログラムにしたがっ
て下記の各種装置の動作を実行制御するようになってい
る。メモリ2は、各種データを記憶するものであり、キ
ーボード3は開発者の操作に基づき情報を入力するもの
である。
First, the overall configuration of the embodiment apparatus will be explained with reference to FIG. 2. In the figure, a CPU 1 is in charge of controlling the apparatus of this embodiment, and is designed to execute and control the operations of the various apparatuses described below in accordance with a predetermined program. The memory 2 is for storing various data, and the keyboard 3 is for inputting information based on operations by the developer.

また、CRT4は前記CPU1の制御に基づき各種情報
を表示するものである。5はシステム開発支援部であり
、所定のプログラム・メモリ番地で前記CPUIに割り
込みをかけて各種モードで開発支援を行なうものである
Further, the CRT 4 displays various information under the control of the CPU 1. Reference numeral 5 denotes a system development support section, which interrupts the CPUI at a predetermined program memory address to provide development support in various modes.

次に、前記システム開発支援部5の具体的構成を第1図
を参照して説明する。
Next, the specific configuration of the system development support section 5 will be explained with reference to FIG.

このシステム開発支援部5は、連想メモリ10゜信号発
生部11.モードレジスタ]2及びゲート13から構成
されている。
This system development support section 5 includes an associative memory 10° signal generation section 11. mode register] 2 and a gate 13.

前記連想メモリ10とは、各種内容に対応してそれぞれ
データを記憶しておき、上記内容と同一の内容が入力さ
れた場合にその内容に対応する前記データを出力するコ
ンテント・アドレッサブル・メモリである。木実施例の
場合には、メモリ番地に対応してそのメモリ番地で行う
べきシステム開発支援機能モードを予め記憶している。
The associative memory 10 is a content addressable memory that stores data corresponding to various contents, and outputs the data corresponding to the contents when the same contents as the above contents are input. . In the case of the tree embodiment, the system development support function mode to be performed at the memory address is stored in advance in correspondence with the memory address.

このために、前記連想メモリ10は、前記キーボード3
より入力されるデータ(メモリ番地データ、モードデー
タ)を前記CPU1からの連想メモリ書き込み指令に基
づいて記憶するようになっている。
For this purpose, the associative memory 10 includes the keyboard 3
Data (memory address data, mode data) input from the CPU 1 is stored based on an associative memory write command from the CPU 1.

そして、プログラム実行中はリアルタイムでそのプログ
ラムメモリ番地を入力し、予め記憶されているメモリ番
地と同一のメモリ番地が入力された場合に、メモリ番地
存在信号とそのメモリ番地に対応したモードデータとを
出力するようになっている。
Then, while the program is running, the program memory address is input in real time, and if the same memory address as a pre-stored memory address is input, the memory address presence signal and the mode data corresponding to that memory address are transmitted. It is designed to be output.

前記信号発生部11は、前記連想メモリ10よリメモリ
存在信号を入力し、かつ、CPU1がメモリ2を駆動制
御するためのメモリ書き込み/読み出し信号を出力して
いる場合にそのCPU1に割り込み信号を出力するもの
である。また、このタイミングで前記モードレジスタ1
2に対してレジスタセット信号を出力するようになって
いる。
The signal generating unit 11 inputs a memory existence signal from the associative memory 10 and outputs an interrupt signal to the CPU 1 when the CPU 1 is outputting a memory write/read signal for driving and controlling the memory 2. It is something to do. Also, at this timing, the mode register 1
A register set signal is output for 2.

前記モードレジスタ12は、前記レジスタセット信号の
入力に基づき前記連想メモリ10より読み出されたモー
ドデータをレジスタにセットするものである。
The mode register 12 sets the mode data read from the associative memory 10 based on the input of the register set signal.

前記ゲート13は、前記モードレジスタ12とデータラ
インとの間に設けられ、割り込み信号を入力したCPU
1が出力するモード読み出し信号に基づきゲートを開い
て前記モードレジスタ12の内容をデータラインに転送
するようになっている。
The gate 13 is provided between the mode register 12 and the data line, and is connected to the CPU inputting the interrupt signal.
The gate is opened based on the mode read signal outputted by the mode register 12, and the contents of the mode register 12 are transferred to the data line.

以上のように構成された装置の作用について説明する。The operation of the device configured as above will be explained.

前記連想メモリ10には、予め1組または複数組のメモ
リ番地とそのメモリ番地での「システム開発支援機能」
モードを連想メモ1ノ書き込み信号で書き込んでおく。
The associative memory 10 has in advance one or more sets of memory addresses and a "system development support function" at that memory address.
Write the mode using the associative memo 1 write signal.

そして、プログラム実行時にリアルタイムで連想メモリ
10のメモリ番地を検索し、プログラム実行メモリ番地
と一致したメモリ番地がメモリ2の書き込みまたは読み
出し時に存在した時は、信号発生部1]より割り込み信
号をCPU1に出力し、同時に対応する「システム開発
支援機能」モードをモードレジスタ12にセットし、C
PU1からのモード読み出し信号によってゲート13を
開いてそのモードデータをCPU1に出力する。
Then, when the program is executed, the memory address of the associative memory 10 is searched in real time, and if a memory address that matches the program execution memory address exists when writing or reading from the memory 2, an interrupt signal is sent from the signal generator 1 to the CPU 1. At the same time, set the corresponding "system development support function" mode in the mode register 12, and
The gate 13 is opened by the mode read signal from the PU1 and the mode data is outputted to the CPU1.

従って、前記モードデータがストップ指令であれば、C
PU1のプログラム実行を停止することができる。しか
も、前記連想メモリ10には複数のメモリ番地に対して
ストップモードを記憶してあくことができるため、シス
テム開発を支援する上で極めて機能的である。
Therefore, if the mode data is a stop command, C
Program execution of PU1 can be stopped. Moreover, since the associative memory 10 can store stop modes at a plurality of memory addresses, it is extremely functional in supporting system development.

また、本実施例装置によればシステム開発支援機能モー
ドとしてストップモードに限られないため、開発支援に
有効な種々のモードをプログラム実行中に行なうことが
できる。例えば、プログラム実行をストップすると共に
その時のレジスタ群の内容をCRT4に表示するモード
を実行可能である。また、あるメモリ番地に達したらプ
ログラムの実行をストップせずに、そのメモリ番地に対
応するレジスタ群の内容をCRT4に表示するモードを
も行なうことができる。このほか、あるメモリ番地に達
したらテスト信号を出力するモードであってもよい。
Furthermore, according to the present embodiment, the system development support function mode is not limited to the stop mode, so that various modes effective for development support can be performed during program execution. For example, it is possible to execute a mode in which program execution is stopped and the contents of the register group at that time are displayed on the CRT 4. It is also possible to operate a mode in which when a certain memory address is reached, the contents of the register group corresponding to that memory address are displayed on the CRT 4 without stopping the execution of the program. In addition, a mode may be used in which a test signal is output when a certain memory address is reached.

このように、本実施例装置にあってはプログラム実行中
に複数のメモリ番地において各種の「システム開発支援
機能」モードを指定することができ、しかも容易に種々
のモードの指定が可能となる。
In this way, in the device of this embodiment, various "system development support function" modes can be designated at a plurality of memory addresses during program execution, and various modes can be easily designated.

尚、本発明は上記実施例に限定されるものではなく、本
発明の要旨の範囲内で種々の変形実施が可能である。
Note that the present invention is not limited to the above embodiments, and various modifications can be made within the scope of the gist of the present invention.

[発明の効果] 以上説明したように本発明によれば、プログラム実行中
に1組または複数組のメモリ番地で種々の「システム開
発支援機能」モードを容易に指定することができ、しか
も、構成も複雑でないため安価なシステム開発支援装置
を提供することができる。
[Effects of the Invention] As explained above, according to the present invention, various "system development support function" modes can be easily specified using one or more sets of memory addresses during program execution, and Since it is not complicated, it is possible to provide an inexpensive system development support device.

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

第1図は本発明に係る実施例装置の腰部のブロック図、
第2図は本実施例装置のブロック図で必る。 1・・・CPU、3・・・入力部、4・・・表示部、1
0・・・連想メモリ、11・・・信号発生部、12・・
・モードレジスタ、13・・・ゲート。
FIG. 1 is a block diagram of the waist part of the embodiment device according to the present invention;
FIG. 2 is a block diagram of the apparatus of this embodiment. 1...CPU, 3...Input section, 4...Display section, 1
0... Content addressable memory, 11... Signal generation unit, 12...
-Mode register, 13...gate.

Claims (1)

【特許請求の範囲】[Claims] CPUがプログラムの実行中に、そのCPUに割り込み
をかけてシステム開発支援機能モードを実行させるシス
テム開発支援装置において、メモリ番地に対応させて前
記システム開発支援機能モードを予め記憶した連想メモ
リを具備し、プログラムの実行中にその実行メモリ番地
で前記連想メモリを検索し、実行メモリ番地と一致した
メモリ番地が存在したときに、前記CPUに割り込み信
号を出力し、かつ、そのメモリ番地に対応する前記シス
テム開発支援機能モードを読み出すように構成したこと
を特徴とするシステム開発支援装置。
A system development support device that interrupts a CPU to execute a system development support function mode while the CPU is executing a program, comprising an associative memory in which the system development support function mode is stored in advance in association with a memory address. , searches the associative memory for the execution memory address during program execution, and outputs an interrupt signal to the CPU when a memory address that matches the execution memory address exists; A system development support device characterized by being configured to read a system development support function mode.
JP60292503A 1985-12-27 1985-12-27 System developing supporting device Pending JPS62154035A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60292503A JPS62154035A (en) 1985-12-27 1985-12-27 System developing supporting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60292503A JPS62154035A (en) 1985-12-27 1985-12-27 System developing supporting device

Publications (1)

Publication Number Publication Date
JPS62154035A true JPS62154035A (en) 1987-07-09

Family

ID=17782656

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60292503A Pending JPS62154035A (en) 1985-12-27 1985-12-27 System developing supporting device

Country Status (1)

Country Link
JP (1) JPS62154035A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013528853A (en) * 2010-04-19 2013-07-11 インターナショナル・ビジネス・マシーンズ・コーポレーション Method, system, and computer program for debugging multithreaded code

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013528853A (en) * 2010-04-19 2013-07-11 インターナショナル・ビジネス・マシーンズ・コーポレーション Method, system, and computer program for debugging multithreaded code

Similar Documents

Publication Publication Date Title
US4780819A (en) Emulator system utilizing a program counter and a latch coupled to an emulator memory for reducing fletch line of instructions stored in the emulator memory
KR900016866A (en) Data processing systems
KR960011613A (en) Data processing device
KR20030059339A (en) Single-step processing
KR860007589A (en) Data processing device
KR930002935A (en) Information processing device
US4701847A (en) Adaptive instruction sequence synthesizer and process
JPS62154035A (en) System developing supporting device
US5819081A (en) Method of executing a branch instruction of jumping to a subroutine in a pipeline control system
JP2520158B2 (en) Debugging method of digital signal processor
JPH0537314Y2 (en)
JPH0795288B2 (en) Microcomputer
JP2557366B2 (en) Input / output procedure converter
SU731440A1 (en) Digital computer processor
KR960018958A (en) Main Memory Access Device Using Data Buffer When Performing Atomic Instruction in Multiprocessor System
JPS5894041A (en) Debug backup device for high-class language
JPH08171505A (en) Semiconductor device
JP2513846B2 (en) Vector instruction generation method
JPS6340946A (en) Simulator
JPS5614351A (en) Data processing system
JPS6393049A (en) Program debug device
JPS60193046A (en) Detecting system for instruction exception
KR890008681A (en) Processor control unit
JPS60132249A (en) Data processor
JPH05151020A (en) Digital signal processor