JPS61131126A - Information processing unit - Google Patents
Information processing unitInfo
- Publication number
- JPS61131126A JPS61131126A JP25334484A JP25334484A JPS61131126A JP S61131126 A JPS61131126 A JP S61131126A JP 25334484 A JP25334484 A JP 25334484A JP 25334484 A JP25334484 A JP 25334484A JP S61131126 A JPS61131126 A JP S61131126A
- Authority
- JP
- Japan
- Prior art keywords
- microprogram
- address
- register
- area
- content
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/22—Microcontrol or microprogram arrangements
- G06F9/26—Address formation of the next micro-instruction ; Microprogram storage or retrieval arrangements
- G06F9/262—Arrangements for next microinstruction selection
- G06F9/268—Microinstruction selection not based on processing results, e.g. interrupt, patch, first cycle store, diagnostic programs
Abstract
Description
【発明の詳細な説明】
〔発明の技術分野〕
本発明はマイクロプログラム制御方式の情報処理装置に
関する。DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to an information processing device using a microprogram control method.
従来のマイクロプログラム制御方式の情報処理装置にお
いては、マイクロプログラムの実行途中で動作を中断さ
せたい場合にはマイクロプログラムアドレスマツチによ
りマイクロプログラムを停止させるか、マイクロプログ
ラムが書換え可能制御記憶(WO2)上にあるものでは
中断させたいプログラムの1ステツプを無条件分岐のマ
イクロ命令に書換えることにより中断を行っていた。In conventional microprogram control type information processing devices, if you want to interrupt the operation of a microprogram in the middle of its execution, you can either stop the microprogram by a microprogram address match, or write the microprogram to a rewritable control memory (WO2). In the previous version, the program was interrupted by rewriting one step of the program to be interrupted into an unconditional branch microinstruction.
前記マイクロプログラムアドレスマツチでは1アドレス
に対しての中断しか実行できないという欠点があり、マ
イクロ命令を書換える方法ではプログラムの内容が変っ
ているため、次にプログラムを再開する場合に正しく再
開できないという欠点があった。The disadvantage of the microprogram address match method is that it is only possible to interrupt one address, and the method of rewriting the microinstruction has the disadvantage that the program cannot be restarted correctly the next time because the contents of the program have changed. was there.
本発明は前記従来技術の欠点を解消し、マイクロプログ
ラムの動作シーケンスに影響を与えることなく、マイク
ロプログラムを中断させ得る。ボイントを複数個設定可
能とすることを目的とする。The present invention overcomes the drawbacks of the prior art and allows a microprogram to be interrupted without affecting the operating sequence of the microprogram. The purpose is to allow multiple points to be set.
本発明はマイクロプログラムの格納されている制御記憶
の記憶領域を等分し、それぞれの領域に対応し、動作を
中断するアドレスを格納するブレークアドレスレジスタ
を設け、このレジスタの内容とマイクロプログラムを読
出すアドレスレジスタの内容との一致によりマイクロプ
ログラム動作を中断するようにしてその目的を達成した
ものである。The present invention divides the storage area of the control memory where the microprogram is stored into equal parts, and provides a break address register corresponding to each area to store an address for interrupting the operation, and reads the contents of this register and the microprogram. This purpose is achieved by interrupting the microprogram operation upon a match with the contents of the output address register.
第1図は本発明の一実施例を示すブロック図であり、(
1)はマイクロプログラムの格納されている制御記憶、
(2)はこの制御記憶(1)のアドレスレジスタ、(3
)はマイクロプログラムを中断するアドレスを格納する
レジスタ群(以下ブレークアドレスレジスタ又はBAR
と記す)、(4)はこのBAR群(3)の1つを選択す
るためのセレクタ、(5)はこのセレクタ(4)の出力
と前記制御記憶(1)のアドレスレジスタとの比較器で
ある。又(6)はこの比較器が一致したときに真になる
信号で、マイクロプログラムのブレークポイント信号と
なる信号である。FIG. 1 is a block diagram showing one embodiment of the present invention.
1) is a control memory in which microprograms are stored;
(2) is the address register of this control memory (1), (3
) is a group of registers (hereinafter referred to as break address registers or BAR) that stores the address at which to interrupt the microprogram.
), (4) is a selector for selecting one of this BAR group (3), and (5) is a comparator between the output of this selector (4) and the address register of the control memory (1). be. Further, (6) is a signal that becomes true when this comparator matches, and is a signal that becomes a breakpoint signal for the microprogram.
次に第1図の動作を説明する。まず通常の動作の場合は
、マイクロプログラムの格納されている制御記憶(1)
からアドレスレジスタ(2)に従ってマイクロプログラ
ムが読出され実行される。マイクロプログラムの読出し
はその後アドレスレジスタ(2)がカウントアツプされ
るか、分岐マイクロ命令により分岐先アドレスがアドレ
スレジスタ(2)に格納されるかに従って実行される。Next, the operation shown in FIG. 1 will be explained. First, in the case of normal operation, the control memory (1) where the microprogram is stored
The microprogram is read out and executed according to the address register (2). Reading of the microprogram is then executed depending on whether the address register (2) is counted up or whether a branch destination address is stored in the address register (2) by a branch microinstruction.
マイクロプログラムを中断する動作ではアドレスは第1
図の例では4つ用意されておりこれがBAR群(3)を
構成している。但しこの4つのアドレスは制御記憶
1(1)を4つに等分した領域にそれぞれ1ず
つが対応する。アドレスレジスタ(2)のアドレスの上
位2ビツトにより、この制御記憶(1)の領域が決定さ
れるので、この上位2ビツトによりセレクタ(4)が切
換えられその領域に対応するBAR(3)の1つの内容
が比較器(5)に入力される。比較器(5)にはさらに
アドレスレジスタ(2)の内容が入力されるので、この
2種の信号が比較される。この2種の信号が・一致した
場合、ブレークポイント信号が真となりマイクロプログ
ラムの動作を中断させる。In the operation that interrupts the microprogram, the address is the first
In the example shown, four are prepared, and these constitute the BAR group (3). However, these four addresses are control memory
1 corresponds to each area obtained by equally dividing 1 (1) into four areas. The upper 2 bits of the address of the address register (2) determine the area of this control memory (1), so the selector (4) is switched by these upper 2 bits and the 1 of BAR (3) corresponding to that area is selected. The contents of one are input to the comparator (5). Since the contents of the address register (2) are further input to the comparator (5), these two types of signals are compared. When these two types of signals match, the breakpoint signal becomes true and the operation of the microprogram is interrupted.
中断の処理としては種々あるが、例えばブレークポイン
ト信号(6)により、クロックを停止させ。There are various types of interruption processing, but for example, the clock is stopped by a breakpoint signal (6).
サービスプロセッサ等で内部レジスタ等を読出して処理
を済ませた後、サービスプロセッサにより、ブレークポ
イント信号を屏除して本来の処理を再開する等が考えら
れる。After the service processor or the like reads the internal registers and completes the processing, the service processor may remove the breakpoint signal and resume the original processing.
本発明は以上のようになるものであって、マイクロプロ
グラムの動作を中断させるポイントとして複数個の設定
が可能となる。また動作を中断した後で、マイクロプロ
グラムの動作シーケンスを乱すことなく処理を再開する
ことが可能となる等の効果が得られる。The present invention is as described above, and it is possible to set a plurality of points at which the operation of the microprogram is interrupted. Further, after interrupting the operation, it is possible to restart the processing without disturbing the operation sequence of the microprogram.
第1図は本発明の一実施例を示すブロック図である。
に制御記憶、2ニアドレスレジスタ、3ニブレ一クアド
レスレジスタ群、4:セレクタ、5:比較器、6:ブレ
ークポイント信号。FIG. 1 is a block diagram showing one embodiment of the present invention. Control memory, 2 near address registers, 3 near address register group, 4: selector, 5: comparator, 6: breakpoint signal.
Claims (1)
マイクロプログラムの格納されている制御記憶を等分し
た領域にそれぞれ対応し、動作を中断するアドレスを格
納するブレークアドレスレジスタの複数個と、この複数
個のブレークアドレスレジスタの1つを選択するための
セレクタと、そのセレクトされたアドレスとマイクロプ
ログラムを読出すアドレスレジスタの内容とを比較する
比較器と、この比較器で一致がとれた場合にマイクロプ
ログラムの動作を中断し他の処理を行った後にマイクロ
プログラムの本来の処理を再開する手段とを具備するこ
とを特徴とする情報処理装置。An information processing device using a microprogram control method,
A plurality of break address registers each corresponding to an equally divided area of the control memory where the microprogram is stored and storing an address for interrupting operation, and a register for selecting one of the plurality of break address registers. A selector, a comparator that compares the selected address with the contents of the address register from which the microprogram is read, and if a match is found in this comparator, the operation of the microprogram is interrupted and other processing is performed. An information processing device comprising means for restarting the original processing of a microprogram.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP25334484A JPS61131126A (en) | 1984-11-30 | 1984-11-30 | Information processing unit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP25334484A JPS61131126A (en) | 1984-11-30 | 1984-11-30 | Information processing unit |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS61131126A true JPS61131126A (en) | 1986-06-18 |
Family
ID=17250020
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP25334484A Pending JPS61131126A (en) | 1984-11-30 | 1984-11-30 | Information processing unit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS61131126A (en) |
-
1984
- 1984-11-30 JP JP25334484A patent/JPS61131126A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5600807A (en) | Programmable controller capable of updating a user program during operation by switching between user program memories | |
JPS6212529B2 (en) | ||
JPS61131126A (en) | Information processing unit | |
JPS5826043B2 (en) | Processor reset method | |
JPH0377137A (en) | Information processor | |
JPS61131125A (en) | Information processing unit | |
JPS6242301B2 (en) | ||
JPH1027153A (en) | Bus transfer device | |
JPS6270947A (en) | Control system for debug interruption | |
JPH01130228A (en) | Microprogram controller | |
JPH01114940A (en) | Signal processor | |
JPH02183330A (en) | Data processor | |
JPS63120336A (en) | Switching system for memory access mode | |
JPS59186048A (en) | Microprogram control system | |
JPS59161751A (en) | Recording device for instruction run address | |
JPS63123137A (en) | Address coincidence signal generating system | |
JPS6362037A (en) | Microprogram controller | |
JPS5935264A (en) | Magnetic disk device | |
JPH04128944A (en) | Microprogram execution history information collector | |
JPS5969843A (en) | Controlling method of microprogram | |
JPS62221030A (en) | Microprogram control system | |
JPS6024643A (en) | Microprogram controlling system | |
JPS61143848A (en) | Microprogram controller | |
JPS61175731A (en) | Microprogram control system | |
JPS60173633A (en) | Arithmetic processing unit |