JPS6225334A - Instruction processing system - Google Patents

Instruction processing system

Info

Publication number
JPS6225334A
JPS6225334A JP60165177A JP16517785A JPS6225334A JP S6225334 A JPS6225334 A JP S6225334A JP 60165177 A JP60165177 A JP 60165177A JP 16517785 A JP16517785 A JP 16517785A JP S6225334 A JPS6225334 A JP S6225334A
Authority
JP
Japan
Prior art keywords
instruction code
instruction
code
storage means
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.)
Granted
Application number
JP60165177A
Other languages
Japanese (ja)
Other versions
JPH07109589B2 (en
Inventor
Yukari Misawa
三沢 ゆかり
Shigetatsu Katori
香取 重達
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 JP60165177A priority Critical patent/JPH07109589B2/en
Publication of JPS6225334A publication Critical patent/JPS6225334A/en
Publication of JPH07109589B2 publication Critical patent/JPH07109589B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Executing Machine-Instructions (AREA)
  • Microcomputers (AREA)

Abstract

PURPOSE:To perform in parallel the storage of the 1st and the 2nd instruction code groups in a queue storage means, conversion from the 2nd instruction code to the 1st instruction code, and the execution of the 1st instruction code. CONSTITUTION:An instruction code on an internal data bus 111 is the instruction code of a host device in native mode and an execution unit 102 is in the native mode, so an instruction code selector 104 selects the instruction code on the internal data bus 11 and the execution unit 102 decodes the instruction code to perform processing. In emulation mode, on the other hand, the instruction code on the internal data bus 111 is the instruction code of a low priority device and this instruction code is sent to a code conversion memory 105 and converted into the instruction code of the host device. The instruction code selector 104 selects the instruction code in the code conversion memory 105 and outputs the instruction code which is converted into a host device instruction to the execution unit 102.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、命令コードを解読するM:J、回路の制御に
より各4のデータ処理を実行する演算処理装置を単一半
導体基盤上に集積した情報処理装置の命令処理方式に閤
する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention is an M:J that decodes instruction codes, and an arithmetic processing unit that executes four data processes under the control of circuits, which are integrated on a single semiconductor substrate. This applies to the instruction processing method of the information processing device.

〔従来の技術〕[Conventional technology]

最近、パーソナルコンピュータ、オフィスコンビ、−夕
等の情報処理PJ、器が、企業内ではもちろろん、−a
ysでも多く利用されている。これら情報処理機器は、
利用】範囲が広く、それに伴うソフトウェアも増え訝げ
、今では膨大な数となフている。
Recently, personal computers, office combinations, information processing projects, equipment such as -a
It is also widely used in ys. These information processing devices are
[Usage] The scope is wide, and the number of software accompanying it has also increased, and now there are a huge number of them.

ソフトウェアの増大と平行して、情報処理機器も利用者
の要求とともに、高性能化、高速処理化が進んでいる。
In parallel with the increase in software, information processing equipment is also becoming more sophisticated and faster in line with user demands.

しかし、次々と新しい機種が製品化されているため、最
新機種として製品化された情報処理機器もすぐに旧式化
しているというのが現状である。
However, as new models are being commercialized one after another, the current situation is that even information processing equipment that has been commercialized as the latest model quickly becomes obsolete.

従来の機種(以下、下位機種と記す)には、多くのソフ
トウェアが用意されているが下位機種の命令コードは、
最新の機種(以下、上位機種と記す)の命令コードとは
全く異る。最新の上位機種のソフトウェアと従来の下位
機種のソフトウェアとの互換性が問題になっている。
Conventional models (hereinafter referred to as lower models) have a lot of software available, but the instruction codes for lower models are
It is completely different from the instruction code of the latest models (hereinafter referred to as higher models). Compatibility between the software of the latest higher-end models and the software of older lower-end models has become a problem.

@8図は、従来の情報処理機器の構成図である。@Figure 8 is a configuration diagram of a conventional information processing device.

CPU801は上位機種の命令セットを実行するマイコ
ンである。メモリ802には、実行されるプログラムや
処理データが格納されて忘り、バスでCPU3Qlや入
出力装置802と結合されているO 上記の様な構成の機器で下位機種用のソフトウェアを実
行してもCPU801は上位機種の命令コードとして解
釈し正しい処理を行うことは不可能である。
The CPU 801 is a microcomputer that executes the instruction set of the host model. The memory 802 stores programs to be executed and processing data, and is connected to the CPU 3Q1 and input/output device 802 via a bus. However, it is impossible for the CPU 801 to interpret it as an instruction code for a higher-level model and perform correct processing.

また、この膨大の数の従来の下位機種用のソフトウェア
が上位機種に使用できないという理由で無視することも
不可能である。そこで、今まで上位機種上で下位機種用
のソフトウェアを使用する方法として、第1に下位機種
用ソフトウェアのソースプログラムを上位機種用lこ書
き直して上位機種上で用いる方法、@2に上位機種用の
命令で全く新しいソフトウェアを作るという方法があっ
た。
Furthermore, it is impossible to ignore this huge number of conventional software for lower-level models because it cannot be used for higher-level models. Therefore, up until now, the methods for using software for lower models on higher models are: 1) rewriting the source program of the software for lower models for the higher model and using it on the higher model; There was a way to create completely new software based on the instructions given.

しかし、第1の方法には、現在量われているすべての下
位機種用のソフトウェアを上位機種用に書き直すために
大変な時間を費してしまうという問題がある。また、第
2の方法には、従来のソフトウェアと同じだけのソフト
ウェアを新たに作成するために今までと同じ、または、
それ以上の工数と費用がかかってしまうという問題があ
る。つまり、上記の2つの方法は、下位+3A徨用のソ
フトウェアが膨大な故となってしまった今では用いるこ
とが不可能である。そこで従来は、第9図の様な構成の
情報装置900が考えられた。
However, the first method has the problem that it takes a lot of time to rewrite all the software currently available for lower-level models for higher-level models. In addition, the second method includes creating new software that is the same as the previous software, or
There is a problem in that it requires more man-hours and costs. In other words, the above two methods cannot be used now that the amount of software for lower +3A users is enormous. Therefore, conventionally, an information device 900 having a configuration as shown in FIG. 9 has been considered.

次に第9図を参照しながら情報処理装置900の構成と
動作を説明する。
Next, the configuration and operation of the information processing device 900 will be explained with reference to FIG.

第9図は、上位機種の命令セットを実行するマイコン9
01と下位機種の命令セットを実行するマイコン902
0両方を搭載させた情報処理装置900のブロック図で
ある。第9図に8いて、上位機種の命令セットを実行す
るマイコン901と下位機種の命令セフ)を実行するマ
イコン902は、エミュレーシフン制仰装置903に接
続されている。上位機種用のソフトウェアを実行させる
時は、エミュレータ1ン制御装置903の制御でアドレ
スバス905、データバス906が上位機種の命令セッ
トを実行するマイコン901に接続され、メモリ904
の中の上位機種用のプログラムを実行する。下位機種用
のソフトウェアを実行させるときは、エミエlノーシ田
ン制御装置903の制御でアドレスバス゛905、デー
タバス906が下位機種の命令セットを実行するマイコ
ン902に接続され、メモリ904の中の下位機種用の
プログラムを実行する。この様にして、下位機種用、上
位機種用両方のソフトウェアを実行できる。
Figure 9 shows a microcomputer 9 that executes the instruction set of the host model.
01 and a microcomputer 902 that executes the instruction set of lower models.
2 is a block diagram of an information processing device 900 equipped with both 0 and 0. FIG. In FIG. 9, a microcomputer 901 that executes an instruction set of a higher-level model and a microcomputer 902 that executes an instruction set of a lower-level model are connected to an emulator control device 903. When executing software for a higher-level model, the address bus 905 and data bus 906 are connected to the microcomputer 901 that executes the instruction set of the higher-level model under the control of the emulator 1 controller 903, and the memory 904
Execute the program for the higher model in . When executing software for a lower model, an address bus 905 and a data bus 906 are connected to a microcomputer 902 that executes an instruction set for the lower model under the control of the industrial controller 903. Run the program for your model. In this way, software for both lower-level and higher-level models can be executed.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来の情報処理装置は、上位機種の命令コード
実行用と、下位機種の命令コード実行用の2つのマイコ
ンを搭載しており、情報処理装置のシステム規模が大き
くなってしまうという欠点がある。それに伴い、価格が
高価になってしまうという欠点もある。また、マイコン
を2つ搭載するということは、下位機種の命令コード実
行用のマイコン5:更っているときは、もう1つの上位
機種の命令コード実行用のマイコンは使われてSらず、
上位機種の命令コード実行用のマイコンを虜っていると
きは、もう1つの下位i*iの命令コード実行用のマイ
コンは使われていないというように、常に片方のマイコ
ンしか使われていないため、ハードウェアが無駄になっ
てしまうという欠点がある。
The conventional information processing device described above is equipped with two microcomputers, one for executing the instruction code of the higher-level model and the other for executing the instruction code of the lower-level model, which has the disadvantage that the system scale of the information processing device becomes large. . Along with this, there is also the drawback that the price becomes high. In addition, installing two microcontrollers means that when microcontroller 5 for executing instruction codes of the lower model is idle, the microcontroller for executing instruction codes of the other higher model is not used.
When a microcontroller for executing instruction code of a higher-level model is occupied, the other microcontroller for executing instruction code of a lower-level i*i is not being used, so only one microcontroller is always being used. , the disadvantage is that hardware is wasted.

〔問題点を解決するための手段〕 本発明に基づく情報処理装置は、プログラム記憶手段内
に格納される第1の命令コード群を解読する解読回路の
制菌により、各種のデータ処理を実行−r6演算処理装
置を単一半導体基盤上に奥積した半導体集1v回路に3
いて複数Dilの命令コード群と第2の全台コード8p
を蓄える侍を行うす記憶手段と、プログラム記憶手段内
の第1の命令コード群とZ20心令コード群を待ち行列
記憶手段へ送出する命令1位み出し手段と、蔦1の1猪
令コ一ド群を実行する実行手段と、第2の命令コード群
から第1の命令コード群を生成する敵令コード変換記憶
手段を有し、命令読み出し手段によるプログラム記憶手
段内の第1の命令コード群と第2の命令コード群の待ち
行列記憶手段への格納処理と命令コード変換記憶手段に
よる第2の命令コードから11の命令コードへの変換処
理と実行手段による第1 Ofi令コードの実行処理を
並列に実行すること)2特徴とする。
[Means for Solving the Problems] The information processing device based on the present invention executes various data processing by sterilization of the decoding circuit that decodes the first instruction code group stored in the program storage means. 3 in a semiconductor integrated 1V circuit with an r6 arithmetic processing unit integrated on a single semiconductor substrate.
The instruction code group of multiple Dil and the second all-machine code 8p
storage means for storing the first instruction code group and Z20 command code group in the program storage means to the queue storage means; an execution means for executing a first instruction code group; and an enemy instruction code conversion storage means for generating a first instruction code group from a second instruction code group; storing the second instruction code group in the queue storage means, converting the second instruction code into the eleventh instruction code by the instruction code conversion storage means, and executing the first Ofi instruction code by the execution means. (to be executed in parallel).

〔実施例〕〔Example〕

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

第1図は1本発明に関する情報処理装置の構成図である
。ti↑報処理装置100には2つのモードがあり、1
つは上位機種用の命令として実行するモード(以下ネイ
ティブモードと記す)と他方は、下位機種用の命令とし
て処理するモード(以下エミエレーシνンモードと記す
)である。第1図の情報処理装置1000マイクロコン
ビ1、−夕10】は、下位機種の命令セットを実行する
機能(以下エミー17−シ7ン機能と記す)と本来の命
令セットを実行する機能の両方を備えている。マイクロ
コンピュータ101は実行ユニット102、入出力装置
1103、命令コードセレクタ104、コード変換メモ
リ105、QUEUgl 06、フェッチユニット10
7から構成される。QUEUE106は、複数の命令を
蓄えて2くことができ、読み出されるときは、書き込ま
れた順に1命令ずつ内部データバース111へ送出する
。QUEUE106からは、Qugugi 06の状態
信号であるQRDY信号109とQFULL信号110
が送出されている。QRDY信号109は、実行ユニッ
ト102とフェッチユニット107に送出されて8つ、
QUEUE  106の中に処理する命令コードが、あ
るかないかを示している。処理する命令コードがある場
合は、アクティブレベル″1”となる。QFULL (
P!号110は、フェッチユニット107に送出されて
2つ、QUEU′FJ 106の中に、まだ、命令コー
ドを書き込める余裕があるかないかを示している。QU
EUE  106がいっばいで、命令コードを書き込む
ことができない場合、アクティブ1ノベル″1″′とな
る。QUIIEUE106を用いない場合、情報処理装
置は第4図の様lこ動作し、実行ユニット102は、命
令コードの実行を終えるまでメモリ108から次の命令
フードを読み出すことができないため、情報処理装置内
では、常に、フェッチまたは実行の一方の処理しか行う
ことができない。とこいがQUEUE106があると、
実行ユニット102が命令コードの実行をしていても、
フェッチユニット107の指示でメモ1,110 Bか
らのフェッチが行われ、QUEUE  106に蓄えら
れる。QRDY信号109がアクティブレベル″′1”
であればQUEUE106からは命令コードが次々と送
出されるため、前の命令コードが実行ユニット102に
取り込まれると、次の命令はすでにQUEUE から内
部データバス111に送出されている。そのため、第5
図の様に、フェッチと実行が平行して行われ、第4図の
QUhCUE がない場合に比べて処理時間が短縮され
る。
FIG. 1 is a block diagram of an information processing apparatus related to the present invention. The ti↑ information processing device 100 has two modes: 1
One is a mode in which instructions are executed as instructions for higher-level models (hereinafter referred to as native mode), and the other is a mode in which instructions are processed as instructions for lower-level machines (hereinafter referred to as emirasin mode). The information processing device 1000 microcombi 1, -10] shown in FIG. It is equipped with The microcomputer 101 includes an execution unit 102, an input/output device 1103, an instruction code selector 104, a code conversion memory 105, a QUEUgl 06, and a fetch unit 10.
Consists of 7. The QUEUE 106 can store and store two or more instructions, and when read, sends the instructions one by one to the internal dataverse 111 in the order in which they were written. From QUEUE 106, QRDY signal 109 and QFULL signal 110, which are status signals of Qugugi 06, are sent.
is being sent. The QRDY signal 109 is sent to the execution unit 102 and the fetch unit 107, and eight
It shows whether there is an instruction code to be processed in QUEUE 106 or not. If there is an instruction code to be processed, the active level becomes "1". QFULL (
P! No. 110 is sent to the fetch unit 107 and indicates whether or not there is still room in the QUEU'FJ 106 to write an instruction code. QU
If the EUE 106 is unable to write an instruction code at once, it becomes active 1 novel ``1''''. If the QUIIEUE 106 is not used, the information processing device operates as shown in FIG. 4, and the execution unit 102 cannot read the next instruction food from the memory 108 until it finishes executing the instruction code. At any given time, only one of the processes, fetch or execute, can be performed. If Tokoi has QUEUE106,
Even if the execution unit 102 is executing the instruction code,
A fetch from the memo 1,110B is performed according to instructions from the fetch unit 107, and is stored in the QUEUE 106. QRDY signal 109 is active level "'1"
In this case, instruction codes are sent one after another from QUEUE 106, so that when the previous instruction code is taken into execution unit 102, the next instruction has already been sent from QUEUE to internal data bus 111. Therefore, the fifth
As shown in the figure, fetch and execution are performed in parallel, and the processing time is reduced compared to the case without QUhCUE as shown in FIG.

フェッチユニット107は、QUEUE  106カL
D )QRDY M M 109 S ヨヒQFULL
 110を受けて、メモリ108からQUEUE 10
6への命令の書き込みをル11@する。QFULL (
:3号110がインアクティブ1ノベル″′0″′で、
QRI)Y信号109がアクティブレベル″′1″の場
合。
The fetch unit 107 has QUEUE 106
D) QRDY MM 109 S Yohi QFULL
110, QUEUE 10 is sent from the memory 108.
Write the instruction to 6 at 11@. QFULL (
: No. 3 110 is an inactive 1 novel ″′0″′,
QRI) When the Y signal 109 is at active level "'1".

QUEUE  106にはまだ命令を書き込む余裕があ
り、QFULL 信号110がインアクティブレベル1
0”で、Q、 R,D Y信号109もインアクティブ
1/ベル″′0″′の場合、QUEUE 106には処
理する命令が入っていないため、フェッチユニット10
7からは、アト1ノス情報が内部アドレス113上に送
出され、外部アト1/スバス114を介してメモリ10
8に受は取られる。するとメモリ108から命令コード
が送出され、外部データハx 112 fgテQUEU
F;  106 ic書キ込まn、蓄えられる。QUB
Ug  106がいっばいになると、QFULL 信号
110がアクティブルベル″1”となり、フェッチユニ
ット107は、アトI−ス惰報の送出をしなくなる。Q
 F U L L 信号110がインアクティブレベル
“0”になると再びメモリ108からQUEUE  1
06へ命令コードの書き込みが行われる。
QUEUE 106 still has room to write instructions, and QFULL signal 110 is inactive level 1.
0" and the Q, R, D Y signal 109 is also inactive 1/bell "'0"', the QUEUE 106 does not contain an instruction to be processed, so the fetch unit 10
From 7, the At1nos information is sent onto the internal address 113 and sent to the memory 10 via the external At1/S bus 114.
Uke is taken on 8th. Then, the instruction code is sent from the memory 108, and the external data
F; 106 ic write n, stored. QUB
When the Ug 106 becomes full, the QFULL signal 110 becomes an active level "1" and the fetch unit 107 no longer sends out the at-I-space information. Q
When the F U L L signal 110 becomes inactive level “0”, the QUEUE 1 is output from the memory 108 again.
The instruction code is written to 06.

コード変換メモリ105には、下位機種の命令コードを
上(1機種の命令コードに変換するコード変換テーブル
が格納されている。
The code conversion memory 105 stores a code conversion table for converting instruction codes of a lower model into instruction codes of an upper (one model).

命令コード上1/クタ104は、内部データバス111
上の宿合コードか、コード変換メモリ105内の変換さ
れた命令コードかを選択し、実行ユニット102へ送出
する。
The instruction code 1/actor 104 is connected to the internal data bus 111.
Either the above code or the converted instruction code in the code conversion memory 105 is selected and sent to the execution unit 102.

メモリ108には、マイクロコンピュータ101がネイ
ティブモードで実行するプログラム、エミュレーシフン
モードで実行するプログラム、処、環データが納められ
ている。
The memory 108 stores programs to be executed by the microcomputer 101 in native mode, programs to be executed in emulator mode, processing, and environment data.

実行ユニット102内には、プログラム・カウンタ(以
下PCと記す)115、プログラム・ステータス・ワー
ド(以下PSWと記−j) 116.1/ジスタ群11
7が含まれている。
Inside the execution unit 102, a program counter (hereinafter referred to as PC) 115, a program status word (hereinafter referred to as PSW) 116.1/register group 11
7 is included.

P8W116には、ネイティブモード、エミー1/−シ
ッンモードを設定するモード設定フリップフロップ11
8が設置されている。他に2フラグ、キャリーフラグ等
も含まれているが本図中には図示していない。このモー
ド設定フリップ・フロツプ118が@1”の場合、シン
グルチップマイコン101はネイティブモードとなり、
フェッチした命令コードを上位機種用の命令コードとし
て解釈、実行する。また、モード設定フリップフロップ
118が′0“の場合、シングルチップマイコン101
は、エミュレーシヲンモードとなり、フェッチした命令
コードを下位機種用の命令コードとして処理する。
P8W116 has a mode setting flip-flop 11 for setting native mode and Emmy1/-thin mode.
8 is installed. There are also two flags, a carry flag, etc., but they are not shown in this figure. When this mode setting flip-flop 118 is @1'', the single-chip microcomputer 101 is in native mode,
Interprets and executes the fetched instruction code as an instruction code for the upper model. Furthermore, when the mode setting flip-flop 118 is '0'', the single-chip microcomputer 101
enters emulation mode and processes the fetched instruction code as an instruction code for a lower model.

以下に実行ユニット102が実行する命令処理を第2図
のフローチャートを参照しながら説明する。MOVは、
転送命令で、レジスタ・レジスタ間、17ジスタ・メモ
リ間でのデータの転送、又は、l/レジスタの直接デー
タ転送、メモリへ0直接データ転送を行う。A I:)
 Dは、加算命令で、i/ジスタブラス17ジスタ、1
/ジスクプラスメモリ、メモリプラス1/ジスタ、1/
ジスタブラスデータ、メモリプラスデータの処理を行い
、計算結果を1/ジスタまたはメモリに格Aflする。
The command processing executed by the execution unit 102 will be described below with reference to the flowchart of FIG. MOV is
Transfer commands transfer data between registers, 17 registers and memory, direct data transfer of l/registers, or direct data transfer of 0 to memory. AI:)
D is an addition instruction, i/jistabras 17jista, 1
/disk plus memory, memory plus 1/disk plus memory, 1/
Processes the register plus data and memory plus data, and stores the calculation results in 1/register or memory.

SUBは、減3J命令で、レジスタマイナスレジスタ、
レジスタマイナスメモリ、メモリマイナスレジスタ、1
7ジスタマイナスデータ、メモリマイナスデータの処理
を行い、計に結果を1/ジスタまたは、メモリに格納す
る。INA、nは、入出力命令で、第2オパランドで指
定している入出力装f#103のアト1/スロに格納し
であるデータをアキュムレ−タ入に転送する。OU T
 、k 、 nは、入出力命令で、第2オペランドで指
定している入出力装置103のアドレスnにアキュムレ
ータA′の内容を転送する。INTは、割込命令で、I
NTが実行されるとP C115とPSWl15をスタ
ック領域に退避し、所定割込みベクタへ分岐する。そし
て、PSW116内のモード設定フリップフロップ11
8を強制的にセットし、ネイティブモードとなる。11
18 T I命令は、主プログラムへの復帰命令で、こ
の命令を実行すると、スタック領域に退避されている割
込命令前のP C、P 5W12′)情報をリストアし
、再び主プログラムに戻る。
SUB is a decrement 3J instruction, register minus register,
register minus memory, memory minus register, 1
Processes 7 register minus data and memory minus data and stores the results in 1 register or memory. INA,n is an input/output command that transfers data stored in the at 1/slot of the input/output device f#103 specified by the second operand to the accumulator input. OUT
, k, n are input/output instructions that transfer the contents of accumulator A' to address n of the input/output device 103 specified by the second operand. INT is an interrupt instruction, I
When NT is executed, the PC115 and PSW115 are saved in the stack area and branched to a predetermined interrupt vector. Then, the mode setting flip-flop 11 in the PSW 116
Forcibly set to 8 to enter native mode. 11
The 18 T I instruction is an instruction for returning to the main program. When this instruction is executed, the P C, P 5W12') information before the interrupt instruction saved in the stack area is restored, and the program returns to the main program again.

次に情報処理装置100の動作を説明する。Cの情報処
理装置100はQUg[J’2 106を用いているた
め、実行ユニッl−102が命令コードの実行をしてい
ても、フェッチユニット107の指示でメモリ108か
らのフェッチか行われ。
Next, the operation of the information processing device 100 will be explained. Since the C information processing device 100 uses the QUg[J'2 106, even if the execution unit l-102 is executing an instruction code, a fetch from the memory 108 is performed according to an instruction from the fetch unit 107.

QUEUE  106に蓄えられる。QRDY信号10
9かアクティブl/ベル11”であれば、QUEUE1
06からは、命令コードが次々と送出されるため、前の
命令コードが実行ユニット102に屯り込まれると次の
命令はすでlこQUEUE 106から内部データバス
111に送出されている。ここまでは、ネイティブ・モ
ードにもエミー17−シヨン℃−ドにも共通の動作であ
る。Vc < a作は、オイティブモードとエミx l
/−シミンモードとに分けて説明する。
It is stored in QUEUE 106. QRDY signal 10
9 or active l/bell 11”, QUEUE1
Since instruction codes are sent out one after another from QUEUE 106 onwards, when the previous instruction code is received into the execution unit 102, the next instruction has already been sent out from the QUEUE 106 to the internal data bus 111. The operations up to this point are common to both the native mode and the Emmy 17-mode. Vc < a work is eutive mode and emi x l
/- Shimin mode will be explained separately.

まず最初にネイティブモードの場合を説明する。First, the case of native mode will be explained.

内部データバス111上の命令コードは、上位機種の命
令コードである。実行ユニット102はネイティブモー
ドで動作しているため、命令フードセレクタ104は内
部データバス111上の命令コードを選択し、実行ユニ
ット102に出力する。
The instruction code on the internal data bus 111 is an instruction code of a host model. Since the execution unit 102 is operating in native mode, the instruction food selector 104 selects the instruction code on the internal data bus 111 and outputs it to the execution unit 102.

実行ユニット102は、この命令コードをデコードして
、第2図で説明した各命令を処理する。このときは、す
でに次の命令コードが内部データバス111上に出力さ
れて8つ、前の命令コードの処理が終わるのを待ってい
る。この様に第5図に示す通り、命令コードのフェッチ
、命令コードの実行が平行して行われるため、第4図の
QUEUEがない場合に比べ処理時間が短縮される。
Execution unit 102 decodes this instruction code and processes each instruction described in FIG. At this time, the next eight instruction codes have already been output onto the internal data bus 111, and the process is waiting for the previous instruction code to finish processing. In this manner, as shown in FIG. 5, fetching of the instruction code and execution of the instruction code are performed in parallel, so the processing time is reduced compared to the case without QUEUE as shown in FIG.

次に、エミュレーションモードの場合を説明する。内部
データバス111上の命令コードは、下位機種の命令コ
ードである。下位機種の命令コードは、コード変換メモ
リ105に送られ、コード変換メモリ105内のコード
変換テーブルによって上位機種の命令コードに変換され
る。すなわち、コード変換メモリ105は、F位機種用
MOV命令の命令コードが入力すると、下位機種用MO
V命令と同じ処理を行う上位機種用MOV命令の命令コ
ードに変換し、同様に下位機種用ADD命令の命令コー
ドが入力すると、下位機種用ADD命令と同じ処理を行
う上位機種用ADD命令の命令コードに変換する。実行
ユニッ)102がエミュレーションモードで動作してい
るため、命令コードセレクタ104は、コード変換メモ
リ105の命令コードを選択し、上位機種命令に変換さ
れた命令コードを実行ユニット102に出力する。実行
ユニット102はこの命令コードをデコードしてMOV
であれば転送をADDであれば加算をSUBであれば、
減算を実行する。命令コードを変換した後の実行ユニッ
ト102の動作は第2図で説明したものと同様である。
Next, the case of emulation mode will be explained. The instruction code on the internal data bus 111 is the instruction code of the lower model. The instruction code of the lower model is sent to the code conversion memory 105, and is converted into the instruction code of the higher model by the code conversion table in the code conversion memory 105. That is, when the code conversion memory 105 inputs the instruction code of the MOV instruction for the F-rank model, the code conversion memory 105 converts the MOV instruction code for the lower model.
When the instruction code of the MOV instruction for higher models that performs the same processing as the V instruction is input, and the instruction code of the ADD instruction for lower models is input, the instruction code of the ADD instruction for higher models that performs the same processing as the ADD instruction for lower models is converted. Convert to code. Since the execution unit 102 is operating in the emulation mode, the instruction code selector 104 selects the instruction code in the code conversion memory 105 and outputs the instruction code converted to a higher-level model instruction to the execution unit 102. The execution unit 102 decodes this instruction code and executes MOV.
If the transfer is ADD, if the addition is SUB,
Perform subtraction. The operation of execution unit 102 after converting the instruction code is similar to that described in FIG.

そして、このときはすでに次の命令コードがコード変換
されている。
At this time, the next instruction code has already been converted.

以上の様に、第7図に示す通り、命令コードのフェッチ
、命令コードの変換、命令コードの実行が平行(7て行
われるため、第6図のQUEU[かない場合に比べ、処
理時間が短縮される。
As described above, as shown in Fig. 7, instruction code fetch, instruction code conversion, and instruction code execution are performed in parallel (7), so the processing time is reduced compared to the case where QUEU is not used in Fig. 6. be done.

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

以上説明したように本発明は下位機種の命令セットを実
行する機能と上位機種の命令セットを実行する機能を備
えているため、下位機種用と上位機種用の両方のソフト
ウェアを実行できるという利点がある。
As explained above, the present invention has the function of executing the instruction set of the lower model and the function of executing the instruction set of the higher model, so it has the advantage of being able to execute software for both the lower model and the higher model. be.

また、本発明に関する情報処理装置には、命令コード変
換メモリを用いているため、2つのマイコンを搭載する
ことなく上位機種の命令セットを実行する機能をもった
マイコンだけで下位機種の命令も処理できるので、今ま
での下位機種用のマイコンと上位機種用のマイコンの2
つを筐っていた情報処理装置に比べ小型化でき、また、
低コスト化も可能であるという利点もある。
In addition, since the information processing device according to the present invention uses an instruction code conversion memory, the microcontroller that has the function of executing the instruction set of the higher-level model can also process the instructions of the lower-level model without installing two microcontrollers. Since it is possible to do so, there are two microcontrollers: one for lower-level models and one for higher-level models.
It can be made smaller compared to information processing equipment that used to have one housing, and
There is also the advantage that cost reduction is possible.

さらに1本発明に関する情報処理装置には、QUEUE
を用いているため、l命令の処理が終わるたびにメモリ
から命令コードを読み出すのではなく、命令コードのフ
ェッチ、命令コードの実行が平行して行われるため、プ
ログラム処理速度が速いという利点がある。
Furthermore, the information processing device related to the present invention includes QUEUE.
Since the instruction code is not read from the memory every time the instruction is processed, the instruction code is fetched and executed in parallel, resulting in faster program processing speed. .

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

第1図は本発明に3けるr#報処浬裟aの構成図、第2
図はネイティブモード時のフローチャート、WJ3図は
エミュレーションモード時のフローチャーミー1第4因
はQU13UEを用いないときのタイムチャート、第5
図はQIJEUEを用いたと1のタイムチャート、・■
6図は本発明に3ける1n報処理装置にBいてQU’E
UB を用いない場合のタイムチャート、47図は本発
明に3ける情報処理装置に3いてQUEUE を用いる
場合のタイムチャート、第8図は従来のエミーレーシ1
ン機能の付加されていない上位搦(Iの構成図1、第9
図は従来の下位機種用エミx l/−ジョン機能付の上
位機4重の構成図である。 102・・・・・・実行ユニット、103・・・・・入
出力装置、104−・・・・・命令コードセレクタ、1
05・・・・・・コード変換メモリ、106・・・・・
・QUEUE、I O7・・・・・・フェッチユニット
、108・・・・・・メモリ、109・・・・・・Q、
 RD Y信号、110・・・・・・QFULL信号、
111・・・・・・内g1!デークバス、112・・・
・・・外部データバス、113・・・・・・内部アドレ
スバス、114・・・・・・外部アドレスバス、115
゛旧°゛PC1116・・・・・・psw、117・・
・・・・1/ジスタ、118・・・・・・モード1α定
フリップフロププ、801・・・・・・CPU、802
・・・・・・メモ!J−803・・・・・・入出力装置
、901・・・・・・上位機種用マイコン、902・・
・・・・下・泣磯種用マイコン、903・・・・・・℃
ミュ1/−ジョン制間装置、904・・・・・・メモリ
、905・・・・・・アドレスバス、906・・・・−
・データバス。 代理人 弁理士  内 原   晋( ネイ ティ7゛”(−F’へ 第 3図
Figure 1 is a configuration diagram of the r# report processing unit a according to the present invention.
The figure is a flowchart in native mode, the WJ3 figure is a flowchart in emulation mode, Charmy 1, the fourth factor is a time chart when QU13UE is not used, and the fifth
The figure is a time chart of 1 using QIJEUE,・■
Figure 6 shows QU'E in the 1n information processing device according to the present invention.
47 is a time chart when QUEUE is used in the information processing apparatus 3 according to the present invention, and FIG.
The upper rack without the link function (I block diagram 1, 9th
The figure is a configuration diagram of a conventional quadruple high-level machine with an EMI x l/-john function for lower-level models. 102... Execution unit, 103... Input/output device, 104-... Instruction code selector, 1
05... Code conversion memory, 106...
・QUEUE, I O7...Fetch unit, 108...Memory, 109...Q,
RD Y signal, 110...QFULL signal,
111...inner g1! Dekubus, 112...
... External data bus, 113 ... Internal address bus, 114 ... External address bus, 115
゛Old゛PC1116...psw, 117...
...1/Jister, 118...Mode 1α constant flip-flop, 801...CPU, 802
...Memo! J-803...Input/output device, 901...Microcomputer for higher-end models, 902...
・・・・Bottom・Microcontroller for Cryiso species, 903・・・・・・℃
Mu1/- John space device, 904... Memory, 905... Address bus, 906...-
・Data bus. Agent: Susumu Uchihara, patent attorney

Claims (1)

【特許請求の範囲】[Claims] プログラム記憶手段内に格納される第1の命令コード群
を解読する解読回路の制御により、各種のデータ処理を
実行する演算処理装置を単一半導体基盤上に集積した半
導体集積回路において、複数の前記第1の命令コード群
と第2の命令コード群を蓄える記憶手段と、前記プログ
ラム記憶手段内の前記第1の命令コード群と前記第2の
命令コード群を前記記憶手段へ送出する命令読み出し手
段と、前記第1の命令コード群を実行する実行手段と、
前記第2の命令コード群から前記第1の命令コード群を
生成する命令コード変換記憶手段とを含み、前記命令読
み出し手段による前記プログラム記憶手段内の前記第1
の命令コード群と前記第2の命令コード群の前記記憶手
段への格納処理と、前記命令コード変換記憶手段による
前記第2の命令コードから前記第1の命令コードへの変
換処理と、前記実行手段による前記第1の命令コードの
実行処理とを並列に実行することを特徴とする命令処理
方式。
In a semiconductor integrated circuit in which arithmetic processing units that perform various data processing are integrated on a single semiconductor substrate under the control of a decoding circuit that decodes a first instruction code group stored in a program storage means, a plurality of storage means for storing a first instruction code group and a second instruction code group; and instruction reading means for sending the first instruction code group and the second instruction code group in the program storage means to the storage means. and execution means for executing the first instruction code group;
instruction code conversion storage means for generating the first instruction code group from the second instruction code group;
storing the instruction code group and the second instruction code group in the storage means, converting the second instruction code into the first instruction code by the instruction code conversion storage means, and executing the instruction code. An instruction processing method characterized in that the execution processing of the first instruction code by means is executed in parallel.
JP60165177A 1985-07-25 1985-07-25 Instruction processing method Expired - Lifetime JPH07109589B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60165177A JPH07109589B2 (en) 1985-07-25 1985-07-25 Instruction processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60165177A JPH07109589B2 (en) 1985-07-25 1985-07-25 Instruction processing method

Publications (2)

Publication Number Publication Date
JPS6225334A true JPS6225334A (en) 1987-02-03
JPH07109589B2 JPH07109589B2 (en) 1995-11-22

Family

ID=15807313

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60165177A Expired - Lifetime JPH07109589B2 (en) 1985-07-25 1985-07-25 Instruction processing method

Country Status (1)

Country Link
JP (1) JPH07109589B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03195461A (en) * 1989-12-22 1991-08-27 Tsuji Seiyu Kk Production of artificial feed improved in seawater resistance
JPH04268928A (en) * 1991-02-25 1992-09-24 Toshiba Corp Emulation device and semiconductor device
US5758140A (en) * 1996-01-25 1998-05-26 International Business Machines Corporation Method and system for emulating instructions by performing an operation directly using special-purpose register contents
USRE43248E1 (en) 1994-06-10 2012-03-13 Arm Limited Interoperability with multiple instruction sets

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5132146A (en) * 1974-09-11 1976-03-18 Omron Tateisi Electronics Co
JPS5430752A (en) * 1977-08-10 1979-03-07 Itek Corp High speed realltime computer emulator
JPS598058A (en) * 1982-07-02 1984-01-17 Matsushita Electric Ind Co Ltd Microprocessor
JPS5999552A (en) * 1982-11-30 1984-06-08 Matsushita Electric Ind Co Ltd Microcomputer

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5132146A (en) * 1974-09-11 1976-03-18 Omron Tateisi Electronics Co
JPS5430752A (en) * 1977-08-10 1979-03-07 Itek Corp High speed realltime computer emulator
JPS598058A (en) * 1982-07-02 1984-01-17 Matsushita Electric Ind Co Ltd Microprocessor
JPS5999552A (en) * 1982-11-30 1984-06-08 Matsushita Electric Ind Co Ltd Microcomputer

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03195461A (en) * 1989-12-22 1991-08-27 Tsuji Seiyu Kk Production of artificial feed improved in seawater resistance
JPH04268928A (en) * 1991-02-25 1992-09-24 Toshiba Corp Emulation device and semiconductor device
USRE43248E1 (en) 1994-06-10 2012-03-13 Arm Limited Interoperability with multiple instruction sets
US5758140A (en) * 1996-01-25 1998-05-26 International Business Machines Corporation Method and system for emulating instructions by performing an operation directly using special-purpose register contents

Also Published As

Publication number Publication date
JPH07109589B2 (en) 1995-11-22

Similar Documents

Publication Publication Date Title
CA2074633C (en) Real-time, concurrent, multifunction digital signal processor subsystem for personal computers
US4715013A (en) Coprocessor instruction format
US4729094A (en) Method and apparatus for coordinating execution of an instruction by a coprocessor
US4731736A (en) Method and apparatus for coordinating execution of an instruction by a selected coprocessor
US4750110A (en) Method and apparatus for executing an instruction contingent upon a condition present in another data processor
US5021991A (en) Coprocessor instruction format
EP0525831B1 (en) Method and apparatus for enabling a processor to coordinate with a coprocessor in the execution of an instruction which is in the intruction stream of the processor.
US4758950A (en) Method and apparatus for selectively delaying an interrupt of a coprocessor
US4821231A (en) Method and apparatus for selectively evaluating an effective address for a coprocessor
US4037204A (en) Microprocessor interrupt logic
JPH07287682A (en) Computer system
US4914578A (en) Method and apparatus for interrupting a coprocessor
US7689991B2 (en) Bus management techniques
JPS6225334A (en) Instruction processing system
US4994961A (en) Coprocessor instruction format
US4758978A (en) Method and apparatus for selectively evaluating an effective address for a coprocessor
JPS62120542A (en) Information processor
JPS62151938A (en) Instruction processing system
JP2568017B2 (en) Microprocessor and data processing system using the same
JPS6049352B2 (en) data processing equipment
JPH0719204B2 (en) Floating point calculation method
US4811274A (en) Method and apparatus for selectively evaluating an effective address for a coprocessor
JPH0363822A (en) Computer control system
JPH10312307A (en) Emulator for computer system
JPH0667896A (en) Single chip microcomputer