JPS5954091A - Electronic computer - Google Patents

Electronic computer

Info

Publication number
JPS5954091A
JPS5954091A JP16367682A JP16367682A JPS5954091A JP S5954091 A JPS5954091 A JP S5954091A JP 16367682 A JP16367682 A JP 16367682A JP 16367682 A JP16367682 A JP 16367682A JP S5954091 A JPS5954091 A JP S5954091A
Authority
JP
Japan
Prior art keywords
holding register
memory
cell
movement
zero
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
JP16367682A
Other languages
Japanese (ja)
Inventor
Yukio Fukuda
由紀雄 福田
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Tokyo Shibaura 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 Toshiba Corp, Tokyo Shibaura Electric Co Ltd filed Critical Toshiba Corp
Priority to JP16367682A priority Critical patent/JPS5954091A/en
Publication of JPS5954091A publication Critical patent/JPS5954091A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Image Processing (AREA)

Abstract

PURPOSE:To reduce the processing time and to realize the effective use of a processor, by connecting the processor to an asynchronous memory continuous region shift device. CONSTITUTION:The control parts 3 and 1 of a memory continuous region shift device 3 work in response to a continuous region shift command given from a processor 1. Thus the read-out of contents of a shift originator region 5 of a memory 2 is controlled together with the writing to a shift destination region 6, the zero writing to the region 5, etc. These controls are carried out asynchronously with the processor 1 until the count value of a shift remaining cell number holding register 3.4 is set at zero while referring to the contents of a shift originator address holding register 3.2, a shift destination address holding register 3.3, a shift residual number holding register 3.4 and a zero clear need/ no-need information holding register 3.5 of the area 5, in the device 3 to which the control information 4 is set for the device 3 of the memory 2. This independent processing reduces the processing time and ensures the effective use of the processor with a load reduction.

Description

【発明の詳細な説明】 [発明の技術分野] 本発明は、画像処理や漢字処理のように多聞データを高
い頻度で処理するのに適した電子計算機に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to an electronic computer suitable for processing multilingual data at high frequency, such as image processing and kanji processing.

[背景技術とその問題点] 電子計算機を画像処理や漢字処理の目的で使用する場合
、メモリ内の連続する領域に対する移動は多聞データを
扱い、かつ発生頻度も高いため、全体処理時間の短縮化
の観点から高速かつ処理装置の有効使用が望まれている
[Background technology and its problems] When using a computer for the purpose of image processing or kanji processing, movement to consecutive areas in memory deals with data and occurs frequently, so it is necessary to shorten the overall processing time. From this point of view, high speed and effective use of processing equipment is desired.

またメモリ内の連続する領域の移動においては移動後に
移動先をゼロクリアして次の処理を行う場合も多くあり
、移動後に行う移動先のゼロクリアも上記の対象に含ま
れている。
Furthermore, when moving continuous areas in the memory, there are many cases where the destination is zero-cleared after the movement and the next process is performed, and the above-mentioned target also includes zero-clearing the destination after the movement.

従来、メモリ内の連続する領域に対する移動は次のよう
な方法で実現されている。
Conventionally, movement to consecutive areas in memory has been realized by the following method.

(1)電子削算機の基本的な命令語を使ってメモリの移
動元の内容を読出して移動先に青込むという動作を必要
回数分繰り返すソフトウェアとして記述する。
(1) Using the basic commands of an electronic calculator, the program is written as software that repeats the operation of reading the source content of the memory and filling it into the destination as many times as necessary.

(2)電子計算機の命令語でメモリ間のデータ移動を行
う命令語を使う。
(2) Use command words for moving data between memories in electronic computer command words.

しかし、上記の方法では通常のデータ処理の場合は別と
して画像処理や漢字処理において多量のデータに対して
数多く繰り返すために次のような問題点がある。
However, the above method has the following problems because it is repeated many times for a large amount of data in image processing and kanji processing, in addition to normal data processing.

すなわち(1)については、 (イ)動作をソフトウェアで行なっているため処理時間
が長い。
In other words, regarding (1), (a) processing time is long because the operation is performed by software.

(ロ)この動作のために処理装置の実行サイクルを多く
必要とする。
(b) This operation requires many execution cycles of the processing device.

(ハ)メモリを移動後に移動元をゼロクリアする場合に
は更に処理装置の実行サイクルが多くなる。
(c) If the source of the movement is cleared to zero after the memory is moved, the execution cycles of the processing device will further increase.

(ニ)処理装置がメモリの移動のために使われている間
仙の処理には使えない。
(d) The processing unit is used for memory movement and cannot be used for processing.

(2)については、 (イ)動作はファームウェアで行うため(1)に比べれ
ば速いが、多量データを対象にすると処理時間はかかる
Regarding (2), (a) Since the operation is performed by firmware, it is faster than (1), but it takes time to process a large amount of data.

(ロ)この動作のために処理装置の実行サイクルを多く
必要とする。
(b) This operation requires many execution cycles of the processing device.

(ハ)メモリを移動後に移動元をゼロクリアする場合に
は更に処理装置の実行サイクルが多くなる。
(c) If the source of the movement is cleared to zero after the memory is moved, the execution cycles of the processing device will further increase.

(ニ)処理装置がメモリの移動のために使われている開
催の処理には使えない。
(d) It cannot be used for processing in which the processing unit is used for memory movement.

[発明の目的] 本発明は、前述の事情にもとづきなされたもので、その
目的とするところは処理装置とは非同期で動作する専用
の装置であるメモリ連続領域移動装置を電子計綽機内に
備えることにより、メモリ内の連続する領域に対する移
動の処理および更に必要があれば移動元をゼロクリアす
る処理を高速に行い、しかもこの間処理装置を他の処理
に使用することを可能とした電子計算機を提供すること
にある。
[Object of the Invention] The present invention has been made based on the above-mentioned circumstances, and its object is to provide a continuous memory area moving device, which is a dedicated device that operates asynchronously with a processing device, in an electronic control machine. By doing so, we provide an electronic computer that can perform the process of moving continuous areas in memory and further clearing the source of the move to zero if necessary, at high speed, and also allows the processing device to be used for other processes during this time. It's about doing.

[発明の概要] すなわち本発明の電子計算機は、制御部、移動元アドレ
ス保持レジスタ、移動先アドレス保持レジスタ、移動残
セル数保持レジスタおよび移動元領域のゼロクリア要/
不要情報保持レジスタから構成されたメモリ連続領域移
動装置を備え、このメモリ連続領域移動装置が処理装置
からのコマンドに対応して処理装置とは非同期で動作し
、前記制御部がコマンドで指定されたメモリ内の連続し
た複数のセルより成るメモリ連続領域移動装置への制御
情報に従って、前記移動元アドレス保持レジスタ、移動
先アドレス保持レジスタ、移動残セル数保持レジスタお
よび移動元領域のゼロクリア要/不要情報保持レジスタ
の値を初期設定し、前記制御部が移動元アドレス保持レ
ジスタの示すメモリ内のセルの内容を移動先アドレス保
持レジスタの示すメモリ内のセルに移した後、前記移動
元領域のゼロクリア要/不要情報保持レジスタがゼロク
リア要を意味しているときのみ移動元のセルをゼロクリ
アし、前記移動元アドレス保持レジスタおよび移動先ア
ドレス保持レジスタの内容を1セル分加えるとともに前
記移動残セル数保持レジスタの内容を1セル分減じる動
作を移動残セル数保持レジスタの内容がOになるまで繰
り返し、前記移動残セル数保持レジスタの内容がO喧′
なった時、前記制御部が処理装置に対して前記メモリ連
続領域移動装置の動作の完了を示す割込みをかける機能
を有することを特徴としている。
[Summary of the Invention] That is, the electronic computer of the present invention includes a control unit, a source address holding register, a destination address holding register, a movement remaining cell number holding register, and a zero clearing/requirement of a movement source area.
A continuous memory area moving device configured of unnecessary information holding registers is provided, the continuous memory area moving device operates asynchronously with the processing device in response to a command from the processing device, and the control unit is designated by the command. According to the control information for the memory continuous area moving device consisting of a plurality of consecutive cells in the memory, zero-clearing required/unnecessary information of the source address holding register, destination address holding register, remaining number of moving cells holding register, and source area is performed. After the value of the holding register is initialized and the control unit moves the contents of the cell in the memory indicated by the source address holding register to the cell in the memory indicated by the destination address holding register, a zero clearing request for the source area is performed. /Only when the unnecessary information holding register indicates that zero clearing is required, the movement source cell is cleared to zero, the contents of the movement source address holding register and the movement destination address holding register are added for one cell, and the movement remaining cell number holding register is cleared. The operation of decrementing the contents by one cell is repeated until the contents of the remaining moving cell number holding register become O.
The present invention is characterized in that the control unit has a function of issuing an interrupt to the processing device indicating the completion of the operation of the memory continuous area moving device when the memory cell transfer device reaches the state where the continuous memory area moving device has completed the operation.

[発明の実施例] 第1図は本発明の一実施例の電子計算機の構成図である
[Embodiment of the Invention] FIG. 1 is a block diagram of an electronic computer according to an embodiment of the present invention.

図において1は処理装置、2はメモリ、3はメモリ連続
領域移動装置を示している。
In the figure, 1 is a processing device, 2 is a memory, and 3 is a memory continuous area moving device.

メモリ連続領域移動装置3は、制御部3.1、移動元ア
ドレス保持レジスタ3.2、移動先アドレス保持レジス
タ3.3、移動残セル数保持レジスタ3.4、移動元領
域のゼロクリア要/不要情報保持レジスタ3.5から構
成されている。
The memory continuous area moving device 3 includes a control unit 3.1, a source address holding register 3.2, a destination address holding register 3.3, a movement remaining cell number holding register 3.4, and whether or not zero-clearing of the source area is necessary. It consists of information holding registers 3.5.

4はメモリ連続領域移動装置への制御用情報でありメモ
リ2内に存在する。
4 is control information for the memory continuous area moving device and exists in the memory 2.

メモリ連続領域移動装置への制御用情報4は、移動元先
頭アドレス4.1、移動先先頭アドレス4.2、移動セ
ル数4.3、移動元領域のゼロクリア要/不要情報4.
4から構成されている。
The control information 4 for the continuous memory area moving device includes the source start address 4.1, the destination start address 4.2, the number of cells to be moved 4.3, and information on whether or not zero clearing of the source area is necessary.
It consists of 4.

5は移動元領域であり、メモリ2内に存在する。Reference numeral 5 indicates a movement source area, which exists in the memory 2.

5、L 5.2、・・・5,11・・・5.nは移動元
領域内のセルである。
5, L 5.2,...5,11...5. n is a cell in the movement source area.

6は移動先領域であり、メモリ2内に存在する。Reference numeral 6 indicates a destination area, which exists within the memory 2.

6.1.6.2、・・・6.11・・・6.nは移動先
領域内のセルである。
6.1.6.2,...6.11...6. n is a cell within the destination area.

以下に本発明の電子計算機の動作を説明する。The operation of the electronic computer of the present invention will be explained below.

(1)処理装置1は、プログラム中のメモリ連続領域移
動装置3を使用する命令を検出した時、メモリ連続領域
移動装置3に対して所定のコマンドを出力する。
(1) When the processing device 1 detects an instruction in the program that uses the memory continuous area moving device 3, it outputs a predetermined command to the memory continuous area moving device 3.

この時プログラムによって事前にメモリ内のメモリ連続
領域移動装置3への制御用情報4の移動元先頭アドレス
4.1、移動先先頭アドレス4゜2、移動セル数4.3
、移動元領域のゼロクリア要/不要情報4.4に対して
所定のデータが設定されているものとする。
At this time, the program transfers the control information 4 to the memory continuous area moving device 3 in advance, with a source start address 4.1, a destination start address 4.2, and a number of cells to be moved 4.3.
, it is assumed that predetermined data is set for the zero clear required/unnecessary information 4.4 of the movement source area.

(2)メモリ連続領域移動装置3内の制御部3゜1は、
処理装置1のコマンドに対応して指示されたメモリ連続
領域移動装置3への制御用情報4の先頭アドレスを割り
出す。そして制御部3.1は次の処理をする。
(2) The control unit 3゜1 in the memory continuous area moving device 3:
The starting address of the control information 4 to the memory continuous area moving device 3 specified in response to the command from the processing device 1 is determined. The control unit 3.1 then performs the following processing.

(ア)移動元先頭アドレス4.1を読み出し、移動元ア
ドレス保持レジスタ3.2に書き込む。
(a) Read the source start address 4.1 and write it to the source address holding register 3.2.

(イ)移動先先頭アドレス4.2を読み出し、移動先ア
ドレス保持レジスタ3.3に書き込む。
(a) Read the destination start address 4.2 and write it to the destination address holding register 3.3.

(つ)移動セル数4.3を読み出し、移動残セル数保持
レジスタ3.4に書き込む。
(1) Read the number of moving cells, 4.3, and write it into the moving remaining cell number holding register 3.4.

(,1)移動元領域のゼロクリア要/不要情報4゜4を
読み出し移動元領域のゼロクリア要/不要情報保持レジ
スタ3.5に書き込む。
(,1) Read the zero clear required/unnecessary information 4.4 of the source area and write it to the zero clear required/unnecessary information holding register 3.5 of the source area.

この結果移動元アドレス保持レジスタ3.2には、移動
元領域5の先頭セルであるセル5.1のアドレスが入り
、移動先アドレス保持レジスタ3゜3には移動先領域6
の先頭セルであるセル6.1のアドレスが入る。
As a result, the source address holding register 3.2 contains the address of cell 5.1, which is the first cell in the source area 5, and the destination address holding register 3.3 contains the address of the cell 5.1 in the destination area 6.
The address of cell 6.1, which is the first cell of , is entered.

また移動残セル数保持レジスタ3.4には、移動セル数
であるnが入る。
Further, n, which is the number of moving cells, is entered in the moving remaining cell number holding register 3.4.

(3)制御部3.1は、移動元アドレス保持レジスタ3
.2の示ず移動元領域5のセル5.1の内容を読み出し
移動先アドレス保持レジスタ3.3の示す移動先領域6
のセル6.1にこの内容を書き込む。
(3) The control unit 3.1 controls the movement source address holding register 3
.. 2, reads the contents of cell 5.1 in source area 5 and moves to destination area 6 indicated by destination address holding register 3.3.
Write this content into cell 6.1.

次に制御部3.1は、移動元領域のゼロクリア要/不要
情報保持レジスタ3.5の内容がゼロクリア要を示して
いる時に限り、移動元アドレス保持レジスタ3.2の示
す移動元領域5のセル5゜1にゼロを書き込む。
Next, the control unit 3.1 controls the movement source area 5 indicated by the movement source address holding register 3.2 only when the contents of the movement source area zero clearing required/unnecessary information holding register 3.5 indicates that zero clearing is required. Write zero in cell 5°1.

そして制御部3.1は、移動先アドレス保持レジスタ3
.2、移動先アドレス保持レジスタ3゜3の内容に対し
て1セル分加えるとともに移動残セル数保持レジスタ3
.4の内容を1セル分減する。
The control unit 3.1 then controls the destination address holding register 3.
.. 2. Add one cell to the contents of the destination address holding register 3゜3 and add the remaining number of moving cells holding register 3.
.. Decrease the contents of 4 by one cell.

この結果、移動元アドレス保持レジスタ3.2の内容は
移動元領域5のセル5.2を示す。 そして移動先アド
レス保持レジスタ3.3の内容は移動先領域6のセル6
.2を示す。
As a result, the contents of the source address holding register 3.2 indicate the cell 5.2 of the source area 5. The contents of the destination address holding register 3.3 are the cell 6 of the destination area 6.
.. 2 is shown.

また移動残セル数保持レジスタ3.4はn−1を示す。Further, the moving remaining cell number holding register 3.4 indicates n-1.

(4)このようにして制御部3.1は移動残セル数保持
レジスタ3.4の内容がゼロになるまで次の処理を繰り
返す。
(4) In this way, the control unit 3.1 repeats the following process until the contents of the moving remaining cell number holding register 3.4 become zero.

すなわち移動元アト1ノス保持レジスタ3.2の示す移
動元領域5のセル5.1の内容を読出し、移動先アドレ
ス保持レジスタ3.3の示す移動先領域6のセル6.1
にこの内容を書ぎ込む。
That is, the contents of cell 5.1 in the source area 5 indicated by the source Atnos holding register 3.2 are read, and the contents of cell 5.1 in the destination area 6 indicated by the destination address holding register 3.3 are read.
Write this content in.

次に制御部3.1は移動元領域のゼロクリア要/不要移
動元領域のゼロクリア要/不要情報保持レジスタ3.5
の内容がゼロクリア要を示している時に限り移動元アド
レス保持レジスタ3.2の示す移動元領域5のセル5.
iにゼロを書き込む。
Next, the control unit 3.1 requires zero clearing of the movement source area/needs zero clearing of the unnecessary movement source area/unnecessary information holding register 3.5
Cell 5. of the source area 5 indicated by the source address holding register 3.2 only when the contents of cell 5. indicate that zero clearing is required.
Write zero to i.

そして制御部3.1は移動元アドレス保持レジスタ3.
2、移動先アドレス保持レジスタ3.3の内容に対して
1セル分加えるとともに移動残セル数保持レジスタ3,
4の内容を1セル分減する。
The control unit 3.1 then controls the source address holding register 3.1.
2. Add one cell to the contents of the destination address holding register 3.3, and add the remaining number of moving cells holding register 3.
Decrease the contents of 4 by one cell.

(5)制御部3.1は移動残セル数保持レジスタ3.4
の内容がゼ「コになったことを検出した時、処理装置1
に対して割込みをかけてメモリ連続領域移動装置3での
処理が完了したことを処理装置1に知らせる。
(5) The control unit 3.1 is a moving remaining cell number holding register 3.4
When it is detected that the contents of
An interrupt is generated to inform the processing device 1 that the processing in the continuous memory area moving device 3 has been completed.

以上(1)から(5)までの間、メモリ連続領域移動装
置3は処理装置1とは非同期で動作するのでこの間処理
装置1は他の処理を実行することができる。
During the period from (1) to (5) above, the continuous memory area moving device 3 operates asynchronously with the processing device 1, so the processing device 1 can execute other processing during this period.

ところで第1図に示した実施例におい−Cは複数のメモ
リ連続領域に対する移動を実行する場合、処理装置はメ
モリ連続領域移動装置に対して複数回のコマンドを出力
づる必要があるが、第2図は、処理装置がメモリ連続領
域移動装置に対して1回のコマンド出力を行うだけで、
メモリ連続領域移動装置が互いに連続しない複数のメモ
リ連続領域に対する移動を一括して実行する機能を有す
る本発明の一実施例を示している。
By the way, in the embodiment shown in FIG. 1, when executing movement to a plurality of continuous memory areas, the processing device needs to output multiple commands to the memory continuous area movement device. The figure shows that the processing device only outputs a single command to the memory continuous area moving device.
1 shows an embodiment of the present invention in which a memory continuous area moving device has a function of collectively executing movement of a plurality of non-contiguous memory continuous areas.

この実施例の電子計算機は次のような動作をする。The electronic computer of this embodiment operates as follows.

(1)処理装置1は、プログラム中のメモリ連続領域移
動装置3を使用する命令を検出した時、メモリ連続領域
移動装置3に対して所定のコマンドを出力する。
(1) When the processing device 1 detects an instruction in the program that uses the memory continuous area moving device 3, it outputs a predetermined command to the memory continuous area moving device 3.

この時プログラムによって事前にメモリ2内のメモリ連
続領域移動装置への制御用情報4.A14、B1・・・
・・・、/1.Nに対して所定のデータが設定されてい
るものとする。なお、制御用情報4゜A、4.b 、・
・・、4.Nも移動元先頭アドレス、移動先先頭アドレ
ス、移動セル数、移動元領域のゼロクリア要/不要情報
から構成されている。
At this time, the program sends control information 4. to the memory continuous area moving device in the memory 2 in advance. A14, B1...
..., /1. It is assumed that predetermined data is set for N. Note that the control information 4°A, 4. b,・
..., 4. N also consists of a source head address, a destination head address, the number of cells to be moved, and zero clearing required/unnecessary information for the source area.

(2)メモリ連続領域移動装置3内の制御部3゜1は、
処理装置1のコマンドに対応して指示されたメモリ連続
領域移動装置への制御部4.Aの先頭アドレスを割り出
す。
(2) The control unit 3゜1 in the memory continuous area moving device 3:
A control unit 4 for a memory continuous area moving device instructed in response to a command from the processing device 1. Determine the starting address of A.

そしてメモリ連続領域移動装置への制御部4゜への内容
に基づいて移動元アドレス保持レジスタ3.2、移動先
アドレス保持レジスタ3.3、移動残セル数保持レジス
タ3.4、移動元領域のゼロクリア要/不要情報保持レ
ジスタ3.5を初期化する。
Then, based on the contents sent to the control unit 4 for the memory continuous area moving device, the source address holding register 3.2, the destination address holding register 3.3, the remaining number of moving cells holding register 3.4, Initialize the zero-clear required/unnecessary information holding register 3.5.

(3)制御部3.1は、移動元アドレス保持1ノジスタ
3.2の示すセルの内容を読出して移動先アドレス保持
レジスタ3.3の示すセルにその内容を書き込んだ後、
移動元領域のゼロクリア要/不要情報保持レジスタ3.
5の内容がゼロクリア要を示している時に限り移動元ア
ドレス保持レジスタ3.2の示寸セルにゼロを書き込み
、移動元アドレス保持レジスタ3.2、移動先アドレス
保持レジスタ3.3の内容に対して1セル分加えるとと
もに移動残セル数保持レジスタ3.4の内容を1セル分
減するという動作を移動残セル数保持レジスタの内容が
ゼロになるまで繰り返す。
(3) The control unit 3.1 reads the contents of the cell indicated by the source address holding register 1 register 3.2 and writes the contents to the cell indicated by the destination address holding register 3.3, and then
Zero-clear required/unnecessary information holding register for movement source area 3.
Only when the contents of 5 indicate that zero clearing is required, write zero to the size indication cell of the source address holding register 3.2, and write zero to the contents of the source address holding register 3.2 and destination address holding register 3.3. The operation of adding one cell by one cell and decrementing the contents of the moving remaining cell number holding register 3.4 by one cell is repeated until the contents of the moving remaining cell number holding register become zero.

この結果移動元領域5.Aのセルの内容が移動先領域6
.Aのセルに移される。
As a result, the movement source area 5. The contents of cell A are moved to destination area 6
.. It is moved to cell A.

(/I)次に制御部3.1は、メモリ連続領域移動装置
への制御用情報/1.A内の複数性処理のための連結情
報の有無4.A、5の内容を調べ、連結情報有の場合に
は次の処理に移り、連結情報前の場合には処理完了とし
て処理装置に対して割り込みをかける。
(/I) Next, the control unit 3.1 sends control information /1.1 to the memory continuous area moving device. Presence or absence of linkage information for plurality processing within A4. The contents of A and 5 are checked, and if there is linkage information, the process moves on to the next process, and if there is no linkage information, the processing is completed and an interrupt is issued to the processing device.

ここで複数性処理のための連結情報の有無4゜A、5は
、連結情報有となっており、次の制御用情報の先頭アド
レス4.A、6は、メモリ連続領域移動装置への制御用
情報4.8の先頭アドレスを示している。
Here, the presence/absence of connection information for plurality processing 4.A, 5 indicates that connection information is present, and the start address 4.A of the next control information. A, 6 indicates the start address of the control information 4.8 to the memory continuous area moving device.

(5)そこで制御部3.1は、メモリ連続領域移動装置
への制御用情報4.8にもとづいて、移動元領域5.8
のセルの内容を移動先領域6.8のセルに移す。(6)
このようにして制御部3.1は、メモリ連続領域移動装
置への制御用情報4゜Nにもとづいて、移動元領域5.
Nのセル内容を移動先領域6.Nのセルに移すまで動作
を繰り返す。
(5) Therefore, the control unit 3.1 controls the movement source area 5.8 based on the control information 4.8 to the memory continuous area movement device.
Move the contents of the cell to the cell in the destination area 6.8. (6)
In this way, the control unit 3.1 controls the source area 5.1 based on the control information 4°N for the continuous memory area movement device.
Move the cell contents of N to the destination area 6. The operation is repeated until the cell is moved to N cell.

(7)このようにして移動元領域5.Nのセル内容を移
動先領域6.Nのセルに移し終えると処Jll装置1に
割込みをかけて、メモリ連続領域移動装置3での処理が
完了したことを処理装置f?71に知らせる。
(7) In this way, move source area 5. Move the cell contents of N to the destination area 6. When the transfer to cell N is completed, an interrupt is sent to the processing device 1, and the processing device f? Let 71 know.

以上〈1)から(7)までの間メモリ連続領域移動装置
3は、処理装置1とは非同期で動作するのでこの間処理
装置1は他の処I!Pを実行することができる。
During the period from (1) to (7) above, the memory continuous area moving device 3 operates asynchronously with the processing device 1, so during this period the processing device 1 is moved to another process I! P can be executed.

第3図は、第1図で説明したメモリ連続領域移動装置と
同じ動作をする複数台のメモリ連続領域移動装置3.A
、3.B、・・・・・・・・・、3.Nを接続した本発
明の別の実施例を示すもので、処理装置1からのコマン
ドに対してメモリ連続領域移動装置3.A、3.B、・
・・・・・、3.Nを並列に動作させることによりメモ
リ上の広範囲な移動に対する処理時間の短縮化をはかっ
たものである。
FIG. 3 shows a plurality of memory continuous area moving devices 3. which operate in the same way as the memory continuous area moving device described in FIG. A
, 3. B......3. This shows another embodiment of the present invention in which the memory contiguous area moving device 3.N is connected in response to a command from the processing device 1. A.3. B,・
..., 3. By operating N in parallel, processing time for wide range movement on memory is shortened.

この実施例においては、メモリ連続領域移動袋@3.A
、3.B、・・・・・・3.Nは各々のメモリ連続領域
移動装置への制御用情報4.A、4.B1・・・・・・
、4Nにもとづいて、移動元領域5.Aから移動先領域
6.Aへ、移動元領域5.8から移動先領域6.8へ、
移動元領域5.Nから移動先領域6.Nへそれぞれ移動
を行なう。
In this embodiment, memory contiguous area movement bag @3. A
, 3. B...3. N is control information for each memory continuous area moving device 4. A, 4. B1...
, 4N, the source area 5. Move from A to destination area 6. A, from the source area 5.8 to the destination area 6.8,
Move source area 5. Destination area from N6. Move to N respectively.

この間、メモリ連続領域移動装置3.A、3゜81・・
・・・・、3.Nは、処理装置1とは独立して動作し、
また各メモリ連続領域移動装置3.A、3゜81・・・
・・・、3.Nどうしも独立して動作する。
During this time, the memory continuous area moving device 3. A, 3゜81...
..., 3. N operates independently of the processing device 1;
Also, each memory continuous area moving device 3. A, 3°81...
..., 3. N operates independently.

なお、この実施例は、第1図で説明したメモリ連続領域
移動装置と同じ動作をする複数台のメモリ連続領域移動
装置を接続した例であるが、第2図で説明したメモリ連
続領域移動装置と同じ動作をする複数台のメモリ連続領
域移動装置を接続した構成とすることも可能である。
Note that this embodiment is an example in which a plurality of memory continuous area moving devices that operate in the same manner as the memory continuous area moving device explained in FIG. 1 is connected, but the memory continuous area moving device explained in FIG. It is also possible to configure a configuration in which a plurality of memory continuous area moving devices that perform the same operation as described above are connected.

[発明の効果] 本発明は以上説明したように、メモリ内の連続する領域
に対する移動の処理を処理装置とは非同期で独立して動
作するメモリ連続領域移動装置が行なように構成したか
ら、処理時間の短縮化と処理装置の有効利用をはかるこ
とができるという効果がある。
[Effects of the Invention] As explained above, the present invention is configured such that the process of moving continuous areas in the memory is performed by a memory continuous area moving device that operates independently and asynchronously from the processing device. This has the effect of shortening processing time and making effective use of processing equipment.

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

第1図ないし第3図は、それぞれ本発明の実施例を示す
構成図である。 1・・・・・・・・・・・・処理装置 2・・・・・・・・・・・・メモリ 3・・・・・・・・・・・・メモリ連続領域移動装置3
.1・・・・・・制御部 3.2・・・・・・移動元アドレス保持レジスタ3.3
・・・・・・移動先アドレス保持レジスタ3.4・・・
・・・移動残りセル数保持レジスタ3.5・・・・・・
移動元領域のゼロクリア要/不要情報保持レジスタ 4・・・・・・・・・・・・メモリ連続領域移動装置へ
の制御用情報 4.1・・・・・・移動元先頭アドレス4.2・・・・
・・移動先先頭アドレス4.3・・・・・・移動セル数 4.4・・・・・・移動元領域のゼロクリア要/不要情
報 5・・・・・・・・・・・・移動元領域5.1.5゜2
.5.i 、5.n・・・・・・セル6・・・・・・・
・・・・・移動先領域6.1.6.2.6.i 、6、
n・・・・・・セル代理人弁理士   須 山 佐 −
1 to 3 are configuration diagrams showing embodiments of the present invention, respectively. 1...... Processing device 2... Memory 3... Memory continuous area moving device 3
.. 1...Control unit 3.2...Movement source address holding register 3.3
...Movement address holding register 3.4...
...Movement remaining cell number holding register 3.5...
Movement source area zero clear required/unnecessary information holding register 4... Information for controlling the memory continuous area movement device 4.1... Movement source start address 4.2・・・・・・
・・Destination start address 4.3 ・・Number of cells to be moved 4.4 ・・・Move source area zero clear required/unnecessary information 5 ・・・・・Move Original area 5.1.5゜2
.. 5. i, 5. n...Cell 6...
...Move destination area 6.1.6.2.6. i, 6,
n・・・・・・Sell agent patent attorney Suyama Sa −

Claims (1)

【特許請求の範囲】[Claims] 制御部、移動元アドレス保持レジスタ、移動先アドレス
保持レジスタ、移動残セル数保持レジスタおよび移動元
領域のゼロクリア要/不要情報保持レジスタから構成さ
れたメモリ連続領域移動装置を備え、このメモリ連続領
域移動装置が処理装置からのコマンドに対応して処理装
置とは非同期で動作し、前記制御部がコマンドで指定さ
れたメモリ内の連続した複数のセルより成るメモリ連続
領域移動装置への制御情報に従って、前記移動元アドレ
ス保持レジスタ、移動先アドレス保持レジスタ、移動残
セル数保持レジスタおよび移動元領域のゼロクリア要/
不要情報保持レジスタの値を初期設定し、前記制御部が
移動元アドレス保持レジスタの示すメモリ内のセルの内
容を移動先アドレス保持レジスタの示すメモリ内のセル
に移した後、前記移動元領域のゼロクリア要/不要情報
保持レジスタがゼロクリア要を意味しているときのみ移
動元のセルをゼロクリアし、前記移動元アドレス保持レ
ジスタおよび移動先アドレス保持レジスタの内容を1セ
ル分加えるとともに前記移動残セル数保持レジスタの内
容を1セル分減じる動作を移動残セル数保持レジスタの
内容がOになるまで繰り返し、前記移動残セル数保持レ
ジスタの内容がOになった時、前記制御部が処理装置に
対して前記メモリ連続領域移動装置の動作の完了を示す
割込みをかける機能を有することを特徴とする電子計算
機。
The continuous memory area movement device is equipped with a memory continuous area moving device consisting of a control unit, a movement source address holding register, a movement destination address holding register, a movement remaining cell number holding register, and a movement source area zero clear required/unnecessary information holding register. The device operates asynchronously with the processing device in response to a command from the processing device, and the control unit operates according to control information for a memory continuous area moving device consisting of a plurality of continuous cells in the memory specified by the command, The movement source address holding register, movement destination address holding register, movement remaining cell number holding register, and movement source area need to be cleared to zero.
After initializing the value of the unnecessary information holding register and moving the contents of the cell in the memory indicated by the source address holding register to the cell in the memory indicated by the destination address holding register, the controller transfers the contents of the cell in the memory indicated by the destination address holding register. Only when the zero-clear required/unnecessary information holding register indicates that zero-clearing is required, the source cell is zero-cleared, the contents of the source address holding register and the destination address holding register are added for one cell, and the number of remaining cells to be moved is The operation of decrementing the content of the holding register by one cell is repeated until the content of the moving remaining cell number holding register becomes O, and when the content of the moving remaining cell number holding register becomes O, the control unit causes the processing unit to 1. An electronic computer having a function of generating an interrupt indicating completion of operation of the memory continuous area moving device.
JP16367682A 1982-09-20 1982-09-20 Electronic computer Pending JPS5954091A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16367682A JPS5954091A (en) 1982-09-20 1982-09-20 Electronic computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16367682A JPS5954091A (en) 1982-09-20 1982-09-20 Electronic computer

Publications (1)

Publication Number Publication Date
JPS5954091A true JPS5954091A (en) 1984-03-28

Family

ID=15778474

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16367682A Pending JPS5954091A (en) 1982-09-20 1982-09-20 Electronic computer

Country Status (1)

Country Link
JP (1) JPS5954091A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6081660A (en) * 1983-10-12 1985-05-09 Canon Inc Data transfer system
WO1998012639A1 (en) * 1996-09-20 1998-03-26 Hitachi, Ltd. Computer system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6081660A (en) * 1983-10-12 1985-05-09 Canon Inc Data transfer system
JPH0474746B2 (en) * 1983-10-12 1992-11-27
WO1998012639A1 (en) * 1996-09-20 1998-03-26 Hitachi, Ltd. Computer system
US6298355B1 (en) * 1996-09-20 2001-10-02 Hitachi, Ltd. Computer system

Similar Documents

Publication Publication Date Title
US4514808A (en) Data transfer system for a data processing system provided with direct memory access units
US4394730A (en) Multi-processor system employing job-swapping between different priority processors
US4607328A (en) Data transfer apparatus for a microcomputer system
JPH0316660B2 (en)
JPS5911921B2 (en) numerical control device
JPS5954091A (en) Electronic computer
US5561818A (en) Microprocessor and data processing system for data transfer using a register file
JPS6148741B2 (en)
JPS5842487B2 (en) Program loading method
JPH0447350A (en) Main storage read/response control
JPS629926B2 (en)
JPH04184525A (en) Magnetic disk device
JPS6119065B2 (en)
JPS5864534A (en) Data transfer system of computer device
JPS6028023B2 (en) I/O instruction acceleration method
JPS5938827A (en) Microprocessor ipl system
JPS592028B2 (en) display terminal device
JPS5969844A (en) Loading method of microprogram
JPH0352041A (en) Local memory control circuit
JPH0158522B2 (en)
JPS6134662A (en) Microcomputer application apparatus
JPH0282318A (en) Floating-point arithmetic unit
JPS63104156A (en) Information processor
JPS60256858A (en) Program loading system
JPH0241522A (en) Function arithmetic processor