JPS60254238A - Data extraction processor - Google Patents

Data extraction processor

Info

Publication number
JPS60254238A
JPS60254238A JP11016984A JP11016984A JPS60254238A JP S60254238 A JPS60254238 A JP S60254238A JP 11016984 A JP11016984 A JP 11016984A JP 11016984 A JP11016984 A JP 11016984A JP S60254238 A JPS60254238 A JP S60254238A
Authority
JP
Japan
Prior art keywords
data
bytes
storage means
address
read
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
Application number
JP11016984A
Other languages
Japanese (ja)
Other versions
JPH0231418B2 (en
Inventor
Hiroshi Oota
宏 太田
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 JP11016984A priority Critical patent/JPH0231418B2/en
Publication of JPS60254238A publication Critical patent/JPS60254238A/en
Publication of JPH0231418B2 publication Critical patent/JPH0231418B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Advance Control (AREA)

Abstract

PURPOSE:To reduce the quantity of hardware and to increase the processing speed of a data extraction processor by defining the contents of a RAM main body part, a latch part equivalent to 2p bytes and a data register as data which are extracted by different memory accesses. CONSTITUTION:A data extraction processor used for instruction word processing, etc. is provided with a main memory 1, a RAM2 of the (4 words X 4 bytes) capacity that incorporates a latch part equivalent to 4 bytes, a data register 3, a switch 4 which switches alternately the reading and writing actions of the RAM2, a RAM access mechanism 6 which performs write/read of the RAM2, a main memory access control mechanism 7, an alignment device 8, a residual indicator 5, etc. The mechanism 7 transfers the 16-byte data within the RAM2 every 4 bytes in 4 times and stores them in the main memory 1. While the device 8 stores the 4-byte data directly to the register 3 and extracts them.

Description

【発明の詳細な説明】 (技術分野) 本発明は命令語処理等に用いるデータ抽出処理装置に関
する。
DETAILED DESCRIPTION OF THE INVENTION (Technical Field) The present invention relates to a data extraction processing device used for command word processing and the like.

(従来技術) 従来の命令語処理等に用いるデータ抽出処理装置は、最
小必要とするp(正整数)バイトの命令語に対して少く
とも3pバイト以上の命令語バッファを持ち、記憶装置
から読み出されてくる2pバイトのデータをこのバッフ
ァに格納し、pバイト以上の空きが生じている場合には
、後続の2pバイトのデータを読み出すとともに命令語
バッファを遂時左詰めにして行き、新しい2pバイトの
データを格納するようにしている1、3pバイト以上の
命令語バッファにおいて、pバイトや2pバイト分の左
シフトは膨大な接続配線と選択回路と選択制御回路とを
必要とする。
(Prior art) A conventional data extraction processing device used for instruction word processing, etc. has an instruction word buffer of at least 3p bytes for the minimum required instruction word of p (positive integer) bytes, and reads it from a storage device. The output 2p bytes of data are stored in this buffer, and if there is free space of p bytes or more, the subsequent 2p bytes of data are read out and the instruction word buffer is left-justified at the same time. In an instruction word buffer of 1 or 3p bytes or more that stores 2p bytes of data, left shifting by p or 2p bytes requires a huge amount of connection wiring, selection circuits, and selection control circuits.

また、他の従来のデータ抽出処理装置は、最小必要とす
るpバイトの命令語に対して2pバイトの命令語バッフ
ァとm(正整数)飴x2pバイトのレジスタファイルと
を持ち、2pバイトの命令語バッファには、前記レジス
タファイルの所望の位置から連続する2pバイトを読み
出して格納し、前記レジスタファイルを使い切ってpバ
イト以下のデータが残されるときは、このpバイト分の
み2pバイトの命令語バッファの前半pバイトに格納し
、前記レジスタファイルが空になった時点で、次のメモ
リアクセスを行い、連続するm語X21)バイトのデー
タを記憶装置に要求し、レジスタファイルに格納が始っ
た段階かまたは格納が終了した段階で、先頭のpバイト
のデータをレジスタファイルから取シ出し、命令語バッ
ファの後半pバイトに格納して、2pバイトの命令語を
得ている。
In addition, other conventional data extraction processing devices have a 2p byte instruction word buffer and a register file of m (positive integer) x 2p bytes for the minimum required p byte instruction words, and The word buffer reads and stores consecutive 2p bytes from a desired position in the register file, and when the register file is used up and less than p bytes of data remain, the instruction word of 2p bytes is read only for these p bytes. The data is stored in the first half p bytes of the buffer, and when the register file becomes empty, the next memory access is performed to request continuous m words x 21) bytes of data from the storage device, and storage in the register file begins. At the stage where the data is stored or when the storage is completed, the first p bytes of data are taken out from the register file and stored in the latter p bytes of the instruction word buffer to obtain a 2p byte instruction word.

この装置では、レジスタファイル内のデータが使い尽さ
れないと次のメモリアクセスができ々いという欠点と、
命令語バッファが前半のpバイトが格納された時点から
後半のpバイトが格納されて有効な2pバイトのデータ
が揃うまで、ハードウェアが専有された状態となシ、高
速な転送処理ができないという欠点がある。
This device has the disadvantage that the next memory access cannot be made until the data in the register file is used up.
From the time the first half p bytes are stored in the instruction word buffer until the second half p bytes are stored and 2p bytes of valid data are available, the hardware is occupied and high-speed transfer processing cannot be performed. There are drawbacks.

(発明の目的) 本発明の目的は上述の欠点を除去したデータ抽出処理装
置を提供することにある。
(Object of the Invention) An object of the present invention is to provide a data extraction processing device that eliminates the above-mentioned drawbacks.

(発明の構成) 本発明の装置は、それぞれ2p(pは正整数)バイトの
容量を有する第1および第2の格納手段と、m(正整数
)個の記憶領域を有し各該記憶領域がそれぞれ2pバイ
トの容量を持つ第1の記1手段と、予め定めた周期で前
記第1の記憶手段に対する読出し動作と書込み動作とを
交互に切シ換える切換え手段と、前記書込み動作期間中
は書込みアドレスを前記第1の記憶手段に供給して第2
の記憶手段からの2pバイトの書込みデータを格納させ
前記読出し動作期間中は読み出しアドレスを前記第1の
記憶手段に供給して前記第1の格納手段にpバイトまた
は2pバイトの読出しデータを格納させるアクセス手段
と、前記第2の記1手段内の(2pxm)バイトのデー
タを2pバイトづつm回転送して前記第1の記憶手段に
格納させるメモリアクセス手段と、前記第1の格納手段
内の2pバイトのデータを直接または上位pバイトと下
位pバイトとを交換して前記第2の格納手段に格納する
アライメント手段と、現在前記第1の格納手段に格納さ
れている2pバイトのデータのうちの所望のpバイトと
次に前記メモリアクセス手段によシ前記第2の記憶手段
から前記第1の記5− 憶手段に格納される新たな(2pxm)バイトのデータ
のうちの所望のpバイトとを前記アライメント手段に転
送するために現在前記第1の格納手段に格納されている
データが有効であることを表示する表示手段とから構成
される。
(Structure of the Invention) The device of the present invention includes first and second storage means each having a capacity of 2p (p is a positive integer) bytes, and m (positive integer) storage areas, each of which has a capacity of 2p (p is a positive integer) bytes. a first storage means each having a capacity of 2p bytes; a switching means for alternately switching between a read operation and a write operation for the first storage means at a predetermined period; and during the write operation period. A write address is supplied to the first storage means and the second
During the read operation period, a read address is supplied to the first storage means to store p bytes or 2p bytes of read data in the first storage means. an access means, a memory access means for transferring (2pxm) bytes of data in the second storage means m times in units of 2p bytes and storing it in the first storage means; alignment means for storing 2p bytes of data directly or by exchanging upper p bytes and lower p bytes in the second storage means; desired p bytes of the new (2pxm) bytes of data to be stored from the second storage means into the first storage means by the memory access means; and display means for displaying that the data currently stored in the first storage means is valid for transferring the data to the alignment means.

(実施例) 次に本発明について図面を8照して詳細に説明する。(Example) Next, the present invention will be described in detail with reference to the drawings.

本発明の一実施例を示す第1図において、本実施例は、
主記憶装置1と、4バイト分のラッチ部を内蔵し4語×
4バイトの容量を持つ読出しおよび書込み可能メモリ(
以下、RAMと称す)2とデータレジスタ3と、1マシ
ンサイクルの半分の周期で几AM3の読出しくリード)
動作と書込み(ライト)動作とを交互に切シ換える切換
え器4と、前記ライト動作期間中はライト(書込み)ア
ドレスを几AM2に供給しライト(書込み)クロックに
よシ4バイトの書込みデータを格納させ前記リード動作
期間中はリード(読出し)アドレスを几AM2に供給し
4バイトの前記ラッチ部を介6一 して几AM2の外部に読み出させるR、AMアクセス機
構6と、主記憶アクセス制御機構7と、アライメント器
8と、残余インジケータ5と、RAM2の左側2バイト
分をアクセスするリード/ライトアドレス線100と、
RAMの右側2ノ(イト分をアクセスするリード/ライ
トアドレス線101と、アライメント選択線102と、
インジケータ線103と、主記憶データ読出し線104
と、RAMデータ読出し線105および106と、アラ
イメント線107および108とから構成される。
In FIG. 1 showing an embodiment of the present invention, this embodiment shows the following:
Built-in main memory 1 and latch section for 4 bytes, 4 words x
Readable and writable memory with a capacity of 4 bytes (
(hereinafter referred to as RAM) 2, data register 3, and read data from AM3 at half the cycle of one machine cycle)
A switch 4 alternately switches between operation and write operation, and during the write operation period, it supplies a write address to AM2 and writes 4 bytes of write data using a write clock. During the read operation period, the RAM access mechanism 6 supplies a read address to the AM 2 and reads it out of the AM 2 via the 4-byte latch section, and the main memory access mechanism 6. A control mechanism 7, an alignment device 8, a remaining indicator 5, a read/write address line 100 for accessing the left 2 bytes of the RAM 2,
A read/write address line 101 for accessing two bits on the right side of the RAM, an alignment selection line 102,
Indicator line 103 and main memory data read line 104
, RAM data read lines 105 and 106, and alignment lines 107 and 108.

第2図は第1図に示した几AM2、RAMアクセス機構
6、アライメント器8及びデータレジスタ3の詳細図で
あり、それぞれ4語×2)くイトからなるRAM本体部
21および22と、それぞれ2バイトからなるラッチ部
23および24と、几AM書込みアドレスポインタ(以
下WPと略す)格納部61と、RAMfi出しアドレス
ポインタ(以下几Pと略す)格納部62と、WP入カデ
ータ切換え器63と、RP入カデータ切換え器64と、
上位2バイト読出しポインタ加算回路65と、上位2バ
イ)RAMアドレス切換え回路66と、下位2バイトR
AMアドレス切換え回路67と、書込みポインタ更新回
路68と、耽出しポインタ更新回路69と、上位2バイ
)fLAMデータデーイメント器81と、下位2バイト
RAMデータアライメント器82と、上位データレジス
タ31と、下位データレジスタ32とを含む。本実施例
について、以下、RAM2を命令バッファとして使用す
る例につき説明する。
FIG. 2 is a detailed diagram of the RAM 2, RAM access mechanism 6, alignment device 8, and data register 3 shown in FIG. Latch sections 23 and 24 consisting of 2 bytes, an AM write address pointer (hereinafter abbreviated as WP) storage section 61, a RAMfi output address pointer (hereinafter abbreviated as P) storage section 62, and a WP input data switch 63. , RP input data switch 64,
Upper 2 byte read pointer addition circuit 65, upper 2 byte RAM address switching circuit 66, lower 2 byte R
AM address switching circuit 67, write pointer update circuit 68, start pointer update circuit 69, upper 2 bytes) fLAM data demultiplexer 81, lower 2 bytes RAM data aligner 82, upper data register 31, and a lower data register 32. Regarding this embodiment, an example in which the RAM 2 is used as an instruction buffer will be described below.

今、命令アドレスが(4n+2)番地(nは0以上の整
数)であるとき、4n番地から始まる16バイトのデー
タの命令語を主記憶装置1から取シ出し、命令バッファ
2を介して、先頭から3バイト目の4バイトデータをデ
ータレジスタ3に格納するための動作は以下のとおりで
ある。メモリアクセス制御機構7は4n番地から始まる
16バイトデータの命令語を得るために主記憶装置1を
アクセスするとともに、格納部61に” o o ’″
なるWl’lを設定し、格納部62に” o o i”
なる几Pを設定する。′00”のデータはWP人カデー
タ切換え器63を介して、”001”のデータはBP入
力データ切換え器64を介してそれぞれ与えられる。主
記憶装置1はメモリアクセスに応答して、まず、4n番
地の4バイトのデータを転送してくる。リード/ライト
切換え器4は書込みサイクル時は1/2マシンサイクル
でWP格納部61の内容を選択するよう回路66を制御
する。
Now, when the instruction address is address (4n+2) (n is an integer greater than or equal to 0), the instruction word of 16 bytes of data starting from address 4n is fetched from the main memory 1, and sent to the beginning via the instruction buffer 2. The operation for storing the 4-byte data from the third byte into the data register 3 is as follows. The memory access control mechanism 7 accesses the main storage device 1 to obtain a command word of 16-byte data starting from address 4n, and also writes "o o '" to the storage unit 61.
Set Wl'l and write "o o i" in the storage unit 62.
Set the value of P. The data '00' is given through the WP input data switch 63, and the data '001' is given through the BP input data switch 64. In response to the memory access, the main memory 1 first The 4-byte data of the address is transferred.The read/write switch 4 controls the circuit 66 to select the contents of the WP storage section 61 in 1/2 machine cycle during the write cycle.

この結果、最初の書込みサイクルで4バイトのデータは
命令バッファ21および22の@00#なるアドレスに
2バイトづつ格納される。次に主記憶装置1は(4n+
4 )番地の4バイトのデータを転送してくる。リード
/ライト切換え器4は次の書込みサイクル時に上述と同
様にWP格納部61の内容を選択する。このとき、WP
格納部61の内容は前の書込みサイクル終了後の1/2
マシンサイクルで書込みポインタ更新回路68によシ+
1だけ加算されている。これによシ、2回目の書込みサ
イクルでは、主記憶装置1から取り出された4バイトの
データは命令バッファ21および22の@″01”なる
アドレスに2バイトづつ9− 格納される。以下、同様に、主記憶装置1の(4n+8
)番地および(4n+12)番地からの各4バイトのデ
ータは命令バッファ21および22の’IQ”、”11
”なるアドレスに2バイトづつ格納される。リード/ラ
イト切換え器4は、読出しサイクル時には、書込みサイ
クルとは別の172マシンサイクルでl’LP格納部6
2の内容を選択するよう回路66を制御する。命令バッ
フアットはRAMアドレスを示し、下位1ビツトは上位
命令バッファ21と下位命令バッファ22との選択に用
いる。ここでは、几Pは@001”であるため、几AM
アドレス@00−下位命令バツファ22を指定している
。このRPの上位2ビツトは回路67に与えられる。同
時に、回路66には、上位2バイト読出しポインタ加算
回路65でBPの上位2ビツトを+1加算した01”が
与えられる。主記憶装置lから4n番地及び(4n+4
)番地の内容が命令バッファ21および22−1 〇− に抽出された段階で、有効な読出しサイクルが開始され
る。読出しサイクルにおいて、ラッチ部23および24
へはそれぞれ切換え回路66および67からのアドレス
″’01”および100”に応答して命令バッファ21
のアドレス101”のデータおよび命令バッファ22の
アドレス″OO”のデータが取シ出され、続いてRAM
デーデー出線105および106を介して上位2バイ)
RAMデーデーライメント器81および下位2バイトR
AMデータアライメント器82に転送される。
As a result, in the first write cycle, 4 bytes of data are stored in the instruction buffers 21 and 22 at addresses @00#, 2 bytes each. Next, the main memory device 1 is (4n+
4) Transfers 4 bytes of data at the address. The read/write switch 4 selects the contents of the WP storage section 61 in the same manner as described above during the next write cycle. At this time, W.P.
The contents of the storage section 61 are 1/2 after the end of the previous write cycle.
By the write pointer update circuit 68 in the machine cycle
Only 1 is added. Accordingly, in the second write cycle, the 4-byte data taken out from the main memory 1 is stored in the instruction buffers 21 and 22 at addresses @"01" in 2-byte units. Similarly, (4n+8
) and (4n+12) addresses are stored in the 'IQ' and '11' of the instruction buffers 21 and 22.
The read/write switch 4 stores 2 bytes at each address at the address "l'LP storage section 6" during the read cycle, in 172 machine cycles different from the write cycle.
The circuit 66 is controlled to select the contents of 2. The instruction buffer at indicates a RAM address, and the lower one bit is used to select between the upper instruction buffer 21 and the lower instruction buffer 22. Here, since 几P is @001'', 几AM
Address @00-lower instruction buffer 22 is specified. The upper two bits of this RP are applied to circuit 67. At the same time, the circuit 66 is given 01'' which is obtained by adding +1 to the upper 2 bits of BP by the upper 2 byte read pointer adder circuit 65.
) Once the contents of address ) have been extracted into the instruction buffers 21 and 22-1 0-, a valid read cycle begins. In the read cycle, latch sections 23 and 24
instruction buffer 21 in response to addresses "'01" and 100" from switching circuits 66 and 67, respectively.
The data at the address 101'' of the instruction buffer 22 and the data at the address ``OO'' of the instruction buffer 22 are then read out from the RAM.
(top 2 bytes via D/D outgoing lines 105 and 106)
RAM data alignment unit 81 and lower 2 bytes R
The data is transferred to the AM data aligner 82.

几Pの下位1ビツトが1”のときには、RAMデーデー
ライメント器81および82はそれぞれ下位RAMデー
タ読出し線106および上位RJAMデータ読出し線1
05が選択される。これによシ、上位データレジスタ3
1および下位データレジスタ32にはアライメント線1
07および108を介してそれぞれラッチ部24および
23のデータが転送される。命令バッファ21の各2バ
イトデータを格納アドレスの低い順にI Boo 、 
I Blo。
When the lower 1 bit of P is 1'', the RAM data aligners 81 and 82 output the lower RAM data read line 106 and the upper RJAM data read line 1, respectively.
05 is selected. With this, upper data register 3
1 and lower data register 32 have alignment line 1.
The data of latch units 24 and 23 are transferred via 07 and 108, respectively. Each 2-byte data of the instruction buffer 21 is stored in descending order of storage address I Boo ,
I Blo.

IB2GおよびlB30とし、命令バッファ22の各2
バイトデータを格納アドレスの低い順にIBol。
IB2G and IB30, each 2 of the instruction buffer 22
IBol stores byte data in ascending order of address.

I Bll 、I B2tおよびfBalとすると、デ
ータレジスタ31および32に格納されるデータはIB
olおよびI BIGである。IBotおよびI Bt
oは主記憶装置1の(4n+2)番地から始まる4バイ
トのデータである。データレジスタ31および32の内
容が処理されたあとはR,Pii胱出しポインタ更新回
路69によシ+2の加算が行われ、更新されたBP@0
11”が几AM読出しアドレスポインタ入力データ切換
え器64を介して格納部62に設定される。上述と同様
の動作で、データレジスタ31および32にはそれぞれ
主記憶装置1の(4n+6)番地に対応する命令バッフ
ァ22および21のデータIBztおよびI B20の
データが、さらに、更新されるRP″″101”によシ
主記憶装置1の(4n+10)番地に対応する命令バッ
ファ22および21のデータlB21およびlB50が
格納される。さらに、更新されるRP“111”によシ
、記憶装置1の(4n+14番地)に対応する命令バッ
ファ22のデータlBa1がラッチ部24に転送された
時点で、命令バッファ21および22は空の状態となる
。このとき、ラッチ部23には、IBooの内容が格納
される。この状態で、主記憶装置1に次の16バイトの
リードアクセスを行い、(4n+16)番地から始まる
16バイトのデータすなわちI Boo’、I Bol
’、I BID’。
If I Bll , I B2t and fBal, the data stored in data registers 31 and 32 is IB
ol and I BIG. IBot and IBt
o is 4-byte data starting from address (4n+2) of main storage device 1. After the contents of the data registers 31 and 32 are processed, the R, Pii bladder pointer update circuit 69 adds +2 to the updated BP@0.
11" is set in the storage unit 62 via the AM read address pointer input data switch 64. In the same operation as described above, data registers 31 and 32 each have a value corresponding to address (4n+6) of the main memory 1. The data IBzt and IB20 of the instruction buffers 22 and 21 corresponding to the address (4n+10) of the main storage device 1 are further updated to the data IB21 and IB20 of the instruction buffers 22 and 21 corresponding to the address (4n+10) of the main storage device 1. 1B50 is stored. Further, when the data lBa1 of the instruction buffer 22 corresponding to address (4n+14) of the storage device 1 is transferred to the latch section 24 according to the updated RP "111", the instruction buffers 21 and 22 are in an empty state. becomes. At this time, the latch unit 23 stores the contents of IBoo. In this state, a read access to the next 16 bytes is made to the main memory device 1, and 16 bytes of data starting from address (4n+16), ie I Boo', I Bol
',I BID'.

I Bu’、I B20’、I B21’ 、I Ba
o’オよびI Bst’を上述と同様に命令バッファ2
1および22に抽出する。ラッチ部24には有効な2バ
イトの残余バイトが格納されていることを示す残余イン
ジケータ5がオン状態に設定される。残余インジケータ
5がオンのときにはラッチ部24へのデータの格納が抑
止される。この結果、主記憶装置1の(4n+16)番
地から始まる2バイトのデータIB00′のみがラッチ
部23に格納され、このあと、ラッチ23および24の
内容が、アライメント器81および82でアライメント
され、レジスタ31および32に主記憶装置1の(4n
+14)番地に続く4バイトのデータI B31および
I Boo’が格納されることになる。データレジスタ
31お13− よび32の内容が処理されたあと、几Pは+2加算され
“111”の状態から1001”となる。
I Bu', I B20', I B21', I Ba
o'o and IBst' are transferred to instruction buffer 2 in the same way as above.
1 and 22. The remaining indicator 5 indicating that two valid remaining bytes are stored in the latch unit 24 is set to the on state. When the remaining indicator 5 is on, storage of data in the latch section 24 is inhibited. As a result, only the 2-byte data IB00' starting from address (4n+16) of the main memory device 1 is stored in the latch unit 23, and then the contents of the latches 23 and 24 are aligned by the alignment units 81 and 82, and the register 31 and 32 of main storage device 1 (4n
+14) 4-byte data I B31 and I Boo' following the address are stored. After the contents of data registers 31, 13- and 32 are processed, +2 is added to P, and the value changes from "111" to "1001".

キャリーピットは捨てられる。以下、同様に、113o
l’およびI B1o’、I Bll’オよびlB2O
’(7)順でデータレジスタ31および32に取出され
る。
Carry pits are discarded. Similarly, 113o
l' and I B1o', I Bll'o and lB2O
'(7) The data are taken out to the data registers 31 and 32 in order.

第3図はデータ抽出の他の例を示す図である。FIG. 3 is a diagram showing another example of data extraction.

今、主記憶装置1の4070番地から始まる16バイト
のデータ領域301の内容が命令バッファ2に抽出され
る。このとき、4090 番地から始まる4バイトのデ
ータ■0および■l を取シ出す場合には、tず、バッ
ファ2のデータIOが下位ラッチ部24に取シ出される
。次に、4092番地から始まる16バイトのデータ領
域304の内容が命令バッファ2に抽出される。さらに
、 4092番地からの2バイトのデータIlは下位ラ
ッチ部24のデータIOとともにアライメントされ、デ
ータレジスタ3に取シ出される。さらに、4094番地
にある2バイトのデータ■2と8194番地にある2バ
イトのデータエ3 との連続4バイトの抽出をする場合
には、バッファ2から下位ラッチ14− 部24にデータ■2を取シ出したあと、記憶装置lから
命令バッファ2に8194番地からの16バイトのデー
タ領域305が後続のデータとして抽出される。次に、
RAMラッチ部24データI2と命令バッファ2内のデ
ータエ3 とはともにアライメントされデータレジスタ
3に抽出される。
Now, the contents of the 16-byte data area 301 starting from address 4070 of the main memory device 1 are extracted to the instruction buffer 2. At this time, when the 4-byte data ``0'' and ``1'' starting from address 4090 are to be extracted, the data IO of the buffer 2 is immediately extracted to the lower latch section 24. Next, the contents of the 16-byte data area 304 starting from address 4092 are extracted to the instruction buffer 2. Further, the 2-byte data Il from address 4092 is aligned with the data IO of the lower latch section 24 and taken out to the data register 3. Furthermore, when extracting 4 consecutive bytes of 2-byte data 2 at address 4094 and 2-byte data 3 at address 8194, data 2 is extracted from buffer 2 to lower latch 14-24. After the data is output, a 16-byte data area 305 from address 8194 is extracted from the storage device 1 to the instruction buffer 2 as subsequent data. next,
RAM latch section 24 data I2 and data I2 in instruction buffer 2 are both aligned and extracted to data register 3.

(発明の効果) 以上、本発明には、RAM本体部と2pバイト分のラッ
チ部と2pバイトのデータレジスタとのそれぞれの内容
を互いに異表るメモリアクセスによってメモリから抽出
されたデータとすることができ、かつ書込み動作中の読
出し動作といったように、レジスタファイルと同等の機
能を几AMの機能として付加せしめ、ハードウェアの軽
減化を計シながら命令処理速度の向上を達成できる等の
効果がある。
(Effects of the Invention) As described above, the present invention has a feature that the contents of the RAM main body, the 2p-byte latch section, and the 2p-byte data register are data extracted from the memory by mutually different memory accesses. It is possible to add functions equivalent to those of a register file, such as a read operation during a write operation, as an AM function, and it has the effect of improving instruction processing speed while reducing hardware requirements. be.

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

第1図は本発明の一実施例を概略的に示すブロック図、
第2図は本実施例の詳細回路図および第3図はデータ抽
出の例を示す図である。 図において、1・・・・・・主記憶装置、2・・・・・
・几AM。 3・・・・・・データレジスタ、4・・・・・・切換え
器、5・・・・・・残余インジケータ、6・・・・・・
RAMアクセス機構、7・・・・・・メモリアクセス制
御機構、8. 81. 82・・・・・・アライメント
器、21.22・・・・・・RAM本体部s 23. 
24・・・・・・R,AMラッチ部、61・・・・・・
RAM書込みアドレスポインタ格納部、62・・・・・
・RAM読出しアドレスポインタ格納部、63. 64
゜66.67・・・・・・切換え器、100〜108・
・・・・・信号線。 第1図 第2図
FIG. 1 is a block diagram schematically showing an embodiment of the present invention;
FIG. 2 is a detailed circuit diagram of this embodiment, and FIG. 3 is a diagram showing an example of data extraction. In the figure, 1... Main storage device, 2...
・几AM. 3...Data register, 4...Switcher, 5...Remaining indicator, 6...
RAM access mechanism, 7...Memory access control mechanism, 8. 81. 82... Alignment device, 21.22... RAM main unit s 23.
24...R, AM latch section, 61...
RAM write address pointer storage section, 62...
- RAM read address pointer storage section, 63. 64
゜66.67...Switcher, 100-108.
·····Signal line. Figure 1 Figure 2

Claims (1)

【特許請求の範囲】[Claims] それぞれ2p(pは正整数)バイトの容量を有する第1
および第2の格納手段と、m(正整数)個の記憶領域を
有し各該記憶領域がそれぞれ2pバイトの容量を持つ第
1の記憶手段と、予め定めた周期で前記第1の記憶手段
に対する読出し動作と書込み動作とを交互に切り換える
切換え手段と、前記書込み動作期間中は書込みアドレス
を前記第1の記憶手段に供給して第2の記憶手段からの
2pバイトの書込みデータを格納させ前記続出し動作期
間中は読出しアドレスを前記第1の記憶手段に供給して
前記第1の格納手段にpバイ)または2pバイトの続出
しデータを格納させるアクセス手段と、前記第2の記憶
手段内の(2pxm)バイトのデータを2pバイトづつ
m回転送して前記第1の記憶手段に格納させるメモリア
クセス手段と、前記第1の格納手段内の2pバイトのデ
ータを直接または上位pバイトと下位pバイトとを交換
して前記第2の格納手段に格納するアライメント手段と
、現在前記第1の格納手段に格納されている2pバイト
のデータのうちの所望のpバイトと次に前記メモリアク
セス手段によシ前記第2の記憶手段から前記第1の記憶
手段に格納される新たな(2pxm)バイトのデータの
うちの所望のpバイトとを前記アライメント手段に転送
するために現在前記第1の格納手段に格納されているデ
ータが有効であることを表示する表示手段とから構成し
たことを特徴とするデータ抽出処理装置。
The first one has a capacity of 2p (p is a positive integer) bytes each.
and a second storage means; a first storage means having m (positive integer) storage areas, each of which has a capacity of 2p bytes; switching means for alternately switching between a read operation and a write operation for the first storage means; during the write operation period, the first storage means is supplied with a write address to store 2p bytes of write data from the second storage means; During a continuous operation period, access means supplies a read address to the first storage means to store p bytes or 2p bytes of continuous data in the first storage means, and an access means in the second storage means. memory access means for transferring (2pxm) bytes of data m times in units of 2p bytes and storing it in the first storage means; alignment means for exchanging p bytes and storing them in the second storage means; and alignment means for exchanging desired p bytes of the 2p bytes of data currently stored in the first storage means and then the memory access means. In order to transfer desired p bytes of the new (2pxm) bytes of data to be stored from the second storage means to the first storage means to the alignment means, 1. A data extraction processing device comprising: display means for displaying that the data stored in the storage means is valid.
JP11016984A 1984-05-30 1984-05-30 DEETACHUSHUTSUSHORISOCHI Expired - Lifetime JPH0231418B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11016984A JPH0231418B2 (en) 1984-05-30 1984-05-30 DEETACHUSHUTSUSHORISOCHI

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11016984A JPH0231418B2 (en) 1984-05-30 1984-05-30 DEETACHUSHUTSUSHORISOCHI

Publications (2)

Publication Number Publication Date
JPS60254238A true JPS60254238A (en) 1985-12-14
JPH0231418B2 JPH0231418B2 (en) 1990-07-13

Family

ID=14528795

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11016984A Expired - Lifetime JPH0231418B2 (en) 1984-05-30 1984-05-30 DEETACHUSHUTSUSHORISOCHI

Country Status (1)

Country Link
JP (1) JPH0231418B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02138624A (en) * 1987-07-15 1990-05-28 Nec Corp Queue device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02138624A (en) * 1987-07-15 1990-05-28 Nec Corp Queue device

Also Published As

Publication number Publication date
JPH0231418B2 (en) 1990-07-13

Similar Documents

Publication Publication Date Title
JPS6240740B2 (en)
JP2646854B2 (en) Microprocessor
JPH0814801B2 (en) Programmable access memory
JPH0194459A (en) Buffer memory controller
US4344130A (en) Apparatus to execute DMA transfer between computing devices using a block move instruction
EP0057096A2 (en) Information processing unit
JPH027097B2 (en)
JPS60254238A (en) Data extraction processor
JPS6137654B2 (en)
US4737908A (en) Buffer memory control system
JPS6211736B2 (en)
JP3132566B2 (en) Instruction precedence controller
JP2901247B2 (en) Discharge control method
JPS6144340B2 (en)
JPH01273132A (en) Microprocessor
JP2645477B2 (en) Microprocessor and its cache memory
JPH01114952A (en) Inter-memory transfer system for information processor
JPS6122330B2 (en)
JPS59136831A (en) Data transfer controller
JPS6045872A (en) High-speed buffer memory
JPS6014435B2 (en) Storage device
JP3000977U (en) I / O interface device
JPS60123946A (en) Address translating mechanism
JPS61223956A (en) Store buffer control system
JPH05313888A (en) Instruction buffer system