JPH024007B2 - - Google Patents
Info
- Publication number
- JPH024007B2 JPH024007B2 JP216484A JP216484A JPH024007B2 JP H024007 B2 JPH024007 B2 JP H024007B2 JP 216484 A JP216484 A JP 216484A JP 216484 A JP216484 A JP 216484A JP H024007 B2 JPH024007 B2 JP H024007B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- control data
- parameter
- micro
- processing
- 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
- 230000006870 function Effects 0.000 claims description 13
- 238000000034 method Methods 0.000 claims description 7
- 238000001514 detection method Methods 0.000 description 3
- 230000004913 activation Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
Description
【発明の詳細な説明】
〔発明の技術分野〕
この発明は複数の機能または特性のうち1つを
選択してこれを実現するマイクロ・プログラム制
御処理装置の起動方向に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to the activation direction of a microprogram-controlled processing device that selects and implements one of a plurality of functions or characteristics.
従来、複数の機能または特性のうち1つを選択
して実現するマイクロ・プログラム制御処理装置
では、第1図に示すような起動方法が用いられて
いる。第1図の例は、選択できる機能または特性
の種類を4種類とし、マイクロ・プログラムのス
タート1、初期設定部2、制御データ読み取り部
3、制御データ判別部4、パラメータ設定マイク
ロ・プログラム5,6,7,8及び処理マイク
ロ・プログラム9,10,11,12より構成さ
れる。
BACKGROUND ART Conventionally, a startup method as shown in FIG. 1 has been used in a microprogram control processing device that selects and implements one of a plurality of functions or characteristics. In the example shown in FIG. 1, there are four types of functions or characteristics that can be selected: micro program start 1, initial setting section 2, control data reading section 3, control data discriminating section 4, parameter setting micro program 5, 6, 7, 8 and processing micro programs 9, 10, 11, 12.
このような構成において、先ず初期設定部2に
よつてレジスタ、フラグの初期設定を行ない、次
に制御データ読み取り部3によつて制御データを
内部レジスタに読み取る。読み取られた制御デー
タは制御データ判別部4で判別され、その判別結
果に従つて制御データ判別部4内のジヤンプ・テ
ーブルが参照され、パラメータ設定マイクロ・プ
ログラム5,6,7,8のいづれか1つに飛び先
きが指定される。そして、選択されたパラメータ
設定マイクロ・プログラム5,6,7,8のいづ
れか1つによつて、選択された機能または特性を
実現する為の全パラメータがデータ・メモリに設
定される。 In such a configuration, first, the initial setting section 2 initializes the registers and flags, and then the control data reading section 3 reads the control data into the internal register. The read control data is discriminated by the control data discriminator 4, and according to the discrimination result, the jump table in the control data discriminator 4 is referred to, and one of the parameter setting micro programs 5, 6, 7, and 8 is executed. The jump destination is specified. Then, by any one of the selected parameter setting microprograms 5, 6, 7, and 8, all parameters for realizing the selected function or characteristic are set in the data memory.
各パラメータ設定マイクロ・プログラム5,
6,7,8の次には処理マイクロ・プログラム
9,10,11,12がそれぞれ用意され、各パ
ラメータ設定マイクロ・プログラムと処理マイク
ロ・プログラムが組となりいづれか1つの処理マ
イクロ・プログラムが実行され、制御データによ
つて選択された機能または特性が実現される。 Each parameter setting micro program 5,
Processing micro programs 9, 10, 11, and 12 are prepared next to 6, 7, and 8, and each parameter setting micro program and processing micro program are paired, and one of the processing micro programs is executed. The control data implements selected functions or characteristics.
しかしながら、第1図に示した従来例の場合、
パラメータ設定マイクロ・プログラムは各々、全
パラメータを設定する必要があり、ソフト・ウエ
アが冗長になつてしまい、また処理マイクロ・プ
ログラムが別々に用意されている為、更にソフ
ト・ウエアが冗長となる欠点がある。そして処理
マイクロ・プログラムを共用にして1つにした場
合でも、パラメータ設定マイクロ・プログラムの
冗長性は残り、効率的にマイクロ・プログラム制
御処理装置を起動することはできない。この欠点
を解決するため実現したい機能または特性を選択
する制御データをハード・ウエアによつて検出す
る検出回路を設け、ジヤンプ・テーブルを該検出
回路によつてアクセスして、飛び先きを指定する
ことによつてパラメータ設定マイクロ・プログラ
ム及び処理マイクロ・プログラムを選択し実行さ
せる方法が提案されている(特願昭53−133438
(特公昭58−24808))が、この方法の場合、検出
回路を設ける必要があり、ハード・ウエアが冗長
になるという欠点がある。 However, in the case of the conventional example shown in Fig. 1,
Each parameter setting micro program needs to set all parameters, making the software redundant, and since processing micro programs are prepared separately, the software becomes even more redundant. There is. Even if the processing microprograms are shared and unified, the redundancy of the parameter setting microprograms remains, making it impossible to efficiently start up the microprogram control processing device. To solve this drawback, a detection circuit is provided that uses hardware to detect control data for selecting the desired function or characteristic, and the jump table is accessed by the detection circuit to specify the jump destination. A method has been proposed in which a parameter setting micro program and a processing micro program are selected and executed (Japanese Patent Application No. 53-133438).
(Japanese Patent Publication No. 58-24808)) However, this method requires the provision of a detection circuit, which has the disadvantage of requiring redundant hardware.
したがつてこの発明の目的は、ハード・ウエア
およびソフト・ウエアを冗長にすることのないマ
イクロ・プログラム制御処理装置の起動方法を提
供することにある。
SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide a method for starting a microprogram-controlled processing device without making hardware and software redundant.
このような目的を達成するためにこの発明は、
実現したい機能または特性を選択する為の制御デ
ータをいくつかのデータ・ブロツクに分け各デー
タ・ブロツク単位に順次判別し、その判別結果に
従つていくつかのパラメータ群に分れたパラメー
タをパラメータ群毎にデータ・メモリに設定する
操作あるいは該判別結果に従つて分岐を行なう操
作を順次実行させ、最後に処理マイクロ・プログ
ラムのいづれか1つを実行させるようにしたもの
である。以下、実施例を示す図面を用いてこの発
明を詳細に説明する。 In order to achieve this purpose, this invention
The control data for selecting the desired function or characteristic to be realized is divided into several data blocks, each data block is sequentially determined, and according to the determination results, the parameters are divided into several parameter groups. Each time, an operation of setting data memory or an operation of branching according to the determination result is sequentially executed, and finally one of the processing microprograms is executed. Hereinafter, the present invention will be explained in detail using drawings showing embodiments.
第2図はこの発明の一実施例を示すフロー・チ
ヤートである。同図において13はマイクロ・プ
ログラムのスタート、14は初期設定部、15は
制御データ読み取り部、16,22はパラメータ
選択制御データの判別部、19,23は分岐選択
制御データの判別部、17,18,20,21,
24,25,26,27はパラメータ設定マイク
ロ・プログラム、28,29,30は処理マイク
ロ・プログラムである。本実施例では制御データ
のデータ・ブロツク数を3とし、選択して実現で
きる機能を8種類とした。
FIG. 2 is a flow chart showing one embodiment of the present invention. In the figure, 13 is the start of the micro program, 14 is the initial setting section, 15 is the control data reading section, 16, 22 is the parameter selection control data discrimination section, 19, 23 is the branch selection control data discrimination section, 17, 18, 20, 21,
24, 25, 26, and 27 are parameter setting micro programs, and 28, 29, and 30 are processing micro programs. In this embodiment, the number of data blocks of control data is 3, and the number of functions that can be selected and implemented is 8 types.
先ず、初期設定部14を実行させレジスタ・フ
ラグ、共通部データ・メモリの初期設定を行な
う。次に、制御データ読み取り部15では制御デ
ータが書き込まれる迄、書き込み待ちの状態にな
る様にプログラム・カウンタが制御され、制御デ
ータを内部レジスタに読み取る処理を行なう。読
み取られた制御データは3つのデータ・ブロツク
よりなり、第1のデータ・ブロツクはパラメータ
選択制御データの判別部16によつて判別されそ
の判別結果に従つてパラメータ設定マイクロ・プ
ログラム17または18のいずれかが選択され
る。そして、選択されたパラメータ設定マイク
ロ・プログラム17あるいは18によつて第1の
パラメータ群がデータ・メモリに設定される。パ
ラメータ設定マイクロ・プログラム17,18は
いずれも次に分岐選択制御データの判別部19に
接続される。分岐選択制御データの判別部19で
は制御データの第2のデータ・ブロツクを判別
し、その判別結果に従つて分岐ルート31あるい
は32に分岐を行なう。 First, the initial setting section 14 is executed to initialize registers, flags, and common part data memory. Next, in the control data reading unit 15, the program counter is controlled to be in a writing wait state until the control data is written, and the process of reading the control data into the internal register is performed. The read control data consists of three data blocks, and the first data block is determined by the parameter selection control data determining section 16, and is selected by either the parameter setting microprogram 17 or 18 according to the determination result. is selected. Then, the first parameter group is set in the data memory by the selected parameter setting microprogram 17 or 18. Both parameter setting micro programs 17 and 18 are then connected to a branch selection control data determining section 19. The branch selection control data determining section 19 determines the second data block of the control data, and branches to the branch route 31 or 32 according to the result of the determination.
分岐ルート31では、パラメータ設定マイク
ロ・プログラム20によつて第2のパラメータ群
がデータ・メモリに設定され、次にパラメータ選
択制御データの判別部22によつて第3のデー
タ・ブロツクが判別され、その判別結果に従つて
パラメータ設定マイクロ・プログラム24または
25のいずれかが選択される。選択されたパラメ
ータ設定マイクロ・プログラム24あるいは25
によつて第3のパラメータ群がデータ・メモリに
設定され、最後に処理マイクロ・プログラム28
が実行される。一方、分岐ルート32では第2の
パラメータ群のデータ・メモリへの設定をパラメ
ータ設定マイクロ・プログラム21によつて行な
い、次に分岐選択制御データの判別部23によつ
て第3のデータ・ブロツクが判別され、その判別
結果に従つて分岐ルート33あるいは34に分岐
を行なう。分岐ルート33ではパラメータ設定マ
イクロ・プログラム26によつて第3のパラメー
タ群がデータ・メモリに設定され、最後に処理マ
イクロ・プログラム29が実行される。また、分
岐ルート34ではパラメータ設定マイクロ・プロ
グラム27によつて第3のパラメータ群がデー
タ・メモリに設定され、最後に処理マイクロ・プ
ログラム30が実行される。以上の様にして、パ
ラメータ設定マイクロ・プログラム17,18,
20,21,24,25,26,27及び処理マ
イクロ・プログラム28,29,30の組み合せ
8種類のうち1つが制御データに従つて選択さ
れ、8種類の機能または特性のうち1つが実現さ
れる。 In the branch route 31, the second parameter group is set in the data memory by the parameter setting micro program 20, and then the third data block is determined by the parameter selection control data determining section 22. Depending on the determination result, either the parameter setting microprogram 24 or 25 is selected. Selected parameter setting micro program 24 or 25
The third set of parameters is set in the data memory by the processing microprogram 28.
is executed. On the other hand, in the branch route 32, the second parameter group is set in the data memory by the parameter setting micro program 21, and then the third data block is set by the branch selection control data discriminator 23. It is determined, and a branch is made to branch route 33 or 34 according to the determination result. In the branch route 33, the third parameter group is set in the data memory by the parameter setting micro program 26, and finally the processing micro program 29 is executed. Further, in the branch route 34, the third parameter group is set in the data memory by the parameter setting micro program 27, and finally the processing micro program 30 is executed. As described above, the parameter setting micro programs 17, 18,
One of the eight types of combinations of the processing microprograms 20, 21, 24, 25, 26, 27 and the processing microprograms 28, 29, 30 is selected according to the control data, and one of the eight types of functions or characteristics is realized. .
この発明は、実現したい機能または特性を選択
する為の制御データをいくつかのデータ・ブロツ
クに分け、それを各データ・ブロツク単位に順次
判別し、その判別結果に従つていくつかのパラメ
ータ群に分れたパラメータをパラメータ群毎にデ
ータ・メモリに設定する操作および該判別結果に
従つて分岐を行なう操作を順次実行させ、最後に
いくつかの処理マイクロ・プログラムのいづれか
1つを実行させることにより、複数の機能あるい
は特性のうち1つを選択して実現できるマイク
ロ・プログラム制御処理装置の起動を、より少な
いソフト・ウエア及びハード・ウエアで効率よく
行なえるという効果がある。
This invention divides control data for selecting functions or characteristics to be realized into several data blocks, sequentially discriminates each data block, and divides control data into several parameter groups according to the discrimination results. By sequentially executing the operation of setting separated parameters in the data memory for each parameter group and the operation of branching according to the determination result, and finally executing one of several processing micro programs. This has the effect that starting a microprogram-controlled processing device that can selectively implement one of a plurality of functions or characteristics can be efficiently performed with less software and hardware.
第1図は従来のマイクロ・プログラム制御処理
装置の起動方法の一例を示すフローチヤート、第
2図はこの発明に係るマイクロ・プログラム制御
処理装置の起動方法の一実施例を示すフローチヤ
ートである。
1,13……マイクロ・プログラムのスター
ト、2,14……初期設定部、3,15……制御
データ読み取り部、4,16,19,22,23
……判別部、5,6,7,8,17,18,2
0,21,24,25,26,27……パラメー
タ設定マイクロプログラム、9,10,11,1
2,28,29,30……処理マイクロプログラ
ム。
FIG. 1 is a flowchart showing an example of a conventional method for starting a microprogram control processing device, and FIG. 2 is a flowchart showing an embodiment of a method for starting a microprogram control processing device according to the present invention. 1, 13... Start of micro program, 2, 14... Initial setting section, 3, 15... Control data reading section, 4, 16, 19, 22, 23
...Discrimination unit, 5, 6, 7, 8, 17, 18, 2
0, 21, 24, 25, 26, 27...parameter setting microprogram, 9, 10, 11, 1
2, 28, 29, 30...processing microprogram.
Claims (1)
値により機能または特性が変わる1つ以上の処理
マイクロ・プログラムとパラメータ群をデータ・
メモリに設定する1つ以上のパラメータ設定マイ
クロ・プログラムより構成されるマイクロ・プロ
グラム制御処理装置において、1つ以上のデー
タ・ブロツクよりなり各データ・ブロツクはパラ
メータ群設定情報および分岐情報を有する制御デ
ータが書き込まれた後は制御データをデータ・ブ
ロツク単位に判別し、その判別結果に従つてパラ
メータ設定マイクロ・プログラムを選択し実行さ
せてパラメータ群をデータ・メモリに設定する操
作および判別結果に従つて分岐を行なう操作を制
御データのデータ・ブロツクの数だけ順次行な
い、分岐先の最後に処理マイクロ・プログラムの
いずれか1つを実行させることにより複数の機能
または特性のうち1つを選択して実現させること
を特徴としたマイクロ・プログラム制御処理装置
の起動方法。1 One or more processing microprograms and a group of parameters whose functions or characteristics change depending on the parameter values written in data memory.
In a micro-program control processing device consisting of one or more parameter setting micro programs set in memory, each data block consists of one or more data blocks containing control data having parameter group setting information and branch information. After the control data is written, the control data is determined in units of data blocks, and according to the determination results, a parameter setting micro program is selected and executed to set the parameter group in the data memory. Select and realize one of multiple functions or characteristics by sequentially performing branching operations as many as the number of data blocks of control data, and executing one of the processing microprograms at the end of the branch destination. A method for starting a micro program control processing device characterized by:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP216484A JPS60146330A (en) | 1984-01-10 | 1984-01-10 | Starting method of microprogram control processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP216484A JPS60146330A (en) | 1984-01-10 | 1984-01-10 | Starting method of microprogram control processor |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS60146330A JPS60146330A (en) | 1985-08-02 |
| JPH024007B2 true JPH024007B2 (en) | 1990-01-25 |
Family
ID=11521717
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP216484A Granted JPS60146330A (en) | 1984-01-10 | 1984-01-10 | Starting method of microprogram control processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS60146330A (en) |
-
1984
- 1984-01-10 JP JP216484A patent/JPS60146330A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS60146330A (en) | 1985-08-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0054243A2 (en) | Memory controlling apparatus | |
| US4550369A (en) | Apparatus and method for processing macroinstructions and microinstructions | |
| JPH024007B2 (en) | ||
| JPH024008B2 (en) | ||
| JP2595992B2 (en) | Electronic musical instrument | |
| KR960001096B1 (en) | Boot drive system | |
| JPS61282932A (en) | Address counter control system | |
| JPS60169946A (en) | Task control system | |
| JPH0290795A (en) | Time divisional switch control system | |
| JPH01266651A (en) | Semiconductor memory device | |
| JPS60201439A (en) | Microprogram controlling system | |
| JPS6326744A (en) | Memory bank switching circuit in microprocessor | |
| JPH09305444A (en) | Coverage memory | |
| JPS59200342A (en) | Microprogram controller | |
| JPS6362055A (en) | Read-only memory | |
| JPS59186048A (en) | Microprogram control system | |
| JPH04128944A (en) | Microprogram execution history information collector | |
| JPH0778722B2 (en) | Register file method | |
| JPS60146352A (en) | Microprocessor system | |
| JPH0239812B2 (en) | ||
| JPS5920069A (en) | One-chip microcomputer | |
| JPS63195758A (en) | Memory diagnosing system | |
| JPS6253852B2 (en) | ||
| JPH0412850B2 (en) | ||
| JPS6182253A (en) | Memory bank switching method |