JPS60246439A - Information processor - Google Patents

Information processor

Info

Publication number
JPS60246439A
JPS60246439A JP10288784A JP10288784A JPS60246439A JP S60246439 A JPS60246439 A JP S60246439A JP 10288784 A JP10288784 A JP 10288784A JP 10288784 A JP10288784 A JP 10288784A JP S60246439 A JPS60246439 A JP S60246439A
Authority
JP
Japan
Prior art keywords
instruction
address
main memory
address register
central processing
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
JP10288784A
Other languages
Japanese (ja)
Inventor
Noriyuki Tachibana
橘 則行
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 JP10288784A priority Critical patent/JPS60246439A/en
Publication of JPS60246439A publication Critical patent/JPS60246439A/en
Pending legal-status Critical Current

Links

Landscapes

  • Advance Control (AREA)
  • Executing Machine-Instructions (AREA)

Abstract

PURPOSE:To generate an instruction address at a high speed by adding ''1'' to the contents of an address register means in case when an instruction to be executed in the next time is the next address of an instruction which has been executed before said instruction. CONSTITUTION:An operation controlling circuit 27 of a main storage device 2 receives data by an address register 21, inputs its data to an instruction address register 23 at the time point when an instruction of read of an instruction has been received, adds ''1'' to the data by operating an adding circuit 24 and holds it. In case the last processing of the inputted instruction is ended, and with respect to an intruction whose execution is desired, it does not occur that the instruction address jumps due to a branch instruction, etc., a controlling circuit 13 of a central processor 1 gives immediately an instruction of a +1 instruction request to the main storage device 2 through a command bus 5. The controlling circuit 27 gives the data of the instruction address register 23 to a decoder 22 through a gate G2, and an instruction stored in a memory circuit 26 is read out.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は情報処理装置、特に主記憶装置に格納されてい
る命令を順次読出して処fMを実行する情報処理装置に
関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an information processing apparatus, and particularly to an information processing apparatus that sequentially reads instructions stored in a main memory and executes a process fM.

(従来の技術) 従来、中央処理装置および主記憶装fL!から構成され
る情報処理装置において、主記憶装置に格納されている
命令を順次読み出して処理を実行する場合、中央処理装
置の中に実行すべき命令の所在を示すプログラムカウン
タが設けられていて、先ずプログラムカウンタの内容を
主記憶装置に送シ、主記憶装置は実行すべき命令を読出
す。次に中央処理装置は読出された命令を引取って命令
レジスタに入れる。そこで読出した命令を解読して命令
で指定された処理を行なう。通常、次に実行すべき命令
は、いま実行し終った命令の次のアドレスから読出され
るので、プログラムカウンタの内容に1を加え、再び上
記の動作を繰返す。また分岐命令の場合には処理結果で
判定された命令アドレスを主記憶装kK送り、プログラ
ムカウンタの内容をこの命令アドレスに書替えておく0
(発明が解決しようとする問題点) 一般のプログラムには、分岐命令が比較的に少なくて、
命令が次のアドレスのものが多い場合が多い。従って、
その都度中央処理装置の中で次の命令アドレスを作成し
て主記憶装置に送出すると、それだけ処理時間を必要と
し、その分処理能力が上がらないと云う欠点がある。
(Prior Art) Conventionally, a central processing unit and a main memory fL! In an information processing device configured with an information processing device, when instructions stored in the main memory are sequentially read and processed, a program counter is provided in the central processing unit to indicate the location of the instructions to be executed. First, the contents of the program counter are sent to the main memory, and the main memory reads the instructions to be executed. The central processing unit then takes the read instruction and places it in the instruction register. Then, the read instruction is decoded and the processing specified by the instruction is performed. Normally, the next instruction to be executed is read from the address following the instruction that has just been executed, so 1 is added to the contents of the program counter and the above operation is repeated again. In addition, in the case of a branch instruction, the instruction address determined by the processing result is sent to the main memory kK, and the contents of the program counter are rewritten to this instruction address.
(Problem to be solved by the invention) General programs have relatively few branch instructions,
In many cases, the instruction is at the next address. Therefore,
If the next instruction address is created in the central processing unit each time and sent to the main memory, processing time is required, which has the disadvantage that the processing capacity cannot be increased accordingly.

(間組点を解決するだめの手段) 本発明は上記の間組点を解決するため、主記憶装置の中
で、次の命令のアドレスを作成し、中央処理装置から+
1命令要求の指示を受取ると、ぽち九次の命令を読出す
ことKよシ、中央処理装置の命令入手時間を短縮し処理
能力の向上を計ることが出来るようKした情報処理装置
であって、中央処理装置が主記憶装置に格納されている
命令を順次脱出して処理を実行する情報処理装kicお
いて、主記憶装置1/lを制御する主記憶制御部に命令
のアドレスを記憶する命令アドレスレジスタ手段と、前
記主記憶制御部に命令の胱出し後に前記命令アドレスレ
ジスタ手段の内容を+1する加算手段と、前記主記憶制
御部に中央処理装置から+1命令要求の指示を受けて前
記命令アドレスレジスタ手段が保持するアドレスの命令
を読出す耽出し手段と、中央処理装置に次に実行する命
令がその罰に実行した命令の次のアドレスである場合は
主記憶装置に前記+1命令要求を指示する+1命令要求
手段とを含んで構成される。
(Means for resolving the inter-group point) In order to solve the above-mentioned inter-group point, the present invention creates the address of the next instruction in the main memory, and sends the address from the central processing unit to +
It is an information processing device designed to shorten the time it takes for the central processing unit to obtain instructions and improve its processing ability by reading nine instructions upon receiving an instruction requesting one instruction. In the information processing system kic, in which the central processing unit sequentially escapes instructions stored in the main memory and executes processing, the address of the instruction is stored in the main memory control unit that controls the main memory 1/l. instruction address register means; addition means for adding 1 to the contents of the instruction address register means after outputting the instruction to the main memory control section; an indulgence means for reading out the instruction at the address held by the instruction address register means; and, if the next instruction to be executed by the central processing unit is the next address of the executed instruction, requesting the +1 instruction from the main memory; +1 command requesting means for instructing.

(実施例) 第1図は本発明の一実施例のプロ、り図で、中央処理装
置(CPU)1と主記憶装fi (MEM )2とがア
ドレスバス3、データバス4、およびコマンドバス5と
Kより接続されている。図において前記の中央処理装置
1ならびに主記憶装置2は、ともに本発明の説明に必要
な部分のみを示していて、その他の一般に設けられてい
る機能ブロックは図示してない。中央処理装&1にはデ
ータを移送するAパス(A−B)、Bバス(B−B )
およびCバス(C−B)が設けられていて、人バスおよ
びBパスから入力を受けてCバスに出力する演算回路(
ALU)11.Cバスから入力を受けてAバスまたはB
パスに出力するレジスタ(IG)12、Bバスから入力
を受けて制御回路(CONT)13に出力する命令レジ
スタ(IR)14.およびCバスから入力を受けBバス
に出力する命令番地レジスタ(L几)15が図示されて
いて、Bバスカラアドレスバス3へ、データバス4から
Bバスへ、Cバスからアドレスバス3とデータバス4と
にデータを移送できるようになっている。また制御回路
13は図示されていない機能ブロックを含めて、中央処
理装置内の制御を行なう。次に主記憶装a2にはアドレ
スバス3から入力を受けてゲート回路G1を介してデコ
ーダ回路(DCD)22に出力を送出するアドレスレジ
スタ(ADR)21、このアドレスレジスタ21の出力
を受け、+1加算回路(+1 )24により1を加算し
た出力をゲート回路G、を介してデコーダ回路22に送
出する命令アドレスレジスタ(IADR)23、デコー
ダ回路22から展開された番地情報を受け、バッファレ
ジスタ(BR)25との間でデータを読書きするメモリ
回路(MM)26、ならびに中央処理装置1からコマン
ドバスを介して受けた指示に従って主記憶装置の機能ブ
ロックを制御する動作制御回路(CONT)27が示さ
れている。
(Embodiment) FIG. 1 is a professional diagram of an embodiment of the present invention, in which a central processing unit (CPU) 1 and a main memory device fi (MEM) 2 are connected to an address bus 3, a data bus 4, and a command bus. 5 and K are connected. In the figure, only the portions of the central processing unit 1 and the main storage device 2 that are necessary for explaining the present invention are shown, and other commonly provided functional blocks are not shown. Central processing unit &1 has A path (A-B) and B bus (B-B) for transferring data.
and a C-bus (C-B), and an arithmetic circuit (C-B) that receives input from the human bus and the B-path and outputs to the C-bus.
ALU)11. Receives input from C bus and sends it to A bus or B
A register (IG) 12 that outputs to the bus, an instruction register (IR) 14 that receives input from the B bus and outputs to the control circuit (CONT) 13. Also shown is an instruction address register (L) 15 that receives input from the C bus and outputs it to the B bus. Data can be transferred to bus 4. The control circuit 13 also controls the central processing unit, including functional blocks not shown. Next, the main memory device a2 includes an address register (ADR) 21 that receives input from the address bus 3 and sends an output to the decoder circuit (DCD) 22 via the gate circuit G1. The instruction address register (IADR) 23 sends the output obtained by adding 1 by the adder circuit (+1) 24 to the decoder circuit 22 via the gate circuit G; ) 25, and an operation control circuit (CONT) 27 that controls the functional blocks of the main memory according to instructions received from the central processing unit 1 via the command bus. It is shown.

次にこの実施例の動作について説明を進めると、先ず中
央処理装fi11の命令番地レジスタ15に命令番地が
セットされると、制御回路13はBバス、アドレスバス
3を介して主記憶装fii2のアドレスレジスタ21に
このデータを送ると共に、制御回路13は命令読取シの
指示をコマンドバス5を介して主記憶装置12の動作制
御回路27VC,送る。動作制御回路27はアドレスレ
ジスタ21のデータをゲートG1を介してデコーダ22
に送出させ、次いでメモリ回路26に記憶された命令を
読出させバッファレジスタ25に#槓させる。中央制御
装(112の油j御回路13は読取命令の送出から命令
の読出される一定時間を待ってバッファレジスタ25の
命令をデータバス4、Bパスを介して命令レジスタII
C取込む。次いで制御回路13は取込まれた命令を実行
することになるが、主記憶装置2の動作制御回路27は
アドレスレジスタ21にデータを受け、命令読取りの指
示を受けた時点でそのデータを命令アドレスレジスタ2
3に取込んで、加算回路24を動作してデータに1を加
えて保持させている。一方中央処理装[1の制御回路1
3は取込んだ命令の最後の処理が終了し、実行した命令
が分枝命令等で命令番地が飛ぶことのない場合には直ち
に、コマンドバス5を介して主記憶装置2に+1命令要
求の指示を送出する。そこで主記憶装置12の制御回路
27はこの指示を受けて、ケ−)G、を介して命令アド
レスレジスタ23のデータをデコーダ22に与え、前回
と同じくメモリ回路26に記憶された命令を読出させて
バッファレジスタ25に蓄積させる。以下の動作は前回
と同じに行なわれる。なお、中央処理装置1の制御回路
13は+1命令費求を送出したあと、命令番地レジスタ
15の内容を+1して、実行中の命令番地を明らかにし
ている。なお分枝命令等で指定された番地の命令を読取
る場合には、判定された番地データがこの怜令番地レジ
スタ15に蓄積され、最初に説明した方法で命令が読取
られる。
Next, the operation of this embodiment will be explained. First, when an instruction address is set in the instruction address register 15 of the central processing unit fi11, the control circuit 13 is transferred to the main memory fii2 via the B bus and the address bus 3. At the same time as sending this data to the address register 21, the control circuit 13 sends an instruction to read the instruction to the operation control circuit 27VC of the main storage device 12 via the command bus 5. The operation control circuit 27 sends the data of the address register 21 to the decoder 22 via the gate G1.
Then, the instruction stored in the memory circuit 26 is read out and transferred to the buffer register 25. The oil j control circuit 13 of the central control unit (112) waits a certain period of time for the instruction to be read after sending the read instruction, and then transfers the instruction from the buffer register 25 to the instruction register II via the data bus 4 and the B path.
Take in C. Next, the control circuit 13 executes the fetched instruction, but the operation control circuit 27 of the main memory device 2 receives the data in the address register 21, and upon receiving the instruction to read the instruction, transfers the data to the instruction address. register 2
3 and operates the adder circuit 24 to add 1 to the data and hold it. On the other hand, the control circuit 1 of the central processing unit [1]
3, when the last processing of the fetched instruction is completed and the executed instruction is a branch instruction etc. and the instruction address does not jump, a +1 instruction request is immediately sent to the main storage device 2 via the command bus 5. Send instructions. In response to this instruction, the control circuit 27 of the main memory device 12 supplies the data of the instruction address register 23 to the decoder 22 via the G, and reads out the instruction stored in the memory circuit 26 as before. and is stored in the buffer register 25. The following operations are performed in the same way as before. Note that, after sending out the +1 instruction request, the control circuit 13 of the central processing unit 1 increments the contents of the instruction address register 15 by +1 to clarify the instruction address being executed. When reading an instruction at an address specified by a branch instruction or the like, the determined address data is stored in the selected address register 15, and the instruction is read by the method described at the beginning.

(発明の効果) 以上詳細に説明をしたとおり、本発明は従来中央処理装
置において命令の実行終了のあと、次に実行する命令の
番地を作成して、この番地を主記憶装置送出して命令を
読出していたものを、命令の読出しが次の番地である場
合には中央処理装置から+1命令要求の指示を出すだけ
で、次の命令が読出されるので、命令番地作成分だけ早
く命令が入手出来て中央処理装置の能率を向上すると云
う効果がある。
(Effects of the Invention) As explained above in detail, the present invention creates the address of the next instruction to be executed after the completion of execution of the instruction in the conventional central processing unit, sends this address to the main memory, and then executes the instruction. If the instruction is to be read from the next address, the next instruction will be read simply by issuing a +1 instruction request instruction from the central processing unit. When available, it has the effect of improving the efficiency of the central processing unit.

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

第1図は本発明の一実施例を示すブロック図である。 1・・・・・・中央処理装置1(CPU)、2・・・・
・・主記憶装置(MBM )、3,4,5.A−B、B
−B、C−B・・・・・・バス、11・・・・・・演算
回路(ALU)、12・・・・・・レジスタ(几EG)
、13・・・・・・制御回路(CONT)14・・・・
・・命令レジスタ(IR)、15・・・・・・命令番地
レジスタ(LR)、21・・・・・・アドレスレジスタ
(ADR)、22・・・・・・デコーダ(DCD)、2
3・・・・・・命令アドレスレジスタ(IADR)、2
4・・・・・・+1加X回路(+1)、25・・・・・
・バッファレジスタ(BR)、26・・・・・・メモリ
回路(MM)、27・・・・・・動作制御回路(CON
T)、G、、G、・・・・・・ゲート回路。
FIG. 1 is a block diagram showing one embodiment of the present invention. 1...Central processing unit 1 (CPU), 2...
・・Main memory (MBM), 3, 4, 5. A-B, B
-B, C-B... Bus, 11... Arithmetic circuit (ALU), 12... Register (几EG)
, 13... Control circuit (CONT) 14...
...Instruction register (IR), 15...Instruction address register (LR), 21...Address register (ADR), 22...Decoder (DCD), 2
3...Instruction address register (IADR), 2
4...+1 addition X circuit (+1), 25...
・Buffer register (BR), 26... Memory circuit (MM), 27... Operation control circuit (CON
T), G,, G,...Gate circuit.

Claims (1)

【特許請求の範囲】 中央処理装置が主記憶装置に格納されている命令を順次
読出して処理を実行する情報処理装置1llcおいて、 主記憶装置を制御する主記憶制御部罠命令のアドレスを
記憶する命令アドレスレジスタ手段と、前記主記憶如」
神都に命令の読出し後に前記命令アドレスレジスタ手段
の内容を+1する加算手段と、 前記主記憶制御部に中央処理装置から+1命令要求の指
示を受けて前記命令アドレスレジスタ手段が保持するア
ドレスの命令を読出す読出し手段と、 中央処理装置iK、次に実行する命令がその前に実行し
た命令の次のアドレスである場合は主記憶装fiK前記
+1命令要求を指示する+1命令要求手段と を含むことを%徴とする情報処理装jlL。
[Scope of Claims] In an information processing device 1llc in which a central processing unit sequentially reads instructions stored in a main memory and executes processing, a main memory control unit that controls the main memory stores an address of a trap instruction. instruction address register means for
addition means for adding 1 to the contents of the instruction address register means after reading an instruction to the Shinto; and an instruction at an address held by the instruction address register means upon receiving a +1 instruction request instruction from the central processing unit to the main memory control unit. and +1 instruction requesting means for instructing the central processing unit iK to request the +1 instruction from the main memory fiK if the next instruction to be executed is the next address of the previously executed instruction. Information processing equipment jlL with this as a % characteristic.
JP10288784A 1984-05-22 1984-05-22 Information processor Pending JPS60246439A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10288784A JPS60246439A (en) 1984-05-22 1984-05-22 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10288784A JPS60246439A (en) 1984-05-22 1984-05-22 Information processor

Publications (1)

Publication Number Publication Date
JPS60246439A true JPS60246439A (en) 1985-12-06

Family

ID=14339371

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10288784A Pending JPS60246439A (en) 1984-05-22 1984-05-22 Information processor

Country Status (1)

Country Link
JP (1) JPS60246439A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62154158A (en) * 1985-12-27 1987-07-09 Matsushita Graphic Commun Syst Inc Communication controller for data transmission system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62154158A (en) * 1985-12-27 1987-07-09 Matsushita Graphic Commun Syst Inc Communication controller for data transmission system

Similar Documents

Publication Publication Date Title
JPS6232503B2 (en)
JP3237858B2 (en) Arithmetic unit
JPS60246439A (en) Information processor
JP2553200B2 (en) Information processing device
JPS63111535A (en) Data processor
JPS5856027A (en) Conditional relational operating device
JPH0218729B2 (en)
JPS6339928B2 (en)
JPS60250438A (en) Information processor
JPS6156812B2 (en)
JP2526665B2 (en) Interrupt control method
JPH0233173B2 (en)
JPH0269826A (en) System for controlling instruction with condition
JPH01145730A (en) Data destination control system
JPS61133440A (en) Data processing unit
JPH11119993A (en) Signal processor
JPH0194437A (en) Information processor
JPS6210736A (en) Prefetching control system for micro instruction
JPS6151242A (en) Instruction decoding circuit
JPS61147333A (en) Register select circuit
JPH03164945A (en) Data processor
JPS63262744A (en) Direct memory control system
JPH03160547A (en) Input/output buffer control method for data processor
JPH05100842A (en) Instruction processor
JPH02236727A (en) Information processor