JPH0358128A - Information processor - Google Patents

Information processor

Info

Publication number
JPH0358128A
JPH0358128A JP19497289A JP19497289A JPH0358128A JP H0358128 A JPH0358128 A JP H0358128A JP 19497289 A JP19497289 A JP 19497289A JP 19497289 A JP19497289 A JP 19497289A JP H0358128 A JPH0358128 A JP H0358128A
Authority
JP
Japan
Prior art keywords
instruction
address
jump
register
stored
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
JP19497289A
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 JP19497289A priority Critical patent/JPH0358128A/en
Publication of JPH0358128A publication Critical patent/JPH0358128A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To quicken the execution cycle of an instruction by providing a jump instruction judging decoder for judging an unconditional jump instruction or a conditional jump instruction, and an address register for storing an address of a jump destination when the conditional jump instruction is formed, in the case it is decided to be the conditional jump instruction. CONSTITUTION:When an instruction stored in a micro-instruction register 2 is a conditional jump instruction, it is decoded by a jump instruction judging decoder 4. Subsequently, a jump address when a jump condition of a jump instruction is formed by an address arithmetic circuit 8 is calculated, sent out to an address register 6, and stored at a rise of a clock. Also, in an address register 7, the next address value of the instruction which is being executed is stored. Next, the jump instruction is stored in the next micro-instruction register 1 and executed, and when the jump condition is formed, the contents of the address register 6 are sent out to an address line 10 through an address circuit 12. In such a way, the execution cycle of an instruction is quickened.

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, this type of information processing device calculates a jump address when a jump condition is met during execution of the instruction, outputs the result to the address bus, and retrieves the next instruction from the storage unit. Ta. Furthermore, an unconditional jump command has also been executed as a single command.

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

上述した従来の情報処理装置では、ジャンプ命令を実行
する場合、ジャンプ条件の戒立の有無の判定とジャンフ
アドレスの演算とを同一命令サイクルで行なっていたの
で、命令の実行サイクルが遅くなるという欠点がある。
In the conventional information processing device described above, when executing a jump instruction, the determination of whether the jump condition has been established and the calculation of the jump address are performed in the same instruction cycle, which slows down the instruction execution cycle. There are drawbacks.

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

本発明の情報処理装置は、プログラムを格納する記憶部
を有し、前記記憶部より第1のプログラムを読出し読出
された前記第1のプログラムの指示し従って動作すると
同時に、次のプログラムである第2のプログラムの格納
されているアドレスを出力し前記記憶部より前記第2の
プログラムを読出す情報処理装置において、実行すべき
命令を格納する第1のマイクロ命令レジスタと、実行す
べき命令が格納されていた前記記憶部の次のアドレスに
格納されている命令を格納する第2のマイクロ命令レジ
スタと、前記第2のマイクロ命令レジスタの命令が無条
件ジャンプ命令であるか又は条件ジャンプ命令であるか
を判断するジャンプ命令判断デコーダと、前記ジャンプ
命令判断デコーダにより無条件ジャンプ命令と判断され
た場合にジャンプ先のアドレスを前記記憶部へ出力する
アドレス回路と、条件ジャンプ命令と判断された場合に
前記条件ジャンプ命令が成立した場合のジャンプ先のア
ドレスを格納するアドレスレジスタとを有している。
The information processing device of the present invention has a storage unit that stores a program, and reads a first program from the storage unit and operates according to instructions of the read first program, and at the same time, a second program that is the next program is operated. In an information processing device that outputs an address where a second program is stored and reads the second program from the storage unit, the information processing device includes a first microinstruction register that stores instructions to be executed, and a first microinstruction register that stores instructions to be executed. a second micro-instruction register for storing an instruction stored at the next address of the storage unit that has been previously stored; and an instruction in the second micro-instruction register is an unconditional jump instruction or a conditional jump instruction. a jump instruction determination decoder for determining whether the jump instruction is an unconditional jump instruction; an address circuit for outputting a jump destination address to the storage unit when the jump instruction determination decoder determines that the jump instruction is an unconditional jump instruction; and an address register that stores a jump destination address when the conditional jump instruction is established.

〔実施例〕〔Example〕

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

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

第1図において、1及び2はマイクロ命令レジスタ(第
1のマイロ命令レジスタ及び第2のマイクロ命令レジス
タ)、3は命令デコーダ、4はジャンプ命令判断デコー
ダ、5はマイクロ命令記憶部(記憶部)、6はジャンプ
先のアドレスを格納するアドレスレジスタ、7は次のア
ドレスを格納するアドレスレジスタ、8はジャンプアド
レスを演算するためのアドレス演算回路、9は次のアド
レスを演算するアドレス演算回路、10及び11はアド
レス線、■2はアドレス回路である。
In FIG. 1, 1 and 2 are microinstruction registers (first microinstruction register and second microinstruction register), 3 is an instruction decoder, 4 is a jump instruction judgment decoder, and 5 is a microinstruction storage unit (storage unit). , 6 is an address register for storing the jump destination address, 7 is an address register for storing the next address, 8 is an address calculation circuit for calculating the jump address, 9 is an address calculation circuit for calculating the next address, 10 and 11 are address lines, and 2 is an address circuit.

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

第1図の情報処理装置は、第2図に示すように、クロッ
クの立上がりにより1つのプログラム命令を実行すると
、その命令に従って次の命令をフェッチしてくるための
アドレスをアドレス線10に出力する.出力されたアド
レスによりマイクロ命令記憶部5より次のプログラム命
令を読出し、次のクロックの立上がりで実行を開始し、
これをくり返す。上記の動作は従来技術においても行わ
れている。
As shown in FIG. 2, when the information processing device shown in FIG. 1 executes one program instruction at the rising edge of the clock, it outputs an address for fetching the next instruction to the address line 10 according to that instruction. .. The next program instruction is read from the microinstruction storage unit 5 according to the output address, and execution is started at the next rising edge of the clock.
Repeat this. The above operation is also performed in the prior art.

そして、マイクロ命令記憶部5は、たとえばデュアルボ
ートメモリで構戒されていて、アドレス線10には実行
する命令のアドレス値が出力される.同時に、アドレス
線11にはアドレス線10の次のアドレス値が出力され
る。又、それぞれのアドレスの出力データは、それぞれ
マイクロ命令レジスタ1,2に出力され、クロックの立
上がりで格納される。マイクロ命令レジスタ1に格納さ
れた命令は、命令レジスタ3によりデコードされ命令が
実行される。さらに、マイクロ命令レジスタ2に格納さ
れた命令は、マイクロ命令レジスタ1に格納された命令
がジャンプ命令であるが又は、マイクロ命令レジスタ2
に格納された命令が無条件ジャンプ命令である場合を除
き、次に実行すべき命令である。
The microinstruction storage unit 5 is configured with, for example, a dual port memory, and the address value of the instruction to be executed is outputted to the address line 10. At the same time, the next address value of the address line 10 is output to the address line 11. Further, the output data of each address is output to the microinstruction registers 1 and 2, respectively, and stored at the rising edge of the clock. The instructions stored in the microinstruction register 1 are decoded by the instruction register 3 and executed. Furthermore, the instruction stored in the microinstruction register 2 is a jump instruction, or the instruction stored in the microinstruction register 2 is a jump instruction.
This is the next instruction to be executed, unless the instruction stored in is an unconditional jump instruction.

ここで、マイクロ命令レジスタ2に格納された命令が条
件ジャンプ命令であると、ジャンプ命令判断デコーダに
よりデコードされ、アドレス演算回路8により上記ジャ
ンプ命令のジャンプ条件が戒立した場合のジャンプアド
レスが演算され、アドレスレジスタ6に送出され、クロ
ックの立上がりで格納される。又、アドレスレジスタ7
には実行中の命令の次のアドレス値が格納される。そし
て、次のマイクロ命令レジスタ1に上記ジャンプ命令が
格納されて実行され、ジャンプ条件が成立するとアドレ
スレジスタ6の内容がアドレス回路12を通してアドレ
ス線10に送出され、又、成立しないとアドレスレジス
タ7の内容がアドレス回路12を通してアドレス線10
に送出され、次に実行すべき命令がマイクロ命令記憶部
5より送出される。
Here, if the instruction stored in the microinstruction register 2 is a conditional jump instruction, it is decoded by the jump instruction judgment decoder, and the jump address is calculated by the address calculation circuit 8 when the jump condition of the jump instruction is satisfied. , is sent to the address register 6 and stored at the rising edge of the clock. Also, address register 7
The next address value of the instruction being executed is stored in . Then, the jump instruction is stored in the next microinstruction register 1 and executed, and if the jump condition is satisfied, the contents of the address register 6 are sent to the address line 10 through the address circuit 12, and if the jump condition is not satisfied, the contents of the address register 7 are sent to the address line 10. The contents are transferred to address line 10 through address circuit 12.
The next instruction to be executed is sent from the microinstruction storage unit 5.

次に、マイクロ命令レジスタ2に格納された命令が無条
件ジャンプ命令であると、ジャンプ命令判断デコーダに
よりデコードされ、アドレス演算回路8によりジャンプ
アドレスが演算されてアドレス回路12を通してアドレ
ス線10に送出される。そして、次に実行すべき命令が
マイクロ命令記憶部5より送出されると同時に、マイク
ロ命令レジスタ1に格納された命令を実行する。
Next, if the instruction stored in the microinstruction register 2 is an unconditional jump instruction, it is decoded by a jump instruction judgment decoder, and a jump address is calculated by an address calculation circuit 8 and sent to an address line 10 through an address circuit 12. Ru. Then, at the same time that the next instruction to be executed is sent out from the microinstruction storage section 5, the instruction stored in the microinstruction register 1 is executed.

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

以上説明したように本発明は、実行すべき命令を格納す
る第1のマイクロ命令レジスタと、実行すべき命令が格
納されている記憶部の次のアドレスに格納されている命
令を格納する第2のマイクロ命令レジスタと、マイクロ
命令レジスタ2の命令が無条件ジャンプ又は条件ジャン
プ命令と判断するジャンプ命令判断デコータ,ジャンプ
命令判断デコーダにより無条件ジャンプと判断された場
合、ジャンプ先のアドレスを前記記憶部へ出力するアド
レス回路、条件ジャンプ命令と判断された場合にその条
件ジャンプ命令が成立した場合のジャンプ先のアドレス
を格納するアドレスレジスタとを有することにより、命
令の実行サイクルを速くすることができるという効果が
ある。
As explained above, the present invention has a first microinstruction register that stores an instruction to be executed, and a second microinstruction register that stores an instruction stored at the next address of the storage section where the instruction to be executed is stored. microinstruction register 2, a jump instruction judgment decoder that judges the instruction in microinstruction register 2 as an unconditional jump or a conditional jump instruction, and if the jump instruction judgment decoder judges that the instruction is an unconditional jump, the jump destination address is stored in the memory section. It is said that the instruction execution cycle can be made faster by having an address circuit that outputs an output to a conditional jump instruction, and an address register that stores the jump destination address when the conditional jump instruction is satisfied if it is determined to be a conditional jump instruction. effective.

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

第1図は本発明の一実施例のブロック図、第2図は第1
図の情報処理装置の動作のタイムチャートである。 1・・・マイクロ命令レジスタ、2・・・マイクロ命令
レジスタ、3・・・命令デコーダ、4・・・ジャンプ命
令判断デコーダ、5・・・マイクロ命令記憶部、6・・
・アドレスレジスタ、7・・・アドレスレジスタ、8・
・・アドレス演算回路、9・・・アドレス演算回路、1
0・・・アドレス線、11・・・アドレス線、12・・
・アドレス回路。
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.
3 is a time chart of the operation of the information processing device shown in the figure. DESCRIPTION OF SYMBOLS 1... Micro instruction register, 2... Micro instruction register, 3... Instruction decoder, 4... Jump instruction judgment decoder, 5... Micro instruction storage section, 6...
・Address register, 7...Address register, 8・
...Address calculation circuit, 9...Address calculation circuit, 1
0...address line, 11...address line, 12...
・Address circuit.

Claims (1)

【特許請求の範囲】[Claims] プログラムを格納する記憶部を有し、前記記憶部より第
1のプログラムを読出し読出された前記第1のプログラ
ムの指示し従って動作すると同時に、次のプログラムで
ある第2のプログラムの格納されているアドレスを出力
し前記記憶部より前記第2のプログラムを読出す情報処
理装置において、実行すべき命令を格納する第1のマイ
クロ命令レジスタと、実行すべき命令が格納されていた
前記記憶部の次のアドレスに格納されている命令を格納
する第2のマイクロ命令レジスタと、前記第2のマイク
ロ命令レジスタの命令が無条件ジャンプ命令であるか又
は条件ジャンプ命令であるかを判断するジャンプ命令判
断デコーダと、前記ジャンプ命令判断デコーダにより無
条件ジャンプ命令と判断された場合にジャンプ先のアド
レスを前記記憶部へ出力するアドレス回路と、条件ジャ
ンプ命令と判断された場合に前記条件ジャンプ命令が成
立した場合のジャンプ先のアドレスを格納するアドレス
レジスタとを有することを特徴とする情報処理装置。
It has a storage unit that stores a program, reads a first program from the storage unit, and operates according to instructions of the read first program, and at the same time, a second program that is the next program is stored. In an information processing device that outputs an address and reads out the second program from the storage unit, a first microinstruction register stores an instruction to be executed, and a microinstruction register next to the storage unit in which the instruction to be executed is stored. a second micro-instruction register that stores an instruction stored at an address of , and a jump instruction determination decoder that determines whether the instruction in the second micro-instruction register is an unconditional jump instruction or a conditional jump instruction. and an address circuit that outputs a jump destination address to the storage unit when the jump instruction determination decoder determines that the jump instruction is an unconditional jump instruction, and when the conditional jump instruction is established when the jump instruction is determined to be a conditional jump instruction. An information processing device comprising: an address register that stores a jump destination address.
JP19497289A 1989-07-26 1989-07-26 Information processor Pending JPH0358128A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19497289A JPH0358128A (en) 1989-07-26 1989-07-26 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19497289A JPH0358128A (en) 1989-07-26 1989-07-26 Information processor

Publications (1)

Publication Number Publication Date
JPH0358128A true JPH0358128A (en) 1991-03-13

Family

ID=16333409

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19497289A Pending JPH0358128A (en) 1989-07-26 1989-07-26 Information processor

Country Status (1)

Country Link
JP (1) JPH0358128A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9387940B2 (en) 2010-11-09 2016-07-12 Colorado Seminary Which Owns And Operates The University Of Denver Intelligent self-leveling docking system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9387940B2 (en) 2010-11-09 2016-07-12 Colorado Seminary Which Owns And Operates The University Of Denver Intelligent self-leveling docking system

Similar Documents

Publication Publication Date Title
JPH056894B2 (en)
JP3599499B2 (en) Central processing unit
JPH0358128A (en) Information processor
KR100188374B1 (en) Central processing unit and an arithmetic operation processing unit
JPH0353322A (en) Information processor
JPH0218729B2 (en)
JPH03232019A (en) Information processor
JP2531791B2 (en) Abnormality handling method when accessing Fetch
JP3651099B2 (en) Programmable controller
JPH0793151A (en) Instruction supplying device
JP2689894B2 (en) Micro program control type information processing device
JP2597744B2 (en) Branch control method
JP2924735B2 (en) Pipeline operation device and decoder device
JP4735507B2 (en) Programmable controller calculation method
JP2544533B2 (en) Programmable controller sequence instruction processor
JPH06161778A (en) Multi-flow instruction control method and instruction processor
JP2005134987A (en) Pipeline arithmetic processor
JPH036735A (en) Data processor
JPH0424731B2 (en)
JPH02236727A (en) Information processor
JPH05197543A (en) Instruction decoding system of information processor
JP2002297376A (en) Programmable controller
JPH0421128A (en) Instruction reading circuit
JPS6028014B2 (en) microprocessor
JPH03164945A (en) Data processor