JPS6019028B2 - information processing equipment - Google Patents

information processing equipment

Info

Publication number
JPS6019028B2
JPS6019028B2 JP10155377A JP10155377A JPS6019028B2 JP S6019028 B2 JPS6019028 B2 JP S6019028B2 JP 10155377 A JP10155377 A JP 10155377A JP 10155377 A JP10155377 A JP 10155377A JP S6019028 B2 JPS6019028 B2 JP S6019028B2
Authority
JP
Japan
Prior art keywords
processing
instruction
sub
processing device
macro
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
JP10155377A
Other languages
Japanese (ja)
Other versions
JPS5435654A (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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP10155377A priority Critical patent/JPS6019028B2/en
Publication of JPS5435654A publication Critical patent/JPS5435654A/en
Publication of JPS6019028B2 publication Critical patent/JPS6019028B2/en
Expired legal-status Critical Current

Links

Description

【発明の詳細な説明】 ‘1} 発明の利用分野 本発明は、主処理装置と副処理装置により構成される情
報処理装置において、マクロ命令実行の制御に関するも
のである。
DETAILED DESCRIPTION OF THE INVENTION '1} Field of Application of the Invention The present invention relates to control of execution of macro instructions in an information processing apparatus constituted by a main processing unit and a sub-processing unit.

■ 従来技術 近年、ミニコンピュータにおいても浮動小数点演算命令
を処理できるものが多くなっている。
■ Prior Art In recent years, more and more minicomputers are capable of processing floating point arithmetic instructions.

これらは主処理装置とそれとは別の浮動小数点データを
高速に扱えるように演算器のデータ幅を増した専用の処
理装置(副処理装置)により構成されることが多い。ま
た、主処理袋暦と副処理装置が独立に動作できるように
し、副処理装置を配列計算やフーIJェ級数の計算など
処理時間の長いマク。命令を実行するように起動した後
、主処理装置は次のマクロ命令を読み出して実行するこ
とにより、2つの処理装置が並列に動作することも可能
である。以下、従来技術により、このような情報処理装
置が主記憶装置に格納されているマクロ命令を順次読み
出して実行する制御の流れについて説明する。
These devices are often composed of a main processing unit and a separate dedicated processing unit (sub-processing unit) whose arithmetic unit has an increased data width so that it can handle floating-point data at high speed. In addition, the main processing unit and the sub-processing unit can operate independently, and the sub-processing unit can be used to perform long processing times such as array calculations and calculations of FJ series. After being activated to execute an instruction, the main processing unit reads and executes the next macro instruction, thereby allowing the two processing units to operate in parallel. Hereinafter, a control flow in which such an information processing apparatus sequentially reads and executes macro instructions stored in a main memory according to a conventional technique will be described.

はじめに主処理装置からマクロ命令を読み出し、それを
解読して副処理装置で処理すべきマクロ命令であること
がわかると副処理装置を起動する。このとき、主処理装
置がマクロ命令を解読した結果により副処理装置が実行
すべきマイクロプログラムの先頭番地を送って、副処理
装置はその番地のマイクロ命令から実行を開始するよう
にすればよいが、副処理装置で処理すべきマクロ命令を
追加する場合に、主処理装置のマイクロプログラムも変
更しなければならないため、マクロ命令を副処理装置に
送って、副処理菱道で解読しなおす。このような情報処
理装置の1例を第1図に示す。第1図において、1は主
記憶菱暦(MM)、2は主処理装置、3は副処理装置で
ある。4は実行すべきマクロ命令のマドレスを示すプロ
グラム・カウンタ(PC)であり、5はMMIから読み
出したマクロ命令を格館する命令レジスタ(IR)、6
はIR5をセットするためのタイミング信号を作るAN
Dゲートである。
First, a macro instruction is read from the main processing unit, and when it is decoded and found to be a macro instruction to be processed by the sub-processing unit, the sub-processing unit is activated. At this time, the main processing unit may send the start address of the microprogram to be executed to the subprocessing unit based on the result of decoding the macroinstruction, and the subprocessing unit may start execution from the microinstruction at that address. When adding macro instructions to be processed by the sub-processing unit, the microprogram of the main processing unit must also be changed, so the macro instructions are sent to the sub-processing unit and re-deciphered by the sub-processing unit. An example of such an information processing device is shown in FIG. In FIG. 1, 1 is a main memory (MM), 2 is a main processing unit, and 3 is a sub-processing unit. 4 is a program counter (PC) that indicates the address of the macro instruction to be executed; 5 is an instruction register (IR) that stores the macro instruction read from the MMI; 6
is AN that creates a timing signal to set IR5
This is the D gate.

7は図示しないMMIからマクロ命令を読み出すことを
指示する信号と、MMIからのデータ(この場合はマク
ロ命令)を読み出したことを知らせる同期信号のAND
をとったIF(lnstrMtiONFetce)信号
であり、8はしジスタのセットを行なうためのクロック
信号である。
7 is an AND of a signal instructing to read a macro instruction from the MMI (not shown) and a synchronization signal indicating that data (in this case, a macro instruction) has been read from the MMI.
8 is the IF (lnstrMtiONFetce) signal, and 8 is a clock signal for setting the register.

9は処理装置の状態により主処理装置1が次に実行すべ
きマイクロ命令の番地を選択する信号を作り出す回路(
TEST)であり、後述する母Yフリップ・フロッ15
の出力信号がTEST回路9の1入力となっている。
9 is a circuit (
TEST), and the mother Y flip flop 15 described later
The output signal is one input of the TEST circuit 9.

1 0は副処理装置3の命令レジスタ(SIR)、11
は命令レジスター01こ格納されたマクロ命令コードか
らそれを処理するマイクロプログラムの先頭番地を発生
する回路(ROM)12はROMIIからのアドレス信
号のほかに現在のアドレスに十1したアドレス、マイク
ロ命令により指定したアドレスなど、各種のアドレス信
号のなかから1つのアドレス信号を選択するためのセレ
クタ(SEL)、13はマイクロ命令のアドレスを指示
するコントロール・メモリ・アドレス・レジスタ(CM
AR)であり14は副処理装置3のコントロール・メモ
リ(CM)である。
1 0 is the instruction register (SIR) of the sub-processing unit 3, 11
The circuit (ROM) 12 that generates the starting address of the microprogram that processes it from the macro instruction code stored in instruction register 01 receives the address signal from ROM II as well as the current address plus 11, and the micro instruction. A selector (SEL) is used to select one address signal from among various address signals such as a specified address, and 13 is a control memory address register (CM) that specifies the address of a microinstruction.
14 is a control memory (CM) of the sub-processing device 3.

15は副処理装置3がマクロ命令を処理中であることと
を示すフリツプフロツプ(BSY)であり、主処理装置
2から副処理装置3を起動するSTART信号16によ
りセットされる。
A flip-flop (BSY) 15 indicates that the sub-processing device 3 is processing a macro instruction, and is set by a START signal 16 for starting the sub-processing device 3 from the main processing device 2.

BSYフリップフoップのリセットは副処理装置3がマ
クロ命令の処理を終了したときに行なう。第2図は第1
図の情報処理装置の動作を示すタイミング・チャートで
ある。はじめにマシンサイクルT,において主処理装置
はPC4のアドレスをMMIへ送り、データ(マクロ命
令)を読み出してIR5へセットする。次にマシンサイ
クルLで、今読み出したマクロ命令の命令コードによる
分岐を行なう。これは図示していないが副処理装置3に
おける11〜14と同様の制御回路によって行なう。こ
れによりマクロ命令が副処理装置で処理すべきものであ
れば、マシンサイクルT2では副処理装置3の斑Yフリ
ップフロップ15をテストし、新たにマクロ命令の処理
を開始することができるか杏かを判定する。そして、そ
れが可能であれば(BSYコ0)、START信号16
をセットして副処理装置3を超起動する(マシンサイク
ルT4)。副処理装置3はSTRT信号16によりBS
Yフリツプフロツプ15がセットされると、IR5にあ
るマクロ命令をSIRIOへ読み出す(マシンサイクル
虫)。次にSIRIOへセットされた命令コードからマ
イクロプログラムの先頭番号を発生する回路11の出力
をSELl2で選択し、CMAR13へセットすること
により、マクロ命令コードによる分岐を行なう(マシン
サイクルT6)。以後、マクロ命令を処理するマイクロ
プログラムを実行し(マシンサイクルT7〜L)、斑Y
フリツプフロツブ15をリセットして処理を終了する(
マシンサイクルT9)。主処理装置2はこの間副処理装
置3で処理されるマク。命令が浮動4・数点四四則演算
のように処理時間の短いものであれは、既Yフリツプフ
ロツプ15をテストして待っており、マシンサイクルT
,。でそれが0となり、次のマクロ命令を読み出す(マ
シンサイクルT,.)。一方、副処理装置3で処理され
るマクロ命令が配列計算のように処理時間の長いもので
あれば、マシンサイクルT3から次のマクロ命令を読み
出し、主処理装置2でも別のマクロ命令の処理を開始す
る。ところで、第2図のタイミング・チャートを見ると
、副処理装置がマクロ命令の処理を開始するまでのマシ
ンサイクルT2〜T5が、マクロ命令の処理にとっては
むだな時間である。‘31発明の目的 したがって、本発明の目的は副処理装置においてマク。
The BSY flip-flop is reset when the sub-processing device 3 finishes processing the macro instruction. Figure 2 is the first
5 is a timing chart showing the operation of the information processing device shown in the figure. First, in machine cycle T, the main processing unit sends the address of PC4 to MMI, reads out data (macro instruction), and sets it in IR5. Next, in machine cycle L, branching is performed based on the instruction code of the macro instruction just read. Although not shown, this is performed by a control circuit similar to 11 to 14 in the sub-processing device 3. As a result, if the macro instruction is to be processed by the sub-processing device, the machine cycle T2 tests the Y flip-flop 15 of the sub-processing device 3 to determine whether it is possible to start processing a new macro instruction. judge. And if it is possible (BSY 0), START signal 16
is set and the sub-processing device 3 is super activated (machine cycle T4). The sub-processing device 3 receives the BS signal from the STRT signal 16.
When Y flip-flop 15 is set, the macro instruction in IR5 is read out to SIRIO (machine cycle). Next, the output of the circuit 11 that generates the leading number of the microprogram from the instruction code set in SIRIO is selected by SEL12 and set in CMAR13, thereby performing branching based on the macro instruction code (machine cycle T6). After that, the microprogram that processes the macro instruction is executed (machine cycles T7 to L), and the spot Y
Reset the flip-flop 15 and end the process (
Machine cycle T9). During this time, the main processing device 2 is processed by the sub-processing device 3. If the instruction requires a short processing time, such as a floating 4 or several-point arithmetic operation, the Y flip-flop 15 is tested and waited, and the machine cycle T
,. Then, it becomes 0 and the next macro instruction is read (machine cycle T, .). On the other hand, if the macro instruction processed by the sub-processing unit 3 takes a long processing time, such as an array calculation, the next macro instruction is read from machine cycle T3, and the main processing unit 2 also starts processing another macro instruction. do. By the way, looking at the timing chart of FIG. 2, machine cycles T2 to T5 until the sub-processing device starts processing the macro instruction are wasted time for processing the macro instruction. '31 OBJECTS OF THE INVENTION Accordingly, an object of the present invention is to provide a microprocessor in a sub-processing device.

命令を解除しなおすことによるむだな時間をなくして、
マクロ命令の処理装置を短くすることができ、かつ、副
処理装置で処理するマク。命令を追加する時にそのマイ
クロプログラムを副処理装置のコントロール・メモリに
追加するだけでよい情報装置を提供することにある。【
4’実施例 以下、本発明を実施例を参照して詳細に説明する。
Eliminate wasted time due to canceling the command again,
A macro whose processing unit can be shortened and which is processed by a sub-processing unit. To provide an information device that requires only adding a microprogram to a control memory of a sub-processing unit when adding an instruction. [
4' Examples Hereinafter, the present invention will be explained in detail with reference to Examples.

第3図は本発明を実施した情程処理装置のブロック図で
あり、第4図がその動作を示すタイミング・チャートで
ある。
FIG. 3 is a block diagram of a processing device embodying the present invention, and FIG. 4 is a timing chart showing its operation.

第3図において10′は第1図の10と同じ命令レジス
タであるが、MMIから読み出したデータ(マクロ命令
)を直接セットできるように入力信号を変更し、セット
するタイミング信号もIR5をセットする信号と同じ仲
信8、クロック信号9とBSYフリツプフロツプ15′
の出力の否定をとった信号のANDIをとった信号に変
更している(第1図ではタイミング信号を図示していな
いが、SIRI0をセットするマイクロ命令をデコード
した信号とクロック信号のANDをとった信号である)
。SIRにセットされたマクロ命令が副処理装置で処理
すべき命令か否かの解読はとくにデコーダを別個に設け
ることなくROMI I′,CM14′において実質的
に行われる。すなわちマクロ命令によりROMII′か
らCM14′の所定のアドレスのマイクロ命令を実行す
る。このマイクロ命令は、処理すべきでないマクロ命令
に対しては、ただちに、停止するという内容のものであ
ればよい。処理すべきマクロ命令の時には、以下の所定
のルーチンの作業をするマイクロ命令に移る。20はS
IRIO′にセットしたマクロ命令を解読してそれが副
処理装置3で処理すべきマクロ命令であることがわかる
とマイクロ命令によりセットするフリツプフロツプ(G
O)であり、15′は第1図の15′と同じであるが、
主処理装置2からSTART信号16′がきたときのG
Oフリツプフロップ20の状態をセットする。
In Fig. 3, 10' is the same instruction register as 10 in Fig. 1, but the input signal is changed so that the data (macro instruction) read from the MMI can be directly set, and the timing signal for setting is also set to IR5. Same as the signal 8, clock signal 9 and BSY flip-flop 15'
(The timing signal is not shown in Figure 1, but the signal obtained by ANDing the signal obtained by decoding the microinstruction that sets SIRI0 and the clock signal is changed.) signal)
. The decoding of whether the macro instruction set in the SIR is an instruction to be processed by the sub-processing unit is substantially performed in the ROMI I', CM 14' without providing a separate decoder. That is, a microinstruction at a predetermined address from ROMII' to CM14' is executed by a macroinstruction. This microinstruction may be one that immediately stops a macroinstruction that should not be processed. When a macroinstruction is to be processed, the process moves to a microinstruction that performs the following predetermined routine work. 20 is S
When the macro instruction set in IRIO' is decoded and it is found that it is a macro instruction to be processed by the sub-processing unit 3, the flip-flop (G
O), and 15' is the same as 15' in Figure 1, but
G when the START signal 16' is received from the main processing unit 2
Set the state of the O flip-flop 20.

したがって、読み出したマクロ命令が副処理装置3で処
理される命令の場合は00フリツプ・フロツプ20がセ
ットされているので1になり副処理装置3で処理されな
い命令の場合はGOフリツプ・フロツプ20がセットさ
れていないので0になる。GOフリツプ・フロツプ2
0とBSYフリップ・フロップ15′は副処理装置3で
のマクロ命令の処理が終了すると、マイクロ命令により
リセットされる。16′は第1図の16と同じであるが
、前述のように母Yフリップ・フロップ15′をセット
するタイミングを与えるだけで、副処理装置3を起動す
る意味は持た,ない。
Therefore, if the read macro instruction is an instruction to be processed by the sub-processing device 3, the 00 flip-flop 20 is set and becomes 1. If the read macro instruction is an instruction not to be processed by the sub-processing device 3, the GO flip-flop 20 is set. Since it is not set, it becomes 0. GO flip flop 2
0 and BSY flip-flop 15' are reset by a microinstruction when the subprocessing unit 3 finishes processing the macroinstruction. Although 16' is the same as 16 in FIG. 1, it only provides timing for setting the mother Y flip-flop 15' as described above, and has no meaning in starting up the sub-processing device 3.

21,22はSIRIO′のセット・タイミングを作る
ためのANDゲートとィンバータである。
21 and 22 are AND gates and inverters for creating the set timing of SIRIO'.

14′は第1図の14と同じであるが、以下の動作説明
で述べるように格納してあるマイクロプログラムが異な
る。
14' is the same as 14 in FIG. 1, but the stored microprogram is different as will be described in the operation description below.

本発明による情報処理菱魔の動作を第4図にしたがって
説明する。
The operation of the information processing machine according to the present invention will be explained with reference to FIG.

はじめにマシンサイクルT,においてMMIからマクロ
命令を読み出す。このとき、従釆例と異なるのは読み出
したマクロ命令をIR5にセットすると同時に、副処理
装置3が動作中(BSYフリッブ・フロップ15′が1
)でなければSIRI O′にセットすることである。
BSYフリツプ・フロツプ1 5′が1のときは副処理
装置3は他のマクロ命令の処理中であるから、S瓜1
0′のセットは行なわない。BSYフリツプ・フロツプ
15′が0のときはマシンサイクルT,でSIRIO′
にマクロ命令がセットされ、IF信号8により起動され
る。起動された副処理装置3はマシンサイクルT2でS
IR10′にセットされたマクロ命令の命令コードに対
応してROMで発生したアドレスに従い、それぞれのマ
クロ命令を処理するマイクロプログラムに分岐する。S
IRIO′の命令コードからROM11′によりマイク
ロ命令アドレスを発生させ、CMAR1 3にセットし
て分岐することは従来例と同じである。ただし、本発明
においては副処理装置3で処理しないマクロ命令によっ
ても起動がかけられるので、それらのマクロ命令が分岐
していくマイクロプログラムを用意し、そこで副処理装
置3を停止させる。副処理装置3で処理すべきマクロ命
令の場合はGOフリップ・フロップ20をセットして処
理を開始する(マシンサイクルT3)。一方、主処理装
置2はマクロ命令コ−ド‘こよる分岐を行なった後、マ
クロ命令が副処理袋贋3で処理すべき命令の場合、BS
Yフリツプ・フロツプ15′をテストし、副処理装置が
他のマクロ命令を処理中であったか否かを調べる(マシ
ンサイクルT3)。BSYフリップ・フロツプ15′が
1のときは新たに読み出したマクロ命令は実行されない
ので、このことをソフトウェアに知らせるため割込み処
理を行なうマイクロプログラムへ分岐する。BSYフリ
ツプ・フロツプ1 5′が0のときはSTART信号1
6′をセットする。START信号1 6′によりGO
フリップ・フロッブ20の状態が斑Yフリップ・フロッ
プ15′にセットされる。以後、副処理装置3で処理し
ているマクロ命令が浮動小数点四則演算命令のように処
理時間の短い命令であれば、斑YフIJップ・フロップ
15′をテストして処理が終了するのを待つ。そして、
マシンサイクルT7で副処理装置3がマクロ命令の処理
を終了し、GOフリツプ・フロツプ2 0とBSYフリ
ツプ・フロップ15′をリセツトすると、次のマクロ命
令を読み出す(マシンサイクルT9)。また、マクロ命
令が配列計算のように処理時間の長い命令であれば、M
MIから次のマクロ命令を読み出し、主処理装置2と副
処理装置3は並列動作にはいる。副処理装置3がマクロ
命令の処理を終了すると、入出力装置が主処理装置へ割
込みをかけるために従来から行なわれている方法と同様
にして、副処理装置3は主処理装置2へ割込みをかける
。このように本発明によれば従来例で説明したマシンサ
イクルT2〜T5の期間が不要になり、副処理装置で処
理するマクロ命令の処理速度が向上する。なお、本実施
例では副処理装置3がすでにマクロ命令を処理中であり
、次にマクロ命令を処理できない場合、それを主処理装
置2で判別できるようにGOフリツプ・フロツプ20と
BSYフリップ・フロップ15′を用意した。しかし、
主処理装置2と副処理装置3が並列動作しなければ、G
Oフリツプ・フロツプ2 0がBSYフリツプ・フロッ
プの役割を果たし、フリツプ・フロップは1個でよい。
次に副処理装置3で処理するマクロ命令を追加する方法
について説明する。
First, in machine cycle T, a macro instruction is read from the MMI. At this time, the difference from the dependent example is that at the same time the read macro instruction is set in IR5, the subprocessing unit 3 is operating (BSY flip-flop 15' is set to 1).
), set it to SIRI O'.
When BSY flip-flop 15' is 1, sub-processing unit 3 is processing another macro instruction, so
Setting of 0' is not performed. When BSY flip-flop 15' is 0, machine cycle T, SIRIO'
A macro instruction is set in , and activated by the IF signal 8. The activated sub-processing device 3 performs S in machine cycle T2.
According to the address generated in the ROM corresponding to the instruction code of the macro instruction set in IR10', the program branches to a microprogram that processes each macro instruction. S
It is the same as in the conventional example that a microinstruction address is generated from the instruction code of IRIO' by the ROM 11', set in CMAR13, and branched. However, in the present invention, since activation is also performed by macro instructions that are not processed by the sub-processing device 3, a microprogram is prepared in which these macro instructions branch, and the sub-processing device 3 is stopped there. In the case of a macro instruction to be processed by the sub-processing unit 3, the GO flip-flop 20 is set and processing is started (machine cycle T3). On the other hand, after the main processing unit 2 performs a branch due to the macro instruction code, if the macro instruction is an instruction to be processed by the sub-processing unit 3, the BS
The Y flip-flop 15' is tested to determine whether the subprocessing unit was processing another macro instruction (machine cycle T3). When the BSY flip-flop 15' is 1, the newly read macro instruction will not be executed, so in order to inform the software of this fact, the program branches to a microprogram that performs interrupt processing. BSY flip-flop 1 When 5' is 0, START signal 1
Set 6'. GO by START signal 1 6'
The state of flip-flop 20 is set to Y flip-flop 15'. Thereafter, if the macro instruction being processed by the sub-processing unit 3 is an instruction with a short processing time, such as a floating point arithmetic instruction, the CPU 15' is tested and the processing is completed. wait. and,
In machine cycle T7, subprocessing unit 3 finishes processing the macro instruction, resets GO flip-flop 20 and BSY flip-flop 15', and reads out the next macro instruction (machine cycle T9). Also, if the macro instruction is an instruction that takes a long time to process, such as array calculation, M
The next macro instruction is read from the MI, and the main processing unit 2 and sub-processing unit 3 enter parallel operation. When the sub-processing device 3 finishes processing the macro instruction, the sub-processing device 3 issues an interrupt to the main processing device 2 in the same manner as the conventional method used for an input/output device to issue an interrupt to the main processing device. put on. As described above, according to the present invention, the period of machine cycles T2 to T5 described in the conventional example becomes unnecessary, and the processing speed of macro instructions processed by the sub-processing device is improved. In this embodiment, if the sub-processing device 3 is already processing a macro instruction and cannot process the next macro instruction, the GO flip-flop 20 and the BSY flip-flop are used so that the main processing device 2 can determine this. 15' was prepared. but,
If the main processing device 2 and sub-processing device 3 do not operate in parallel, G
O flip-flop 20 plays the role of a BSY flip-flop, and only one flip-flop is required.
Next, a method for adding macro instructions to be processed by the sub-processing device 3 will be explained.

主処理装置2は今後追加する予定のマクロ命令について
も副処理装置3で処理できるマクロ命令と同じ処理を行
なう。一方、副処理装置3には、マクロ命令を追加する
前は不当命令コードの割込みを主処理装置2に対してか
けるようなマイクロプログラムを置く。副処理装置3が
主処理装置2へ割込みをかける方法は、処理時間の長い
マクロ命令の実行を終了して割込みをかける方法と同じ
である。そしてマクロ命令を追加するときは、その処理
プログラムを副処理装置のコントロール・メモリへ追加
するだけで・よい。‘51まとめ 以上説明したごと〈本発明によれば、主処理装置がマク
ロ命令を読み出してから副処理装置を起動するまでの時
間が不要になるため、副処理装置で処理するマクロ命令
の処理速度を向上できる。
The main processing device 2 performs the same processing as the macro instructions that can be processed by the sub-processing device 3 regarding macro instructions that are scheduled to be added in the future. On the other hand, the sub-processing device 3 is provided with a microprogram that interrupts the main processing device 2 with an illegal instruction code before adding the macro instruction. The method by which the sub-processing device 3 issues an interrupt to the main processing device 2 is the same as the method in which an interrupt is made after finishing the execution of a macro instruction that takes a long processing time. When adding a macro instruction, all you need to do is add the processing program to the control memory of the sub-processing unit. '51 Summary As explained above, <According to the present invention, since the time from when the main processing unit reads the macro instruction to when the sub-processing unit is started is not required, the processing speed of the macro instruction processed by the sub-processing unit is reduced. can be improved.

また、本発明を実施するためのハードウェアの追加分は
、従来例と比べて明らかなように非常にわずかでよい。
更に副処理装置で処理するマクロ命令を追加する場合も
、主処理装置の側の変更は不要であり、副処理装置のマ
クロプログラムを追加するのみでよい。
Additionally, the amount of additional hardware needed to implement the present invention is very small compared to the conventional example.
Furthermore, when adding macro instructions to be processed by the sub-processing device, there is no need to change the main processing device, and it is only necessary to add the macro program of the sub-processing device.

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

第1図は従来技術により主処理装置2と副処理装置3か
らなる情報処理装置を構成したときに、主記憶装置1か
ら読み出したマクロ命令の処理の制御を説明するための
ブロック図であり、第2図がそのタイミング・チャート
である。 第3図は本発明の1実施例であり、マクロ命令の処理を
制御する部分のブロック図である。第4図はそのタイミ
ング・チヤ−トである。多′蟹 努之解 多〆函 多4図
FIG. 1 is a block diagram for explaining the control of processing of macro instructions read from the main storage device 1 when an information processing device consisting of a main processing device 2 and a sub-processing device 3 is configured according to the prior art. FIG. 2 is the timing chart. FIG. 3 shows one embodiment of the present invention, and is a block diagram of a portion that controls processing of macro instructions. FIG. 4 is the timing chart. 4 illustrations of many boxes

Claims (1)

【特許請求の範囲】[Claims] 1 主処理装置と副処理装置とからなり、主記憶装置か
らのマクロ命令を読み出して同じタイミングでセツトす
る前記各処理装置に設けられた命令レジスタと、前記マ
クロ命令が主処理装置で処理すべき命令であるか、副処
理装置で処理すべきであるかを解読する前記各処理装置
に設けられた手段と、前記解読された処理命令が、自己
の処理命令であれば、その処理を行ない、前記解読され
た処理命令が自己の処理命令でなければ、その処理を停
止する前記各処理装置に設けられた制御手段と、前記副
処理装置から前記主処理装置に対して送られた次のマク
ロ命令に進んでもよいことを示すテスト信号により前記
主記憶装置から次のマクロ命令を読み出す前記主処理装
置に設けられた手段とを有することを特徴とする情報処
理装置。
1 Consists of a main processing unit and a sub-processing unit, and an instruction register provided in each processing unit that reads macro instructions from the main memory and sets them at the same timing, and a register that registers the macro instructions to be processed by the main processing unit. means provided in each of the processing devices for decoding whether the processing instruction is a command or should be processed by a sub-processing device; and if the decoded processing instruction is its own processing instruction, processing the processing instruction; control means provided in each of the processing devices to stop the processing if the decoded processing instruction is not its own processing instruction; and a control means provided in each of the processing devices, and a next macro sent from the sub-processing device to the main processing device. An information processing device comprising: means provided in the main processing device for reading a next macro instruction from the main storage device in response to a test signal indicating that it is OK to proceed to the instruction.
JP10155377A 1977-08-26 1977-08-26 information processing equipment Expired JPS6019028B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10155377A JPS6019028B2 (en) 1977-08-26 1977-08-26 information processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10155377A JPS6019028B2 (en) 1977-08-26 1977-08-26 information processing equipment

Publications (2)

Publication Number Publication Date
JPS5435654A JPS5435654A (en) 1979-03-15
JPS6019028B2 true JPS6019028B2 (en) 1985-05-14

Family

ID=14303604

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10155377A Expired JPS6019028B2 (en) 1977-08-26 1977-08-26 information processing equipment

Country Status (1)

Country Link
JP (1) JPS6019028B2 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS573139A (en) * 1980-06-06 1982-01-08 Mitsubishi Electric Corp Operation processor
US4399505A (en) * 1981-02-06 1983-08-16 Data General Corporaton External microcode operation in a multi-level microprocessor
JPS57152045A (en) * 1981-03-13 1982-09-20 Hitachi Ltd Computer system
JPS5829051A (en) * 1981-08-17 1983-02-21 Nec Corp Operation processing device
JPS5851353A (en) * 1981-09-24 1983-03-26 Nippon Telegr & Teleph Corp <Ntt> Program control circuit
JPS6037037A (en) * 1983-04-11 1985-02-26 Hitachi Ltd Pipeline type data processor
JPS59212961A (en) * 1983-05-18 1984-12-01 Hitachi Ltd Hierarchical arithmetic system
JPH081604B2 (en) * 1983-07-25 1996-01-10 株式会社日立製作所 Microprocessor
US5165033A (en) * 1983-07-25 1992-11-17 Hitachi, Ltd. Microprocessor and data processor using the former
JPS61141038A (en) * 1984-12-14 1986-06-28 Nippon Telegr & Teleph Corp <Ntt> Microprogram control processor
JPH01243167A (en) * 1988-03-25 1989-09-27 Hitachi Ltd Data processor

Also Published As

Publication number Publication date
JPS5435654A (en) 1979-03-15

Similar Documents

Publication Publication Date Title
JPS6019028B2 (en) information processing equipment
KR100188374B1 (en) Central processing unit and an arithmetic operation processing unit
JPS6049337B2 (en) Pipeline control method
JP2005100017A (en) Processor simulator, interruption delay count program and simulation method of processor
JP2583506B2 (en) Data processing device
JPH04288625A (en) Microcomputer
JP2758624B2 (en) Speed control method of micro program
JPS6120900B2 (en)
JPH05298088A (en) Microcomputer
JPS62156738A (en) Program controller
JPS58200349A (en) Microprogram controller
JPS6122818B2 (en)
JPS5916054A (en) Microprocessor
JPS6015969B2 (en) Microinstruction address generation method
JPH01114944A (en) Pipe-line system processor
JPS6236581B2 (en)
JPH04245332A (en) Data processor
JPS595354A (en) Data processing device
JPS61241843A (en) Information processor
JPS60247743A (en) Pipeline arithmetic controller
JPS59160239A (en) Information processing device
JPS60156141A (en) Arithmetic and control unit
JPS62197834A (en) Microprogram controller
JPS62296236A (en) Interruption processor for microprocessor
JPS60247742A (en) Pipeline arithmetic controller