JPS63241636A - Data processor - Google Patents

Data processor

Info

Publication number
JPS63241636A
JPS63241636A JP7526387A JP7526387A JPS63241636A JP S63241636 A JPS63241636 A JP S63241636A JP 7526387 A JP7526387 A JP 7526387A JP 7526387 A JP7526387 A JP 7526387A JP S63241636 A JPS63241636 A JP S63241636A
Authority
JP
Japan
Prior art keywords
memory
microinstruction
branching condition
address
control memory
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
JP7526387A
Other languages
Japanese (ja)
Inventor
Hiroyuki Wakita
脇田 弘幸
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 Corp
Original Assignee
NEC Corp
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 Corp filed Critical NEC Corp
Priority to JP7526387A priority Critical patent/JPS63241636A/en
Publication of JPS63241636A publication Critical patent/JPS63241636A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To flexibly correspond to the alteration of the specification of a device and the change of used environment by providing a means for generating a branching condition set in a branching condition memory which holds the branching condition based on a microinstruction in a control memory and an instruction from the outside. CONSTITUTION:A branching condition generation circuit 4 generates the reference branching condition at the leading time of a data processor and writes it in a memory 3. And the above-mentioned generation circuit 4 dynamically alters and restores a part of the reference branching condition already written in the branching condition memory 3, etc., according to the instruction of the microinstruction read out from the control memory 1 as necessary. An address generation circuit 5 generates the address of the microinstruction which should be read out next from the control memory 1 by modifying the contents of the address field of the microinstruction held in a microinstruction register 2 based on the logical relation between said branching condition in the branching condition memory 3 and hardware information selected from the various kinds of registers group 6 in the device and supplies the address to the address input terminal of the control memory 1.

Description

【発明の詳細な説明】 発明の目的 産業上の利用分野 本発明は、種々のデータ処理システムで利用されるマイ
クロプログラム制御方式のデータ処理装置に関するもの
である。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a microprogram-controlled data processing device used in various data processing systems.

従来の技術 データ処理装置には、マイクロ命令群から成るマイクロ
プログラムをコントロール・メモリに格納しておき、こ
のコントロール・メモリからマイクロ命令を逐一読出し
つつ制御を実行してゆ(マイクロプログラム制御方式の
ものが汎用されている。
In conventional technical data processing devices, a microprogram consisting of a group of microinstructions is stored in a control memory, and control is executed by reading the microinstructions one by one from the control memory (microprogram control type). is widely used.

このようなマイクロプログラム制御方式のデータ処理装
置では、ハードウェアの各種状態をマイクロ命令の指示
により選択指定し、ハードウェアだけで実現される分岐
条件生成回路により次に実行すべきマイクロ命令の格納
アドレスを決定している。
In such a data processing device using a microprogram control method, various states of the hardware are selected and specified by microinstruction instructions, and a branch condition generation circuit realized only by hardware determines the storage address of the next microinstruction to be executed. has been decided.

発明が解決しようとする問題点 上記従来のマイクロプログラム制御方式のデータ処理装
置では、分岐条件生成回路がハードウェアだけで実現さ
れているので、多種多様な条件を実現するために規模が
過大になるだけでなく、後発的な仕様変更も難しいとい
う問題がある。
Problems to be Solved by the Invention In the conventional microprogram control type data processing device described above, the branch condition generation circuit is realized only by hardware, so the scale becomes excessive in order to realize a wide variety of conditions. In addition to this, there is also the problem that it is difficult to make subsequent changes to the specifications.

特に、ハードウェアだけの実現であるため動作途中での
動的変更ができず、このため、条件が僅かに異なる場合
でもハードウェアやマイクロプログラムのルーチンを個
別に備えることが必要になり、ハードウェア量やマイク
ロプログラムのステップ数が増加するという問題がある
In particular, since it is realized only by hardware, it is not possible to make dynamic changes during operation, and therefore it is necessary to provide separate hardware and microprogram routines even when conditions are slightly different. There is a problem that the amount and the number of microprogram steps increase.

発明の構成 問題点を解決するための手段 本発明のデータ処理装置は、分岐条件を保持する分岐条
件メモリと、この分岐条件メモリに設定する分岐条件を
コントロールメモリ内のマイクロ命令や外部からの指示
に基づき生成する分岐条件生成回路と、この分岐条件メ
モリの内容、装置内のハードウェア情報及びマイクロ命
令レジスタに保持中のマイクロ命令のアドレスフィール
ドの内容に基づきコントロールメモリから次に読出すべ
きマイクロ命令のアドレスを生成するアドレス生成回路
とを備え、分岐制御をソフトウェア的に支援することに
より、分岐条件生成回路のハードウェア上の負担を軽減
すると共に、条件の動的変更に伴うプログラムステップ
数の節減を可能とするように構成されている。
Structure of the Invention Means for Solving the Problems The data processing device of the present invention includes a branch condition memory that holds branch conditions, and a branch condition that is set in the branch condition memory by a microinstruction in a control memory or an external instruction. A branch condition generation circuit generates a branch condition based on the branch condition memory, hardware information in the device, and the microinstruction to be read next from the control memory based on the contents of the address field of the microinstruction held in the microinstruction register. By supporting branch control with software, the hardware load on the branch condition generation circuit is reduced, and the number of program steps due to dynamic changes in conditions is reduced. It is configured to allow.

以下、本発明の作用を実施例と共に詳細に説明する。Hereinafter, the operation of the present invention will be explained in detail together with examples.

実施例 第1図は、本発明の一実施例のデータ処理装置の構成を
示すブロック図であり、■はコントロール・メモリ、2
はマイクロ命令レジスタ、3は分岐条件メモリ、4は分
岐条件生成回路、5はアドレス生成回路、6はこのデー
タ処理装置内の各種レジスタ群である。
Embodiment FIG. 1 is a block diagram showing the configuration of a data processing device according to an embodiment of the present invention.
3 is a microinstruction register, 3 is a branch condition memory, 4 is a branch condition generation circuit, 5 is an address generation circuit, and 6 is a group of various registers within this data processing device.

コントロール・メモリlには、マイクロ命令群から成る
マイクロプログラムが格納され、ここから読出されたマ
イクロ命令はマイクロ命令レジスタ2に保持される。
A microprogram consisting of a group of microinstructions is stored in the control memory l, and the microinstructions read from the microprogram are held in the microinstruction register 2.

分岐条件生成回路3は、コントロール・メモリ1から読
出されて実行されるマイクロ命令や装置外部からの指示
などに基づき分岐条件を生成し、これを分岐条件メモリ
3に書込む。すなわち、分岐条件生成回路4は、このデ
ータ処理装置の立上げ時に標準の分岐条件を生成してこ
れを分岐条件メモリ3に書込む。また、分岐条件生成回
路4は、分岐条件メモリ3内に書込み済みの標準の分岐
条件の一部などをコントロールメモリ1から読出された
マイクロ命令の指示に従って動的に変更したり、復元し
たりする。
The branch condition generation circuit 3 generates a branch condition based on a microinstruction read out from the control memory 1 and executed, an instruction from outside the device, etc., and writes this into the branch condition memory 3. That is, the branch condition generation circuit 4 generates a standard branch condition and writes it into the branch condition memory 3 when the data processing device is started up. Further, the branch condition generation circuit 4 dynamically changes or restores some of the standard branch conditions written in the branch condition memory 3 according to instructions from microinstructions read out from the control memory 1. .

アドレス生成回路5は、分岐条件メモリ3内の該当の分
岐条件と装置内の各種レジスタ群6から選択されたハー
ドウェア情報との論理関係に基づきマイクロ命令レジス
タ2に保持中のマイクロ命令のアドレスフィールドの内
容を修飾することにより、コントロールメモリ1から次
に読出すべきマイクロ命令のアドレスを生成し、これを
コントロールメモリ1のアドレス入力端子に供給する。
The address generation circuit 5 generates an address field of the microinstruction held in the microinstruction register 2 based on the logical relationship between the corresponding branch condition in the branch condition memory 3 and hardware information selected from the various register groups 6 in the device. By modifying the contents of , the address of the next microinstruction to be read from the control memory 1 is generated, and this is supplied to the address input terminal of the control memory 1.

発明の効果 以上詳細に説明したように、本発明のデータ処理装置は
、分岐条件を保持する分岐条件メモリと、この分岐条件
メモリに設定する分岐条件をコントロール・メモリ内の
マイクロ命令や外部からの指示に基づき生成する分岐条
件生成回路とを備え、分岐制御をソフトウェア的に支援
する構成であるから、次のような種々の効果が奏される
Effects of the Invention As explained in detail above, the data processing device of the present invention has a branch condition memory that holds branch conditions, and a branch condition that is set in this branch condition memory by a microinstruction in the control memory or from an external source. Since the configuration includes a branch condition generation circuit that generates based on instructions and supports branch control using software, various effects such as those described below can be achieved.

分岐条件の変更が容易であるため、装置の仕様変更や使
用環境の変化に柔軟に対応できる。
Since branching conditions can be easily changed, it is possible to flexibly respond to changes in device specifications and changes in the usage environment.

分岐条件を書き替えることにより一つのハードウェアや
マイクロ命令によって複数の機能を実現できる。このた
め、設計の効率が向上し、開発費が低減される。
By rewriting branch conditions, multiple functions can be realized with a single piece of hardware or microinstruction. This improves design efficiency and reduces development costs.

マイクロ命令自身によって分岐条件メモリの内容を変更
できるため、マイクロプログラムの動きに応じた動的な
分岐制御が可能となり、マイクロプログラムのステップ
数が節減される。
Since the contents of the branch condition memory can be changed by the microinstruction itself, dynamic branch control can be performed according to the movement of the microprogram, and the number of steps in the microprogram can be reduced.

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

第1図は、本発明の一実施例のデータ処理装置の構成を
示すブロック図である。 1・・・コントロール・メモリ、2・・・マイクロ命令
レジスタ、3・・・分岐条件メモリ、4・・・分岐条件
生成回路、5・・・アドレス生成回路、6・・・各種レ
ジスタ群。
FIG. 1 is a block diagram showing the configuration of a data processing device according to an embodiment of the present invention. DESCRIPTION OF SYMBOLS 1... Control memory, 2... Micro instruction register, 3... Branch condition memory, 4... Branch condition generation circuit, 5... Address generation circuit, 6... Various register groups.

Claims (1)

【特許請求の範囲】 マイクロプログラムが格納されるコントロールメモリと
、 このコントロール・メモリから読出されるマイクロ命令
を保持するマイクロ命令レジスタと、分岐条件を保持す
る分岐条件メモリと、 この分岐条件メモリに設定する分岐条件を前記コントロ
ールメモリ内のマイクロ命令や外部からの指示に基づき
生成する分岐条件生成回路と、この分岐条件メモリの内
容、装置内のハードウェア状態を表示するハードウェア
情報及び前記マイクロ命令レジスタに保持中のマイクロ
命令のアドレスフィールドの内容に基づき、前記コント
ロール・メモリから次に読出すべきマイクロ命令のアド
レスを生成するアドレス生成回路とを備えたことを特徴
とするデータ処理装置。
[Claims] A control memory in which a microprogram is stored, a microinstruction register that holds microinstructions read from the control memory, a branch condition memory that holds branch conditions, and a control memory set in the branch condition memory. a branch condition generation circuit that generates a branch condition based on a microinstruction in the control memory or an instruction from the outside; hardware information that displays the contents of this branch condition memory and a hardware state within the device; and the microinstruction register. 1. An address generation circuit that generates an address of a microinstruction to be read next from the control memory based on the contents of an address field of a microinstruction held in the control memory.
JP7526387A 1987-03-28 1987-03-28 Data processor Pending JPS63241636A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7526387A JPS63241636A (en) 1987-03-28 1987-03-28 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7526387A JPS63241636A (en) 1987-03-28 1987-03-28 Data processor

Publications (1)

Publication Number Publication Date
JPS63241636A true JPS63241636A (en) 1988-10-06

Family

ID=13571160

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7526387A Pending JPS63241636A (en) 1987-03-28 1987-03-28 Data processor

Country Status (1)

Country Link
JP (1) JPS63241636A (en)

Similar Documents

Publication Publication Date Title
US7793075B2 (en) Active memory command engine and method
US4090238A (en) Priority vectored interrupt using direct memory access
US4780819A (en) Emulator system utilizing a program counter and a latch coupled to an emulator memory for reducing fletch line of instructions stored in the emulator memory
GB1448866A (en) Microprogrammed data processing systems
KR930002935A (en) Information processing device
KR900002438B1 (en) Inter-processor connecting system
US4047245A (en) Indirect memory addressing
JPS63241636A (en) Data processor
JPH056281A (en) Information processor
JP2001056803A (en) Microcomputer
US5649207A (en) Microprocessor unit having interrupt mechanism
JP2000029508A (en) Programmable controller
JPS60193046A (en) Detecting system for instruction exception
JP3366235B2 (en) Data read control device
JPS62248043A (en) Memory switching circuit for fetching microcomputer instruction
JPH02259932A (en) Interruption processing system
JPS59106048A (en) Microprocessor system
JPH0731598B2 (en) Computer
JPH01219930A (en) Interrupt control circuit device for indirect address system
JPS60132249A (en) Data processor
JPH02287732A (en) Register address generating device
JPH0217517A (en) Microcomputer
JPH02224026A (en) Stack circuit
JPH03257572A (en) Multiprocessor system
JPH0287227A (en) Data processor