JPS6011934A - Display device for action mode - Google Patents

Display device for action mode

Info

Publication number
JPS6011934A
JPS6011934A JP58120523A JP12052383A JPS6011934A JP S6011934 A JPS6011934 A JP S6011934A JP 58120523 A JP58120523 A JP 58120523A JP 12052383 A JP12052383 A JP 12052383A JP S6011934 A JPS6011934 A JP S6011934A
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
JP58120523A
Other languages
Japanese (ja)
Other versions
JPH059814B2 (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 JP58120523A priority Critical patent/JPS6011934A/en
Publication of JPS6011934A publication Critical patent/JPS6011934A/en
Publication of JPH059814B2 publication Critical patent/JPH059814B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode

Abstract

PURPOSE:To display an action mode even with a system which contains 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 a shunted action mode value to the mode register. CONSTITUTION:A program P1 which is under execution in a mode M1 calls out a program M2 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. 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 set mode value are stored in a mode register 10. Therefore it is possible to change the action mode display value to M2 from M1 as soon as the program control is branched to P2 from P1. In such a way, the mode switching is possible even with a system containing no action mode display function.

Description

【発明の詳細な説明】 産業上の利用分野 本発明はマイクロコンピュータなどの計算機システムに
おける演算処理装置の動作モード表示を目的とした動作
モード表示装置に関するものである。
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 computer system such as a microcomputer.

従来例の構成とその問題点 マイクロコンピュータの発展に伴い、マイクロコンピュ
ータシステムも大型化し、処理内容も以前のミニコンピ
ユータに匹敵する程度のものが要求・実現されるように
なってきている。システムの規模が小さい間はすべてを
利用者管理にすることが可能であったが、規模が大型化
するに従い利用者プログラムや周辺機器、主記憶などの
資源を管理し、より効率よく演算処理装置を稼働させる
ように制御する制御プログラムというものを導入し、利
用者管理を大幅に削減していくことが望まれる。この場
合、利用者プログラムと制御プログラムとはその処理内
容の性格上扱える資源というものが厳然と区別される。
Conventional configurations and their problems With the development of microcomputers, microcomputer systems have also become larger, and processing capabilities comparable to those of previous minicomputers are now being demanded and implemented. 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, resources such as user programs, peripherals, and main memory could be managed more efficiently and the processing unit It is hoped that a control program will be introduced to control the operation of the system, thereby significantly reducing user management. In this case, the resources that can be handled by the user program and the control program are clearly differentiated due to the nature of their processing contents.

この点を入出力管理という側面を例にとって説明する。This point will be explained using the aspect of input/output management as an example.

計算機システムの持つ代表的な入出力装置としては二次
記憶装置がある。二次記憶装置上には、プログラムやデ
ータがファイルという形で保持されており、それらはシ
ステムで定義された一定の形式に従って記録されている
。この一定の形式というものは利用者が管理するのでは
なく制御プログラムが管理し、利用者はファイルの形式
というものを知らなくても良いようになっている。した
がって、二次記憶装置への入出力は、利用者プログラム
からは直接には行えず、必ず制御プログラムを仲介する
ように構成しなければならない。つまり、利用者プログ
ラム実行中は入出力装置へのアクセスを禁止または無効
にし、:1jlJ#プログラム実行中のみ人出カー置へ
のアクセスが許されるようにハードウェア装置の制御を
切換えることが必要になる。
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, input/output to the secondary storage device cannot be performed directly from the user program, and must be configured so that the control program is used as an intermediary. In other words, it is necessary to switch the control of the hardware device so that access to the input/output device is prohibited or disabled while the user program is running, and access to the outgoing car area is allowed only while the user program is running. Become.

このように、ハードウェア装置の切換を指示J−るため
に、動作中のプログラムが唱′権プログラム(制御プロ
グラム)が非特権プログラム(利用にプログラム)かを
表示する動作モード表示装置というものが必要になる。
In this way, in order to instruct the switching of hardware devices, there is an operation mode display device that displays whether the currently running program is the authorized program (control program) or the non-privileged program (program for use). It becomes necessary.

この動作モード表示という機能はミニコンピユータ以上
においては演算処理装置自体が持っているが、現存し広
範囲で使用されているマイクロプロセノザには設s−1
上の思想まだはLSI化のだめのピン数制限のだめに、
動作モード表示機能を持っていないので、高機能マイク
ロプロセノサンステムを構築する上での大きな障害とな
っている。また、この動作モードの変更によるハードウ
ェアの切換は、プログラムの特権、非特権という性格上
、プログラムの分岐(動作モードの変更)と同時にハー
ドウェア的に行なわなければならない。また特権モード
なるものが複数種類存在する場合もある。
This function of displaying the operating mode is provided by the arithmetic processing unit itself in minicomputers and above, but microprocessors that currently exist and are widely used have the s-1 function.
The above idea is still a no-go for LSI, and the number of pins is limited.
Since it does not have an operation mode display function, it is a major obstacle in constructing a high-performance microprosenosan stem. Moreover, this switching of hardware due to a change in operating mode must be performed in hardware at the same time as branching of the program (change in operating mode) due to the privileged and non-privileged nature of programs. Also, there may be multiple types of 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 address register, when the arithmetic processing unit accesses the same address as the contents indicated in the mode switching address register in 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 Store the contents in the mode register to change the operation mode value, access the same address as the contents shown in the mode return slip register as an instruction code read cycle, and then store the contents of the mode save register in the mode register at the Nth operation cycle. By storing the return to
This displays the operating mode.

実施例の説明 第1図は本発明における動作モード表示装置の一実施例
を示すものである。第1図において、1は演算処理装置
、2は主記憶装置、12はデータ母線、13はアドレス
母線である。3はモード切換番地レジスタ、4は設定モ
ード値レジスタ、6はモード復帰番地レジスタ、14は
演算処理装置1が主記憶装置2を命令コード読み込みサ
イクルとしてアクセスしていることを示す命令読み込み
状態表示信号線(以下、フェッチ信号と記す)。
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, 12 is a data bus, and 13 is an address bus. 3 is a mode switching address register, 4 is a setting mode value register, 6 is a mode return address register, and 14 is an instruction read status display signal indicating that the arithmetic processing unit 1 is accessing the main memory 2 as an instruction code read cycle. line (hereinafter referred to as fetch signal).

10はモードレジスタ、11はモード退避レジスタ、5
は第1の制御部である制御部A、soは第2の制御部で
ある制御部B、7はモード復帰遅延値レジスタ、8は副
制御部B、9はモード復帰遅延カウンタ部である。ここ
では説明上制御部A6とモード切換番地レジスタ3.設
定モード値レジスタ4の対および制御部B2O内に存在
する副制御部B8.復帰遅延値レジスタ7とモード復帰
番地レジスタ60対はそれぞれ一組とする。
10 is a mode register, 11 is a mode save register, 5
7 is a mode return delay value register, 8 is a sub-control unit B, and 9 is a mode return delay counter section. Here, for the sake of explanation, the control unit A6 and the mode switching address register 3. A pair of setting mode value registers 4 and a sub-control unit B8 . Each pair of return delay value register 7 and mode return address register 60 is one set.

今、演算処理装置1はモードM1での実行が許されてい
るプログラムP1を実行中であり、モードM2での実行
が許されているプログラムP2に分岐し、プログラムP
2の処理終了後再びプログラムP1に復帰しモードM1
での処理を続行する場合を考える。
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 again and switch to mode M1.
Consider the case where processing continues with .

現実行中のプログラムP1はモードM1での実行が許さ
れているので、プログラムP1の実行が開始されると同
時にモードレジスタ10には動作モードがMlであるこ
とを表示するためにMlという値が格納されている。モ
ード切換番地レジスタ3にはプログラムP2の実行開始
番地を、設定モード値レジスタ4にはプログラムP2の
実行が許されているモード値M2を、モード復帰番地レ
ジスタ6にはプログラムP2の処理終了後再のプログラ
ムに復帰する命令の格納さノしている番地を、モード復
帰遅延値レジスタ7にはプログラムP2からの復帰命令
実行後のN回目の命令コード読み込みサイクルで動作モ
ードを復帰することを指示するだめにNという値が、そ
れぞれに図示されていない手段で予め設定されている。
Since the currently running program P1 is allowed to run in mode M1, the value Ml is set in the mode register 10 at the same time as the execution of program P1 is started to indicate that the operating mode is Ml. Stored. The mode switching address register 3 contains the execution start address of program P2, the setting mode value register 4 contains the mode value M2 at which execution of program P2 is permitted, and the mode return address register 6 contains the execution start address of program P2. The address where the instruction to return to the program P2 is stored is stored in the mode return delay value register 7, and the operating mode is instructed to be returned at the Nth instruction code reading cycle after the execution of the return instruction from program P2. Instead, the value N is preset in each case by means not shown.

ま/こ演算処理装置1は図示されていない手段でモード
退避レジスタ11の内容を読み書きできるものとする。
It is assumed that the machine processing unit 1 can read and write the contents of the mode save register 11 by means not shown.

制御部A5はフェッチ信号線14が111の時にアドレ
ス母線13の値とモード切換番地レジスタ3の内容を比
較し一致していれば一致検出信号をモード切換信号線1
6に出力し、モードレジスタ1oの内容をモード表示信
号線21を介してモード退避レジスタ11に転送し設定
モード値レジスタ4の内容を設定モードデータ線20を
介してモードレジスタ10に転送する。
When the fetch signal line 14 is 111, the control unit A5 compares the value of the address bus 13 and the contents of the mode switching address register 3, and if they match, sends a coincidence detection signal to the mode switching signal line 1.
6, the contents of the mode register 1o are transferred to the mode save register 11 via the mode display signal line 21, and the contents of the setting mode value register 4 are transferred to the mode register 10 via the setting mode data line 20.

副制御部B8はフェッチ信号線14が111の時にアド
レス母線13の値とモード復帰番地レジスタ6の内容を
比較し一致していれば一致検出信号をモード復帰検出信
号線16に出力し、モード復帰遅延値レジスタ7の内容
を復帰遅延データ線23を介してモード復帰遅延カウン
タ部9に転送する。
When the fetch signal line 14 is 111, the sub-control unit B8 compares the value of the address bus 13 and the contents of the mode return address register 6, and if they match, outputs a coincidence detection signal to the mode return detection signal line 16, and returns to the mode. The contents of the delay value register 7 are transferred to the mode return delay counter section 9 via the return delay data line 23.

モード復帰遅延カウンタ部9はモード復帰検出信号線1
6の値が11+から101に変わる時(立下がり時)に
同期して復帰遅延データ線23の示す値に初期設定され
、フェッチ信号線14の立下が9時に同期して値が1ず
つ減ぜられ、カウンタの値が1の期間に生じるフエ1.
チ信号14の値をモード復帰信号線17に伝え、モード
復帰信号線17の値が111となる時に同期してモード
退避レジスタ11の内容をモード復帰データ線22を介
してモードレジスタ10に転送する。またカウンタの値
が0になるとモード復帰遅延カウンタ部9の動作は停止
する。
The mode return delay counter section 9 is connected to the mode return detection signal line 1.
When the value of 6 changes from 11+ to 101 (when it falls), it is initialized to the value indicated by the return delay data line 23, and when the fetch signal line 14 falls in synchronization with 9 o'clock, the value is decreased by 1. is set and the counter value is 1.
The value of the input signal 14 is transmitted to the mode return signal line 17, and when the value of the mode return signal line 17 becomes 111, the contents of the mode save register 11 are transferred to the mode register 10 via the mode return data line 22. . Further, when the value of the counter becomes 0, the operation of the mode return delay counter section 9 is stopped.

モード復帰遅延カウンタ部9の作用について説明を加え
る。第3図に動作モードM1での実行が許されているプ
ログラムP1から動作モードM2での実行が許されてい
るプログラムP2に分岐しプログラムP2での処理終了
後プログラムP1に復帰する場合の模式図を示す。ここ
で動作モード値とプログラムの実行許可モードとの関係
について考えると、プログラムPiが動作モード値Mi
での実行が許されるということは、プログラムPiが動
作中は動作モード値M1の値が保証されなければならな
い(i=1.2)。プログラムP1からプログラムP2
に分岐時は前述の制御部Aの働きにより、プログラムP
1と動作モード値M1 、プログラムP2と動作モード
値M2の対応が保証される。しかしプログラムP2から
プログラムP1への復帰時に、プログラムP2が復帰命
令をフェッチした時に動作モード値をMlにもどすと、
プログラムP2が復帰命令実行中であるにもかかわらず
動作モード値がMlとなり、プログラムP2と動作モー
ド値M2の対応が保証できなくなる。
An explanation will be added regarding the operation of the mode return delay counter section 9. FIG. 3 is a schematic diagram of a case where program P1, which is allowed to be executed in operation mode M1, branches to program P2, which is allowed to be executed in operation mode M2, and returns to program P1 after completing processing in program P2. shows. Considering the relationship between the operating mode value and the program execution permission mode, if the program Pi has an operating mode value Mi
To be allowed to execute the program, the value of the operation mode value M1 must be guaranteed while the program Pi is in operation (i=1.2). Program P1 to Program P2
When branching to , the control section A mentioned above causes the program P to
1 and the operation mode value M1, and the correspondence between the program P2 and the operation mode value M2 are guaranteed. However, when returning from program P2 to program P1, if program P2 fetches the return instruction and returns the operating mode value to Ml,
Even though the program P2 is executing the return instruction, the operation mode value becomes M1, and the correspondence between the program P2 and the operation mode value M2 cannot be guaranteed.

従って、プログラムP2が復帰命令をフェッチした後、
一連の復帰手順が終了しプログラムP1を再開する直前
までの期間の動作モード値がM2であるように制御する
必要があり、モード復帰遅延カウンタ部9がこの機能を
果たす。
Therefore, after program P2 fetches the return instruction,
It is necessary to control so that the operating mode value during the period immediately before restarting the program P1 after a series of return procedures is completed is M2, and the mode return delay counter section 9 fulfills this function.

モードM1で実行中のプログラムP1がモードM2で実
行可能なプログラムP2を呼び出すと、演算処理装置1
はプログラムP2の実行開始番地をアドレス母線13に
出し同時にフェッチ信号線14に111を出力する。こ
の時、制御部A5はモード切換番地レジスタ3の内容と
同じ値がアドレス母線13に命令のフェッチサイクルで
出力されたことを検出し、前述の機能により、モード退
避レジスタ11にはモードレジスタ1oの内容M1カ格
納され、モードレジスタ1oには設定モード値レジスタ
4の内容M2が格納される。これにより、プログラム制
御がプログラムP1からプログラムP2に分岐したのと
同時に演算処理装置1の動作モード表示値もMlからM
2に変更することができる。次にプログラムP2の処理
が終了しフ。
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 program P2 to the address bus line 13 and outputs 111 to the fetch signal line 14 at the same time. At this time, the control unit A5 detects that the same value as the content of the mode switching address register 3 is output to the address bus 13 in the fetch cycle of the instruction, and by the above-mentioned function, the mode save register 11 is stored in the mode register 1o. The contents M1 are stored in the mode register 1o, and the contents M2 of the setting mode value register 4 are stored in the mode register 1o. As a result, the program control branches from program P1 to program P2, and at the same time, the operation mode display value of arithmetic processing unit 1 also changes from Ml to M.
It can be changed to 2. Next, the processing of program P2 ends.

ログラムP1に復帰する時は、副制御部B8がモード復
帰番地レジスタ6の内容と同じ値がアドレス母線13に
命令のフェッチサイクルで出力されたことを検出し、前
述の機能により、モード復帰遅延値レジスタ7の内容N
をモード復帰遅延カウンタ部9に転送し、その後に続く
N回目のフェッチ信号出力時にモード退避レジスタ11
の内容M1がモードレジスタ10に格納さ、l′L1動
作モード値をMlにもどすことができる。
When returning to the program P1, the sub-control unit B8 detects that the same value as the contents of the mode return address register 6 is output to the address bus 13 in the instruction fetch cycle, and uses the above-mentioned function to set the mode return delay value. Contents of register 7 N
is transferred to the mode return delay counter section 9, and then transferred to the mode save register 11 at the subsequent N-th fetch signal output.
The content M1 of is stored in the mode register 10, and the l'L1 operating mode value can be returned to Ml.

以上のように本実施例によれば、演算処理装置自体に動
作モード表示機能のないものを使用した計算機システム
においても、動作モードというものによって定義づけら
れるところのプログラムおよびハードウェアの切換が同
時に行なえ、モードの異なるプログラムへの分岐をせず
に不当にモードを変更してアクセスの許されていない資
源へのアクセス権を得ることを防止できる。本実施例で
は、モード切換番地レジスタ、設定モード値レジスタ、
モード復帰番地レジスタ、モード復帰遅延値レジスタ、
制御部A、副制御部Bは一組としたが複数組持つ構成に
することも可能であり、モード復帰遅延値が一定の場合
はモード復帰遅延値レジスタは一個で済ますことができ
る。
As described above, according to this embodiment, even in a computer system using an arithmetic processing unit that does not have an operation mode display function, it is possible to simultaneously switch programs and hardware, which are defined by the operation mode. , it is possible to prevent the user from illegally changing the mode and gaining access rights to resources that are not allowed to be accessed without branching to a program with a different mode. In this embodiment, a mode switching address register, a setting mode value register,
Mode return address register, mode return delay value register,
Although the control section A and the sub-control section B are set as one set, it is also possible to have a plurality of sets, and if the mode return delay value is constant, only one mode return delay value register is required.

さらに、動作モードが複数定義されている場合、プログ
ラムが呼び出された時にモード退避レジスタの内容を読
み出し作業領域に退避し、復帰前に退避された作業領域
の内容を再びモード退避レジスタに格納することにより
、プログラム自体のネスティングと同様に動作モード自
体もネスティングさせることも可能である。モード退避
レジスタの内容を参照することにより呼び出し元プログ
ラムのモードを確認することができるので、動作モード
が階層構造を形成している場合の不当な呼び出し、例え
ば下位レベルから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 area, and the contents of the saved work area are stored again to the mode save register before returning. Therefore, it is possible to nest the operating modes themselves in the same way as the programs themselves. Since the mode of the calling program can be confirmed by referring to the contents of the mode save register, it is possible to prevent illegal calls when the operating modes form a hierarchical structure, such as Ml - M2 - M3 from a lower level. It is possible to detect a jump call of an M3 program from an M1 program in such cases.

なお、復帰遅延カウンタ部の値を減する入力信号はフェ
ッチ信号に限るものではなく、また動作モード値によっ
て定められる扱える資源の範囲の相互包含関係(例えば
SlつP2など)によっては復帰遅延カウンタ部および
復帰遅延値レジスタを省略することもできる。
Note that the input signal that decreases the value of the return delay counter section is not limited to the fetch signal, and depending on the mutual inclusion relationship of the range of resources that can be handled determined by the operation mode value (for example, Sl and P2, etc.), the input signal that decreases the value of the return delay counter section is not limited to the fetch signal. It is also possible to omit the return delay value register.

発明の効果 本発明の動作モード表示装置は、演算処理装置が予め設
定されたアドレスを命令コード読み込みサイクルとして
アクセスしたことを検出し、その場合に定義づけられた
動作モード値をモードレジスタに格納する第1の制御部
、退避された動作モ 一ド値をモードレジスタに復帰す
る第2の制御1″−6を具備することにより、動作モー
ド表示機能を持たない演算処理装置を用いだ削算機シス
テムにおいても、動作モードの異なるプログラムに処理
が移ると同時に動作モード表示値を変更することができ
る。
Effects of the Invention The operation mode display device 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 providing the first control section and the second control 1''-6 for restoring the saved operation mode value to the mode register, it is possible to use an arithmetic processing unit without an operation mode display function. In the system as well, the operating mode display value can be changed at the same time as processing is transferred to a program with a different operating mode.

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

第1図は本発明の一実廁例における動作モード表示装置
のプロ、り図、第2図d、第1図におけるモード復帰遅
延カウンタ部の動作を示すタイミング図、第3図は動作
モード値とプログラムの関係を示す模式図である。 1 ・・・・演算処理装置、2・・・主記憶装置、3−
・・・モード切換番地レジスタ、4・・ ・設定モード
値レジスタ、5・・・・・・制御部A(第1の制御部)
、6・・・ ・モード復帰番地レジスタ、7・・・・モ
ード復帰遅延値レジスタ、8 ・・副制御部B、9−・
・モード復帰遅延カウンタ部、10・・・・モードレジ
スタ、11 ・・・・モード退避レジスタ、30−・・
・・・制御部B(第2の制御部)。
FIG. 1 is a schematic diagram of an operation mode display device in one practical example of the present invention, FIG. 2d is a timing diagram showing the operation of the mode return delay counter section in FIG. FIG. 1...Arithmetic processing unit, 2...Main storage device, 3-
...Mode switching address register, 4... -Setting mode value register, 5...Control unit A (first control unit)
, 6... -Mode return address register, 7...Mode return delay value register, 8...Sub-control unit B, 9--
・Mode return delay counter section, 10...Mode register, 11...Mode save register, 30-...
...control unit B (second control unit).

Claims (1)

【特許請求の範囲】 (1)演算処理装置および前記演算処理装置が実行する
プログラムを保持する主記憶装置を備えた計算機システ
ムの前記演算処理装置の動作モードを表示するモードレ
ジスタと、モード切換番地レジスタと、設定モード値レ
ジスタと、モード復帰番地レジスタと、モード退避レジ
スタと、前記演算処理装置が前記主記憶装置を命令コー
ド読み込みサイクルとして出力したアドレス値と前記モ
ード切換番地レジスタの内容を比較し、一致検出時に前
記モードレジスタの内容を前記モード退避レジスタに格
納し、格納後前記設定モード値レジスタの内容を前記モ
ードレジスタに格納する第1の制御部と、前記演算処理
装置が前記主記憶装置を命令コード読み込みサイクルと
して出力したアドレス値と前記モード復帰番地レジスタ
の内容を比較し、一致検出後に生じる前記演算処理装置
のN動ワ(1’1 作サイクル目に前記モード退避レジスタの内容を前記モ
ードレジスタに格納する第2の制御部とを有することを
特徴とする動作モード表示装置。 ?)モード切換番地レジスタ、設定モード値レジスタ、
モード復帰番地レジスタ、第1の制御部および第2の制
御部を複数組有し、かつNの値をそれぞれの組によって
異なる値を取ることができることを特徴とする特許請求
の範囲第(1)項記載の動作モード表示装置。 (3)Nの単位が演算処理装置の命令コード読み込みサ
イクルであることを特徴とする特許請求の範囲第(1)
項または第(2)項記載の動作モード表示装置。 (4)Nの単位が演算処理装置の持つ77ンザイクルで
あることを特徴とする特許請求の範囲第(1)項または
第(2)項記載の動作モード表示装置。
[Scope of Claims] (1) A mode register for displaying an operating mode of the arithmetic processing unit of a computer system including an arithmetic processing unit and a main storage device that holds a program executed by the arithmetic processing unit, and a mode switching address. Compare the contents of the register, the setting mode value register, the mode return address register, the mode save register, the address value outputted by the arithmetic processing unit to the main memory as an instruction code read cycle, and the mode switching address register. , a first control unit that stores the contents of the mode register in the mode save register when a match is detected, and stores the contents of the setting mode value register in the mode register after storage; The address value outputted as an instruction code read cycle is compared with the contents of the mode return address register, and the contents of the mode save register are compared with the contents of the mode save register in the An operation mode display device comprising: a second control unit storing data in a mode register; (?) a mode switching address register, a setting mode value register,
Claim (1) characterized in that it has a plurality of sets of a mode return address register, a first control unit, and a second control unit, and the value of N can take a different value depending on each set. Operation mode display device as described in section. (3) Claim (1) characterized in that the unit of N is the instruction code reading cycle of the arithmetic processing unit.
The operation mode display device according to item (2) or item (2). (4) The operation mode display device according to claim (1) or (2), wherein the unit of N is 77 cycles of the arithmetic processing unit.
JP58120523A 1983-07-01 1983-07-01 Display device for action mode Granted JPS6011934A (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
JPS6011934A true JPS6011934A (en) 1985-01-22
JPH059814B2 JPH059814B2 (en) 1993-02-08

Family

ID=14788360

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPS6011934A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9111097B2 (en) 2002-08-13 2015-08-18 Nokia Technologies Oy Secure execution architecture

Citations (3)

* 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

Patent Citations (3)

* 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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9111097B2 (en) 2002-08-13 2015-08-18 Nokia Technologies Oy Secure execution architecture

Also Published As

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

Similar Documents

Publication Publication Date Title
US4975836A (en) Virtual computer system
US5499356A (en) Method and apparatus for a multiprocessor resource lockout instruction
JPS5911943B2 (en) Trap mechanism for data processing equipment
RU2137182C1 (en) Execution of data processing instruction
US5291581A (en) Apparatus and method for synchronization of access to main memory signal groups in a multiprocessor data processing system
EP0431326A2 (en) Inter-processor interrupts in an n-element multi-processor
CN104866443A (en) Interruptible store exclusive
JP3797570B2 (en) Apparatus and method using semaphore buffer for semaphore instructions
WO1983001133A1 (en) Microprocessor with memory having interleaved address inputs and interleaved instruction and data outputs
JPH01269142A (en) Buffer memory control system
US4412283A (en) High performance microprocessor system
US5179691A (en) N-byte stack-oriented CPU using a byte-selecting control for enhancing a dual-operation with an M-byte instruction word user program where M&lt;N&lt;2M
JPS58197553A (en) Program monitor
US5586336A (en) Microcomputer capable of monitoring internal resources from external
JPS6011934A (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
EP0301707A2 (en) Apparatus and method for providing an extended processing environment on nonmicrocoded data processing system
MacKinnon Advanced function extended with tightly-coupled multiprocessing
JPS6011935A (en) Display device for action mode
JPH01201751A (en) Memory protecting device
JPH0221614B2 (en)
JPS60193046A (en) Detecting system for instruction exception
KR960018958A (en) Main Memory Access Device Using Data Buffer When Performing Atomic Instruction in Multiprocessor System
JPH0528038A (en) Cache memory control system
JPS63155330A (en) Microprogram controller