JPH03232019A - Information processor - Google Patents

Information processor

Info

Publication number
JPH03232019A
JPH03232019A JP2886390A JP2886390A JPH03232019A JP H03232019 A JPH03232019 A JP H03232019A JP 2886390 A JP2886390 A JP 2886390A JP 2886390 A JP2886390 A JP 2886390A JP H03232019 A JPH03232019 A JP H03232019A
Authority
JP
Japan
Prior art keywords
instruction
address
jump
storage unit
microinstruction register
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
JP2886390A
Other languages
Japanese (ja)
Inventor
Yukio Uchiyama
内山 幸男
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 JP2886390A priority Critical patent/JPH03232019A/en
Publication of JPH03232019A publication Critical patent/JPH03232019A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To accelerate the execution cycle of an instruction by computing a jump address and executing the instruction stored in a second microinstruction register when it is judged that the instruction of the second microinstruction register is an unconditional jump instruction. CONSTITUTION:When it is judged that the instruction stored in the second microinstruction register 2 is the unconditional jump instruction, it is decoded with a jump instruction judging decoder 4, and furthermore, the jump address of it is computer with a second address arithmetic circuit 9, and it is sent to a first address line 10 via a first address circuit 12, and simultaneously, the instruction stored in the second microinstruction register 2 is executed. Thereby, a fast processor can be realized.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は情報処理装置に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to an information processing device.

〔従来の技術〕[Conventional technology]

従来、この種の情報処理装置のプロセッサは、ジャンプ
命令を実行する場合、命令実行時にジャンプ条件が成立
すると、ジャンプアドレスを演算し、その結果をアドレ
スバスに出力して次の命令を記憶部より取出していた。
Conventionally, when executing a jump instruction, the processor of this type of information processing device calculates the jump address when the jump condition is satisfied during execution of the instruction, outputs the result to the address bus, and executes the next instruction from the storage unit. I was taking it out.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の情報処理装置は、ジャンプ命令を単独の
命令として行っていたので、命令の実行サイクルか行っ
ていたので、命令の実行サイクルが遅くなるという問題
点があった。
The above-described conventional information processing apparatus executes the jump instruction as a single instruction, and therefore only executes the instruction execution cycle, which poses a problem in that the instruction execution cycle is delayed.

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

本発明の情報処理装置は、内部にプロセッサ及び前記プ
ロセッサの動作を指示するプログラムを格納する記憶部
を有し、前記プロセッサが前記記憶部よりプログラムを
読出しその指示に従って動作すると同時に、次のプログ
ラムの格納されているアドレスを出力し、前記記憶部よ
り前記アドレスの内容を読出す情報処理装置において、
(A)実行すべき命令を格納する第1のマイクロ命令レ
ジスタ、 (B)実行すべき命令が格納されていた前記記憶部の次
のアドレスに格納されている命令を格納する第2のマイ
クロ命令レジスタ、 (C)前記第2のマイクロ命令レジスタの命令が無条件
ジャンプ命令か又は条件ジャンプ命令かを判断するジャ
ンプ命令判断デコーダ、<D)前記ジャンプ命令判断デ
コーダにより前記第2のマイクロ命令レジスタの命令が
無条件ジャンプ命令と判断された場合、ジャンプ先のア
ドレスを前記記憶部へ出力する第1のアドレス回路、 (E)前記ジャンプ命令判断デコーダにより前記第2の
マイクロ命令レジスタの命令が条件ジャン1命令と判断
された場合1.その条件ジャンプ命令が成立した場合の
ジャンプ先のアドレスを格納するアドレスレジスタ、 (F)前記ジャンプ命令判断デコーダにより前記第2の
マイクロ命令レジスタの命令が条件ジャンプ命令と判断
された場合、その条件ジャンプ命令が成立した場合のジ
ャンプ先のアドレスを演算するアドレス演算回路、 (G)前記条件ジャンプ命令の条件を記憶する条件記憶
部、 (H)前記条件記憶部の入力又は出力のいずれかが条件
を満たしたとき、前記条件記憶部のアドレスへ前記アド
レス演算回路の出力値を出力する第2のアドレス回路、 を備えている。
The information processing device of the present invention includes a processor and a storage unit that stores therein a program that instructs the operation of the processor, and the processor reads a program from the storage unit and operates according to the instructions, and at the same time, the next program is started. An information processing device that outputs a stored address and reads the contents of the address from the storage unit,
(A) a first microinstruction register that stores an instruction to be executed; (B) a second microinstruction register that stores an instruction stored at the next address of the storage section where the instruction to be executed was stored; (C) a jump instruction determination decoder that determines whether the instruction in the second microinstruction register is an unconditional jump instruction or a conditional jump instruction; <D) the jump instruction determination decoder determines whether the instruction in the second microinstruction register is (E) a first address circuit that outputs a jump destination address to the storage unit when the instruction is determined to be an unconditional jump instruction; (E) the jump instruction determination decoder determines whether the instruction in the second microinstruction register is a conditional If it is determined to be 1 command 1. (F) an address register that stores a jump destination address when the conditional jump instruction is established; an address calculation circuit that calculates the jump destination address when the instruction is established; (G) a condition storage unit that stores the condition of the conditional jump instruction; (H) an input or output of the condition storage unit that stores the condition; A second address circuit outputs the output value of the address calculation circuit to the address of the condition storage section when the condition is satisfied.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

第1図に示す情報処理装置は、プログラムを格納するマ
イクロ命令記憶部(記憶部)5、実行すべき命令を格納
する第1のマイクロ命令レジスタ1、実行すべき命令が
格納されていたマイクロ命令記憶部の次のアドレスに格
納されている命令を格納する第2のマイクロ命令レジス
タ2、命令デコーダ3、第2のマイクロ命令レジスタの
命令が無条件ジャンプ命令か又は条件ジャンプ命令かを
判断するジャンプ命令判断デコーダ4、ジャンプアドレ
スを格納するアドレスレジスタ7、ジャンプアドレスを
演算するための第1のアドレス演算回路(アドレス演算
回路)8、次のアドレスを演算するための第2のアドレ
ス演算回路9、ジャンプ命令判断デコーダにより第2の
マイクロ命令レジスタの命令が無条件ジャンプ命令と判
断された場合、ジャンプ先のアドレスを記憶部へ出力す
る第1のアドレス回路12、条件記憶部14の入力又は
出力のいずれかが条件を満たしなとき、条件記憶部14
のアドレスへアドレス演算回路の出力値を出力する第2
のアドレス回路13、条件ジャンプ命令の条件を記憶す
る条件記憶部14がら構成されている。
The information processing device shown in FIG. 1 includes a microinstruction storage unit (storage unit) 5 that stores programs, a first microinstruction register 1 that stores instructions to be executed, and a microinstruction register 1 that stores instructions to be executed. A second microinstruction register 2 that stores the instruction stored at the next address in the storage section, an instruction decoder 3, and a jump that determines whether the instruction in the second microinstruction register is an unconditional jump instruction or a conditional jump instruction. an instruction judgment decoder 4, an address register 7 for storing jump addresses, a first address calculation circuit (address calculation circuit) 8 for calculating the jump address, a second address calculation circuit 9 for calculating the next address, When the jump instruction determination decoder determines that the instruction in the second microinstruction register is an unconditional jump instruction, the first address circuit 12 outputs the jump destination address to the storage section, and the input or output of the condition storage section 14 If either condition is not satisfied, the condition storage unit 14
A second circuit that outputs the output value of the address calculation circuit to the address of
The address circuit 13 includes a condition storage section 14 that stores conditions for conditional jump instructions.

次に、動作を説明する。Next, the operation will be explained.

プロセッサは、第2図に示すように、記憶部の立ち上が
りにより一つのプログラム命令を実行すると、その命令
に従って次の命令をフェッチしてくるためのアドレスを
第1のアドレス線1oより出力する。出力されたアドレ
スにより、マイクロ命令記憶部5より次のプログラム命
令を読出し、次のクロックの立ち上がりで実行を開始し
、それらを繰返す。以上の動作は、従来通りである。
As shown in FIG. 2, when the processor executes one program instruction at the rising edge of the storage section, it outputs an address for fetching the next instruction from the first address line 1o in accordance with that instruction. Based on the output address, the next program instruction is read from the microinstruction storage section 5, execution starts at the next rising edge of the clock, and the process is repeated. The above operation is the same as before.

ここで、マイクロ命令記憶部5は、例えば、デュアルポ
ートメモリで構成されていて、第1のアドレス線10に
は、実行する命令のアドレス値が出力される。同時に、
第2のアドレス線11には第1のアドレス線10の次の
アドレス値が出力される。それぞれのアドレスの出力デ
ータは、それぞれ第1のマイクロ命令レジスタ1及び第
2のマイクロ命令レジスタ2に出力され、クロックの立
ち上がりで格納される。第1のマイクロ命令レジスタ1
に格納された命令は、命令デコーダ3によりデコードさ
れ命令が実行される。
Here, the microinstruction storage unit 5 is composed of, for example, a dual port memory, and the address value of the instruction to be executed is outputted to the first address line 10. at the same time,
The next address value of the first address line 10 is output to the second address line 11 . The output data of each address is output to the first microinstruction register 1 and the second microinstruction register 2, respectively, and stored at the rising edge of the clock. First microinstruction register 1
The instructions stored in are decoded by the instruction decoder 3 and executed.

第2のマイクロ命令レジスタ2に格納された命令は、第
1のマイクロ命令レジスタ1に格納された命令がジャン
プ命令であるか、又は、第2のマイクロ命令レジスタ2
に格納された命令が無条件ジャンプ命令である場合を除
き、次に実行すべき命令である。
The instruction stored in the second microinstruction register 2 is determined whether the instruction stored in the first microinstruction register 1 is a jump instruction or the instruction stored in the second microinstruction register 2
This is the next instruction to be executed, unless the instruction stored in is an unconditional jump instruction.

ここで、第2のマイクロ命令レジスタ2に格納された命
令が条件ジャンプ命令であると、ジャンプ命令判断デコ
ーダ4によりデコードされ、第1のアドレス演算回路8
により、上記ジャンプ命令のジャンプ条件が成立した場
合のジャンプアドレスが演算され、アドレスレジスタ7
に格納される。そして、ジャンプ条件を記憶する記憶部
14の入力か又は出力のいずれかがジャンプ条件を満た
せば、第1のアドレス演算回路8の出力を第2のアドレ
ス回路13により第1のアドレス線10に送出すると同
時に、第1のマイクロ命令レジスタ1に格納された命令
を実行する。
Here, if the instruction stored in the second micro-instruction register 2 is a conditional jump instruction, it is decoded by the jump instruction determination decoder 4, and the instruction is decoded by the first address calculation circuit 8.
The jump address when the jump condition of the jump instruction is satisfied is calculated, and the address register 7 is
is stored in Then, if either the input or the output of the storage section 14 that stores the jump condition satisfies the jump condition, the output of the first address calculation circuit 8 is sent to the first address line 10 by the second address circuit 13. At the same time, the instruction stored in the first microinstruction register 1 is executed.

次に、第2のマイクロ命令レジスタ2に格納された命令
が無条件ジャンプ命令であると、ジャンプ命令判断デコ
ーダ3によりデコードされ、さらに、第2のアドレス演
算回路9によりジャンプアドレスが演算され、第1のア
ドレス回路12を通して第1のアドレス線10に送出さ
れると同時に、第2のマイクロ命令レジスタ2に格納さ
れた命令を実行する。
Next, if the instruction stored in the second microinstruction register 2 is an unconditional jump instruction, it is decoded by the jump instruction determination decoder 3, and furthermore, a jump address is calculated by the second address calculation circuit 9. The instruction stored in the second microinstruction register 2 is executed at the same time that the instruction is sent to the first address line 10 through the first address circuit 12.

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

以上説明したように、本発明は、実行すべき命令を格納
する第1のマイクロ命令レジスタと、実行すべき命令が
格納されている記憶部の次のアドレスに格納されている
命令を格納する第2のマイクロ命令レジスタと、第2の
マイクロ命令レジスタの命令が無条件ジャンプ又は条件
ジャンプ命令を判断するジャンプ命令判断デコーダと、
ジャンプ命令判断デコーダにより無条件ジャンプと判断
された場合、ジャンプ先のアドレスを記憶部へ出力する
第1のアドレス回路と、条件ジャンプ命令と判断された
場合、そのジャンプ命令が成立した場合のジャンプ先の
アドレスを演算するアドレス演算回路、条件ジャンプの
条件を記憶する条件記憶部と、この条件記憶部の入力又
は出力のどちらかが条件を満たすとき、記憶部アドレス
へアドレス演算回路の出力値を出力する第2のアドレス
回路とを有することにより、高速のプロセッサにするこ
とができるという効果を有する。
As explained above, the present invention has a first microinstruction register that stores an instruction to be executed, and a microinstruction register that stores an instruction stored at the next address of the storage section where the instruction to be executed is stored. a jump instruction determination decoder that determines whether the instruction in the second microinstruction register is an unconditional jump instruction or a conditional jump instruction;
A first address circuit that outputs the jump destination address to the storage unit when the jump instruction determination decoder determines that the jump is an unconditional jump, and a first address circuit that outputs the jump destination address to the storage unit when the jump instruction is determined to be a conditional jump instruction and the jump destination when the jump instruction is established. an address calculation circuit that calculates the address of , a condition storage unit that stores condition jump conditions, and when either the input or output of this condition storage unit satisfies the condition, outputs the output value of the address calculation circuit to the storage address. By including the second address circuit that performs the second address circuit, there is an effect that a high-speed processor can be realized.

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

第1図は本発明の一実施例のブロック図、第2図は第1
図の情報処理装置の各部のタイミングを示す図である。 l・・・・・−第1のマイクロ命令レジスタ、2・・・
・・・第2のマイクロ命令レジスタ、3−・・・・・命
令デコーダ、4・・・・・・ジャンプ命令判断デコーダ
、5・・・・・・マイクロ命令記憶部、7・・・・・・
アドレスレジスタ、8・・・・・・第1のアドレス演算
回路、9・・・・・・第2のアドレス演算回路、10・
・・・・・第1のアドレス線、11・・・・・・第2の
アドレス線、12・・・・・・第1のアドレス回路、 1 3・・・・・・第2のアドレス回路、 4・・・・・・条 件記憶部。
FIG. 1 is a block diagram of one embodiment of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention.
FIG. 3 is a diagram showing the timing of each part of the information processing device shown in the figure. l...-first microinstruction register, 2...
... second microinstruction register, 3 - ... instruction decoder, 4 ... jump instruction judgment decoder, 5 ... microinstruction storage section, 7 ....・
Address register, 8...first address arithmetic circuit, 9...second address arithmetic circuit, 10.
...First address line, 11...Second address line, 12...First address circuit, 1 3...Second address circuit , 4... Condition storage section.

Claims (1)

【特許請求の範囲】 内部にプロセッサ及び前記プロセッサの動作を指示する
プログラムを格納する記憶部を有し、前記プロセッサが
前記記憶部よりプログラムを読出しその指示に従つて動
作すると同時に、次のプログラムの格納されているアド
レスを出力し、前記記憶部より前記アドレスの内容を読
出す情報処理装置において、 (A)実行すべき命令を格納する第1のマイクロ命令レ
ジスタ、 (B)実行すべき命令が格納されていた前記記憶部の次
のアドレスに格納されている命令を格納する第2のマイ
クロ命令レジスタ、 (C)前記第2のマイクロ命令レジスタの命令が無条件
ジャンプ命令か又は条件ジャンプ命令かを判断するジャ
ンプ命令判断デコーダ、 (D)前記ジャンプ命令判断デコーダにより前記第2の
マイクロ命令レジスタの命令が無条件ジャンプ命令と判
断された場合、ジャンプ先のアドレスを前記記憶部へ出
力する第1のアドレス回路、 (E)前記ジャンプ命令判断デコーダにより前記第2の
マイクロ命令レジスタの命令が条件ジャンプ命令と判断
された場合、その条件ジャンプ命令が成立した場合のジ
ャンプ先のアドレスを格納するアドレスレジスタ、 (F)前記ジャンプ命令判断デコーダにより前記第2の
マイクロ命令レジスタの命令が条件ジャンプ命令と判断
された場合、その条件ジャンプ命令が成立した場合のジ
ャンプ先のアドレスを演算するアドレス演算回路、 (G)前記条件ジャンプ命令の条件を記憶する条件記憶
部、 (H)前記条件記憶部の入力又は出力のいずれかが条件
を満たしたとき、前記条件記憶部のアドレスへ前記アド
レス演算回路の出力値を出力する第2のアドレス回路、 を備えたことを特徴とする情報処理装置。
[Scope of Claims] A storage unit that stores a processor and a program that instructs the operation of the processor is provided, and the processor reads a program from the storage unit and operates according to the instructions, and at the same time starts the next program. An information processing device that outputs a stored address and reads the contents of the address from the storage unit, comprising: (A) a first microinstruction register storing an instruction to be executed; (B) an instruction to be executed; a second microinstruction register that stores the instruction stored at the next address of the storage unit; (C) whether the instruction in the second microinstruction register is an unconditional jump instruction or a conditional jump instruction; (D) a jump instruction determining decoder that outputs a jump destination address to the storage section when the jump instruction determining decoder determines that the instruction in the second microinstruction register is an unconditional jump instruction (E) an address register that stores a jump destination address when the conditional jump instruction is established when the jump instruction determination decoder determines that the instruction in the second microinstruction register is a conditional jump instruction; , (F) when the jump instruction determination decoder determines that the instruction in the second microinstruction register is a conditional jump instruction, an address calculation circuit that calculates a jump destination address when the conditional jump instruction is established; G) a condition storage unit that stores the conditions of the conditional jump instruction; (H) when either the input or output of the condition storage unit satisfies the condition, the output value of the address calculation circuit is sent to the address of the condition storage unit; An information processing device comprising: a second address circuit that outputs.
JP2886390A 1990-02-07 1990-02-07 Information processor Pending JPH03232019A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2886390A JPH03232019A (en) 1990-02-07 1990-02-07 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2886390A JPH03232019A (en) 1990-02-07 1990-02-07 Information processor

Publications (1)

Publication Number Publication Date
JPH03232019A true JPH03232019A (en) 1991-10-16

Family

ID=12260216

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2886390A Pending JPH03232019A (en) 1990-02-07 1990-02-07 Information processor

Country Status (1)

Country Link
JP (1) JPH03232019A (en)

Similar Documents

Publication Publication Date Title
KR880001418B1 (en) Data processing device
KR100188374B1 (en) Processing unit
JPH03232019A (en) Information processor
JP2694948B2 (en) Micro program processor
JPH0218729B2 (en)
JPH0358128A (en) Information processor
JPH0353322A (en) Information processor
JP2597744B2 (en) Branch control method
JPS5971542A (en) Arithmetic processor
JPH0256027A (en) Parallel processing system for digital signal processor
JPS62156738A (en) program control device
JP3074790B2 (en) Microprocessor
JPH0311430A (en) Abnormality processing method at time of fetch access
JPH05204638A (en) Pipeline processor
JPH0517574B2 (en)
JPH08161222A (en) Processor and method for creating program thereof
JPH05100842A (en) Instruction processor
JPH06149564A (en) Instruction controller
JPH0227429A (en) Pipeline control system
JPH056279A (en) Processor controller
JPS6028014B2 (en) microprocessor
JPH05108542A (en) Data processor
JPS60163131A (en) information processing equipment
JP2005134987A (en) Pipeline processing unit
JPH0276037A (en) Semiconductor integrated circuit