JPS588011B2 - Microprogram Seigiyohoshiki - Google Patents
Microprogram SeigiyohoshikiInfo
- Publication number
- JPS588011B2 JPS588011B2 JP1795874A JP1795874A JPS588011B2 JP S588011 B2 JPS588011 B2 JP S588011B2 JP 1795874 A JP1795874 A JP 1795874A JP 1795874 A JP1795874 A JP 1795874A JP S588011 B2 JPS588011 B2 JP S588011B2
- Authority
- JP
- Japan
- Prior art keywords
- memory
- address
- microprogram
- operation code
- mpc
- 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
Links
Description
【発明の詳細な説明】
本発明はミニコンピュータ等の小型の電子計算機に多用
されているマイクロプログラム制御方式に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a microprogram control system often used in small electronic computers such as minicomputers.
マイクロプログラムに依ってマクロ命令を実行するに際
してマクロ命令の各処理ルーチンへ分岐するには、■R
のオペレーションコード部に依つてアクセスされるデコ
ーダ(ROM)を設け、そのデコーダから読み出されて
来る番地を一旦MPCに移し、それに依つそマクロ命令
を実行する為のマイクロプログラムをメモリから読み出
す方法や、或いはマクロ命令のオペレーションコート部
で示されるメモリの番地へ一度ジャンプさせ、然る後そ
の番地に書き込まれているマクロ命令を実行する為のマ
イクロプログラム番地までジャンプせよ、の命令に従っ
てジャンプして実行する方法が考えられるが、前者の方
法ではデコーダが別途必要であるし、また後者に依れば
マクロ命令を実際に実行するまでに2ステップ掛り処理
速度の低下を来たす。To branch to each processing routine of the macro instruction when executing the macro instruction by the microprogram, use ■R.
A method of providing a decoder (ROM) that is accessed by the operation code section of the decoder, temporarily transferring the address read from the decoder to the MPC, and then reading the microprogram for executing the macro instruction from the memory. Or, jump to the memory address indicated by the operation code part of the macro instruction, and then jump to the microprogram address to execute the macro instruction written at that address. There are several ways to do this, but the former method requires a separate decoder, and the latter requires two steps to actually execute the macro instruction, which slows down the processing speed.
本発明は斯る難点を改善すべく為されたものであって、
以下に図面を参照しつつ詳述する。The present invention has been made to improve these difficulties, and
A detailed description will be given below with reference to the drawings.
図に於て、1はマクロ命令が導入されるIR、2はマイ
クロプログラムが記憶されているメモリでROMから成
っている。In the figure, 1 is an IR into which macro instructions are introduced, and 2 is a memory in which microprograms are stored, which is comprised of a ROM.
3は該メモリ2から読ミ出されて来るマイクロプログラ
ムを一時的に貯えるMBR、4は該レジスタの内容に基
いて各種の制御信号を発生する信号発生回路、5は上記
メモリ2のアクセス番地を指定するMPCで、該MPC
5の内容と上記IR1のうちの少くともオペレーション
コード部とは信号発生回路4からの信号に基いて切り換
わる切り換え回路6に依って適宜メモリ2のアドレス入
力としてメモリ2に印加される。3 is an MBR that temporarily stores the microprogram read out from the memory 2; 4 is a signal generation circuit that generates various control signals based on the contents of the register; 5 is an access address of the memory 2; In the specified MPC, the MPC
The contents of 5 and at least the operation code portion of IR1 are applied to the memory 2 as an address input to the memory 2 as appropriate by a switching circuit 6 that switches based on a signal from the signal generating circuit 4.
また上記メモリ2から読み出されて来る内容はMMB3
に印加されると同時に信号発生回路4からの信号に依っ
て開閉するゲート7を介してMPC5に直接導入される
。Also, the content read from the memory 2 is MMB3.
At the same time, the signal is directly introduced into the MPC 5 via the gate 7 which opens and closes depending on the signal from the signal generating circuit 4.
このゲート1が開くのはメモリ2のアドレス入力として
IR1にあるマクロ命令のオペレーションコード部が用
いられてそのオペレーションコード部に対応するメモリ
2の番地に記憶されている内容がメモリ2から読み出さ
れて来る時のみである。Gate 1 opens because the operation code part of the macro instruction in IR1 is used as the address input to memory 2, and the contents stored at the address in memory 2 corresponding to the operation code part are read out from memory 2. Only when you come.
尚、マクロ命令のオペレーションコード部で指定される
メモリ2番地にはそのオペレーションコード部に対応す
る処理を実行する為のマイクロプログラムの先頭番地の
みが導入されている。Note that the memory address 2 specified by the operation code section of the macro instruction contains only the starting address of the microprogram for executing the process corresponding to the operation code section.
而して実行すべきマクロ命令がIR1に導入されると、
切り換え回路6がIRI側に切り換わり、そのマクロ命
令のオペレーションコード部がメモリ2に対するアドレ
ス入力となり、メモリ2がアクセスされる。When the macro instruction to be executed is introduced into IR1,
The switching circuit 6 switches to the IRI side, the operation code section of the macro instruction becomes the address input to the memory 2, and the memory 2 is accessed.
この時アクセスされるメモリ2の番地にはそのマクロ命
令を実行する為のマイクロプログラムの先頭番地のみが
書き込まれているので、その先頭番地はゲート7を経て
MPC5に転送され、MPC5側に切り換わっている切
り換え回路6を介してこのMPC5の内容、即ちマクロ
命令実行の為のマイクロプログラムの先頭番地がメモリ
2のアドレス入力としてメモリ2に印加され、このマク
ロ命令実行の為のマイクロプログラムがアクセスされ、
MBR3に読み出されて信号発生回路4に印加され、そ
のマイクロプログラムを実行する為の信号を発生すると
同時にMPC5の内容を+1して順次マイクロプログラ
ムをアクセスする。Since only the start address of the microprogram for executing the macro instruction is written in the memory 2 address accessed at this time, the start address is transferred to the MPC5 via gate 7 and switched to the MPC5 side. The contents of the MPC 5, that is, the starting address of the microprogram for executing the macro instruction, are applied to the memory 2 as an address input to the memory 2 through the switching circuit 6, and the microprogram for executing the macro instruction is accessed. ,
The data is read out to the MBR 3 and applied to the signal generation circuit 4 to generate a signal for executing the microprogram, and at the same time, the contents of the MPC 5 are incremented by 1 to sequentially access the microprogram.
本発明は以上の説明から明らかな如く、マクロ命令の各
処理ルーチンへ分岐するに際し、■Rのオペレーション
コード部で直接その命令実行ノ為のマイクロプログラム
の先頭番地が導入されている番地をアクセスすると共に
そのアクセス動作に依って読み出される先頭番地を直接
MPCに印加しているので、別途デコーダを設ける必要
がない上に1ステップでマクロ命令の実行に移る事が出
来、処理速度の高速化が可能である。As is clear from the above description, when branching to each processing routine of a macro instruction, the present invention directly accesses the address where the start address of the microprogram for executing that instruction is introduced in the operation code section of R. At the same time, the first address read by the access operation is applied directly to the MPC, so there is no need to provide a separate decoder and execution of macro instructions can be executed in one step, increasing processing speed. It is.
図は本発明方式を実施する際の構成を示すブロック図で
あって、1はIR,2はメモリ、3はMBR、4は信号
発生回路、5はMPC、6は切り換え回路、7はゲート
、を夫々示している。The figure is a block diagram showing the configuration when implementing the method of the present invention, in which 1 is an IR, 2 is a memory, 3 is an MBR, 4 is a signal generation circuit, 5 is an MPC, 6 is a switching circuit, 7 is a gate, are shown respectively.
Claims (1)
タ(以下IRと略す)と、マイクロプログラムが記憶さ
れているメモリと、該メモリから読み出されて来るマイ
クロプログラムを一時的に貯えるメモリバツファレジス
タ(以下MBRと略す)と、該レジスタの内容に基いて
各種の制御信号を発生する信号発生回路と、上記メモリ
のアクセス番地を指定するマイクロプログラムカウンタ
(以下MPCと略す)と、から成り、IRの内容のうち
のオペレーションコード部とMPCの内容とは信号発生
回路からの信号に依って適宜切り換えられてメモリに対
するアドレス入力となると共にIRのオペレーションコ
ード部に依ってアクセスさレルメモリの番地にはそのオ
ペレーションコード部に対応する処理を実行する為のマ
イクロプログラムの先頭番地を導入しておき、■Rのオ
ペレーションコード部がアドレス入力としてメモリをア
クセスした時のみメモリから読み出される先頭番地をM
PCに直接導入し、そのMPCの内容に応じて順次メモ
リのマイクロプログラムを読み出して実行する事を特徴
としたマイクロプログラム制御方式。1. An instruction register (hereinafter referred to as IR) into which macro instructions are introduced, a memory in which microprograms are stored, and a memory buffer register (hereinafter referred to as MBR) in which the microprograms read from the memory are temporarily stored. (abbreviated)), a signal generation circuit that generates various control signals based on the contents of the register, and a microprogram counter (hereinafter abbreviated as MPC) that specifies the access address of the memory. The operation code section of the IR and the contents of the MPC are switched as appropriate by the signal from the signal generation circuit, and serve as address inputs to the memory, and the address of the memory accessed by the operation code section of the IR is stored in the operation code section. Introduce the starting address of the microprogram to execute the corresponding process, and set the starting address read from the memory only when the operation code section of R accesses the memory as an address input.
A microprogram control method that is directly installed in a PC and sequentially reads and executes microprograms in memory according to the contents of the MPC.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1795874A JPS588011B2 (en) | 1974-02-14 | 1974-02-14 | Microprogram Seigiyohoshiki |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1795874A JPS588011B2 (en) | 1974-02-14 | 1974-02-14 | Microprogram Seigiyohoshiki |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS50113146A JPS50113146A (en) | 1975-09-05 |
| JPS588011B2 true JPS588011B2 (en) | 1983-02-14 |
Family
ID=11958244
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1795874A Expired JPS588011B2 (en) | 1974-02-14 | 1974-02-14 | Microprogram Seigiyohoshiki |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS588011B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS60130303U (en) * | 1984-02-09 | 1985-08-31 | リンナイ株式会社 | Open combustion stove |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6047610B2 (en) * | 1976-11-18 | 1985-10-22 | 富士通株式会社 | data processing equipment |
| JPS5451437A (en) * | 1977-09-30 | 1979-04-23 | Fujitsu Ltd | Instruction control system for multi-stage advance |
| JPS57207950A (en) * | 1981-06-17 | 1982-12-20 | Fujitsu Ltd | Rom controlling system of pla |
-
1974
- 1974-02-14 JP JP1795874A patent/JPS588011B2/en not_active Expired
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS60130303U (en) * | 1984-02-09 | 1985-08-31 | リンナイ株式会社 | Open combustion stove |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS50113146A (en) | 1975-09-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0248931B2 (en) | ||
| JPS588011B2 (en) | Microprogram Seigiyohoshiki | |
| JPH0523447B2 (en) | ||
| JPH0218729B2 (en) | ||
| JP2637070B2 (en) | Micro instruction start address generation method | |
| JPS6353644A (en) | Instruction control device | |
| JPS6353643A (en) | Instruction control device | |
| JPS5829051A (en) | Operation processing device | |
| JPH04167146A (en) | Address tracing system for information processor | |
| JPS6028014B2 (en) | microprocessor | |
| JPH0353321A (en) | information processing equipment | |
| JPH0437926A (en) | Digital computer | |
| JPS5960647A (en) | Memory access control method | |
| JPS5971542A (en) | Arithmetic processor | |
| JPS6049939B2 (en) | Arithmetic device using a microprocessor | |
| JPH036735A (en) | Data processor | |
| JPH0454531A (en) | Program reading circuit | |
| JPS63153637A (en) | Data processor | |
| JPH05233320A (en) | Microcomputer | |
| JPS6352237A (en) | Arithmetic system | |
| JPH0319570B2 (en) | ||
| JPH03164945A (en) | Data processor | |
| JPH0561733A (en) | Trace information storing system for information processor | |
| JPH04139535A (en) | Operand data access system | |
| JPS60134346A (en) | Parity error detection method |