JPS59176851A - Data storage method - Google Patents
Data storage methodInfo
- Publication number
- JPS59176851A JPS59176851A JP58050774A JP5077483A JPS59176851A JP S59176851 A JPS59176851 A JP S59176851A JP 58050774 A JP58050774 A JP 58050774A JP 5077483 A JP5077483 A JP 5077483A JP S59176851 A JPS59176851 A JP S59176851A
- Authority
- JP
- Japan
- Prior art keywords
- data
- address
- stored
- cycle
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Retry When Errors Occur (AREA)
- Executing Machine-Instructions (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
(1)発明の技術分野
本発明はデータセーブ用ローカルストレージに対し格別
の処理を行うことなくデータを格納し、読出し時は所定
の処理を行うことにより、短時間処理を可能とするデー
タ格納方式に関する。Detailed Description of the Invention (1) Technical Field of the Invention The present invention stores data in a local storage for data saving without performing any special processing, and performs predetermined processing when reading, thereby reducing processing time. The present invention relates to a data storage method that enables data storage.
(2)技術の背景
中央処理装置による情報処理の途中で何等かの原因でエ
ラーが発生したとき、当該命令の当初ステップに戻り再
試行(リトライ)を実行して見る。エラー原因によって
は再試行のとき王宮動作がなされ、或いは再度エラーと
なる。このとき当初の処理動作中変更されたデータを使
用して命令再試行を行うことは、正当な再試行とならな
いため、処理動作における当初からのデータをデータセ
ーブ用ローカルストレージに一旦格納しておき、再試行
を実行するときはその直前にローカルストレージの格納
データを主記憶装置に戻すようにしている。(2) Background of the Technology When an error occurs for some reason during information processing by the central processing unit, the process returns to the initial step of the instruction and executes a retry. Depending on the cause of the error, a royal action will be performed when retrying, or an error will occur again. At this time, retrying an instruction using data that was changed during the initial processing operation is not a valid retry, so the data from the beginning of the processing operation should be temporarily stored in local storage for data saving. , the data stored in the local storage is returned to the main storage immediately before retrying.
(3)従来技術と問題点
従来方式を示す第1図において、データセーブ用ローカ
ルストレージDSLSに第2図のデータを格納する場合
を説明する。第1図中の主記憶装置MSにおいてアドレ
ス0番地→7番地にA−Hのデータが、アドレス8番地
−15番地に■〜Pのデータが格納されていて、アドレ
ス6番地よりデータ長4バイトをローカルストレージD
、SL、Sに格納するときは、主記憶装置MSのマシン
サイクルの第1ザイクルにおいてデータG、Hのみが読
出され、次サイクルにおいてデータL Jを読出して
いる。第1図二示すアドレスレジスタADRにはアドレ
ス6番地を、アライン方向レジスタALRには左方向の
アラインでアドレス増加方向とするとき01″のように
定めるとそれを格納し、データ長レジスタDLRには“
100” (4バイト)のように格納しておく。アドレ
スレジスタADRにより指定されるアドレスで主記憶装
置MSが読出され第1サイクルでデータG、Hがデータ
アライン回路DALに格納される。このときアドレスレ
ジスタADRとデータ長レジスタDLRは2バイト分だ
け更新され、データ長レジスタDLRの内容は一時記憶
データ長しジスタTDRに格納される。データアライン
回路DALはアライン制御回路ALCにより制御されて
、マシンサイクルの第2サイクルでは図示しない中央処
理装置からのフェッチにおいて読出されたデータを整列
する。そして読出しデータレジスタRDRに格納してお
く。(3) Prior Art and Problems Referring to FIG. 1 showing the conventional method, a case will be described in which the data shown in FIG. 2 is stored in the local storage DSLS for data saving. In the main memory device MS in FIG. 1, data A to H is stored at addresses 0 to 7, data from ■ to P are stored at addresses 8 to 15, and the data length is 4 bytes starting from address 6. local storage D
, SL, and S, only data G and H are read out in the first machine cycle of the main memory MS, and data LJ is read out in the next cycle. The address register ADR shown in Figure 1-2 stores address number 6, the alignment direction register ALR stores it as 01'' when alignment is to the left and the address increases, and the data length register DLR stores it. “
100'' (4 bytes).The main memory device MS is read out at the address specified by the address register ADR, and data G and H are stored in the data alignment circuit DAL in the first cycle.At this time, The address register ADR and data length register DLR are updated by 2 bytes, and the contents of the data length register DLR are changed to the temporary storage data length and stored in the register TDR.The data align circuit DAL is controlled by the align control circuit ALC, In the second cycle, the data read out in the fetch from the central processing unit (not shown) is aligned and stored in the read data register RDR.
第2サイクルアクセス検出回路SACは第2サイクルア
クセスのとき「オン」とされるフリップフロップFFに
より起動し、一時記憶データ長しジスクTDRのレジス
タ内容と環データ長レジスタの内容を切換ゲートMPX
により選択し、出力線L3に出力する。出力線L3.L
4は第2サイクルのフェッチで書込みがされる。なお出
力線LL、 L2ば第1サイクルのフェッチで書込
みがされる。その結果ローカルストレージDSLSには
第3図のデータフォーマットで格納される。主記憶装置
フェッチデータは第1サイクルのフェッチデータと第2
サイクルデータの論理和演算結果であって、そのため加
算・演算などの制御が複雑であった。The second cycle access detection circuit SAC is activated by the flip-flop FF which is turned on during the second cycle access, and changes the length of the temporary storage data and switches the register contents of the disk TDR and the contents of the ring data length register with the gate MPX.
and outputs it to the output line L3. Output line L3. L
4 is written in the second cycle fetch. Note that writing is performed on the output lines LL and L2 by fetching in the first cycle. As a result, the data is stored in the local storage DSLS in the data format shown in FIG. The main memory fetch data is the first cycle fetch data and the second cycle fetch data.
This is the result of a logical sum operation of cycle data, and therefore, the control of additions, calculations, etc. is complicated.
なお主記憶装置MSのデータについて、右方向アライン
・アドレス減少方向のときアライン方向のコードを10
”と、右方向アドレス増加方向のときはアライン方向の
コードを“11″として第2図に示すような読出しデー
タとする。Regarding the data in the main memory device MS, when aligning to the right and decreasing the address, the code in the alignment direction is set to 10.
”, and when the address is increasing in the right direction, the code in the alignment direction is set to “11” and read data as shown in FIG. 2 is obtained.
そして第4図に示すように1命令においてnフェッチす
るとしてローカルストレージDSLSのn個のアドレス
にデータが格納されるので、次に再試行のときは、格納
最後のアドレスから逆方向に読出しをし、前述と逆の変
換をして主記憶装置MSに戻される。このためローカル
ストレージDSLSに格納するとき、読出すときは共に
制御用のハードウェアが複雑であった。第1図において
ローカルストレージDSLSのカウンタは第2+イクル
が終わったとき+1する。As shown in Figure 4, data is stored in n addresses of the local storage DSLS when n fetches are performed in one instruction, so when retrying the next time, data is read in the reverse direction from the last stored address. , the data is converted in the opposite manner to the above and returned to the main storage device MS. For this reason, the control hardware is complicated both when storing in the local storage DSLS and when reading. In FIG. 1, the counter of the local storage DSLS increments by 1 when the second +cycle ends.
(4)発明の目的
本発明の目的は前述の欠点を改善し、ローカルストレー
ジに簡易にデータを簡易に格納し、読出し時には所定の
処理を行い、比較的短時間の処理を可能とするデータ格
納方式を提供することにある。(4) Purpose of the Invention The purpose of the present invention is to improve the above-mentioned drawbacks, to store data easily in a local storage, to perform predetermined processing when reading, and to store data in a relatively short time. The goal is to provide a method.
(5)発明の構成
前述の目的を達成するための本発明の構成は、主記憶装
置のデータをアドレスアライン方向・データ長と共にデ
ータセーブ用ローカルストレージに格納し、読出すとき
は前記ローカルストレージにセーブした最終アドレスか
らアドレス減少方向に読出し逆変換の後主記憶装置に再
格納するデータ格納方式において、主記憶装置の境界領
域を超えてフェッチするとき、中央処理装置マシンサイ
クルの第1サイクルと第2サイクルのアクセスを別個に
行い、第2サイクルのアライン方向を特定ビット列とし
て格納し、読出すときは格納方向とは逆方向に行い、前
記特定ビット列を見出したデータについてはその次に読
出すサイクルのデータと論理演算してから主記憶装置に
再格納することである。(5) Structure of the Invention The structure of the present invention to achieve the above-mentioned object is to store the data in the main memory device in a local storage for data saving along with the address alignment direction and data length, and to read it out from the local storage. In a data storage method in which the address is read from the last saved address in a decreasing direction and then re-stored in the main memory after inverse conversion, when fetching beyond the boundary area of the main memory, the first cycle and the first cycle of the central processing unit machine cycle are Two cycles of access are performed separately, the alignment direction of the second cycle is stored as a specific bit string, and reading is performed in the opposite direction to the storage direction, and the data that finds the specific bit string is read out in the next cycle. The process is to perform logical operations on the data and then store it again in the main memory.
(6)発明の実施例
第5図は本発明の一実施例の構成を示す図で、第1図と
同一符号は同様のものを示す。第5図においては、各出
力線L1〜L4は各フェッチ毎にローカルストレージD
SLSに書込みを行うように制御される。アライン方向
レジスタALRの出力線L2について特に第1サイクル
と第2サイクルのフェッチにおける出力を第6図に示す
ように区別しながら格納して行く。即ち第1サイクルで
は通常のアライン方向データを格納し、第2サイクルで
は第1ザイクルに関係なく特定ビット列この場合“00
”とする。(6) Embodiment of the Invention FIG. 5 is a diagram showing the configuration of an embodiment of the invention, and the same reference numerals as in FIG. 1 indicate the same parts. In FIG. 5, each output line L1 to L4 is connected to a local storage D for each fetch.
Controlled to write to SLS. Regarding the output line L2 of the align direction register ALR, in particular, the outputs in the first cycle and the second cycle fetch are stored while being distinguished as shown in FIG. That is, in the first cycle, normal alignment direction data is stored, and in the second cycle, regardless of the first cycle, a specific bit string is stored, in this case "00".
”.
そのためフリ・7ブフロンプF’Fの出力とアライン方
向レジスタALRの出力とを論理演算する回路を使用す
る。またフェッチデータの得られるアドレスが第1サイ
クルでは「6番地」、第2サイクルでは「8番地」のよ
うに異なっている。For this purpose, a circuit is used that performs a logical operation on the output of the free-seven-prompt F'F and the output of the align direction register ALR. Further, the address from which the fetch data is obtained is different, such as "address 6" in the first cycle and "address 8" in the second cycle.
次にローカルストレージDSLSのデータを読出して命
令再試行を行うときには最終アドレスから逆方向に読出
して行く。そしてアライン方向のビット列検出回路を設
けておき特定ビット列の得られたアドレスのデータにつ
いては一時保留し、それより1番地後で読出す第1サイ
クルのデータとについて論理和演算を行う。主記憶装置
に再格納されるデータは
[アドレスM番地のフェッチデータ]
0、R[アドレスM−1番地のフェッチデータ]また再
格納すべきアドレスはローカルストレージDSLSのM
−1番地に格納されているアドレスを、アライン方向は
M−1番地の方にあり、データ長は(M−1番地の長さ
)+(M番地の長さ)により求めることができる。Next, when reading data from the local storage DSLS and retrying the instruction, the data is read in the reverse direction from the final address. A bit string detection circuit in the alignment direction is provided, and the data at the address obtained in the specific bit string is temporarily held, and an OR operation is performed on the first cycle data read out one address later. The data to be re-stored in the main memory is [fetch data at address M] 0, R [fetch data at address M-1] The address to be re-stored is M in local storage DSLS.
The alignment direction of the address stored at address -1 is toward address M-1, and the data length can be determined by (length of address M-1) + (length of address M).
データ逆変換はこの後通常のとおり行われる。Data inversion then proceeds as usual.
(7)発明の効果
こきようにして本発明によると、ローカルストレージに
格納するときは、格別チェックをすることなく直ちに行
い、再試行のときは特定ビット列を検出するハードウェ
アを要する程度で、短時間に格納でき且つ構成が簡易で
ある。(7) Effects of the Invention According to the present invention, when storing to local storage, it is done immediately without special checking, and when retrying, it is short and only requires hardware to detect a specific bit string. It can be stored in time and has a simple configuration.
第1図は従来のデータ格納方式を説明するための図、第
2図は格納するデータの例、第3図はローカルストレー
ジに格納された従来のデータ列、第4図は第3図のデー
タ列が複数格納された例、第5図は本発明の一実施例の
構成を示す図、第6図は第3図に対応する格納データ列
を示す図である。
MS−主記憶装置
DSLS−データセーブ用ローカルストレージALR−
アライン方向レジスタ
ADR・−・アドレスレジスタ
DLR−データ長レジスタ
DAL−データアライン回路
A L C−・アライン制御回路
特許出願人 富士通株式会社
代理人 弁理士 鈴木栄祐Figure 1 is a diagram for explaining the conventional data storage method, Figure 2 is an example of stored data, Figure 3 is a conventional data string stored in local storage, and Figure 4 is the data in Figure 3. An example in which a plurality of columns are stored, FIG. 5 is a diagram showing the configuration of an embodiment of the present invention, and FIG. 6 is a diagram showing stored data columns corresponding to FIG. 3. MS-Main storage DSLS-Local storage for data saving ALR-
Align direction register ADR - Address register DLR - Data length register DAL - Data align circuit ALC - Align control circuit Patent applicant Fujitsu Limited Agent Patent attorney Eisuke Suzuki
Claims (1)
と共にデータセーブ用ローカルストレージに格納し、読
出すときは前記ローカルストレージにセーブした最終ア
ドレスからアドレス減少方向に読出し逆変換の後主記憶
装置に再格納するデータ格納方式において、主記憶装置
の境界領域を超えてフェッチするとき、中央処理装置マ
シンサイクルの第1サイクルと第2サイクルのアクセス
を別個に行い、第2サイクルのアライン方向を特定ビッ
ト列として格納し、読出ずときは格納順序とは逆方向に
行い、前記特定ビット列を見出したデータについてはそ
の次に読出すサイクルのデータと論理演算してから主記
憶装置に再格納することを特徴とするデータ格納方式。The data in the main storage device is stored in the local storage for data saving along with the address alignment direction and data length, and when reading it, it is read in the address decreasing direction from the last address saved in the local storage, and after reverse conversion, it is stored again in the main storage device. In a data storage method, when fetching beyond the boundary area of the main memory, the first and second cycles of the central processing unit machine cycle are accessed separately, and the alignment direction of the second cycle is stored as a specific bit string. However, when the data is not read, it is performed in the opposite direction to the storage order, and the data for which the specific bit string is found is subjected to a logical operation with the data of the next read cycle, and then stored again in the main memory. Data storage method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58050774A JPS59176851A (en) | 1983-03-27 | 1983-03-27 | Data storage method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58050774A JPS59176851A (en) | 1983-03-27 | 1983-03-27 | Data storage method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS59176851A true JPS59176851A (en) | 1984-10-06 |
JPS6310454B2 JPS6310454B2 (en) | 1988-03-07 |
Family
ID=12868175
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP58050774A Granted JPS59176851A (en) | 1983-03-27 | 1983-03-27 | Data storage method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS59176851A (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0648384Y2 (en) * | 1988-06-28 | 1994-12-12 | 株式会社千代田製作所 | Slide glass adapter for specimen organization |
JPH05302874A (en) * | 1991-07-03 | 1993-11-16 | Michirou Shibazaki | Peelable filter body |
-
1983
- 1983-03-27 JP JP58050774A patent/JPS59176851A/en active Granted
Also Published As
Publication number | Publication date |
---|---|
JPS6310454B2 (en) | 1988-03-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US3222649A (en) | Digital computer with indirect addressing | |
JPH0248931B2 (en) | ||
US4975872A (en) | Dual port memory device with tag bit marking | |
AU619088B2 (en) | A partially storing control circuit used in a memory unit | |
JPH09167495A (en) | Data storage unit and data storage device using the unit | |
JPS63238646A (en) | microprocessor | |
US5463760A (en) | Break function in-circuit emulator for a microprocessor with a cache memory | |
US4924425A (en) | Method for immediately writing an operand to a selected word location within a block of a buffer memory | |
JPS58115673A (en) | Storage information control method and device | |
JPS59176851A (en) | Data storage method | |
JPS5987566A (en) | Memory access detection method | |
JPS6129024B2 (en) | ||
JPS60181851A (en) | Partial writing control system | |
KR920008597A (en) | Micro computer | |
JPS62212751A (en) | Data processor | |
JPS6391756A (en) | Partial write instruction processing system for storage device | |
JPS61214039A (en) | Cache memory | |
JPH0129639Y2 (en) | ||
SU1367041A1 (en) | Read-only memory | |
JPS60117353A (en) | Alternative memory control method in storage device | |
JPS5842546B2 (en) | Store control method | |
JPH01166144A (en) | Firmware program debugging method | |
JPS6145359A (en) | Information processor | |
JPS6135583B2 (en) | ||
JPS617947A (en) | Control storage device |