JPH0353322A - Information processor - Google Patents

Information processor

Info

Publication number
JPH0353322A
JPH0353322A JP18751189A JP18751189A JPH0353322A JP H0353322 A JPH0353322 A JP H0353322A JP 18751189 A JP18751189 A JP 18751189A JP 18751189 A JP18751189 A JP 18751189A JP H0353322 A JPH0353322 A JP H0353322A
Authority
JP
Japan
Prior art keywords
instruction
address
jump
register
microinstruction
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
JP18751189A
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 JP18751189A priority Critical patent/JPH0353322A/en
Publication of JPH0353322A publication Critical patent/JPH0353322A/en
Pending legal-status Critical Current

Links

Landscapes

  • Advance Control (AREA)

Abstract

PURPOSE:To execute an instruction at high speed by providing the 1st and 2nd microinstruction registers and an address register which holds the address of a jump goal when the instruction of the 2nd microinstruction register is equal to a jump instruction and this instruction is satisfied. CONSTITUTION:When the instruction held by a 2nd microinstruction register 2 is equal to a jump instruction, this instruction is decoded by a jump instruction decoder 4. Then a 1st address arithmetic circuit 8 computes a jump address when the jump conditions of the jump instruction are satisfied. The computed jump address is sent to a 1st address register 6 and held there at the rise of a clock. At the same time, the address value following an instruction under execution is held by a 2nd address register 7. Then a jump instruction is held by a 1st microinstruction register 1 and executed. Thus the data on the register 6 and the contents of the register 7 are sent to a 1st address line 10 when the jump conditions are satisfied and not satisfied respectively. The instruction to be carried out next is sent out of a microinstruction storage part 5. As a result, the executing cycles of instructions are accelerated.

Description

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

[従来の技術コ 従来,この種の情報処理装置では,プロセッサは,ジャ
ンプ命令を実行する場合,命令大行時にジャンプ条件が
成立するとジャンプアドレスを虜算し,その結果をアド
レスバスに出力して,次の命令を記憶部より取り出して
いた。
[Conventional technology] Conventionally, in this type of information processing device, when executing a jump instruction, the processor calculates the jump address when the jump condition is satisfied during a long instruction line, and outputs the result to the address bus. , the next instruction was retrieved from the memory.

[発明が解決しようとする課題コ 上述した従来の情報処理装置では,ジャンプ命令を実行
する場合,ジャンプ条件の成立の有無とジャンプアドレ
スの演算を同一命令サイクルで行なっていたので,命令
の実行サイクルが遅くなるという欠点がある。
[Problems to be Solved by the Invention] In the conventional information processing device described above, when executing a jump instruction, the execution of the jump condition and the calculation of the jump address are performed in the same instruction cycle. The disadvantage is that it is slow.

[課題を解決するための手段] 本発明による情報処理装置は,実行すべき命令を保持す
る第1の命令レジスタと,実行すべき命令が格納されて
いた記憶部の次のアドレスに格納されている命令を保持
する第2の命令レジスタと,第2の命令レジスタに保持
された命令がジャンプ命令の時.そのジャンプ条件が成
立した場合のジャンプ先のアドレスを格納するアドレス
レジスタとを有している。
[Means for Solving the Problems] An information processing device according to the present invention has a first instruction register that holds an instruction to be executed, and a register that stores an instruction to be executed at the next address of the storage unit where the instruction to be executed is stored. When the instruction held in the second instruction register is a jump instruction. It has an address register that stores the jump destination address when the jump condition is met.

[実施例コ 次に,本発明について図面を参照して説明する。[Example code] Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例による情報処理装置の構成を
示すブロック図である。本実施例の情報処理装置は,第
lのマイクロ命令レジスタ1,第2のマイクロ命令レジ
スタ2.命令デコーダ3,ジャンプ命令デコーダ4,マ
イクロ命令記憶部5,ジャンプアドレスを格納する第1
アドレスレジスタ6.次のアドレスを格納する第2のア
ドレスレジスタ7,ジャンプアドレスを漬算するための
第1のアドレス濱算回路8,次のアドレスを演算する第
2のアドレス濱算回路9,及び第1及び第2のアドレス
線10及び11を有する。
FIG. 1 is a block diagram showing the configuration of an information processing apparatus according to an embodiment of the present invention. The information processing device of this embodiment includes a lth microinstruction register 1, a second microinstruction register 2. an instruction decoder 3, a jump instruction decoder 4, a microinstruction storage section 5, and a first instruction decoder for storing a jump address.
Address register 6. a second address register 7 for storing the next address; a first address calculation circuit 8 for subtracting the jump address; a second address calculation circuit 9 for calculating the next address; It has two address lines 10 and 11.

本情報処理装置は.第2図に示す様に.クロックの立上
がりにより1プログラム命令を実行すると,その命令に
従って次の命令をフェッチしてくるためのアドレスを第
1のアドレス線10より出力する。出力されたアドレス
により.マイクロ命令記憶部5より次のプログラム命令
を読出し,次のクロックの立上がりで実行を開始し,そ
れらをくり返す。これらは,従来通りである。
This information processing device is. As shown in Figure 2. When one program instruction is executed at the rising edge of the clock, an address for fetching the next instruction is output from the first address line 10 in accordance with the instruction. According to the output address. The next program instruction is read from the microinstruction storage unit 5, execution starts at the next rising edge of the clock, and the process is repeated. These are the same as before.

ここで,マイクロ命令記憶部5は,たとえば,デュアル
ボートメモリで構成されていて,第1のアドレス線10
には実行するアドレス値が出力される。同時に.第2の
アドレス線11には,第1のアドレス線10の次のアド
レス値が出力される。
Here, the microinstruction storage unit 5 is configured with, for example, a dual boat memory, and the first address line 10
The address value to be executed is output. at the same time. The next address value of the first address line 10 is output to the second address line 11 .

それぞれのアドレスの出力データは,それぞれ,第1及
び第2のマイクロ命令レジスタ1及び2に出力され,ク
ロックの立上りで保持される。第1のマイクロ命令レジ
スタ1に保持された命令は,命令デコーダ3によりデコ
ードされ,命令が実行される。第2のマイクロ命令レジ
スタ2に保持された命令は.第1のマイクロ命令レジス
タ1に保持される命令がジャンプ命令である場合を除き
,次に実行されるべき命令である。
The output data of each address is output to the first and second microinstruction registers 1 and 2, respectively, and is held at the rising edge of the clock. The instruction held in the first microinstruction register 1 is decoded by the instruction decoder 3 and executed. The instruction held in the second microinstruction register 2 is . Unless the instruction held in the first microinstruction register 1 is a jump instruction, this is the instruction to be executed next.

ここで,第2マイクロ命令レジスタ2に保持された命令
がジャンプ命令であると,ジャンプ命令デコーダ4によ
りデコードされ.第1のアドレス演算回路8により,上
記ジャンプ命令のジャンプ条件が成立した場合のジャン
プアドレスが演算され,第1のアドレスレジスタ6に送
出され.クロックの立上りで保持される。
Here, if the instruction held in the second microinstruction register 2 is a jump instruction, it is decoded by the jump instruction decoder 4. The first address calculation circuit 8 calculates a jump address when the jump condition of the jump instruction is satisfied, and sends it to the first address register 6. It is held at the rising edge of the clock.

又.第2のアドレスレジスタ7には,実行中の命令の次
のアドレス値が保持される。
or. The second address register 7 holds the next address value of the instruction being executed.

そして.次に,,第1のマイクロ命令レジスタ1に上記
ジャンプ命令が保持され実行され,ジャンプ条件が成立
すると,第1のアドレスレジスタ6のデータが,成立し
ないと節2のアドレスレジスタ7の内容が第1のアドレ
ス線10に送出され,次に実行すべき命令がマイクロ命
令記憶部5から送出される。
and. Next, the jump instruction is held in the first microinstruction register 1 and executed, and when the jump condition is satisfied, the data in the first address register 6 is changed to the first address register 7 in clause 2. 1 address line 10, and the next instruction to be executed is sent from the microinstruction storage unit 5.

[発明の効果コ 以上説明した様に,本発明は,実行すべき命令を保持す
る第1のマイクロ命令レジスタと,実行すべき命令が格
納されていた記憶部の次のアドレスに格納された命令を
保持する第2のマイクロ命令レジスタと,第2のマイク
ロ命令レジスタの命令がジャンプ命令の時,そのジャン
プ命令が成立した場合のジャンプ先のアドレスを保持す
るアドレスレジスタとを有することにより,高速に命令
を実行することができるという効果がある。
[Effects of the Invention] As explained above, the present invention has a first microinstruction register that holds instructions to be executed, and an instruction stored at the next address of the storage section where the instruction to be executed was stored. By having a second microinstruction register that holds the second microinstruction register, and an address register that holds the jump destination address when the jump instruction is established when the instruction in the second microinstruction register is a jump instruction, high-speed processing can be achieved. It has the effect of being able to execute instructions.

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

第1図は本発明の一実施例による情報処理装置の構成を
示すブロック図,第2図は第1図の装置の動作を説明す
るためのタイスムチャートである。 1・・・第1のマイクロ命令レジスタ,2・・・第2の
マイクロ命令レジスタ,3・・・命令デコーダ,4・・
・ジャンプ命令デコーダ,5・・・マイクロ命令記憶部
,6・・・第1のアドレスレジスタ,7・・・第2のア
ドレスレジスタ,8・・・第1のアドレス演算回路,9
・・・第2のアドレス演算回路,10・・・第1のアド
レス線.11・・・第2のアドレス線。 第1図 クロツク 第2図
FIG. 1 is a block diagram showing the configuration of an information processing apparatus according to an embodiment of the present invention, and FIG. 2 is a timing chart for explaining the operation of the apparatus shown in FIG. 1... First microinstruction register, 2... Second microinstruction register, 3... Instruction decoder, 4...
・Jump instruction decoder, 5... Microinstruction storage unit, 6... First address register, 7... Second address register, 8... First address calculation circuit, 9
. . . second address calculation circuit, 10 . . . first address line. 11...Second address line. Figure 1 Clock Figure 2

Claims (1)

【特許請求の範囲】[Claims] 1、プロセッサと、該プロセッサの動作を指示する複数
の命令からなるプログラムを格納する記憶部とを有し、
前記プロセッサは前記記憶部より命令を現命令として読
出し、該現命令の指示に従って動作すると同時に、前記
現命令の次の命令である次命令の格納されているアドレ
スを出力し、前記記憶部より前記次命令を読出する様な
情報処理装置において、前記現命令を保持する第1の命
令レジスタと、前記現命令が格納されていた前記記憶部
の次のアドレスに格納されている命令を保持する第2の
命令レジスタと、該第2の命令レジスタに保持された命
令がジャンプ命令の時、そのジャンプ命令が成立した場
合のジャンプ先のアドレスを格納するアドレスレジスタ
とを有することを特徴とする情報処理装置。
1. It has a processor and a storage unit that stores a program consisting of a plurality of instructions that instruct the operation of the processor,
The processor reads an instruction from the storage unit as a current instruction, operates according to the instructions of the current instruction, and at the same time outputs an address where a next instruction, which is an instruction following the current instruction, is stored, and reads the instruction from the storage unit. In an information processing device that reads the next instruction, a first instruction register holds the current instruction, and a first instruction register holds the instruction stored at the next address of the storage unit where the current instruction was stored. Information processing comprising: a second instruction register; and, when the instruction held in the second instruction register is a jump instruction, an address register that stores a jump destination address when the jump instruction is established. Device.
JP18751189A 1989-07-21 1989-07-21 Information processor Pending JPH0353322A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18751189A JPH0353322A (en) 1989-07-21 1989-07-21 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18751189A JPH0353322A (en) 1989-07-21 1989-07-21 Information processor

Publications (1)

Publication Number Publication Date
JPH0353322A true JPH0353322A (en) 1991-03-07

Family

ID=16207349

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18751189A Pending JPH0353322A (en) 1989-07-21 1989-07-21 Information processor

Country Status (1)

Country Link
JP (1) JPH0353322A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5201547A (en) * 1991-04-10 1993-04-13 Toyota Jidosha Kabushiki Kaisha Rear under body structure
JP2007022574A (en) * 2005-07-14 2007-02-01 Ueno Seiki Kk Taping apparatus for semiconductor device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5201547A (en) * 1991-04-10 1993-04-13 Toyota Jidosha Kabushiki Kaisha Rear under body structure
JP2007022574A (en) * 2005-07-14 2007-02-01 Ueno Seiki Kk Taping apparatus for semiconductor device

Similar Documents

Publication Publication Date Title
US4954947A (en) Instruction processor for processing branch instruction at high speed
JPH0353322A (en) Information processor
KR100188374B1 (en) Central processing unit and an arithmetic operation processing unit
JPH06124207A (en) Sub-routine branching instruction execution method
JPS62156738A (en) Program controller
JPS5971542A (en) Arithmetic processor
JPH0358128A (en) Information processor
JPS58200349A (en) Microprogram controller
JP2597744B2 (en) Branch control method
JPH03232019A (en) Information processor
JP2842930B2 (en) Instruction readout circuit used in test processor of semiconductor integrated circuit test equipment
JP2825315B2 (en) Information processing device
JPS61289429A (en) Arithmetic processing unit
JPS6373335A (en) Information processor
JPH04287227A (en) Operation processor
JPH0256027A (en) Parallel processing system for digital signal processor
JPH0424731B2 (en)
JPS63291108A (en) Processor
JPH0457021B2 (en)
JPS59160239A (en) Information processing device
JPH04317130A (en) Data processor
JPS61289431A (en) Multi-direction branching system for data flow computer
JPS62115541A (en) Microinstruction branch address generating system
JPH0792902A (en) Programmable controller
JPH0628176A (en) Memory data loading device