JPS599937B2 - information processing equipment - Google Patents

information processing equipment

Info

Publication number
JPS599937B2
JPS599937B2 JP2086480A JP2086480A JPS599937B2 JP S599937 B2 JPS599937 B2 JP S599937B2 JP 2086480 A JP2086480 A JP 2086480A JP 2086480 A JP2086480 A JP 2086480A JP S599937 B2 JPS599937 B2 JP S599937B2
Authority
JP
Japan
Prior art keywords
area
sequence
specific
instruction execution
hardware
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
JP2086480A
Other languages
Japanese (ja)
Other versions
JPS56124952A (en
Inventor
勇次 追永
栄伸 宮野
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 JP2086480A priority Critical patent/JPS599937B2/en
Publication of JPS56124952A publication Critical patent/JPS56124952A/en
Publication of JPS599937B2 publication Critical patent/JPS599937B2/en
Expired 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
    • G06F9/32Address formation of the next instruction, e.g. by incrementing the instruction counter

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)
  • Executing Machine-Instructions (AREA)

Description

【発明の詳細な説明】 本発明は、主メモリをハードウェア領域とソフトウェア
領域とに分割し、ソフトウェア領域にはオペレーティン
グ・システムから見ることが出来るプログラムを格納し
、上記ハードウェア領域には特定の複合命令を処理する
ための命令実行手順や特定の事象が発生したときに行う
べき処理の命令実行手順などを格納して置き、特定の複
合命令又は特定の事象が検出された時、割込によつて上
記・゛−ドウエア領域の命令実行手順を実行できるよう
にした情報処理装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention divides main memory into a hardware area and a software area, the software area stores programs that can be viewed by the operating system, and the hardware area stores a specific program. The instruction execution procedure for processing compound instructions and the instruction execution procedure for processing to be performed when a specific event occurs are stored, and when a specific compound instruction or a specific event is detected, an interrupt is generated. Therefore, the present invention relates to an information processing apparatus that is capable of executing the instruction execution procedure of the above-mentioned hardware area.

従来の情報処理装置においては、命令は固定論理回路又
は制御記憶に格納されているマイクロプログラムによつ
て処理されていた。命令には、非常に使用頻度の低い命
令や、非常に複雑多岐にわたる処理によつて実行される
命令などがあるが、このような命令を上記の如き従来の
情報処理装置で実行しようとすると、固定論理回路が非
常に複雑になつたり、マイクロプログラムが増大して制
御記憶の容量が増大したりする。また、上記のような情
報処理装置においては、新しい命令を追加することが非
常に困難であつた。本発明は、上記の欠点を除去するも
のであつて、仕様追加を簡単にできること、及び固定論
理回路を複雑にすることなくもしくはマイクロプログラ
ムを増大させることなく非常に複雑多岐にわたる処理に
よつて実行される命令や使用頻度の小さい命令を実行で
きるようにした情報処理装置を提供することを目的とし
ている。
In conventional information processing devices, instructions are processed by microprograms stored in fixed logic circuits or control memory. Instructions include instructions that are used very infrequently and instructions that are executed by extremely complex and diverse processing, but if you try to execute such instructions on a conventional information processing device such as the one described above, Fixed logic circuits become very complex, microprograms increase, and control memory capacity increases. Furthermore, it has been extremely difficult to add new instructions to the above-mentioned information processing apparatus. The present invention eliminates the above-mentioned drawbacks, and is capable of easily adding specifications, and is capable of performing extremely complex and diverse processing without complicating fixed logic circuits or increasing microprograms. An object of the present invention is to provide an information processing device that can execute instructions that are frequently used or instructions that are used infrequently.

さらに特定の事象の生起時、既存のオペレーテイング・
システムに追加すべき、又は追加することが困難な特定
の事象に対する機能を代行することを目的とする。例え
ば、1個の命令が終了する毎に割込み、その統計情報を
得る。一定時間間隔で割込み、主記憶の1ビツト・エラ
ーを発見し訂正する。マシンチエツクで割込み、より詳
細な統計情報を得たり、ハードウエアの回復動作を行な
う、などである。そしてそのため、本発明の情報処理装
置は、主記憶と、割込み機構と、メモリ・アクセス制御
手段と、各種のレジスタと、レジスタ・アクセス手段と
を具備し、上記主記憶は、理論的にソフトウエア領域と
ハードウエア領域とに2分割され、上記ソフトウエア領
域には固定領域が設けられると共に通常のソフトウエア
が格納され、上記ハードウエア領域には固定領域が設け
られると共に特定命令又は特定事象に対する命令実行手
順の列が格納され、上記割込み機構は、特定のレジスタ
が特定の値を有するという条件の下において上記特定命
令が発行又は特定事象の発生が検出されたとき現プログ
ラム状態語を上記ハードウエア領域の固定領域に旧プロ
グラム状態語として格納すると共に上記ハードウエア領
域の固定領域に格納されている新プログラム状態語を現
プログラム状態語とし、これにより上記特定命令又は特
定事象に対応する上記ハードウエア領域内の命令実行手
順の列の実行を開始するように構成され、上記メモリ・
アクセス制御手段は、上記通常のソフトウエアからの上
記ハードウエア領域へのアクセスを禁止すると共に、上
記ハードウエア領域内の命令実行手順の列からの上記ソ
フトウエア領域へのアクセスを可能とし他の特定のレジ
スタが特定の値を有している条件の下において上記ハー
ドウエア領域内の命令実行手順の列が実行されている場
合には上記主記憶へのアクセスを実アドレスで行うと共
にこれを記憶保護の対象とせず、上記他の特定のレジス
タが特定の値を有していない条件の下において上記ハー
ドウエア領域内の命令実行手順の列が実行されている場
合にはその命令実行手順の列へ制御を渡す割込みが起る
直前の現プログラム状態語のモードに従つて上記主記憶
をアクセスするための制御を行うように構成され、上記
レジスタ・アクセス手段は、上記ハードウエア領域内の
命令実行手順の列の実行時にはその命令実行手順の列に
対し通常のソフトウエアの使用可能なレジスタばかりで
なく、通常のソフトウエアの使用不可能な情報処理装置
内部の特殊なレジスタの使用を可能とするよう構成され
、更に上記・・−トウエア領域内の命令実行手順の列の
実行中はハード・マシン・チエツク割込み及びプログラ
ム割込み以外の割込みが禁止されることを特徴とするも
のである。以下、本発明を図面を参照しつつ説明する。
第1図ないし第4図は本発明の要部の1実施例を示すも
のであつて、第1図は主記憶の分割を説明する図、第2
図は割込時のアドレス生成手段のブロツク図、第3図イ
,口はレジスタへのアクセスを説明する図、第4図はメ
モリ・アクセス制御手段のブロツク図である。
In addition, when certain events occur, existing operating
The purpose is to substitute functions for specific events that should be added to the system or are difficult to add. For example, every time one instruction is completed, an interrupt is made and the statistical information thereof is obtained. Interrupts at regular intervals to discover and correct 1-bit errors in main memory. This can be used to interrupt machine checks, obtain more detailed statistical information, perform hardware recovery operations, etc. Therefore, the information processing device of the present invention includes a main memory, an interrupt mechanism, a memory access control means, various registers, and a register access means, and the main memory is theoretically The software area is divided into a fixed area and a hardware area, and the software area is provided with a fixed area and stores normal software, and the hardware area is provided with a fixed area and stores specific instructions or instructions for specific events. A sequence of execution procedures is stored, and the interrupt mechanism transmits the current program state word to the hardware when the specific instruction is issued or the occurrence of a specific event is detected under the condition that a specific register has a specific value. The new program status word stored in the fixed area of the hardware area is stored as the old program status word in the fixed area of the area, and the new program status word stored in the fixed area of the hardware area is set as the current program status word. The memory area is configured to start execution of a sequence of instruction execution steps in the area.
The access control means prohibits access to the hardware area from the normal software, allows access to the software area from a sequence of instruction execution procedures in the hardware area, and provides other specified information. If the sequence of instruction execution steps in the hardware area is executed under the condition that the register has a specific value, the main memory is accessed using the real address and the memory is protected. If the instruction execution procedure sequence in the hardware area is executed under the condition that the other specific registers mentioned above do not have a specific value, then the instruction execution sequence sequence is executed. The register access means is configured to perform control for accessing the main memory according to the mode of the current program state word immediately before an interrupt to which control is passed occurs, and the register access means controls the instruction execution procedure in the hardware area. When executing a sequence of instructions, it is possible to use not only registers that can be used by normal software but also special registers inside the information processing device that cannot be used by normal software. The present invention is further characterized in that interrupts other than hard machine check interrupts and program interrupts are prohibited during execution of the sequence of instruction execution procedures in the software area. Hereinafter, the present invention will be explained with reference to the drawings.
1 to 4 show one embodiment of the main part of the present invention, in which FIG. 1 is a diagram illustrating division of the main memory, and FIG.
3 is a block diagram of address generation means at the time of an interrupt, FIG. 3A is a diagram for explaining access to registers, and FIG. 4 is a block diagram of memory access control means.

第1図に示すように、主記憶はハードウエア領域HAと
ソフトウエア領域SAに分割されている。
As shown in FIG. 1, the main memory is divided into a hardware area HA and a software area SA.

ハードウエア領域HAには固定領域HAPが設けられ、
同様にソフトウエア領域SAにも固定領域SAPが設け
られている。固定領域HAPおよびSAPはプレフイク
ス領域である。ハードウエア領域には、ソフトウエア領
域に格納されている特定の複合命令を処理するための命
令実行手順の列や特定の事象が生起した時に行うべき処
理のための命令実行手順の列などが格納されている。固
定領域HAPには新PSWと旧SPWが格納される。固
定領域SAPも同様である。境界アドレスは、ハードウ
エア領域HAとソフトウエア領域SAとを区分するアド
レスである。第2図は割込み時(例、プログラム割込み
時)のアドレスを生成する手段を示すものである。
A fixed area HAP is provided in the hardware area HA,
Similarly, a fixed area SAP is provided in the software area SA as well. Fixed areas HAP and SAP are prefix areas. The hardware area stores a sequence of instruction execution procedures for processing specific compound instructions stored in the software area, a sequence of instruction execution procedures for processing to be performed when a specific event occurs, etc. has been done. The new PSW and old SPW are stored in the fixed area HAP. The same applies to the fixed area SAP. The boundary address is an address that separates the hardware area HA and software area SA. FIG. 2 shows means for generating an address at the time of an interrupt (for example, at the time of a program interrupt).

第2図において、1ないし3はゲート、4はベース・レ
ジスタ、5はインデツクス・レジスタ、6は3入力加算
器、7はフリツプ・フロツプをそれぞれ示している。ソ
フトウエア領域SAのプログラムを実行しているときに
特定の複合命令が検出されると、オペレーシヨナル・ス
テータス・レジスタの対応するビツトがオンであること
を条件としてゲート2又は3が「l」を出力し、フリツ
プ・フロツプ7がセツトされ、ハードウエア・モード信
号が「1」となる。プログラム割込が生ずると、先ず定
数1281がインデツクス・レジスタ5に入力される。
また、ハードウエア・モード信号が[1」となるので、
境界アドレスの内容がベース−レジスタ4にセツトされ
る。そして、ベース・レジスタ4およびインデツクス・
レジスタ5の内容は3入力加算器6で加算され、その加
算結果がSユニツト(記憶制御ユニツト)に送られる。
3入力加算器6から出力される加算結果は、固定領域H
APの中におけるプログラム割込みに対する旧PSWの
アドレスを示しており、Sユニツトの制御によつて現P
SWが旧PSWにセツトされる。
In FIG. 2, 1 to 3 are gates, 4 is a base register, 5 is an index register, 6 is a three-input adder, and 7 is a flip-flop. When a specific compound instruction is detected while executing a program in software area SA, gate 2 or 3 turns "l" on condition that the corresponding bit in the operational status register is on. The flip-flop 7 is set and the hardware mode signal becomes "1". When a program interrupt occurs, constant 1281 is first input into index register 5.
Also, since the hardware mode signal becomes [1],
The contents of the boundary address are set in base register 4. Then base register 4 and index register
The contents of the register 5 are added by a three-input adder 6, and the addition result is sent to the S unit (storage control unit).
The addition result output from the 3-input adder 6 is in the fixed area H
This shows the address of the old PSW for program interrupts in the AP.
SW is set to old PSW.

ついで、定数6681がインデツクス・レジスタ5に入
力され、同様にしてベース・レジスタ4の内容とインデ
ツクス・レジスタ5の内容が3入力加算器6によつて加
算される。この加算結果は、固定領域HAPの新PSW
のアドレスを示しており、これによつて現PSWに新P
SWがセツトされる。置換前の現PSWと置換後の現P
SWとは命令アドレスを異にするが、記憶保護キーやモ
ード・ビツト等のその他の部分は略ぼ同じである。対応
する命令実行手順の列の実行が終了して割込み処理が終
了すると、LOADPSW命令によつて固定領域HAP
の旧PSWが現PSWにセツトされるが、このLOAD
PSW命令が実行される時にリターン信号が「1」とな
り、フリツプ・フロツプ7がりセツトされ、これによつ
てハードウエア・モード信号が「O」となる。このよう
にして、ソフトウエア領域SAの特定の複合命令に対応
するハードウエア領域HAの命令実行手順の列が実行さ
れる。以上は特定の複合命令が検出されると、割込みに
よつてハードウエア領域HAの対応する命令実行手順の
列が実行される例を説明するものであるが、特定の事象
が検出された場合においてもハード領域HAの対応する
命令実行手順の列が実行される。第3図イ,口はレジス
タへのアクセスを説明するものである。
Constant 6681 is then input to index register 5, and the contents of base register 4 and index register 5 are similarly added by three-input adder 6. The result of this addition is the new PSW of the fixed area HAP.
This shows the address of the new PSW to the current PSW.
SW is set. Current PSW before replacement and current P after replacement
Although the instruction address is different from SW, other parts such as the memory protection key and mode bits are almost the same. When the execution of the corresponding instruction execution procedure sequence is completed and the interrupt processing is completed, the fixed area HAP is
The old PSW of is set to the current PSW, but this LOAD
When the PSW instruction is executed, the return signal becomes "1" and flip-flop 7 is reset, thereby causing the hardware mode signal to become "O". In this way, a sequence of instruction execution procedures in the hardware area HA corresponding to a specific compound instruction in the software area SA is executed. The above describes an example in which when a specific compound instruction is detected, a sequence of corresponding instruction execution procedures in the hardware area HA is executed by an interrupt. However, when a specific event is detected, Also, a sequence of corresponding instruction execution procedures in the hard area HA is executed. 3A and 3B illustrate access to the register.

第3図イにおいて8はレジスタ・スタツクを示している
。レジスタを選択するレジスタ・アドレスは、5ビツト
構成である。第1番目のビツトは、ハードウエア・モー
ドとなつた時もしくは浮動小数点レジスタを選択する時
に論理「1」とされる。第3図口に示すように、第1番
目のビツトが「0」であると、16個の汎用レジスタの
中のいずれか1つを選択することが可能となる。第1番
目のビツトが「1」で且つ第2番目のビツトが「O」で
あると、8個の浮動小数点レジスタの中のいずれか1個
を選択することが可能となる。また、第1番目のビツト
が「1」で且つ第2番目のビツトが「1」であると、8
個の内部レジスタの中のいずれか1つを選択することが
可能となる。第3図イ,口から判るように、ソフトウエ
ア領域SAの命令は、浮動小数点レジスタおよび内部レ
ジスタをアクセスすることが出来ず、また、原則として
ハードウエア領域HAの命令実行手順の列は汎用レジス
タをアクセスすることが出来ない。しかし特別の場合に
は、第1番目のビツトをオフすることによつて、ハード
ウエア・モード時であつても汎用レジスタをアクセスす
ることが出来る。第4図はメモリ・アクセス制御手段の
プロツク図である。
In FIG. 3A, 8 indicates a register stack. The register address for selecting a register has a 5-bit configuration. The first bit is set to logic ``1'' when entering hardware mode or selecting a floating point register. As shown at the beginning of FIG. 3, when the first bit is "0", it becomes possible to select any one of the 16 general-purpose registers. If the first bit is "1" and the second bit is "O", it is possible to select any one of the eight floating point registers. Also, if the first bit is "1" and the second bit is "1", then 8
It becomes possible to select any one of the internal registers. As can be seen from Figure 3B, instructions in the software area SA cannot access floating point registers and internal registers, and as a general rule, the sequence of instruction execution procedures in the hardware area HA is limited to general-purpose registers. cannot be accessed. However, in special cases, the general register can be accessed even in hardware mode by turning off the first bit. FIG. 4 is a block diagram of the memory access control means.

第4図において、9はアドレス・レジスタ、10は境界
アドレス・レジスタ、11は比較器、12はフリツブ・
フロツプ、13はNOTゲート、14ないし16はAN
Dゲートをそれぞれ示している。ハードウエァ・モード
でない場合には、アドレス・レジスタ9の内容が境界ア
ドレス・レジスタ10の内容を越えると、アドレス例外
条件の発生がオペレーテイング・システムへ通知される
。このことはソフトウエア領域SAの命令が2゛−トウ
エア領域HAをアクセスすることが禁止されることを、
意味している。ハードウエア・モードの場合には、アク
セス・アドレスが主記憶の最大記憶容量を越えた時にア
ドレス例外条件の発生がオペレーテイング・システルへ
通知される。このことは、ハードウエア領域HAの命令
実行手順の列が主記憶の全領域をアクセスすることが禁
止されないことを意味している。ベース・レジスタ(図
示せず)は32ビツト構成であり、そのビツト8ないし
31がメモリ・アドレスを示して(・る。ベース・レジ
スタのビツトOが論理「1」であると、そのアドレス情
報は実アドレス情報であることを示しており、ビツト[
0]が論理「0」であると、アドレス情報が実アドレス
情報であるか或は論理アドレスであるかは、現PSWに
従うことを意味している。ハードウエア・モードである
場合にベース・レジスタのビツトOが論理「1]である
と、フリツプ・フロツプ12がセツトされてANDゲー
ト16が論理「1」を出力する。ANDゲート16の出
力が論理「1」となると、主記憶のアクセスは実アドレ
スで実行され、且つ記憶保護は禁止される。また、ハー
ドウエア・モードである場合はベース・レジスタのビツ
トOが論理「0」であると、現PSWの内容に従つて主
記憶のアクセスが行われる。さきにも述べたように、現
PSWの記憶保護キーやモード・ビツトは旧PSWのモ
ードと同じである。命令実行手順の列が・・−トウエア
領域HAをアクセスする場合には実アドレスが使用され
且つ記憶保護は禁止される。また、命令実行手順の列が
ソフトウエア領域SAをアクセスする場合には、現PS
Wの内容に従つてアクセスが実行される。ハードウエア
領域HA内の一連の命令実行手順の列はソフトウエア領
域の1個の特定の複合命令に対応するものである。
In FIG. 4, 9 is an address register, 10 is a boundary address register, 11 is a comparator, and 12 is a flip-flop register.
Flop, 13 is NOT gate, 14 to 16 are AN
Each D gate is shown. If not in hardware mode, when the contents of address register 9 exceed the contents of boundary address register 10, the operating system is notified of the occurrence of an address exception condition. This means that instructions in the software area SA are prohibited from accessing the 2-to-ware area HA.
It means. In the hardware mode, the operating system is notified of the occurrence of an address exception condition when the access address exceeds the maximum storage capacity of the main memory. This means that the sequence of instruction execution procedures in the hardware area HA is not prohibited from accessing all areas of the main memory. The base register (not shown) has a 32-bit configuration, and bits 8 to 31 indicate the memory address. When bit O of the base register is a logic "1", the address information is This indicates that it is real address information, and the bit [
0] is logical "0", it means that whether the address information is real address information or logical address follows the current PSW. When in hardware mode, if bit O of the base register is a logic ``1'', flip-flop 12 is set and AND gate 16 outputs a logic ``1''. When the output of the AND gate 16 becomes logic "1", main memory access is performed using real addresses and memory protection is prohibited. Further, in the hardware mode, if bit O of the base register is logic "0", the main memory is accessed according to the contents of the current PSW. As mentioned earlier, the current PSW's memory protection key and mode bits are the same as the old PSW's mode. When the sequence of instruction execution procedures accesses the -toware area HA, real addresses are used and memory protection is prohibited. In addition, when the sequence of instruction execution procedures accesses the software area SA, the current PS
Access is performed according to the contents of W. A sequence of instruction execution procedures in the hardware area HA corresponds to one specific compound instruction in the software area.

この一連の命令実行手順の列を1個の複合命令と同一の
取扱いをするために、この=連の命令実行手順の実行中
は、ハード・マシン・チエツクおよびプログラム割込み
以外の割込みを禁止する。特定の事象に対応する命令実
行手順の列を実行している場合においても同様にハード
・マシン・チエツクおよびプログラム割込み以外の割込
みは禁止される。以上の説明から明らかなように、本発
明によれば、新しい命令の追加が簡単にできること及び
固定論理回路を複雑にすることなく若しくはマイクロプ
ログラムを増大させることなく非常に複雑多岐にわたる
処理によつて実行される命令や使用頻度の小さい命令を
実行することが出来る。
In order to treat this series of instruction execution procedures as the same as one compound instruction, interrupts other than hard machine checks and program interrupts are prohibited while this series of instruction execution procedures is being executed. Interrupts other than hard machine checks and program interrupts are similarly prohibited even when a sequence of instruction execution procedures corresponding to a specific event is being executed. As is clear from the above description, according to the present invention, new instructions can be easily added and extremely complex and diverse processing can be performed without complicating fixed logic circuits or increasing microprograms. It is possible to execute instructions that are executed or instructions that are used infrequently.

【図面の簡単な説明】 第1図ないし第4図は本発明の要部の1実施例を示すも
のであつて、第1図は主記憶の分割を説明する図、第2
図は割込時のアドレス生成手段のプロツク図、第3図イ
,口はレジスタへのアクセスを説明する図、第4図はメ
モリ・アクセス制御手段のプロツク図である。 1ないし3・・・・・・ゲート、4・・・・・・ベース
・レジスタ、5・・・・・・インデツクス・レジスタ、
6・・・・・・3入力加算器、7・・・・・・フリツプ
・フロツプ、8・・・・・・レジスタ・スタツク、9・
・・・・・アドレス・レジスタ、10・・・・・・境界
アドレス・レジスタ、11・・・・・・比較器、12・
・・・・・フリツプ・フロツプ、13・・・・・・NO
Tゲート、14ないし16・・・・・・ANDゲート。
[BRIEF DESCRIPTION OF THE DRAWINGS] FIGS. 1 to 4 show an embodiment of the main part of the present invention, in which FIG. 1 is a diagram illustrating division of the main memory, and FIG.
3 is a block diagram of the address generation means at the time of an interrupt, FIG. 1 to 3...gate, 4...base register, 5...index register,
6...3-input adder, 7...flip-flop, 8...register stack, 9...
... Address register, 10 ... Boundary address register, 11 ... Comparator, 12.
...Flip Flop, 13...NO
T gate, 14 to 16...AND gate.

Claims (1)

【特許請求の範囲】[Claims] 1 主記憶と、割込み機構と、メモリ・アクセス制御手
段と、各種のレジスタと、レジスタ・アクセス手段とを
具備し、上記主記憶は、理論的にソフトウェア領域とハ
ードウェア領域とに2分割され、上記ソフトウェア領域
には固定領域が設けられると共に通常のソフトウェアが
格納され、上記ハードウェア領域には固定領域が設けら
れると共に特定命令又は特定事象に対する命令実行手順
の列が格納され、上記割込み機構は、特定のレジスタが
特定の値を有するという条件の下において上記特定命令
が発行又は特定事象の発生が検出されたとき現プログラ
ム状態語を上記ハードウェア領域の固定領域に旧プログ
ラム状態語として格納すると共に上記ハードウェア領域
の固定領域に格納されている新プログラム状態語を現プ
ログラム状態語とし、これにより上記特定命令又は特定
事象に対応する上記ハードウエア領域内の命令実行手順
の列の実行を開始するように構成され、上記メモリ・ア
クセス制御手段は、上記通常のソフトウェアからの上記
ハードウェア領域へのアクセスを禁止すると共に、上記
ハードウェア領域内の命令実行手順の列からの上記ソフ
トウェア領域へのアクセスを可能とし、他の特定のレジ
スタが特定の値を有している条件の下において上記ハー
ドウェア領域内の命令実行手順の列が実行されている場
合には上記主記憶へのアクセスを実アドレスで行うと共
にこれを記憶保護の対象とせず、上記他の特定のレジス
タが特定の値を有していない条件の下において上記ハー
ドウェア領域内の命令実行手順の列が実行されている場
合にはその命令実行手順の列へ制御を渡す割込みが起る
直前の現プログラム状態語のモードに従つて上記主記憶
をアクセスするための制御を行うように構成され、上記
レジスタ・アクセス手段は、上記ハードウェア領域内の
命令実行手順の列の実行時にはその命令実行手段の列に
対し通常のソフトウェアの使用可能なレジスタばかりで
なく、通常のソフトウェアの使用不可能な情報処理装置
内部の特殊なレジスタの使用を可能とするよう構成され
、更に上記ハードウェア領域内の命令実行手順の列の実
行中はハード・マシン・チェック割込み及びプログラム
割込み以外の割込みが禁止されることを特徴とする情報
処理装置。
1 comprises a main memory, an interrupt mechanism, a memory access control means, various registers, and a register access means, and the main memory is theoretically divided into a software area and a hardware area, The software area is provided with a fixed area and stores normal software, the hardware area is provided with a fixed area and stores a sequence of instruction execution procedures for specific instructions or specific events, and the interrupt mechanism includes: When the specific instruction is issued or the occurrence of a specific event is detected under the condition that the specific register has a specific value, the current program status word is stored in the fixed area of the hardware area as the old program status word, and The new program status word stored in the fixed area of the hardware area is set as the current program status word, and the execution of the sequence of instruction execution procedures in the hardware area corresponding to the specific instruction or specific event is thereby started. The memory access control means prohibits access to the hardware area from the normal software, and prohibits access to the software area from a sequence of instruction execution procedures in the hardware area. If the sequence of instruction execution steps in the hardware area is being executed under the condition that other specific registers have specific values, access to the main memory can be accessed from the real address. If the sequence of instruction execution steps in the hardware area is executed under the condition that the above other specific registers do not have specific values, and this is not subject to memory protection, The register access means is configured to perform control for accessing the main memory according to the mode of the current program state word immediately before an interrupt occurs that transfers control to the instruction execution sequence, and the register access means When executing a sequence of instruction execution procedures in a software area, not only registers that can be used by normal software are used for the sequence of instruction execution means, but also special registers inside the information processing device that cannot be used by normal software are used. What is claimed is: 1. An information processing device configured to enable this, and further characterized in that interrupts other than hard machine check interrupts and program interrupts are prohibited during execution of a sequence of instruction execution procedures in the hardware area.
JP2086480A 1980-02-20 1980-02-20 information processing equipment Expired JPS599937B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2086480A JPS599937B2 (en) 1980-02-20 1980-02-20 information processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2086480A JPS599937B2 (en) 1980-02-20 1980-02-20 information processing equipment

Publications (2)

Publication Number Publication Date
JPS56124952A JPS56124952A (en) 1981-09-30
JPS599937B2 true JPS599937B2 (en) 1984-03-06

Family

ID=12039001

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2086480A Expired JPS599937B2 (en) 1980-02-20 1980-02-20 information processing equipment

Country Status (1)

Country Link
JP (1) JPS599937B2 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5971550A (en) * 1982-09-30 1984-04-23 Fujitsu Ltd Instruction processing system
JPS59200345A (en) * 1983-04-26 1984-11-13 Nec Corp Microprogram control system
JPS6083142A (en) * 1983-10-14 1985-05-11 Nec Corp Microprogram controller
JPS60107156A (en) * 1983-11-16 1985-06-12 Hitachi Ltd Data processing system
EP0273070B1 (en) * 1986-12-30 1992-04-29 International Business Machines Corporation Apparatus and method for extending the instruction set and the functions of a computer
JP3057688B2 (en) * 1989-06-28 2000-07-04 日本電気株式会社 Data processing device
GB2259166B (en) * 1991-08-30 1995-05-03 Intel Corp Transparent system interrupts with automated input/output trap restart
US5274834A (en) * 1991-08-30 1993-12-28 Intel Corporation Transparent system interrupts with integrated extended memory addressing
JPH05108488A (en) * 1991-10-16 1993-04-30 Fujitsu Ltd System and device for controlling firmware program storing area

Also Published As

Publication number Publication date
JPS56124952A (en) 1981-09-30

Similar Documents

Publication Publication Date Title
JPS621036A (en) Execution of program for multimode microprocessor and operating system
RU2580016C1 (en) Method for transfer of control between memory areas
CA1085517A (en) Hardware control storage area protection method and means
JP3202497B2 (en) Information processing device
JPS599937B2 (en) information processing equipment
CA2551045C (en) Input-output control apparatus, input-output control method, process control apparatus and process control method
CN114741740B (en) Physical memory protection method, system and related equipment based on RISC-V
CN110597641A (en) Linear address space layout method and computing device
EP0864983A2 (en) Computer system including memory adress management circuit for protecting memory from illegal writing
JPS6074059A (en) Access control system for storage device
JPH0585925B2 (en)
JPH05100827A (en) Personal computer
JP2000155677A (en) Method for preventing runaway of program and computer system for the method and recording medium for recording program for preventing runaway
JP3898663B2 (en) Operating system control method, program for causing computer to execute the method, and operating system control device
JPH11238016A (en) Method and device for memory protection
JPS6118224B2 (en)
JPS63120336A (en) Switching system for memory access mode
JPS607819B2 (en) information processing equipment
JPS63155330A (en) Microprogram controller
JPH06139084A (en) Information processor
JPS6229826B2 (en)
JPS5847799B2 (en) memory protection device
JPH08153018A (en) Semiconductor system
JPS6138508B2 (en)
JPH0471050A (en) Stack area protecting circuit