Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS6242307B2 - - Google Patents
[go: Go Back, main page]

JPS6242307B2 - - Google Patents

Info

Publication number
JPS6242307B2
JPS6242307B2 JP53113007A JP11300778A JPS6242307B2 JP S6242307 B2 JPS6242307 B2 JP S6242307B2 JP 53113007 A JP53113007 A JP 53113007A JP 11300778 A JP11300778 A JP 11300778A JP S6242307 B2 JPS6242307 B2 JP S6242307B2
Authority
JP
Japan
Prior art keywords
main memory
register
page
channel
instruction
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.)
Expired
Application number
JP53113007A
Other languages
Japanese (ja)
Other versions
JPS5539979A (en
Inventor
Yutaka Yasui
Makoto Shinooka
Juichi Morikawa
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.)
Fujitsu Ltd
NTT Inc
Original Assignee
Fujitsu Ltd
Nippon Telegraph and Telephone 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 Fujitsu Ltd, Nippon Telegraph and Telephone Corp filed Critical Fujitsu Ltd
Priority to JP11300778A priority Critical patent/JPS5539979A/en
Publication of JPS5539979A publication Critical patent/JPS5539979A/en
Publication of JPS6242307B2 publication Critical patent/JPS6242307B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)
  • Memory System (AREA)

Description

【発明の詳細な説明】 本発明は、ページアドレス方式でアクセスされ
る主記憶装置を有するデータ処理システムに於け
るページ制御方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a page control method in a data processing system having a main memory accessed using a page address method.

大容量の主記憶装置を有するデータ処理システ
ムに於いては、ページアドレス方式で主記憶装置
をアクセスするのが一般的である。例えば第1図
に示すように、中央処理装置CCにバスBSを介し
て主記憶装置MM及びチヤネル装置CHが接続さ
れたデータ処理システムに於いては、ページアド
レス方式で主記憶装置MMをアクセスする為に中
央処理装置CC及びチヤネル装置CHにそれぞれペ
ージレジスタPR,CPRが設けられている。
In a data processing system having a large-capacity main memory, it is common to access the main memory using a page address method. For example, as shown in Figure 1, in a data processing system in which a main memory device MM and a channel device CH are connected to a central processing unit CC via a bus BS, the main memory device MM is accessed using a page address method. For this purpose, page registers PR and CPR are provided in the central processing unit CC and channel unit CH, respectively.

中央処理装置CCのページレジスタPRは、ジヤ
ンプ先のページを示すレジスタJPRと、オペラン
ドフエツチ用のレジスタPPRと、インストラクシ
ヨンフエツチ用のレジスタLPRとからなり、第2
図に示すように、ジヤンプ命令jpが与えられたと
き、レジスタJPRにセツトされたジヤンプ先ペー
ジがゲート回路G3,G6を介して主記憶装置
MMに送出される。同様にオペランドフエツチ命
令pfによりレジスタPPRにセツトされたページア
ドレスがゲート回路G4,G6を介して主記憶装
置MMに送出され、インストラクシヨンフエツチ
命令ifによりレジスタLPRにセツトされたページ
アドレスがゲート回路G5,G6を介して主記憶
装置MMに送出される。
The page register PR of the central processing unit CC consists of a register JPR indicating the jump destination page, a register PPR for operand fetch, and a register LPR for instruction fetch.
As shown in the figure, when a jump instruction jp is given, the jump destination page set in the register JPR is transferred to the main memory via gate circuits G3 and G6.
Sent to MM. Similarly, the page address set in register PPR by operand fetch instruction pf is sent to main memory device MM via gate circuits G4 and G6, and the page address set in register LPR by instruction fetch instruction if is sent to main memory MM. It is sent to the main memory device MM via gate circuits G5 and G6.

チヤネルデータ転送時、例えばチヤネル装置
CH1と主記憶装置MMとの間のデータ転送の時
は、チヤネル装置CH1のページレジスタCPRに
ページアドレスがセツトされ、転送命令ch1に
よりゲート回路G1,G6を介して主記憶装置
MMにページアドレスが送られ、チヤネル装置
CH2と主記憶装置MMとの間のデータ転送時
は、チヤネル装置CH2のページレジスタCPRに
ページアドレスがセツトされ、転送命令ch2に
よりゲート回路G2,G6を介して主記憶装置
MMにページアドレスが送られる。
When transmitting channel data, e.g.
When transferring data between CH1 and the main memory device MM, a page address is set in the page register CPR of the channel device CH1, and the data is transferred to the main memory device via the gate circuits G1 and G6 by the transfer command ch1.
The page address is sent to the MM and the channel device
When transferring data between CH2 and the main memory device MM, a page address is set in the page register CPR of the channel device CH2, and the data is transferred to the main memory device via gate circuits G2 and G6 by the transfer command ch2.
The page address is sent to MM.

なおここで中央処理装置の動作は、概略次のよ
うにして行われる。
Note that the operation of the central processing unit is roughly performed as follows.

マクロ命令の実行はマクロ命令処理部のマイク
ロプログラムがインストラクシヨンフエツチをし
たあと、各種のマクロ命令に対応するマイクロプ
ログラム・ルーチンが起動され、オヘランドフエ
ツチ、演算および演算結果のストア処理等が行わ
れる。1つのマクロ命令の実行が完了すると、次
のマクロ命令についてインストラクシヨンフエツ
チから動作が繰り返えされる。この間JPR,
LPR,PPRの各レジスタに、それぞれ必要なペー
ジ指定情報がセツトされる。このレジスタの内容
はマクロ命令で意図して変更しない限り、以前に
セツトした値が残つている。
To execute a macro instruction, the microprogram in the macro instruction processing section performs an instruction fetch, and then the microprogram routines corresponding to various macro instructions are activated to carry out operations such as Oheland fetch, calculation, and storage of calculation results. will be held. When execution of one macroinstruction is completed, the operation is repeated from the instruction fetch for the next macroinstruction. During this time, JPR,
Necessary page specification information is set in each of the LPR and PPR registers. The contents of this register remain at the previously set value unless intentionally changed by a macro instruction.

一方、チヤネル動作はマクロ命令の一種である
チヤネル命令によつて起動されるが、入出力装置
と主記憶装置のデータ転送自体は、入出力装置か
らデータ転送要求があつてはじめて行われる。す
なわちチヤネル命令はチヤネル動作の初期設定だ
けで終了し、中央処理装置は次のマクロ命令の実
行に移る。マクロ命令実行中に入出力装置からデ
ータ転送要求があると、マイクロプログラムの実
行が中断されてチヤネル動作のマイクロプログラ
ムが起動され、データを転送するとマクロ命令処
理のマイクロプログラムに戻る。
On the other hand, a channel operation is activated by a channel command, which is a type of macro command, but data transfer itself between an input/output device and a main memory device is not performed until a data transfer request is received from the input/output device. That is, the channel instruction ends with only the initial setting of the channel operation, and the central processing unit moves on to execution of the next macro instruction. If a data transfer request is received from an input/output device while a macro instruction is being executed, the execution of the microprogram is interrupted, a channel operation microprogram is started, and after the data has been transferred, the process returns to the macro instruction processing microprogram.

このようにチヤネル装置と主記憶装置との間の
データ転送を行なう為のページレジスタCPRを
各チヤネル装置に設けなければならないので、シ
ステム全体としてのコストが高くなる欠点があ
る。
As described above, each channel device must be provided with a page register CPR for data transfer between the channel device and the main storage device, which has the drawback of increasing the cost of the entire system.

そこで各チヤネル装置のページレジスタCPR
を省略し、オペランドフエツチ用のレジスタPPR
をチヤネル装置のページレジスタに兼用すること
が考えられている。この場合、チヤネル装置と主
記憶装置との間のデータ転送時に、レジスタPPR
のオペランドフエツチ用ページアドレスを退避さ
せ、このレジスタPPRにチヤネルデータ転送のペ
ージアドレスを書込み、このページアドレスを主
記憶装置に送り、チヤネル装置と主記憶装置との
間のデータ転送終了後、退避させたオペランドフ
エツチ用ページアドレスを復帰させ、次の命令の
実行に移ることになり、レジスタPPRの内容の退
避、復帰のソフト処理が複雑になると共に退避、
復帰に伴なう誤りが生じる虞れがあつた。
Therefore, the page register CPR of each channel device
omit register PPR for operand fetch
It is being considered that the register can also be used as a page register of a channel device. In this case, when transferring data between the channel device and main memory, register PPR
Save the page address for the operand fetch, write the page address for channel data transfer to this register PPR, send this page address to the main memory, and save it after the data transfer between the channel device and the main memory is completed. The page address for the operand fetch that was previously deleted is restored and the next instruction is executed, which complicates the software processing for saving and restoring the contents of the register PPR.
There was a risk that errors would occur as a result of the return.

すなわちチヤネルのデータ転送を行うためには
当然主記憶装置のページを設定する必要がある
が、上述のようにレジスタPPRを使用するとすれ
ば、チヤネル動作とマクロ命令完了の切替のたび
に、レジスタ内容の退避、復帰を行う必要があ
る。この退避、復帰の処理はマイクロプログラム
で行うが、切替えの頻度が高くなればこの処理の
時間の割合が増加し、中央処理装置の処理能力は
実質的に低下する。
In other words, in order to transfer channel data, it is naturally necessary to set a page in the main memory, but if register PPR is used as described above, the contents of the register will be updated each time channel operation and macro instruction completion are switched. It is necessary to evacuate and return. This saving and restoring processing is performed by a microprogram, but as the frequency of switching increases, the proportion of time spent on this processing increases, and the processing capacity of the central processing unit substantially decreases.

本発明は、前述の如き従来の欠点を改善したも
ので、経済的な構成とすると共にソフト処理を簡
単化し得るようにすることを目的とし、チヤネル
動作とマクロ命令実行の切替え処理を避けるため
に、中央処理装置内に別のページレジスタを設け
データ転送を行わせるようにしたものである。以
下実施例について詳細に説明する。
The present invention improves the conventional drawbacks as described above, and aims to provide an economical configuration and simplify software processing, and to avoid switching between channel operation and macro instruction execution. , another page register is provided within the central processing unit to perform data transfer. Examples will be described in detail below.

第3図は本発明の実施例のブロツク線図であ
り、中央処理装置CCのページレジスタPRに、チ
ヤネル装置CHと主記憶装置MMとの間のデータ
転送等の一時的にページアドレスをセツトするレ
ジスタUPRを設け、チヤネルデータ転送等でマ
クロ命令中断によつても、マクロ命令用ページレ
ジスタの内容の書換え即ち退避、復帰等の処理を
必要としないようにしたものである。そして各チ
ヤネル装置CHにはページレジスタを設けること
なく、バスBSを介して主記憶装置MMとの間の
データ転送が行なわれるものである。
FIG. 3 is a block diagram of an embodiment of the present invention, in which a page address is temporarily set in the page register PR of the central processing unit CC for data transfer between the channel device CH and the main memory device MM. A register UPR is provided so that even if a macro instruction is interrupted due to a channel data transfer or the like, there is no need to rewrite the contents of the macro instruction page register, that is, to save and restore the contents. Each channel device CH is not provided with a page register, and data is transferred to and from the main memory device MM via the bus BS.

第4図は中央処理装置CCのページレジスタPR
の動作説明用の要部ブロツク線図であり、G11
〜G18はアンドゲート、G19はオアゲート、
PA1〜PA4はそれぞれページアドレス、w1〜
w4はライト信号、chはチヤネルデータ転送命
令、jpはジヤンプ命令、pfはオペランドフエツチ
命令、ifはインストラクシヨンフエツチ命令であ
る。ジヤンプ命令jp、オペランドフエツチ命令pf
及びインストラクシヨンフエツチ命令ifについて
は従来と同様の動作が行なわれ、チヤネル転送命
令chに於いては、チヤネルデータ転送要求によ
り、チヤネルデータ転送の為のページアドレス
PA1がライト信号w1によつてレジスタUPRに
書込まれ、チヤネル転送命令chによりアンドゲ
ートG15、オアゲートG19を介して主記憶装
置MMにページアドレスが送出され、チヤネルデ
ータ転送要求を行なつたチヤネル装置CHと主記
憶装置MMとの間のデータ転送が行なわれる。
Figure 4 shows the page register PR of the central processing unit CC.
It is a main part block diagram for explaining the operation of G11.
~G18 is an and gate, G19 is an or gate,
PA1~PA4 are page addresses, w1~
w4 is a write signal, ch is a channel data transfer instruction, jp is a jump instruction, pf is an operand fetch instruction, and if is an instruction fetch instruction. jump instruction jp, operand fetch instruction pf
The same operation as before is performed for the instruction fetch instruction if, and in the channel transfer instruction ch, the page address for channel data transfer is set according to the channel data transfer request.
PA1 is written to the register UPR by the write signal w1, and the page address is sent to the main memory device MM via the AND gate G15 and OR gate G19 by the channel transfer command ch, and the channel device makes a channel data transfer request. Data transfer is performed between CH and main memory MM.

このチヤネルデータ転送に於いて、チヤネル装
置CHからのデータを一旦中央処理装置CCでバツ
フアリングして主記憶装置MMに転送する方式を
採用することもできる。即ちレジスタUPRにセ
ツトされたページアドレスと、チヤネル装置CH
からのデータとを中央処理装置CCから主記憶装
置MMにバスBS経由で送出することもできる。
In this channel data transfer, it is also possible to adopt a method in which data from the channel device CH is once buffered in the central processing unit CC and then transferred to the main memory device MM. That is, the page address set in register UPR and the channel device CH
It is also possible to send data from the central processing unit CC to the main memory unit MM via the bus BS.

又レジスタUPRはチヤネル装置CHと主記憶装
置MMとの間のデータ転送時に於けるページアド
レスのセツトのみでなく、中央処理装置CC内で
のシステム制御時に、主記憶装置MMをアクセス
する必要が生じた場合のページアドレスのセツト
を行なうことができる。
In addition, the register UPR is used not only to set the page address during data transfer between the channel device CH and the main memory device MM, but also to access the main memory device MM during system control within the central processing unit CC. It is possible to set the page address in case of

以上説明したように、本発明は、チヤネル装置
CHにページレジスタを設けなくとも、チヤネル
装置CHと主記憶装置MMとの間のデータ転送が
可能となり、その際マクロ命令実行の為のレジス
タの内容を退避する必要がないので、ソフト処理
が著しく簡単になり、且つチヤネル装置CHにペ
ージレジスタを必要としないものとなるので、経
済的な構成となる利点がある。
As explained above, the present invention provides a channel device
It is possible to transfer data between the channel device CH and the main memory device MM without providing a page register in the CH, and there is no need to save the contents of the register for executing macro instructions, so software processing is significantly reduced. This has the advantage of being simple and requiring no page register in the channel device CH, resulting in an economical configuration.

なおこのような装置で、さらにチヤネル装置の
並列動作を実現するためには、システムとして接
続するチヤネル装置の数に対応する退避エリアを
主記憶装置上に確保し、チヤネル動作とマクロ命
令実行動作の切替えおよびチヤネル動作が連続で
もチヤネル装置が異なる場合の切替えの際に、退
避、復帰の処理を行う必要がある。この処理もマ
イクロプログラム処理で行うことになるが、チヤ
ネル装置が単数である場合に比べて遥かに複雑で
あり、従つて処理能力もさらに低下する。従つて
ソフト処理の単純化のためにチヤネル装置の並列
動作は行わないことが望ましい。
In addition, in order to further realize parallel operation of channel devices in such a device, a save area corresponding to the number of channel devices connected as a system should be secured on the main memory, and a save area corresponding to the number of channel devices connected as a system should be secured. Even if switching and channel operations are continuous, it is necessary to perform evacuation and return processing when switching between different channel devices. Although this processing is also performed by microprogram processing, it is much more complicated than when there is only a single channel device, and therefore the processing capacity is further reduced. Therefore, in order to simplify software processing, it is desirable not to operate the channel devices in parallel.

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

第1図は従来のデータ処理システムのブロツク
図、第2図は従来のページレジスタの動作説明用
の要部ブロツク線図、第3図は本発明の実施例の
ブロツク線図、第4図は本発明の実施例のページ
レジスタの動作説明用の要部ブロツク線図であ
る。 CCは中央処理装置、MMは主記憶装置、CHは
チヤネル装置、PR,CPRはページレジスタ、
UPR,JPR,PPR,LPRはレジスタ、BSはバス
である。
Fig. 1 is a block diagram of a conventional data processing system, Fig. 2 is a main part block diagram for explaining the operation of a conventional page register, Fig. 3 is a block diagram of an embodiment of the present invention, and Fig. 4 is a block diagram of an embodiment of the present invention. FIG. 2 is a main part block diagram for explaining the operation of a page register according to an embodiment of the present invention. CC is the central processing unit, MM is the main memory, CH is the channel device, PR, CPR are the page registers,
UPR, JPR, PPR, and LPR are registers, and BS is a bus.

Claims (1)

【特許請求の範囲】[Claims] 1 中央処理装置によりページアドレス方式でア
クセスされる主記憶装置と、前記中央処理装置に
接続されたチヤネル装置とからなるデータ処理シ
ステムに於いて、マクロ命令実行時に前記主記憶
装置から命令読出し、データ読出し等を行なう為
のページアドレスをセツトする複数のレジスタ
と、前記チヤネル装置と前記主記憶装置との間の
データ転送或は前記中央処理装置内でのシステム
制御時に、前記主記憶装置をアクセスする為のシ
ステム全体で1個のみのレジスタUPRとからな
るページレジスタを前記中央処理装置に設け、前
記マクロ命令を中断して前記主記憶装置をアクセ
スするとき、前記1個のレジスタを用いてページ
アドレスをセツトし、該ページアドレスにより前
記主記憶装置をアクセスしてデータ転送を行なわ
せることを特徴とするページ制御方式。
1. In a data processing system consisting of a main memory device accessed by a central processing unit using a page address method and a channel device connected to the central processing unit, an instruction is read from the main memory device when a macro instruction is executed, and data is stored in the data processing system. A plurality of registers for setting page addresses for reading, etc., and accessing the main memory during data transfer between the channel device and the main memory or system control within the central processing unit. A page register consisting of only one register UPR in the entire system is provided in the central processing unit, and when the macro instruction is interrupted and the main memory is accessed, the one register is used to obtain the page address. A page control method characterized in that a page address is set, and the main storage device is accessed using the page address to perform data transfer.
JP11300778A 1978-09-14 1978-09-14 Page control system Granted JPS5539979A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11300778A JPS5539979A (en) 1978-09-14 1978-09-14 Page control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11300778A JPS5539979A (en) 1978-09-14 1978-09-14 Page control system

Publications (2)

Publication Number Publication Date
JPS5539979A JPS5539979A (en) 1980-03-21
JPS6242307B2 true JPS6242307B2 (en) 1987-09-08

Family

ID=14601093

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11300778A Granted JPS5539979A (en) 1978-09-14 1978-09-14 Page control system

Country Status (1)

Country Link
JP (1) JPS5539979A (en)

Also Published As

Publication number Publication date
JPS5539979A (en) 1980-03-21

Similar Documents

Publication Publication Date Title
WO1995006284B1 (en) Ata interface architecture employing state machines
US6182207B1 (en) Microcontroller with register system for the indirect accessing of internal memory via auxiliary register
JPS6242307B2 (en)
JPS58225443A (en) High-speed data processor
JPS6049352B2 (en) data processing equipment
JPS6240736B2 (en)
JP2671160B2 (en) Exception handling method
JPS59144955A (en) Information processor
JPS6218074B2 (en)
JPS6161139B2 (en)
JPS59180755A (en) Tracing system
JPS6212555B2 (en)
JPS6149695B2 (en)
JPS6051736B2 (en) information processing equipment
JPH01223547A (en) Input/output instruction converting system
JPH03158943A (en) Buffer storage/transfer system
JPS5954091A (en) Electronic computer
JPS5969844A (en) Loading method of microprogram
JPS6131894B2 (en)
JPS60142450A (en) Storage system
JPS5918787B2 (en) TLB partition method
JPS6118224B2 (en)
JPS6149704B2 (en)
JPH02299024A (en) Microprogram controller
JPH0646391B2 (en) Data transfer device