JPH02300935A - Data change system for main storage - Google Patents

Data change system for main storage

Info

Publication number
JPH02300935A
JPH02300935A JP12172489A JP12172489A JPH02300935A JP H02300935 A JPH02300935 A JP H02300935A JP 12172489 A JP12172489 A JP 12172489A JP 12172489 A JP12172489 A JP 12172489A JP H02300935 A JPH02300935 A JP H02300935A
Authority
JP
Japan
Prior art keywords
data
address
block
change
main storage
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
JP12172489A
Other languages
Japanese (ja)
Inventor
Ryoko Kuragami
倉上 良子
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 JP12172489A priority Critical patent/JPH02300935A/en
Publication of JPH02300935A publication Critical patent/JPH02300935A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To economically and efficiently change data in a main storage by virtually dividing respective area in the main storage into plural blocks, changing data by means of setting respective blocks as a unit and setting the blocks including changed information in an idle area. CONSTITUTION:The main storage part is virtually divided at every 1000 addresses, and the change of data is processed in terms of blocks. When a change occurs in data (a) in the main storage part, data of a block 1 comes to be the object of the change, a block 1' including information after the change is stored in 6000th address and succeeding addresses being the idle areas. Then, the address of new data can be obtained by rewriting the head address of the block 1 into the head address of the block 1' and referring an address table. Thus, the change of data is facilitated and the number of packages, which requires exchange, is reduced, whereby economy is attained.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は主記憶装置における記憶方式の改良に関し、特
にメチリアクセスの際に格納先アドレスをテーブルによ
り相定するととくよって変更データを得るデータ変更方
式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an improvement in a storage method in a main memory device, and in particular to data storage where modified data is obtained by determining the storage address using a table during metric access. Concerning the change method.

(従来の技術) 従来、この種の主記憶上におけるデータの変更は主記憶
がROMの場合、第4図に示すようにして主記憶データ
を変更している。
(Prior Art) Conventionally, when the main memory is a ROM, main memory data is changed as shown in FIG. 4 in this type of modification of data on the main memory.

第4図において、主記憶空間では、アドレスαからアド
レスβの間の空間にプログラムAが格納されている。こ
こで、プログラムの修正によってアドレスCI 、C2
の2ケ所に変更が生じたものとする。
In FIG. 4, in the main memory space, program A is stored in a space between address α and address β. Here, by modifying the program, addresses CI, C2
It is assumed that changes have occurred in two places.

従来方式では、変更部分を含むROMパッケージを変更
済み情報の入ったパッケージに変換することによって、
主記憶データの変更を行う。第4図では、パッケージR
1,R3により表わされたROMが変更済み情報の書込
まれたものと変換される。
In the conventional method, by converting the ROM package containing the changed part into a package containing the changed information,
Change main memory data. In Figure 4, package R
The ROM represented by 1, R3 is converted into the one in which the changed information is written.

(発明が解決しようとする課題) 上述した従来の主記憶データ変更方式では、プログラム
中に変更が生じた場合、変更箇所ごとにパッケージの変
換処理を行う必要がある。すなわち、パッケージの交換
による変更方式では、一箇所のみの変更でもパッケージ
1枚分の記憶領域が無駄になるという欠点がある。この
ように無駄になる記憶領域が多すぎると不経済である上
に、変更部分が増加すれば、それに比例してパッケージ
変更のための作業量が増加するという欠点がある。
(Problems to be Solved by the Invention) In the conventional main memory data change method described above, when a change occurs in a program, it is necessary to perform package conversion processing for each changed part. That is, the change method by replacing the package has the disadvantage that even if only one location is changed, the storage area for one package is wasted. If too much storage space is wasted in this way, it is uneconomical, and if the number of parts to be changed increases, the amount of work required to change the package increases proportionately.

本発明の目的は、主記憶部のデータを読取る際に中央処
理装置から与えられる読出しデータの格納先アドレスに
よる直接の読取シを禁じ、必ずアドレステーブルを参照
してから読取るとともに、主記憶部内の領域を仮想的に
複数のブロックに分割し、これらのブロックを単位とし
てデータ変更を行い、変更済み情報を含むブロックは空
き領域に設定し、アドレステーブルによって新しいブロ
ックの方からデータの読込みを行うことによって上記欠
点を除去し、経済的、且つ、効率的に主記憶内のデータ
を変更できるように構成した主記憶のデータ変更方式を
提供することにある。
An object of the present invention is to forbid direct reading based on the storage destination address of the read data given by the central processing unit when reading data in the main memory, always refer to the address table before reading, and to Virtually divides the area into multiple blocks, changes data using these blocks as a unit, sets blocks containing changed information as free space, and reads data from new blocks using the address table. It is an object of the present invention to provide a main memory data changing method configured to eliminate the above-mentioned drawbacks and to change data in the main memory economically and efficiently.

(課題を解決するための手段) 本発明による主記憶のデータ変更方式は、第1の処理手
段と、第2の処理手段とを具備して構成したものである
(Means for Solving the Problems) A main memory data modification method according to the present invention is configured to include a first processing means and a second processing means.

第1の処理手段は、主記憶部のデータを読取る際に1中
央処理装置から与えられる読出しデータの格納先アドレ
スによる直接の読取りを禁止し、アドレステーブルを参
照してから読取りを行うためのものである。
The first processing means prohibits direct reading based on the storage destination address of the read data given from the first central processing unit when reading data in the main memory, and performs reading after referring to an address table. It is.

第2の処理手段は、主記憶の各領域を仮想的に複数のブ
ロックに分割し、各ブロックを単位としてデータを変更
し、変更済み情報を含むブロックを空き領域に設定し、
アドレステーブルによって新しいブロックの方からデー
タの読込みを行うためのものである。
The second processing means virtually divides each area of the main memory into a plurality of blocks, changes data in each block as a unit, and sets the block containing the changed information as a free area;
This is to read data from a new block using the address table.

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

第1図は、本発明による主記憶のデータ変更方式の一実
施例を示す説明図である。
FIG. 1 is an explanatory diagram showing an embodiment of a main memory data modification method according to the present invention.

第1図において、主記憶部は仮想的に1000番地ごと
に分割されており、データの変更はこのブロック単位で
取扱われる。アドレステーブルでは中央処理装置から得
られたアドレスを1ブロツク内の番地数で割シ、得られ
た値をキイとして使用し、読込みたいデータの含まれる
ブロックの先頭番地を得ている。
In FIG. 1, the main memory section is virtually divided into 1000 addresses, and data changes are handled in units of blocks. In the address table, the address obtained from the central processing unit is divided by the number of addresses in one block, and the obtained value is used as a key to obtain the starting address of the block containing the data to be read.

例えば、1500番地が与えられた場合、1ブロツクが
1000番地であることによシ、次の第(1)式の計算
式からキイが1となる。すなわち、1500 ÷ 10
00  =  1 、−−−余り500 (1)アドレ
ステーブルのキイ部が1であるならば、データ部が10
00であることから、読込みたいデータの格納されてい
るブロックの先頭番地が、 1000番地であることが
判明する。また、第111式で余シが500であること
から、ブロックの先頭から500番地目が読込むべきデ
ータのアドレスであることが判明する。すなわち、 1000 + 500 = 1500     121
上の第12)式で得られた番地が実際のアドレスである
For example, if address 1500 is given, the key will be 1 from the following equation (1) because one block is address 1000. That is, 1500 ÷ 10
00 = 1,---remainder 500 (1) If the key part of the address table is 1, the data part is 10
00, it turns out that the starting address of the block where the data to be read is stored is address 1000. Furthermore, since the remainder in equation 111 is 500, it is found that the 500th address from the beginning of the block is the address of the data to be read. That is, 1000 + 500 = 1500 121
The address obtained from equation 12) above is the actual address.

主記憶部内のデータ■に変更が生じた場合、ブロック■
のデータが変更の対称となる。変更後の情報を含み、ブ
ロック■に対応する変更後のブロックがブロック■をあ
る。処理■では、空き領域であった6000番地以降に
ブロック■の内容を格納している。処理@では、ブロッ
ク■の先頭アドレスをブロック■の先頭アドレスに書換
えて、アドレステーブルを参照することによって新しい
データの番地が得られるようになる。
If a change occurs in the data in the main memory, the block
The data will be subject to change. The changed block that includes the changed information and corresponds to the block ■ is the block ■. In process (2), the contents of block (2) are stored from address 6000 onward, which was a free area. In the process @, the start address of the block ■ is rewritten to the start address of the block ■, and the new data address can be obtained by referring to the address table.

第2図は、データの読込み処理を表わす説明図である。FIG. 2 is an explanatory diagram showing data reading processing.

中央処理装置からアドレスを得る処理■によって、キイ
が2であることが判明する。アドレステーブルを参照す
る処理@を実行すると、データ部からデータブロックの
先頭アドレスが求められ、実際のアドレスが処理θによ
シ得られる。処理[相]Kよシ、主記憶部からこのアド
レスの番地の情報が読込まれる。
Through the process (3) of obtaining an address from the central processing unit, it is determined that the key is 2. When the process @ that refers to the address table is executed, the start address of the data block is obtained from the data section, and the actual address is obtained by the process θ. In process [phase] K, the information at this address is read from the main memory.

第8図では、処理ルーチンとして第2図のケースを挙げ
、具体的な得られる数値とともにフローチャートを示し
た。ここで、主記憶部のデータはすべて上記の方式によ
り読込むものとしている。
In FIG. 8, the case of FIG. 2 is cited as a processing routine, and a flowchart is shown along with specific obtained values. Here, it is assumed that all data in the main storage section is read using the above method.

(発明の効果) 以上説明したように本発明は、主記憶のデータ変更ブロ
ックを空き領域に設定し、アドレステーブルによって中
央処理装置から与えられる読出しデータの格納先アドレ
スを実際のアドレスに変換し、変更後のデータを得るこ
とによって、主記憶におけるデータの変更が容易になる
とともに、交換が必要なパッケージの数を減少させ、経
済化を促進させることができるという効果がある。
(Effects of the Invention) As explained above, the present invention sets the data change block of the main memory as a free area, converts the storage address of the read data given from the central processing unit into an actual address using the address table, Obtaining the changed data facilitates changing the data in the main memory, reduces the number of packages that need to be replaced, and promotes economicalization.

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

第1図は、本発明による主記憶のデータ変更方式の一実
施例を表わす説明図である。 第2図は、主記憶部からデータを読込む処理列を表わす
説明図である。 第8図は、第2図の処理を示すフローチャートである。 第4図は、主記憶装置をROMとした従来の主記憶デー
タ変更方式を表わした説明図である。
FIG. 1 is an explanatory diagram showing an embodiment of a main memory data modification method according to the present invention. FIG. 2 is an explanatory diagram showing a processing sequence for reading data from the main memory. FIG. 8 is a flowchart showing the process of FIG. 2. FIG. 4 is an explanatory diagram showing a conventional main memory data changing method using a ROM as the main memory.

Claims (1)

【特許請求の範囲】[Claims]  主記憶部のデータを読取る際に中央処理装置から与え
られる読出しデータの格納先アドレスによる直接の読取
りを禁止し、アドレステーブルを参照してから読取りを
行うための第1の処理手段と、前記主記憶の各領域を仮
想的に複数のブロックに分割し、前記各ブロックを単位
としてデータを変更し、変更済み情報を含むブロックを
空き領域に設定し、アドレステーブルによつて新しいブ
ロックの方からデータの読込みを行うための第2の処理
手段とを具備して構成したことを特徴とする主記憶のデ
ータ変更方式。
a first processing means for prohibiting direct reading based on a storage destination address of the read data given from the central processing unit when reading data in the main memory, and for reading after referring to an address table; Each area of storage is virtually divided into multiple blocks, data is changed using each block as a unit, blocks containing changed information are set as free areas, and data is transferred from the new block using the address table. 1. A method for changing data in a main memory, comprising a second processing means for reading data.
JP12172489A 1989-05-16 1989-05-16 Data change system for main storage Pending JPH02300935A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12172489A JPH02300935A (en) 1989-05-16 1989-05-16 Data change system for main storage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12172489A JPH02300935A (en) 1989-05-16 1989-05-16 Data change system for main storage

Publications (1)

Publication Number Publication Date
JPH02300935A true JPH02300935A (en) 1990-12-13

Family

ID=14818313

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12172489A Pending JPH02300935A (en) 1989-05-16 1989-05-16 Data change system for main storage

Country Status (1)

Country Link
JP (1) JPH02300935A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08194582A (en) * 1995-01-17 1996-07-30 Nec Corp Method and device for controlling data transfer
US20120089809A1 (en) * 2010-10-06 2012-04-12 Cleversafe, Inc. Accessing an encoded data slice utilizing a memory bin

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08194582A (en) * 1995-01-17 1996-07-30 Nec Corp Method and device for controlling data transfer
US20120089809A1 (en) * 2010-10-06 2012-04-12 Cleversafe, Inc. Accessing an encoded data slice utilizing a memory bin
US8656138B2 (en) * 2010-10-06 2014-02-18 Cleversafe, Inc. Efficiently accessing an encoded data slice utilizing a memory bin

Similar Documents

Publication Publication Date Title
JPH02300935A (en) Data change system for main storage
JPS62182822A (en) Automatic operation system
JPH01184533A (en) System for changing data in main storage
JP3046887B2 (en) Output file generation method in OCR data entry system
JPH02125338A (en) Extended memory allocating system for real-time monitor
JP2663600B2 (en) Control table relocation processing method
JPS61260340A (en) Block transfer control part
JPH0731608B2 (en) Information processing equipment
JPS59144955A (en) Information processor
JPS63219029A (en) Table processing method for printing format
JPS629437A (en) Microprogram controller
JPS60169946A (en) Task control system
JPH0327439A (en) Shared module managing system for program
JPH01233628A (en) Memory address conversion control circuit
JPS62284444A (en) Memory data converter
JPS6290726A (en) Device firmware constituting system
JPS6380334A (en) Microprocessor
JPS62251929A (en) Adding system for machine word instruction
JP2002544619A (en) Object-oriented processing using dedicated pointer memory
JPS6284334A (en) Information processing system
JPH0883188A (en) Multitask processing computer
JPH0421028A (en) Register managing method
JPH01298441A (en) Exclusion control system for memory access
JPS62219126A (en) Program control system
JPH01145724A (en) Control storage device