JPS6145267B2 - - Google Patents

Info

Publication number
JPS6145267B2
JPS6145267B2 JP53044474A JP4447478A JPS6145267B2 JP S6145267 B2 JPS6145267 B2 JP S6145267B2 JP 53044474 A JP53044474 A JP 53044474A JP 4447478 A JP4447478 A JP 4447478A JP S6145267 B2 JPS6145267 B2 JP S6145267B2
Authority
JP
Japan
Prior art keywords
operand
instruction information
program memory
address
section
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.)
Expired
Application number
JP53044474A
Other languages
Japanese (ja)
Other versions
JPS54136246A (en
Inventor
Kimio Yamanaka
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP4447478A priority Critical patent/JPS54136246A/en
Publication of JPS54136246A publication Critical patent/JPS54136246A/en
Publication of JPS6145267B2 publication Critical patent/JPS6145267B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 この発明は、命令を発生する部分と、その命令
を受ける対象とをもつた装置、たとえば電子計算
機において、多くの命令の中から、特定の対象に
向けられた命令だけを抽出するために用いられる
命令情報検索装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides an apparatus that has a part that generates instructions and a target that receives the commands, such as an electronic computer. The present invention relates to an instruction information retrieval device used for extracting.

第1図に示す制御装置において、中央処理装置
10は、プログラムメモリ11内にプログラムを
順次読出し、その命令にしたがつて制御を実行す
る。命令の内容を知る必要が生じた場合には、メ
ンテナンス用の機器(たとえばメンテナンスバパ
ネル5により、命令の各納されている位置(アド
レス)を設定器12に設定する。これによつて中
央処理装置10は、設定されたアドレスに対応す
る命令を取出して表示器13に表示する。さらに
続く命令を読出すときは、同様の手続きを繰り返
して実行することになる。なお連続して格納され
ている命令は、アドレスを毎回設定しなくても自
動的に読み出すことのできるものである。
In the control device shown in FIG. 1, a central processing unit 10 sequentially reads programs into a program memory 11 and executes control according to the instructions. When it becomes necessary to know the contents of an instruction, the location (address) where each instruction is stored is set in the setting device 12 using a maintenance device (for example, the maintenance panel 5). The device 10 retrieves the instruction corresponding to the set address and displays it on the display 13. When reading out further instructions, the same procedure is repeated. These instructions can be read automatically without having to set the address each time.

プログラムにおける命令とは、動作を指定する
オペレーシヨンと、動作の対象を指定するオペラ
ンドとからなつている。したがつて第1図に示し
た従来の検索装置では、命令の順序にしたがつた
動作の判別を行う場合はよいが、ある特定の動作
対象に対してどのような動作指令が与られている
かを知る場合には、全アドレスについて順々にオ
ペランドを検索していくことが必要であり、この
能率がきわめて低いという欠点があつた。また特
定の対象に向けての動作指令を取出すという要請
はしばしば起る。従来の装置でも、全プログラム
を別の電子計算機等で処理、解析することにより
上記の要請に応じることは可能であつたが、この
操作は不便であり、大がかりなシステムを必要と
する欠点があつた。
An instruction in a program consists of an operation that specifies an operation, and an operand that specifies the target of the operation. Therefore, with the conventional retrieval device shown in FIG. 1, it is possible to determine the motion according to the order of commands, but it is difficult to determine what kind of motion command is given to a specific motion target. In order to know the operands of all addresses, it is necessary to search for operands one after another, which has the drawback of being extremely inefficient. Further, there is often a request to issue an operation command directed to a specific target. With conventional equipment, it was possible to meet the above requirements by processing and analyzing the entire program on a separate computer, but this operation was inconvenient and had the disadvantage of requiring a large-scale system. Ta.

この発明は上記にような欠点をなくすためにな
されたもので、特定の動作対象を指定することに
より、この対象に与えられる命令の内容およびそ
のアドレスを知ることが可能であり、れによつて
検索能率の向上による制御装置全体としての操作
性および保守性の改善が得られるような検索装置
を提供することの目的としている。
This invention was made in order to eliminate the above-mentioned drawbacks, and by specifying a specific operation target, it is possible to know the content of the instruction given to this target and its address. The object of the present invention is to provide a search device that improves the operability and maintainability of the control device as a whole by improving search efficiency.

以下、この発明の一実施例を図について説明す
る。第図において符号10は中央処理装置、11
はプログラムメモリを示す。またプログラムメモ
リ11に蓄えられているプログラムのオペランド
部を探索するための探索部14と、探索すべきオ
ペランド部を指定するためのオペランド設定部1
5とが設けられ、探索した結果が表示器13に表
示されるようになつている。オペランド探索装置
14の具体的構成を第3図に示す。
An embodiment of the present invention will be described below with reference to the drawings. In the figure, reference numeral 10 is a central processing unit;
indicates program memory. Additionally, there is a search unit 14 for searching the operand part of the program stored in the program memory 11, and an operand setting unit 1 for specifying the operand part to be searched.
5 is provided, and the search results are displayed on the display 13. A specific configuration of the operand search device 14 is shown in FIG.

オペランド設定部15によつて設定されたオペ
ランド部の値は、いつたんオペランド設定値記憶
部24に記憶される。制御部21は、プログラム
アドレスの先頭の値、すなわち「0」をアドレス
バツフア22に出力すると、中央処理装置10は
この値を読み込み、プログラムメモリ11から対
応する内容を取出し、探索装置14に与える。探
索装置14は、中央処理装置10から与えられた
内容をいつたん命令入力バツフア23に取り込
み、そのオペランド部記憶部25に記憶させる。
このオペランド部記憶部25に記憶されたオペラ
ンド部は、比較器26によつて、すでにオペラン
ド設定値記憶部24に記憶されているオペランド
部と比較される。この比較の結果、両者が一致し
なかた場合には、比較器26は出力を出さず、制
御部21は、現在設定しているアドレスのつぎの
アドレスをアドレスバツフア22に再設定し、次
アドレスの命令のオペランド部と、設定されたオ
ペランド部との比較を行う。この動作は、設定し
たオペランド部と一致する命令オペランド部が検
出されるまで繰り返される。
The value of the operand section set by the operand setting section 15 is stored in the operand setting value storage section 24 at any time. When the control unit 21 outputs the first value of the program address, that is, "0", to the address buffer 22, the central processing unit 10 reads this value, extracts the corresponding content from the program memory 11, and provides it to the search device 14. . The search device 14 immediately imports the contents given from the central processing unit 10 into the command input buffer 23 and stores it in the operand section storage section 25.
The operand part stored in the operand part storage part 25 is compared with the operand part already stored in the operand setting value storage part 24 by the comparator 26. As a result of this comparison, if the two do not match, the comparator 26 does not output an output, and the control unit 21 resets the address next to the currently set address in the address buffer 22, and The operand part of the instruction is compared with the set operand part. This operation is repeated until an instruction operand portion that matches the set operand portion is detected.

この動作によつて、プログラムメモリ11から
読み出した命令のオペランド部と、設定したオペ
ランド部との一政が検出されると、比較器26は
一致信号を発生し、この一致信号を受けて制御部
21は表示バツフア27に信号を与え、表示器1
3に命令情報を表示させる。
As a result of this operation, when a match between the operand part of the instruction read from the program memory 11 and the set operand part is detected, the comparator 26 generates a match signal, and in response to this match signal, the control section 21 gives a signal to the display buffer 27, and the display 1
3 to display the command information.

なお上記の説明は、電子計算機をはじめとする
プログラマブル制御装置についてなされている
が、この発明は、命令を発する部分とその対象と
なる部分とをもつた他の制御装置にも同様に適用
できることはいうまでもない。
Although the above explanation has been made regarding a programmable control device such as an electronic computer, the present invention can be similarly applied to other control devices that have a part that issues commands and a part that is the target of commands. Needless to say.

以上のようにこの発明の検索装置によれば、特
定の制御対象に対する命令の内容を容易に検索す
ることができるので、制御装置の操作性および保
守の容易さの面で大幅な改善が得られる。
As described above, according to the search device of the present invention, it is possible to easily search for the contents of commands for a specific controlled object, resulting in a significant improvement in the operability and ease of maintenance of the control device. .

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

第1図は従来の検索装置を示すブロツク図、第
2図はこの発明の一実施例による検索装置の構成
を示すブロツク図、第3図は第2図の検索装置に
用いられた探索装置の具体的な構成を示すブロツ
ク図である。 10……中央処理装置、11……プログラムメ
モリ、13……表示器、14……探索装置、15
……オペランド設定部、21……制御部、22…
…アドレスバツフア、23……命令入力バツフ
ア、24……オペランド設定値記憶部、25……
オペランド部記憶部、26……比較器、27……
表示バツフア。
FIG. 1 is a block diagram showing a conventional search device, FIG. 2 is a block diagram showing the configuration of a search device according to an embodiment of the present invention, and FIG. 3 is a block diagram of a search device used in the search device shown in FIG. FIG. 2 is a block diagram showing a specific configuration. 10...Central processing unit, 11...Program memory, 13...Display device, 14...Search device, 15
...Operand setting section, 21...Control section, 22...
...address buffer, 23...command input buffer, 24...operand setting value storage section, 25...
Operand section storage section, 26... Comparator, 27...
Display buttuhua.

Claims (1)

【特許請求の範囲】[Claims] 1 プログラムメモリに蓄えられている多数の命
令情報の中から、特定の制御対象に関する命令情
報のオペランド部に対応するデータを外部から設
定することによつて得られたオペランド設定値と
上記プログラムメモリから取出された命令情報の
オペランド部とを比較して一致が得られたときに
一致信号を出力する比較器と上記比較器の一致信
号が与えられるまで上記プログラムメモリを読み
出すためのアドレスをステツプさせると共に上記
一致信号が与えられたときに当該オペランド部の
命令情報を表示器に表示させるように制御する制
御部とを備えたことを特徴とする制御装置の命令
情報検索装置。
1. Operand setting values obtained by externally setting data corresponding to the operand part of instruction information regarding a specific control target from among a large amount of instruction information stored in the program memory and the program memory. a comparator that outputs a match signal when a match is obtained by comparing the operand part of the retrieved instruction information; and stepping the address for reading the program memory until a match signal from the comparator is given. An instruction information retrieval device for a control device, comprising: a control section that controls the instruction information of the operand section to be displayed on a display when the coincidence signal is given.
JP4447478A 1978-04-14 1978-04-14 Instruction information retrieval unit for control unit Granted JPS54136246A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4447478A JPS54136246A (en) 1978-04-14 1978-04-14 Instruction information retrieval unit for control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4447478A JPS54136246A (en) 1978-04-14 1978-04-14 Instruction information retrieval unit for control unit

Publications (2)

Publication Number Publication Date
JPS54136246A JPS54136246A (en) 1979-10-23
JPS6145267B2 true JPS6145267B2 (en) 1986-10-07

Family

ID=12692514

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4447478A Granted JPS54136246A (en) 1978-04-14 1978-04-14 Instruction information retrieval unit for control unit

Country Status (1)

Country Link
JP (1) JPS54136246A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009220797A (en) * 2008-03-19 2009-10-01 Tokuo Suzuki Rear-view mirror having particularly wide view

Also Published As

Publication number Publication date
JPS54136246A (en) 1979-10-23

Similar Documents

Publication Publication Date Title
JPS6145267B2 (en)
JPS6266330A (en) Loading device for instruction counter
JPS6365983B2 (en)
JPS63288357A (en) Data editing system
US5677996A (en) Fuzzy computer
JPS59180618A (en) Method for controlling program loading of peripheral device
JP2520485B2 (en) Dragging and rubber band independent display system
JP2978008B2 (en) Memory management method
JPH02285463A (en) Method and device for processing multilingual information
JPS61279906A (en) Programmable controller
JPS62152032A (en) Information processor
JPS6210831Y2 (en)
JPS62281032A (en) Program start up system
JPH0193812A (en) System for displaying help screen
JPH0772908A (en) Programmable controller
JPS61110222A (en) Continuous input processing system
JPH0567148A (en) Record read-in control system
JPH04128944A (en) Microprogram execution history information collector
JPH02139640A (en) Investigation information output system
JPH03156659A (en) Direct memory access controller
JPS63146139A (en) Memory dumping system
JPH04241031A (en) Interrupt responding system for multi-task monitor
JPH0469911B2 (en)
JPH04492A (en) Display device
JPS60225904A (en) Programmable controller