JPS58213347A - Microprocessor - Google Patents

Microprocessor

Info

Publication number
JPS58213347A
JPS58213347A JP9585982A JP9585982A JPS58213347A JP S58213347 A JPS58213347 A JP S58213347A JP 9585982 A JP9585982 A JP 9585982A JP 9585982 A JP9585982 A JP 9585982A JP S58213347 A JPS58213347 A JP S58213347A
Authority
JP
Japan
Prior art keywords
instruction
memory
code
instruction code
microprocessor
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
JP9585982A
Other languages
Japanese (ja)
Inventor
Toshihiko Motobayashi
稔彦 本林
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
Nippon Electric Co 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 Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP9585982A priority Critical patent/JPS58213347A/en
Publication of JPS58213347A publication Critical patent/JPS58213347A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)

Abstract

PURPOSE:To execute each instruction code freely, by constituting a microinstruction storage section of a fixed memory and a variable memory, and rewriting the content of the variable memory by an instruction code from an external circuit. CONSTITUTION:A micro mu instruction storage section 40 consists of the fixed memory 90 and the variable memory 80, in a mu processor having an instruction register 10, a mapping memory 20, a sequencer 30, a micro mu instruction storage section 40, a pipeline register 50, a sequencer control section 60 and an operation control section 70. The memory 90 is resident with a write mu instruction generating a control signal to rewrite the mu instruction. An instruction code from an external instruction code is added with a control bit a data bus 11 and this instruction code is added with a control bit representing whether or not the code is the rewrite instruction of the mu instruction. The memory 80 checks this control bit and when the code is the rewrite instruction code of the mu instruction, the content of the memory 80 is changed according to a prescribed form. Thus, each instruction code is executed freely according to each individual instruction code.

Description

【発明の詳細な説明】 本発明はマイクロプロセッサ、さらに詳シく云えば制御
信号を発生させるだめのマイクロ命令記憶部の内容を書
換えることができる機能を有スるマイクロプロセッサに
関する1゜従来方式のマイクロプロセッサは第1図に示
すように、命令レジスタ10と、マツピングメモリ20
と、シーケンサ30と、マイクロ命令記憶部40と、パ
イプラインレジスタ50と、シーケンサ制御部60と、
演算制御部70とから成立つ。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a microprocessor, and more specifically, to a microprocessor having a function of rewriting the contents of a microinstruction storage section for generating control signals. As shown in FIG. 1, the microprocessor has an instruction register 10 and a mapping memory 20.
, a sequencer 30, a microinstruction storage unit 40, a pipeline register 50, a sequencer control unit 60,
It is established from the arithmetic control section 70.

第1図において、命令コードはデータバス11を介して
外部の命令記憶部から命令レジスタ10に読込まれる。
In FIG. 1, an instruction code is read into an instruction register 10 from an external instruction storage section via a data bus 11.

 命令レジスタ10に読込まれた命令コードはマツピン
グメモリ20を介してシーケンサ30に入力され、シー
ケンサ30ではマイクロ命令アドレスを発生させるっ マイクロ命令アドレスはマイクロ命令アドレスバス31
を弁してマイクロ命令記憶部切に入力され、マイクロ命
令記憶部40の出力はデータ出力ハス41を介してパイ
プラインレジスタ50ニ入力される。 パイプラインレ
ジスタ50の内容はシーケンサ制御部ωへ制御バス51
を介して加えられる。 いっぽう、パイプラインレジス
タ(資)の内容は演算制御部7oにも加えられ、演算制
御部70において命令コードが実行される。
The instruction code read into the instruction register 10 is input to the sequencer 30 via the mapping memory 20, and the sequencer 30 generates a microinstruction address.The microinstruction address is transferred to the microinstruction address bus 31.
The output of the microinstruction storage unit 40 is inputted to the pipeline register 50 via the data output lot 41. The contents of the pipeline register 50 are transferred to the control bus 51 to the sequencer control unit ω.
added via . On the other hand, the contents of the pipeline register (equipment) are also added to the arithmetic control section 7o, and the instruction code is executed in the arithmetic control section 70.

従来方式の第1図に示したマイクロプロセッサでは、マ
イクロ命令記憶部40は読出し専用メモリ(ROM)に
よって構成しであるために、命令コ、−ドによって発生
する制御信号は命令コードと1対1の対応をしておυ、
一義的に制御信号が決定されている。  したがって、
ある種類のマイクロプロセッサで使用されている命令コ
ードは別の種類のマイクロプロセッサでは使用できない
と云う欠点がある。
In the conventional microprocessor shown in FIG. 1, the microinstruction storage unit 40 is constituted by a read-only memory (ROM), so the control signals generated by the instruction codes are one-to-one with the instruction codes. Please take care of υ,
The control signal is uniquely determined. therefore,
A disadvantage is that instruction codes used in one type of microprocessor cannot be used in another type of microprocessor.

そのため、既存のマイクロプロセッサ用ソフトウェアを
別のマイクロプロセッサによって実行させようとする場
合には、ソースプログラムから変更したソフトウェアを
使用しなくてはならない。 よって、プログラムの9植
には多大の労力をかけなくてはならないと云う欠点があ
る。
Therefore, if you want to run existing microprocessor software on another microprocessor, you must use software modified from the source program. Therefore, the drawback is that a great deal of effort must be put into nine programs.

本発明の目的は、マイクロ命令記憶部を固定メモリと可
変メモリとによって構成し、外部の命令記憶部から読出
された命令コードによって可変メモリの内容を書換え、
る機能を具備し、個々ノ畠令コードに対応して目出に各
命令コードを実行することができるマイクロプロセッサ
を提供することにある。
An object of the present invention is to configure a microinstruction storage unit with a fixed memory and a variable memory, rewrite the contents of the variable memory with an instruction code read from an external instruction storage unit,
It is an object of the present invention to provide a microprocessor which is equipped with a function to execute each instruction code according to each individual Hatake command code.

本発明に°よるマイクロプロセッサは命令レジスタと、
マツピングメモリ′と、シーケンサと、マイクロ命令記
憶部と、パイプラインレジスタと、シーケンサ制御部と
、演算制御部とから成立ち、マイクロ命令記憶部が固定
メモリと7変メモリとから成立つ。 このマイクロプロ
セッサに2いて、外部の命令記は部から読出された命令
コードによって可変メモリの内容を書換えることができ
る。
A microprocessor according to the invention has an instruction register;
It consists of a mapping memory, a sequencer, a micro-instruction storage section, a pipeline register, a sequencer control section, and an arithmetic control section, and the micro-instruction storage section consists of a fixed memory and a 7-variable memory. In this microprocessor, an external instruction code can rewrite the contents of the variable memory using instruction codes read from the microprocessor.

以下、本発明の詳細を図面によって説明する。Hereinafter, details of the present invention will be explained with reference to the drawings.

第2図は本発明によるマイクロプロセッサの一実施例の
一部分を示す図でちる。
FIG. 2 is a diagram showing a portion of an embodiment of a microprocessor according to the present invention.

第1図におけるマイクロ命令記憶部菊は可変メモリ80
と固定メモリ(1)とから成立つっ可変メモリ80は、
データバス11を介して外部の命令記憶部に接続されて
おり、このデータバス11を介して可変メモIJ80に
記憶されているマイクロ命令を書換えることができる。
In FIG. 1, the microinstruction storage unit 80 is a variable memory 80.
The variable memory 80 is formed from the fixed memory (1) and the fixed memory (1).
It is connected to an external instruction storage unit via a data bus 11, and the microinstructions stored in the variable memory IJ80 can be rewritten via the data bus 11.

固定メモリ90には、マイクロ命令を書換えるだめの制
御信号を発生させるだめ、書換え用のマイクロ命令が常
駐しである。
Fixed memory 90 permanently stores rewriting microinstructions for generating control signals for rewriting microinstructions.

固定メモリ90は読出し専用メモリ(ROM)で構成し
てあシ、比較的小容量のメモリである。
The fixed memory 90 is composed of a read-only memory (ROM) and has a relatively small capacity.

外部の命令記憶部には開発済み、または新規に開発され
たソフトウェアが命令コードの形で蓄えられている。 
また、各命令コードには、マイクロ命令書換え命令であ
るか否かを表わす制御ピットが付加されている。
The external instruction storage unit stores developed or newly developed software in the form of instruction codes.
Further, each instruction code has a control pit added thereto to indicate whether or not it is a microinstruction rewriting instruction.

本発明によるマイクロプロセッサによれば、第2図の可
変メモリ80によって付加された制御ビットをチェック
し、これによってマイクロ命令書換え命令コードである
か否かを判断する。
According to the microprocessor according to the present invention, the control bits added by the variable memory 80 in FIG. 2 are checked, and it is determined whether or not it is a microinstruction rewriting instruction code.

もしマイクロ命令書換え命令コードであれば、所定の形
式にしたがって可変メモ1J80の内容を変更する。
If it is a microinstruction rewriting instruction code, the contents of the variable memo 1J80 are changed according to a predetermined format.

本発明におけるソフトウェアの池の実施例として、あら
かじめマイクロ命令taえ命令コードを宇義しておき、
この命令コードに対応したマイクロ命令を固定メモリの
内部に常駐させておく方法もある。 この場合、マイク
ロ命令書換え命令コードか否かのチェックは、可変メモ
リに備えられている状態フリップフロップにセットされ
ている状態を知ることによって行なうつこのフリップフ
ロップを通常のプログラムの出力命令によってアクセス
できるようにしておけば、命令コード体系を容易に切換
えることができる。
As an embodiment of the software pond in the present invention, the microinstruction code is defined in advance, and
There is also a method in which a microinstruction corresponding to this instruction code is made to reside inside a fixed memory. In this case, checking whether it is a microinstruction rewriting instruction code is done by knowing the state set in a state flip-flop provided in variable memory, and this flip-flop can be accessed by the output command of a normal program. By doing so, the instruction code system can be easily switched.

以上説明したように、本発明によるマイクロプロセッサ
では特定の命令コードに対応して発生するマイクロ命令
コードを任童に指定することができるため、既存のマイ
クロプロセッサのソフトウェアにほとんど手を加えて加
工する必要はなく、本発明によるマイクロプロセッサに
よって命令、コードを実行させることができると云う効
果がある。
As explained above, in the microprocessor according to the present invention, it is possible to specify the microinstruction code generated in response to a specific instruction code. This is not necessary, and the advantage is that instructions and codes can be executed by the microprocessor according to the invention.

また、°ソフトウェアの開発においても設計者の言語選
択の自由度が大きく、マイクロ命令書換え命令を通常の
命令コードと自由に混在させることができるため、使用
されるサブルーチンの効率化、ならびにプログラムステ
ップ数の短縮化を計ることもできると云う効果もある。
In addition, in software development, designers have a large degree of freedom in language selection, and microinstruction rewriting instructions can be freely mixed with normal instruction codes, which improves the efficiency of subroutines used and increases the number of program steps. It also has the effect of being able to shorten the time.

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

第1図は従来方式のマイクロプロセッサの構成の一例を
示すブロック図、第2図は第1図に示すマイクロプロセ
ッサを改善した本発明によるマイクロプロセッサの実施
例を示すブロック図である。 10・・・命令レジスタ 11.31.41.51.52・・・バス20・・・マ
ツピングメモリ 30・・・シーケンサ 40・・・マイクロ命令記憶部 50・・・パイプラインレジスタ 60・・・シーケンサ制御部 70・・・演算制御部 80・・・マイクロ命令記憶部の内部における可変メモ
リ 90・・・マイクロ命令記憶部の内部における固定メモ
FIG. 1 is a block diagram showing an example of the configuration of a conventional microprocessor, and FIG. 2 is a block diagram showing an embodiment of a microprocessor according to the present invention, which is an improved version of the microprocessor shown in FIG. 10... Instruction register 11.31.41.51.52... Bus 20... Mapping memory 30... Sequencer 40... Micro instruction storage unit 50... Pipeline register 60... Sequencer control section 70...Arithmetic control section 80...Variable memory 90 inside the microinstruction storage section...Fixed memory inside the microinstruction storage section

Claims (1)

【特許請求の範囲】[Claims] 命令レジスタと、マツピングメモリと、シーケンサと、
マイクロ命令記憶部と、パイプラインレジスタと、シー
ケンサ制御部と、演算制御部とを具備したマイクロプロ
セッサに督いて、前記マイクロ命令記憶部が固定メモリ
と可変メモリとから成立ち、外部の命令記憶部から読出
された命令コードによって、前記可変メモリの内容を書
換える機能を具備したことを特徴とするマイクロプロセ
ッサ。
instruction register, mapping memory, sequencer,
The microprocessor includes a microinstruction storage unit, a pipeline register, a sequencer control unit, and an arithmetic control unit, and the microinstruction storage unit includes a fixed memory and a variable memory, and an external instruction storage unit A microprocessor comprising a function of rewriting the contents of the variable memory using an instruction code read from the microprocessor.
JP9585982A 1982-06-04 1982-06-04 Microprocessor Pending JPS58213347A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9585982A JPS58213347A (en) 1982-06-04 1982-06-04 Microprocessor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9585982A JPS58213347A (en) 1982-06-04 1982-06-04 Microprocessor

Publications (1)

Publication Number Publication Date
JPS58213347A true JPS58213347A (en) 1983-12-12

Family

ID=14149086

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9585982A Pending JPS58213347A (en) 1982-06-04 1982-06-04 Microprocessor

Country Status (1)

Country Link
JP (1) JPS58213347A (en)

Similar Documents

Publication Publication Date Title
JPS62197830A (en) Data processing system
JPS61170828A (en) Microprogram control device
JPS58213347A (en) Microprocessor
JP2826309B2 (en) Information processing device
JP2731618B2 (en) emulator
US20020004877A1 (en) Method and system for updating user memory in emulator systems
JPS584418A (en) Resetting system of data processor
JPS6339928B2 (en)
Berndt Microprogramming with statements of higher-level languages
JP2659147B2 (en) Evaluation microcomputer
JPH06103106A (en) Program debug device
JPS6112579B2 (en)
JPS5952348A (en) Microprogram controller
JP2002132499A (en) Data processing apparatus and recording medium
JPS60241135A (en) Address producing system
JPS62297940A (en) Data processor
JPS59186048A (en) Microprogram control system
JPS60191333A (en) Data processor
JPH0353321A (en) Information processor
JPH0415826A (en) One-chip microcomputer
JPS62271143A (en) Coprocessor
JPH0697435B2 (en) Variation chip
JPH0545978B2 (en)
JPH0673104B2 (en) Micro program controller
JPS58107958A (en) Register designating method in microprogram