JPH01297728A - Microprogram start address generating system - Google Patents

Microprogram start address generating system

Info

Publication number
JPH01297728A
JPH01297728A JP12976788A JP12976788A JPH01297728A JP H01297728 A JPH01297728 A JP H01297728A JP 12976788 A JP12976788 A JP 12976788A JP 12976788 A JP12976788 A JP 12976788A JP H01297728 A JPH01297728 A JP H01297728A
Authority
JP
Japan
Prior art keywords
command
microprogram
start address
processing device
data 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.)
Pending
Application number
JP12976788A
Other languages
Japanese (ja)
Inventor
Yuichi Sato
裕一 佐藤
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.)
NEC Ibaraki Ltd
Original Assignee
NEC Ibaraki 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 NEC Ibaraki Ltd filed Critical NEC Ibaraki Ltd
Priority to JP12976788A priority Critical patent/JPH01297728A/en
Publication of JPH01297728A publication Critical patent/JPH01297728A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To save the capacity of control storage and to reduce a load on a main data processor by providing storage for command analysis to output plural microprogram start addresses by a command held at a command register. CONSTITUTION:Command input 6 sent from the main data processor is fetched in the command register 10 by a slave data processor by a command input timing signal 8 sent simultaneously, and it is held until the next command input timing is inputted. A fetched command 3 retrieves the storage 11 for command analysis and outputs the microprogram start addresses 1 and 2. The microproram start addresses 1 and 2 outputted from the storage 11 for command analysis are selected at a selection circuit 12 by a selection signal 5, and become th microprogram start address 4.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はマイクロプログラムアドレス制御に関し、特に
マイクロプログラム開始アドレス生成方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to microprogram address control, and particularly to a microprogram start address generation method.

〔従来の技術〕[Conventional technology]

従来、この種のマイクロプログラム開始アドレス生成方
式は、主なるデータ処理装置から送出されるコマンドを
保持するコマンドレジスタと、該コマンドレジスタ内コ
マンドによって検索されて1つのマイクロプログラム開
始アドレスを出力するコマンド解析用記憶を有し、該コ
マンド解析用記憶の出力をマイクロプログラム開始アド
レスとしていた。
Conventionally, this type of microprogram start address generation method includes a command register that holds commands sent from the main data processing device, and a command analysis that searches for commands in the command register and outputs one microprogram start address. The output of the command analysis memory was used as the microprogram start address.

〔発明が解決しようとする課題〕  □」二連した従来
のマイクロプログラム開始アドレス生成方式では、主な
るデータ処理装置から送出された1つのコマンドに対し
て1つのマイクロプロクラム開始アドレスしか生成され
ない為、複数の種類の演算を単一コマンドによって指示
する複合命令に関して、複合命令固有のマイクロプロク
ラムを制御記憶内に持つか、または、主なるデータ処理
装置によって複合命令を構成する演算の単一命令の並び
に変換し、その変換された単一命令を一つ一つ送出し、
従なるデータ処理装置が単一命令として処理することに
よって、主なるデータ処理装置からみれば、結果的に複
合命令を処理したように見えるという方法を採らなけれ
ばならなかった。以上2つの方法によると、前者ては、
マイクロプログラムステップ数が増大し、制御記憶容量
を太きくしなけれはならないという問題点があり、後者
ては、主なるデータ処理装置の負担が増大し、データ処
理の総合的な能力が向上しないという欠点がある。
[Problem to be solved by the invention] □" In the conventional dual microprogram start address generation method, only one microprogram start address is generated for one command sent from the main data processing device. Regarding a compound instruction that instructs multiple types of operations by a single command, either the compound instruction-specific microprogram is contained in the control memory, or the sequence of single instructions for the operations that constitute the compound instruction is processed by the main data processing device. convert and send the converted single instructions one by one,
A method had to be adopted in which the secondary data processing device processes the instruction as a single instruction, so that it appears as if a compound instruction has been processed from the perspective of the main data processing device. According to the above two methods, the former is
There are problems in that the number of microprogram steps increases and the control memory capacity must be increased, and the latter increases the burden on the main data processing device and does not improve the overall data processing ability. There is.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のマイクロプロクラム開始アドレス生成方式の構
成は、主なるデータ処理装置から送出されるデータを、
該主なるデータ処理装置から送出されるコマンドによっ
て指定されるマクロプログラムに従って処理する従なる
データ処理装置のマクロプログラム開始アドレス生成回
路において、前記上なるデータ処理装置から送出された
コマンドを保持するコマンドレジスタと、該コマンドレ
ジスタ内コマンドによって検索されてマイクロプログラ
ム開始アドレスを出力する解析用記憶を有し、該コマン
ド解析用記憶からは1つのコマン1〜によって複数個の
マイクロプログラム開始アドレスを出力することを特徴
とし、前記コマンド解析用記憶の複数のマイクロプログ
ラム開始アドレスの内1つを選択する選択回路と、該選
択回路の選択信号を発生するカウンタと、該アドレスの
更新を制御するカウンタ更新制御回路とを含んで構成さ
れる事を特徴とする。
The configuration of the microprogram start address generation method of the present invention is such that data sent from the main data processing device is
a command register that holds the command sent from the upper data processing device in a macro program start address generation circuit of a subordinate data processing device that processes according to a macro program specified by the command sent from the main data processing device; and an analysis memory for outputting a microprogram start address searched by a command in the command register, and a plurality of microprogram start addresses can be output from the command analysis memory by one command 1. It is characterized by a selection circuit that selects one of a plurality of microprogram start addresses in the command analysis memory, a counter that generates a selection signal for the selection circuit, and a counter update control circuit that controls updating of the address. It is characterized by being composed of.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は、本発明の一実施例のマイクロプログラム開始
アドレス生成回路のブロック図であり、特に、1つのコ
マンドに対して2つのマクロプログラム開始アドレスを
コマンド解析用記憶]1に登録して出力させる場合のブ
ロック図である。
FIG. 1 is a block diagram of a microprogram start address generation circuit according to an embodiment of the present invention. In particular, two macroprogram start addresses are registered in the command analysis memory 1 for one command and output. FIG.

主なるデータ処理装置(図示せず)がら送出されたコマ
ンド人力6を、同時に送出されたコマンド入力タイミン
グ信号8によって、従なるデータ処理装置はコマンドレ
ジスタ1oに取り込み、次のコマンド入力タイミングま
で保持する。取り込まれたコマンド3は、コマンド解析
用記憶11を検索してマイクロプログラム開始アドレス
1及び2を出力させる。コマンド解析用記憶11がら出
力れなマイクロプログラム開始アドレス1及び2は、選
択信号5によってjy択回路12にて選択されてマイク
ロプログラム開始アドレス4になる。
The subordinate data processing device captures the command input 6 sent from the main data processing device (not shown) into the command register 1o according to the command input timing signal 8 sent out at the same time, and holds it until the next command input timing. . The fetched command 3 searches the command analysis memory 11 and outputs the microprogram start addresses 1 and 2. Microprogram start addresses 1 and 2, which are output from the command analysis memory 11, are selected by the jy selection circuit 12 in accordance with the selection signal 5, and become the microprogram start address 4.

選択信号5は、カウンタ13の出力であり、カウンタ1
3はカウンタ更新制御回路14によって更新動作を制御
される。通常、主なるデータ処理装置から送出されたコ
マンドが2種類の演算による複合命令の場合、コマンド
解析用記憶]1には、マイクロプログラム開始アドレス
1として最初に実行する演算の単一命令のマイクロプロ
グラム開始アドレスを、また、マイクロプログラム開始
アドレス2として次に実行すべき演算の単一命令のマイ
クロプログロム開始アドレスをあらがしめ登録しておく
と、コマンド入力タイミング信号8によってカウンタ更
新値7をOにしてがらカウンタ13にセットすれば、コ
マンド3についてマイクロプログラム開始アドレス4と
して、複合命令の最初に実行すべき演算のマイクロプロ
グラム開会アドレス1が選択され、単一命令の演算とし
て実行が開始される。
The selection signal 5 is the output of the counter 13, and the selection signal 5 is the output of the counter 13.
3, the update operation of which is controlled by the counter update control circuit 14. Normally, when the command sent from the main data processing device is a compound instruction consisting of two types of operations, the command analysis memory 1 contains a microprogram containing a single instruction for the first operation to be executed as microprogram start address 1. If the start address and the microprogram start address of the single instruction of the next operation to be executed are registered as the microprogram start address 2, the counter update value 7 is set to O by the command input timing signal 8. When set in the counter 13, the microprogram start address 1 of the operation to be executed first in the compound instruction is selected as the microprogram start address 4 for command 3, and execution is started as a single instruction operation.

次に、単一命令の演算のマイクロプログラムの第1ステ
ツプ実行によるデータ処理開始タイミング信号9によっ
てカウンタ更新値を反転してカウンタ13にセットすれ
ば、次に実行すべき単一命令のマイクロプログラム開始
アダレスとしてマイクロプログラム開始アドレス2が選
択される。従6一 って、最初の演算の最終ステップにてマイクロプログラ
ム開始アドレスを使用すれば、次の演算が最初の演算終
了後休みなく実行を開始することができる。
Next, when the counter update value is inverted and set in the counter 13 by the data processing start timing signal 9 by the first step execution of the microprogram for the single instruction operation, the microprogram for the next single instruction to be executed starts. Microprogram start address 2 is selected as the address. Therefore, if the microprogram start address is used in the final step of the first operation, the next operation can be started without interruption after the first operation is completed.

以上述べた様に、2種類の演算を実行する複合命令を専
用のマイクロプロクラムを用意することもなく、また、
コマンドレジスタを更新することもなく実行することが
できる様になる。マイクロプログラムの終了は、ストッ
プカウンタを設けてストップするタイミンクを生成ずれ
はよい。また、このストップカウンタの値を自由に設定
できる様にずれば、ベクトル命令等も簡単に扱うことが
できるようになる。
As mentioned above, there is no need to prepare a dedicated microprogram for compound instructions that execute two types of operations, and
This allows execution without updating the command register. To terminate the microprogram, a stop counter is provided to generate a timing for stopping the program. Furthermore, by shifting the value of this stop counter so that it can be set freely, vector instructions etc. can be easily handled.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、主なるデータ処理装置か
ら送出されるデータを、該データ処理装置から送出され
るコマンドによって指定されるマイクロプログラムに従
って処理する従なるデータ処理装置のマイクロプログラ
ム開始アドレス生成回路において、前記上なるデータ処
理装置から送出されたコマンドを保持するコマンドレジ
スタと、該コマンドレジスタに保持されたコマンドによ
って複数のマイクロプロクラム開始アドレスを出力する
ことを特徴としたコマンド解析用記憶を有し、該コマン
ド解析用記憶から出力される複数のプログロム開始アド
レスの内、1つを実際のマイクロプログラム開始アドレ
スとして選択する回路と、該選択回路の選択信号を発生
するカウンタと、該カウンタ更新を制御するカウンタ更
新制御回路を備えることによって、複数の種類の演算を
実行する複合命令が専用のマイクロプログラムを用意せ
ずとも、基本的な演算の単一命令用マイクロプログラム
を用意しておけば実行できる用になり、これにより制御
記憶の容量を節約することができるので、ハードウェア
量を削減することかできる。また、複合命令を実行する
為に、主なるデータ処理装置が複合命令を単一命令の並
ひに変えて従データ処理装置に実行させる必要もなくな
るので、主なるデータ処理装置の負担が軽減され、デー
タ処理の総合的な能力が向上するという効果がある。
As explained above, the present invention provides microprogram start address generation for a secondary data processing device that processes data sent from a main data processing device according to a microprogram specified by a command sent from the data processing device. The circuit includes a command register that holds commands sent from the upper data processing device, and a command analysis memory that outputs a plurality of microprogram start addresses according to the commands held in the command register. a circuit for selecting one of a plurality of program start addresses outputted from the command analysis memory as an actual microprogram start address, a counter for generating a selection signal for the selection circuit, and a counter for updating the counter. By providing a counter update control circuit to control, complex instructions that execute multiple types of operations can be executed by preparing a single instruction microprogram for basic operations, without having to prepare a dedicated microprogram. This allows the capacity of the control memory to be saved, thereby reducing the amount of hardware. Furthermore, in order to execute a compound instruction, there is no need for the main data processing device to convert the compound instruction into a series of single instructions and have the slave data processing device execute it, which reduces the burden on the main data processing device. , which has the effect of improving overall data processing ability.

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

第1図は本発明の一実施例のマイクロプログラム開始ア
ドレス生成回路のブロック図である。 1・・・・・・マイクロプログラム開始アドレス(初め
に実行すべき演算)、2・・・・・・マイクロプログラ
ム開始アドレス(次に実行すべき演算)、3・・・・・
・実行すべきコマンド、4・・・・・・マイクロプログ
ラム開始アドレス(実際のデータ処理に使用)、5・・
・・・・選択信号、6・・・・・・コマンド人力(主な
るデータ処理装置から送出される)、7・・・・・・カ
ウンタ更新値、8・・・・・・コマンド入力タイミング
信号(主なるデータ処理装置から送出される)、9・・
・・・・データ処理開始タイミング信号(主なるデータ
処理装置のマイクロプログラムの第1ステツプ)、10
・・・・・・コマンドレジスタ(主なるデータ処理装置
から送出されたコマンドを保持する)、11・・・・・
・コマンド解析用記憶、12・・・・・・選択回路、1
3・・・・・・カウンタ、14・・・・・・カウンタ更
新制御回路。 −0−代理人弁理士内原  晋 −186”−
FIG. 1 is a block diagram of a microprogram start address generation circuit according to an embodiment of the present invention. 1... Microprogram start address (operation to be executed first), 2... Microprogram start address (operation to be executed next), 3...
・Command to be executed, 4...Microprogram start address (used for actual data processing), 5...
... Selection signal, 6 ... Command manual input (sent from the main data processing device), 7 ... Counter update value, 8 ... Command input timing signal (sent from the main data processing device), 9...
...Data processing start timing signal (first step of microprogram of main data processing device), 10
...Command register (holds commands sent from the main data processing device), 11...
・Command analysis memory, 12...Selection circuit, 1
3...Counter, 14...Counter update control circuit. −0−Representative Patent Attorney Susumu Uchihara−186”−

Claims (1)

【特許請求の範囲】[Claims] 主なるデータ処理装置から送出されるデータを、該主な
るデータ処理装置から送出されるコマンドによって指定
されるマクロプログラムに従って処理する従なるデータ
処理装置のマクロプログラム開始アドレス生成回路にお
いて、前記主なるデータ処理装置から送出されたコマン
ドを保持するコマンドレジスタと、該コマンドレジスタ
内コマンドによって検索されてマイクロプログラム開始
アドレスを出力する解析用記憶を有し、該コマンド解析
用記憶からは1つのコマンドによつて複数個のマイクロ
プログラム開始アドレスを出力することを特徴とし、前
記コマンド解析用記憶の複数のマイクロプログラム開始
アドレスの内1つを選択する選択回路と、該選択回路の
選択信号を発生するカウンタと、該アドレスの更新を制
御するカウンタ更新制御回路とを含んで構成される事を
特徴とするマイクロプログラム開始アドレス生成方式。
In a macro program start address generation circuit of a subordinate data processing device that processes data sent from a main data processing device according to a macro program specified by a command sent from the main data processing device, the main data It has a command register that holds commands sent from the processing device, and an analysis memory that outputs the microprogram start address after being searched by the command in the command register. a selection circuit that outputs a plurality of microprogram start addresses and selects one of the plurality of microprogram start addresses in the command analysis memory; a counter that generates a selection signal for the selection circuit; A microprogram start address generation method comprising: a counter update control circuit for controlling update of the address.
JP12976788A 1988-05-26 1988-05-26 Microprogram start address generating system Pending JPH01297728A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12976788A JPH01297728A (en) 1988-05-26 1988-05-26 Microprogram start address generating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12976788A JPH01297728A (en) 1988-05-26 1988-05-26 Microprogram start address generating system

Publications (1)

Publication Number Publication Date
JPH01297728A true JPH01297728A (en) 1989-11-30

Family

ID=15017702

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12976788A Pending JPH01297728A (en) 1988-05-26 1988-05-26 Microprogram start address generating system

Country Status (1)

Country Link
JP (1) JPH01297728A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022011697A (en) * 2020-06-30 2022-01-17 株式会社安川電機 Production system, master control device, control device, communication method and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022011697A (en) * 2020-06-30 2022-01-17 株式会社安川電機 Production system, master control device, control device, communication method and program

Similar Documents

Publication Publication Date Title
JP2884831B2 (en) Processing equipment
JPH01297728A (en) Microprogram start address generating system
JP2752076B2 (en) Programmable controller
JPH021014A (en) Portable computer
JPS61151745A (en) Interruption processing system
JPS6232745A (en) Circuit processing system
JPS60225904A (en) Programmable controller
JPS63141131A (en) Pipeline control system
JP3471388B2 (en) Auxiliary processing unit
JPH01112423A (en) Overlaying control system
JPS5971556A (en) Data collection system
JP2919841B2 (en) Testing method for data processing equipment
JPH02118748A (en) Input output control system
JPS58169243A (en) Instruction processor
JPS63196903A (en) Programmable controller
JPH05224711A (en) Control method for programmable controller
JPS615349A (en) Programmable controller
JPH04195527A (en) Computer system
JPH04138582A (en) Single instruction type parallel computer
JPS615306A (en) Programmable controller
JPH04250753A (en) Protocol processor
JPH01142940A (en) Microprogram controller
JPH01270128A (en) Link system
JPH0895895A (en) Controller for serial port i/q equipment of information processor
JPH01241644A (en) Microcomputer control circuit