JPS6011935A - Display device for action mode - Google Patents

Display device for action mode

Info

Publication number
JPS6011935A
JPS6011935A JP58120524A JP12052483A JPS6011935A JP S6011935 A JPS6011935 A JP S6011935A JP 58120524 A JP58120524 A JP 58120524A JP 12052483 A JP12052483 A JP 12052483A JP S6011935 A JPS6011935 A JP S6011935A
Authority
JP
Japan
Prior art keywords
mode
register
value
program
contents
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
JP58120524A
Other languages
Japanese (ja)
Other versions
JPH059815B2 (en
Inventor
Yoshio Nakano
中埜 善夫
Yutaka Takano
豊 高野
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP58120524A priority Critical patent/JPS6011935A/en
Publication of JPS6011935A publication Critical patent/JPS6011935A/en
Publication of JPH059815B2 publication Critical patent/JPH059815B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)
  • Executing Machine-Instructions (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To display an action mode even with a system having no action mode display function by providing a control part which stores the action mode value in a mode register and another control part which resets the shunted action mode value to the mode register. CONSTITUTION:A program P1 which is under execution in a mode M1 calls a program P2 which can be executed in a mode M2. Then an arithmetic processor 1 delivers the execution start address of the P2 to an address bus 13 as well as to a fetch signal line 14. In this case, a control part A5 detects that the value equal to the contents of a mode switching register 3 is sent to the bus 13. The contents of a register 4 for the mode value are stored in a mode register 10. Then a control part B8 detects that the value equal to the contents of a mode reset instruction register 6 is sent to a data bus 12 when the processing is reset to the P1 after the processing is through with the P2. Thus the action mode value can be reset to the M1.

Description

【発明の詳細な説明】 産業上の利用分野 本発明はマイクロコンビーータなどの計′fI′−機シ
ステムにおける演算処理装置の動作モード表示を目的と
した動作モード表示装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an operation mode display device for displaying the operation mode of an arithmetic processing unit in a microcomputer system or the like.

従来例の構成とその問題点 マイクロコンピュータの発展に伴い、マイクロコンビー
ータシステムも大型化し、処理内容も小型ミニコンピユ
ータに匹敵する程度のものが要求実現されるようになっ
てきている。システムの規模が小さい間はすべてを利用
者管理にすることか可能であったが、規模が大型化する
に従い利用者プログラムや周辺機器、主記憶などの資源
を管理し、より効率良く演算処理装置を稼働させるよう
に制御する制御IIIIプログラムというものを導入し
、利用者管理を大幅に削減していくことが望まれる・こ
の4合、利用者プログラムと制御プログラムとはその処
理内容の性格上扱える資源というものがノ厳然と区別さ
れる。この点を入出力管理という側面を例にとって説明
する。
Conventional Structures and Problems With the development of microcomputers, microcomputer systems have also become larger, and there is a growing demand for processing contents comparable to those of small minicomputers. While it was possible to manage everything by the user while the scale of the system was small, as the scale of the system increased, it became possible to manage resources such as user programs, peripheral devices, and main memory, and to make the processing unit more efficient. It is desirable to introduce a control III program that controls the operation of the program, and to significantly reduce user management.In these four cases, user programs and control programs can be handled due to the nature of their processing contents. Resources are clearly differentiated. This point will be explained using the aspect of input/output management as an example.

計算機システムの持つ代表的な入出力装置としては二次
記憶装置がある。二次記憶装置上には、プログラムやデ
ータがファイルという形で保持されており、それらはシ
ステムで定義された一定の形式に従って記録されている
。この一定の形式というものは利用者が管理するのでは
なく制御プログラムが管理し、利用者はファイルの形式
というものを知らなくても良いようになっている。した
がって、二次記憶装置への人出力は、利ノ[]各プログ
ラムからは直接には行えず、必ずi!jfJ l卸プロ
クラムを仲介するように構成しなげ71はならない。つ
まり、利用者プログラム実行中は入出力装置へのアクセ
スを禁止または1j1(効にし、1lIIJ1111J
プロクラム実行中のみ入出力装置へのアクセスか許さハ
るようにハードウェア装置の制御を切換えることが必要
になる。
A secondary storage device is a typical input/output device of a computer system. Programs and data are held in the form of files on the secondary storage device, and are recorded according to a certain format defined by the system. This fixed format is not managed by the user but by the control program, so that the user does not need to know the file format. Therefore, human output to the secondary storage device cannot be performed directly from each Rino[] program, and must be performed by i! jfjl must not be configured to mediate the wholesale program. In other words, while the user program is running, access to the input/output device is prohibited or 1j1 (enabled, 1lIIJ1111J
It is necessary to switch the control of the hardware device so that access to the input/output device is allowed only while the program is running.

このように、ハードウェア装j首の切換を指示するため
に、動作中のプログラムが特権プログラム(市1j呻プ
ログラム)か非特権プログラム(利用者プログラム)か
を表示する動作モード表示装置というものが必要となる
。この動作モード表示といつatieはミニコンビーー
タ以上にJ・・い−Cは演がI処理装置自体が持ってい
るが、現存し広範囲で使用されているマイクロプロセッ
サはこの機能を持っテイナイので、高機能マイクロプロ
セッサシステムを構築する上での大きな障害、!:なっ
ている。また、この動作モードの変更によるハードウェ
アの切換は、プログラムの特権、非特権という性格上プ
ログラムの分岐(動作モードの変更)と同時にハードウ
ェア的に行°なわなければならない。また特権モードな
るものがm 数44n 4存在する場合もある。
In this way, in order to instruct the switching of hardware installations, there is an operation mode display device that displays whether the running program is a privileged program (a program) or a non-privileged program (a user program). It becomes necessary. This operation mode display and timing are more important than minicon beaters, but the processing unit itself has this function, but existing microprocessors that are widely used do not have this function. A major obstacle, in building high-performance microprocessor systems! : It has become. Moreover, this switching of hardware due to a change in the operating mode must be performed in hardware at the same time as the branching of the program (change in the operating mode) due to the privileged/unprivileged nature of the program. In some cases, there are 44n4 privileged modes.

発明の目的 本発明は上記のように、演算処理装置自体に動作モード
表示機能のないシステムにおける、動作モード表示装置
を提供することを目的とする。
OBJECTS OF THE INVENTION As described above, an object of the present invention is to provide an operation mode display device for a system in which the arithmetic processing unit itself does not have an operation mode display function.

発明の構成 本発明は、モードレジスタと、モード切換番地レジスタ
と、設定モード値レジスタと、モード退避レジスタと、
モード復帰命令レジスタを備え、演算処理装置がモード
切換番地レジスタに示される内容と同じ番地を命令コー
ド読み込みサイクルとしてアクセスした時にモードレジ
スタの内容をモード退避レジスタに格納し、格納後設定
モード値レジスタの内容をモードレジスタに格納して動
作モード値を変更し、演算処理装置がモード復帰命令レ
ジスタに示される内容と同じ命令を読み込んでからN動
作サイクル(]にモード退避レジスタの内容をモードレ
ジスタに復帰格納することにより、動作モードを表示す
るものである。
Structure of the Invention The present invention comprises a mode register, a mode switching address register, a setting mode value register, a mode save register,
Equipped with a mode return instruction register, when the arithmetic processing unit accesses the same address as the contents indicated in the mode switching address register as an instruction code read cycle, the contents of the mode register are stored in the mode save register, and after storing, the setting mode value register is The operation mode value is changed by storing the contents in the mode register, and after the arithmetic processing unit reads the same instruction as the contents indicated in the mode return instruction register, the contents of the mode save register are returned to the mode register in N operation cycles (]. By storing it, the operation mode is displayed.

実施例の説明 第1図は本発明における動作モード表示装置の一実施例
を示すものである。第1図において、1は演算処理装置
、2は主記憶袋U′1.12(−↓データ母線、13け
アドレス匍°線である。3はモード切換番地レジスタ、
4は設定モード値レジスタ、6はモード復帰命令レジス
タ、14は演算処理装置61が主記憶袋d2を命令コー
ド読み込みサイクルとしてアクセスしていることを示r
命令読み込み状態表示信号線(以下フェッチ信号ポ?と
記す)、10idモードレジスタ、111′iモードJ
I Jレジスタ、5は第1の制御部である制御部A、3
(lユ第2の制御部である制御部B、7は復帰遅延値レ
ジスタ、8は副制御部B、9は復帰遅延カウンタ部であ
る。ここでは説明上、制m部Aとモード12J換番地レ
ジスタ、設定モード値レジスタの対および8 制御槍釘に存在する副制岬部B、復帰遅延値レジスタと
モード復帰番地レジスタの対はそれぞれ一組とする。
DESCRIPTION OF EMBODIMENTS FIG. 1 shows an embodiment of an operation mode display device according to the present invention. In FIG. 1, 1 is an arithmetic processing unit, 2 is a main memory bag U'1.12 (-↓ data bus line, 13-digit address line), 3 is a mode switching address register,
4 indicates a setting mode value register, 6 indicates a mode return instruction register, and 14 indicates that the arithmetic processing unit 61 is accessing the main memory bag d2 as an instruction code reading cycle.
Instruction reading status display signal line (hereinafter referred to as fetch signal port), 10id mode register, 111'i mode J
IJ register, 5 is the control unit A, 3 which is the first control unit
(The second control unit is the control unit B, 7 is a return delay value register, 8 is a sub-control unit B, and 9 is a return delay counter unit. A pair of an address register, a set mode value register, and a pair of an auxiliary control cape B, a return delay value register, and a mode return address register present in the 8 control lances are each set as one set.

今、演算処理装置1はモードM1での実行が許されてい
るプログラムP1を実行中であり、モードM2での実行
が許されているプログラムP2に分岐し、プログラムP
2の処理終了後再びプログラムP1に復帰しモードM1
での処理を続行する場合を考える。現実行中のプログラ
ムP1はモードM1での実行が許されているので、プロ
グラムP1の実行が開始されると同時にモードレジスタ
ーOKは動作モードがMlであることを表示するために
Mlという値が格納されている。モード切換番地レジス
タ3にはプログラムP2の実行開始番地を、設定モード
値レジスタ4にはプログラムP2の実行が許されている
モード値M2を、モード復帰命令レジスタ6にはプログ
ラムP2の処理終了後光のプログラムに復帰する命令コ
ード(例えばLPSW、RETなど)を、モード復帰遅
延値レジスタ7にはプログラムP2からの復帰命令実行
後のN回目の命令コード読み込みサイクルで動作モード
を復帰することを指示するためにNという値が、それぞ
れに図示されていない手段で予め設定されている。また
演算処理装置1t1は図示されていない手段でモード退
避レジスタ11の内容を読み書きできるものとする。
Currently, the arithmetic processing unit 1 is executing program P1 that is allowed to run in mode M1, branches to program P2 that is allowed to run in mode M2, and branches to program P2 that is allowed to run in mode M2.
After completing the processing in step 2, return to program P1 and enter mode M1.
Consider the case where processing continues with . Since the currently running program P1 is allowed to execute in mode M1, the value Ml is stored in the mode register OK at the same time as the execution of program P1 starts to indicate that the operating mode is Ml. has been done. The mode switching address register 3 contains the execution start address of the program P2, the setting mode value register 4 contains the mode value M2 at which execution of the program P2 is permitted, and the mode return command register 6 contains the light after the processing of the program P2 is completed. An instruction code (for example, LPSW, RET, etc.) for returning to the program P2 is specified in the mode return delay value register 7 to indicate that the operation mode should be returned at the Nth instruction code read cycle after execution of the return instruction from program P2. Therefore, the value N is set in advance by means not shown in each figure. It is also assumed that the arithmetic processing unit 1t1 can read and write the contents of the mode save register 11 by means not shown.

制j卸部A5はフェッチ信号線14か1″の時にアドレ
ス母線13の値とモートリフ換番しレジスタ内容を比較
し一致していれは一致検出仏号をモード切換信号線15
に出力しモードレジスタ10の内容をモード表示信号線
21を介してモート退避しレジスタ11に転送し設定モ
ード値しンスタ4の内容を設定モードデータ線2oを介
してモードレジスタ1oに転送する制t’J Fa i
jf:を持つ。副JilJ御部B8はフェッチ信号線1
4か1″の時にデータ1q線12の値(演算処理装置1
(Cか読み込んでいる命令コードを表わす)とモード復
帰命令レジスタ6の内容を比較し一致していれは一致検
出伯号をモード復帰検出信号線16に出力しモード復帰
遅延値レジスタ7の内容を復帰遅延データ線23を介し
てモード復帰遅延カウンタ部9に転送する。
When the fetch signal line 14 is 1'', the control unit A5 compares the register contents with the value of the address bus 13 and the motrif exchange number, and if they match, detects a match and sends the code to the mode switching signal line 15.
The contents of the mode register 10 are saved to the mode register 10 via the mode display signal line 21, transferred to the register 11, and the contents of the register 4 are transferred to the mode register 1o via the setting mode data line 2o. 'J Fai
jf: has. Sub JilJ control part B8 is fetch signal line 1
4 or 1'', the value of data 1q line 12 (processing unit 1
(represents the instruction code being read) and the contents of the mode return instruction register 6, and if they match, a match detection code is output to the mode return detection signal line 16, and the contents of the mode return delay value register 7 are It is transferred to the mode return delay counter section 9 via the return delay data line 23.

モード復帰遅延カウンタ部9は、モード復帰検出信号線
16の値が1″′から”0゛″に変わる時(立下がり時
)に同期して復帰遅延データ線23の示す値に初期設定
され、フェッチ信号線14の立下がり時に同期して値が
1ずつ減ぜられ、カウンタの値が1の期間に生じるフェ
ッチ信号14の値をモード復帰信号線17に伝え、モー
ド復帰信号線17の値が′1”′になる時モードレジス
タ10に転送する機能を持つ、またカウンタの値が○に
なるとモード復帰遅延カウンタ部9の動作は停止する。
The mode return delay counter section 9 is initialized to the value indicated by the return delay data line 23 in synchronization with the time when the value of the mode return detection signal line 16 changes from 1'' to "0" (at the time of falling). The value is decremented by 1 in synchronization with the fall of the fetch signal line 14, and the value of the fetch signal 14 that occurs during the period when the counter value is 1 is transmitted to the mode return signal line 17, and the value of the mode return signal line 17 is It has a function of transferring the counter value to the mode register 10 when it becomes '1''', and when the counter value becomes ◯, the operation of the mode return delay counter section 9 is stopped.

モード復帰遅延カウンタ部9の作用について説明を加え
る。第3図に動作モードM1での実行力f許されている
プログラムP1から動作モードM2での実行が許されて
いるプログラムP2に分岐しプログラムP2での処理終
了後プログラムP1に復帰する場合の模式図を示す。こ
こで動作モード値とプログラムの実行許ijJモードと
の関係について考えると、プログラムPiが動作モード
値Miでの実行が許されるということは、プロクラムP
1が動作中は動作モード値Miの値か保証されなければ
ならない(i=1.2)。プロクラl+P1からプログ
ラムP2に分岐時はIJ11述の副側1部Aの動きによ
り、プログラムP1と動作モード値M1、プログラムP
2と動作モード値M2の対応かI釉iil。
The operation of the mode return delay counter section 9 will be explained below. Fig. 3 shows a schematic diagram of a case where a program P1, which is allowed to execute in operation mode M1, branches to a program P2, which is allowed to be executed in operation mode M2, and returns to program P1 after completing processing in program P2. Show the diagram. Considering the relationship between the operating mode value and the program execution permission mode, the fact that the program Pi is allowed to execute with the operating mode value Mi means that the program P
1 is in operation, the value of the operation mode value Mi must be guaranteed (i=1.2). When branching from program l+P1 to program P2, program P1, operation mode value M1, and program P
2 and the operation mode value M2.

される。しかしプログラムP2からプロクラムP1への
復帰時に、プログラムP2か1す帰命令をフ、[ッチし
た時に動作モード値をMlにもどすと、プログラムP2
が1夏帰命令実行中であるにもかかわらず動作モード値
がMlとなり、プロクラムP2と動作モード値M2の対
応が保証できなくなる。
be done. However, when returning from program P2 to program P1, if the operation mode value is returned to Ml when program P2 returns to program P1,
The operation mode value becomes Ml even though the 1 summer return instruction is being executed, and the correspondence between the program P2 and the operation mode value M2 cannot be guaranteed.

従って、プログラムP2が復帰命令をフェッチした後、
一連の復帰手順が終丁しゾログラ1.P14再開する直
11りまでの期間の動作モード値かM2であるように制
御する必要があり、モード復帰遅延カウンタ部がこの機
能を果たす。
Therefore, after program P2 fetches the return instruction,
A series of recovery procedures are completed and Zologra 1. It is necessary to control so that the operation mode value for the period up to the immediate restart P14 is M2, and the mode return delay counter section fulfills this function.

モードM1で実行中のプログラムP1がモードM2で実
行可能なプログラムP2を呼び出すと、演算処理装置1
はプログラムP2の実行開始番地をアドレス母線13に
出し同時にフェッチ信号線14に1″を出力する。この
時、制御部A5はモード切換番地レジスタ3の内容と同
じ値がアドレス母線13に命令のフェッチサイクルで出
力されたことを検出し、前述の機能により、モード退避
レジスタ11にはモードレジスタ10の内個1か格納さ
れ、モードレジスタ10には設定モード値レジスタ4の
内容M2が格納される。これにより、プログラム制御か
プログラムP1からプログラムP2に分岐したのと同時
に演算処理装置1の動作モード表示値もMlからM2に
変更することができる。次にプログラムP2の処理が終
了しプログラムP1に復帰する時は、副制御部B8がモ
ード復帰命令レジスタ6の内容と同じ値が主記憶装置2
よりデータ母線12に命令のフェッチサイクルで出力さ
れたことを検出し、前述の機能により、モード復帰遅延
値レジスタ7の内容Nをモード復帰遅延カウンタ部9に
転送し、その後に続くN回目のフェッチ信号出力時にモ
ード退避レジスタ11の内容M1がモードレジスタ1o
に格納され、動作モード値をMlにもどすことができる
When a program P1 running in mode M1 calls a program P2 executable in mode M2, the arithmetic processing unit 1
outputs the execution start address of the program P2 to the address bus 13 and simultaneously outputs 1'' to the fetch signal line 14. At this time, the control unit A5 outputs the same value as the content of the mode switching address register 3 to the address bus 13 to fetch the instruction. The output in the cycle is detected, and one of the mode registers 10 is stored in the mode save register 11 by the above-described function, and the content M2 of the set mode value register 4 is stored in the mode register 10. As a result, the operation mode display value of the arithmetic processing unit 1 can be changed from Ml to M2 at the same time as the program control is branched from the program P1 to the program P2.Next, the processing of the program P2 is completed and the program returns to the program P1. When the sub-control unit B8 stores the same value as the content of the mode return command register 6 in the main memory 2,
detects that the instruction is output to the data bus 12 in the fetch cycle, and uses the above-mentioned function to transfer the content N of the mode return delay value register 7 to the mode return delay counter section 9, and then performs the subsequent N-th fetch. When the signal is output, the content M1 of the mode save register 11 is set to the mode register 1o.
The operating mode value can be returned to Ml.

以上のように本実施−11によれは、演算処理装置自体
に動作モード表示機能のないものを使用した計算機シス
テムにおいても、動作モードというものによって定義づ
けられるところのプログラムおよびハードウェアの切換
が同時(で行なえ、モードの異なるブロクラムへの分岐
をぜずに不当にモードを変更してアクセスの許されてい
ない資源へのアク七ス権を得ることを防止できる。本実
施例では、モード切換番地レジスタ、股上モード値レジ
スタ、制御部ルは一組としたか蝮故イlt持つ構成にす
ることも可能である。
As described above, according to Implementation 11, even in a computer system using an arithmetic processing unit that does not have an operation mode display function, programs and hardware, which are defined by the operation mode, can be switched at the same time. (This can be done without branching to a block with a different mode, and can prevent unauthorized mode changes and gaining access rights to resources that are not allowed to be accessed. In this example, the mode switching address It is also possible to configure the register, the rise mode value register, and the control unit as one set or to have a separate function.

さらに動作モードが複数定義されている場合、プログラ
ムが呼び出された時にモード退避レジスタの内容を読み
出し作業1111域に退避し、復帰前に退避された作業
領域の内容をilTびモード退避レジスタに格納するこ
とにより、プログラム自体のネスティングと同様に動作
モード自体もネスティングさせることも可能である。モ
ード退避レジスタの内容を参照することにより呼び出し
元プログラムのモードを確認することができるので、動
作モードが階層構造を形成している場合の不当な呼び出
し、ツリえば下位レベルからMl−M2−M3とあった
場合でのM1プログラムからのM3プログラムの跳越し
呼び出しなどを検出することができる。
Furthermore, if multiple operating modes are defined, when the program is called, the contents of the mode save register are read and saved to the work 1111 area, and the contents of the saved work area are stored in the ilT and mode save registers before returning. By doing so, it is also possible to nest the operating modes themselves in the same way as the programs themselves. The mode of the calling program can be confirmed by referring to the contents of the mode save register, so if the operating modes form a hierarchical structure, an illegal call can be avoided, and if the tree is Ml-M2-M3 from the lower level. It is possible to detect jump calling of the M3 program from the M1 program in the event of a jump call.

なお、復帰遅延カウンタ部の値を減する入力信号はフェ
ッチ信号に限るものではない。
Note that the input signal that decreases the value of the return delay counter section is not limited to the fetch signal.

発明の効果 本発明の動作モード表示4AIfは、演算処理装置が予
め設定されたアドレスを命令コード読み込みサイクルと
してアクセスしたことを検出し、その場合に定義づけら
れた動作モード値をモードレジスタに格納する第1の制
御部と、復帰命令を読み込んだことを検出し退避された
動作モード値をモードレジスタに復帰する第2の制御部
を具111Hすることにより、動作モード表示機能を持
たない演算処理装置を用いた計算機システムにおいても
、動作モードの異なるプログラムに処理が移ると同時に
動作モード表示値を変更することができる。
Effects of the Invention The operation mode display 4AIf of the present invention detects that the arithmetic processing unit accesses a preset address as an instruction code read cycle, and stores the operation mode value defined in that case in the mode register. By implementing the first control unit and the second control unit that detects reading of a return instruction and restores the saved operation mode value to the mode register 111H, an arithmetic processing unit without an operation mode display function can be used. Even in a computer system using a computer system, the operation mode display value can be changed at the same time as processing is transferred to a program with a different operation mode.

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

第1図は本発明の一実施例における動作モード表示装置
のブロック図、第2図はg1図におけるモード復帰遅延
カウンタ部の動作を示すタイミング1図、第31図は動
作モード値とプログラムの関係を示す校弐図である。 1・・・・・・演算処理装置112・・・・・上記↑、
・か装置、3・・・モード切換番地レジスタ、4・・−
・・・設定モード値レジスタ、5・・・・・市IJ+月
1を部A(第1の市1」ll111部)、6・・・・・
・モード復帰命令レジスタ、7・・・・・七−ト復帰遅
延値レジスタ、8・・・・副制御部B、9−・・モード
復帰遅延カウンタ部、10−・モードレジスタ、11−
−・モード退避レジスタ、30−−−11i111d1
1部B(第2の制御部)。
FIG. 1 is a block diagram of an operation mode display device in an embodiment of the present invention, FIG. 2 is a timing chart 1 showing the operation of the mode return delay counter section in diagram g1, and FIG. 31 is a relationship between operation mode values and programs. This is the second school map showing. 1... Arithmetic processing unit 112... Above ↑,
・Device, 3...Mode switching address register, 4...-
...Setting mode value register, 5... City IJ + month 1 part A (first city 1''ll111 part), 6...
・Mode return command register, 7...7-T return delay value register, 8...Sub-control unit B, 9-...Mode return delay counter unit, 10--Mode register, 11-
---Mode save register, 30---11i111d1
1 part B (second control part).

Claims (4)

【特許請求の範囲】[Claims] (1)演算処理装置および前記演算処理装置が実行する
プログラムを保持する主記憶装置を備えた計算機システ
ムの前記病が1.処理装置の動作モードを表示するモー
ドレジスタと、モード切換番地レジスタと、設定モード
値レジスタと、モード退避レジスタと、前記演算処理装
置が前記主記憶装置を命令コード読み込咋イクルとして
出力したアドレス値と前記モード切換番地レジスタの内
容を比較し一致していれば前記モードレジスタの内容を
前記モード退避レジスタに格納し、格納後前記設定モー
ド値レジスタの内容全1iFJ記モードンジスタに格納
する第1の制御部と、前記演算処理装置が前記上記1意
装置を命令コード読み込みサイクルとしてアクセスした
時のデータ(命令コード)を復帰命令コードと比較し、
一致検出後に生じる前記演算処理装置のN動作サイクル
目に、前記モード退避レジスタの内容を前記モードレジ
スタに格納する第2の制御師部とを有することを特徴と
する動作モード表示装置。
(1) The above-mentioned disease of a computer system including an arithmetic processing unit and a main storage device that stores a program executed by the arithmetic processing unit is 1. A mode register that displays the operating mode of the processing device, a mode switching address register, a setting mode value register, a mode save register, and an address value that the arithmetic processing device outputs as an instruction code read cycle from the main storage device. and the contents of the mode switching address register are compared, and if they match, the contents of the mode register are stored in the mode save register, and after storing, the contents of the setting mode value register are all stored in the mode register written in FJ. comparing data (instruction code) when the control unit and the arithmetic processing unit access the unique device as an instruction code reading cycle with a return instruction code;
An operation mode display device comprising: a second control block that stores the contents of the mode save register in the mode register at the Nth operation cycle of the arithmetic processing unit that occurs after a match is detected.
(2) モード切換番地レジスタ、設定モード値しンス
タ、第1の制御[1部を複数組合することを’b’j 
微とする特許請求の範囲第(1)項記載の動作モード表
示装置。
(2) Mode switching address register, setting mode value register, first control
An operation mode display device according to claim (1).
(3)Nの単位が演算処理装置の命令コード読み込みサ
イクルであることを特徴とする特許請求の1lijj囲
第(1)項または第(2)項記載の動作モード表示装置
(3) The operation mode display device according to claim 1, wherein the unit of N is an instruction code reading cycle of an arithmetic processing unit.
(4)Nの単位が演算処理装置tの持つマシンサイクル
であることを特徴とする特許請求のil+i21fff
第(1)項または第(2)項記載の動作モート゛表示装
置。
(4) il+i21fff of a patent claim characterized in that the unit of N is a machine cycle possessed by an arithmetic processing device t.
The operation mode display device according to item (1) or item (2).
JP58120524A 1983-07-01 1983-07-01 Display device for action mode Granted JPS6011935A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58120524A JPS6011935A (en) 1983-07-01 1983-07-01 Display device for action mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58120524A JPS6011935A (en) 1983-07-01 1983-07-01 Display device for action mode

Publications (2)

Publication Number Publication Date
JPS6011935A true JPS6011935A (en) 1985-01-22
JPH059815B2 JPH059815B2 (en) 1993-02-08

Family

ID=14788386

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58120524A Granted JPS6011935A (en) 1983-07-01 1983-07-01 Display device for action mode

Country Status (1)

Country Link
JP (1) JPS6011935A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS636032A (en) * 1986-06-25 1988-01-12 Tonen Sekiyukagaku Kk Production of polypropylene foam
JPH0248739A (en) * 1988-08-10 1990-02-19 Nec Corp Micro processor for debugging
JP2008308828A (en) * 2007-06-12 2008-12-25 Otis:Kk Pipe mounting structure

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS50114138A (en) * 1974-02-15 1975-09-06
JPS54144841A (en) * 1978-05-04 1979-11-12 Cho Lsi Gijutsu Kenkyu Kumiai Microcomputer system
JPS5710839A (en) * 1980-06-23 1982-01-20 Nippon Telegr & Teleph Corp <Ntt> Information processing equipment
JPS5846442A (en) * 1981-09-14 1983-03-17 Omron Tateisi Electronics Co Programmable controller

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS50114138A (en) * 1974-02-15 1975-09-06
JPS54144841A (en) * 1978-05-04 1979-11-12 Cho Lsi Gijutsu Kenkyu Kumiai Microcomputer system
JPS5710839A (en) * 1980-06-23 1982-01-20 Nippon Telegr & Teleph Corp <Ntt> Information processing equipment
JPS5846442A (en) * 1981-09-14 1983-03-17 Omron Tateisi Electronics Co Programmable controller

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS636032A (en) * 1986-06-25 1988-01-12 Tonen Sekiyukagaku Kk Production of polypropylene foam
JPH0248739A (en) * 1988-08-10 1990-02-19 Nec Corp Micro processor for debugging
JPH0682323B2 (en) * 1988-08-10 1994-10-19 日本電気株式会社 Debug microprocessor
JP2008308828A (en) * 2007-06-12 2008-12-25 Otis:Kk Pipe mounting structure

Also Published As

Publication number Publication date
JPH059815B2 (en) 1993-02-08

Similar Documents

Publication Publication Date Title
EP0464615B1 (en) Microcomputer equipped with DMA controller
JPS5841538B2 (en) Multiprocessor system instructions
CN103383667A (en) Memory protection circuit, processing unit, and memory protection method
US5163143A (en) Enhanced locked bus cycle control in a cache memory computer system
JPH05242046A (en) Processing system
JP3797570B2 (en) Apparatus and method using semaphore buffer for semaphore instructions
JPS6011935A (en) Display device for action mode
CA1302580C (en) Apparatus and method for using lockout for synchronization of access to main memory signal groups in a multiprocessor data processing system
CA1137641A (en) Single chip microcomputer selectively operable in response to instructions stored on the computer chip or in response to instructions stored external to the chip
JPS6011934A (en) Display device for action mode
JPH01201751A (en) Memory protecting device
JPH0635800A (en) Microprocessor and data processing system using it
KR930003125B1 (en) Method for pregram loading on ram located in subprocessor system
JP2906958B2 (en) User program loading method
JPS6048770B2 (en) Information processing method
JPS6375869A (en) Initialization system for processor
JPH0528038A (en) Cache memory control system
JP3127737B2 (en) Digital signal processor
JP2864496B2 (en) Multi-processing computer
JP2001117862A (en) Microcomputer
JPS63155254A (en) Information processor
JPH0221614B2 (en)
JPH03252856A (en) Processing system for program
JPS60193046A (en) Detecting system for instruction exception
JPH01300365A (en) Exclusive control system for multi-processor system