JPS62133544A - Memory device - Google Patents

Memory device

Info

Publication number
JPS62133544A
JPS62133544A JP27392885A JP27392885A JPS62133544A JP S62133544 A JPS62133544 A JP S62133544A JP 27392885 A JP27392885 A JP 27392885A JP 27392885 A JP27392885 A JP 27392885A JP S62133544 A JPS62133544 A JP S62133544A
Authority
JP
Japan
Prior art keywords
memory
address
shift
data
address signal
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
JP27392885A
Other languages
Japanese (ja)
Inventor
Koemon Nigo
仁後 公衛門
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 JP27392885A priority Critical patent/JPS62133544A/en
Publication of JPS62133544A publication Critical patent/JPS62133544A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten the processing time of an instruction by executing the shift processing of a data extending over two optional continuous addresses, in the course of an access. CONSTITUTION:When there is the instruction of a shift to an address A, an access is executed simultaneously extending over one address of the front or the rear address by the address A shown by an address signal applied to an address register 3, and the instruction contents of the shift. A data extending over two optional continuous addresses is sent to a switching circuit 2. and a data which has executed a shift processing in th course of an access is outputted. Accordingly, by a memory access of once, the write and read-out of a memory 100 can be executed extending over two optional continuous address.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はデータ処理装置等に用いられるメモリ装置に関
する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a memory device used in a data processing device or the like.

〔従来の技術〕[Conventional technology]

従来、この種のメモリ装置にはデータの読出しまたは書
込みにおいで、任意の連続する2番地にまたがってシフ
トしながら読出しまたは書込みを行なう機能を備えたも
のはなかった。一部のシフト機能を備えたメモリ装置で
も、読出しアドレスで指定された一番地分のデータのみ
を用いてシフトするものでしかなかった。
Conventionally, no memory device of this type has a function of reading or writing data while shifting the data across two consecutive addresses. Even in some memory devices equipped with a shift function, only the data at the lowest location specified by the read address is used for shifting.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

したがつで、上述した従来のメモリ装置は、連続する2
番地にまたがって登録されでいるデータをシフトする場
合には、目的とするデータを2回アクセスすることによ
って2番地分レジスタに読出し、シフタを使ってシフト
する必要があり、処理時間が長くなるという欠点があり
、また、1番地分のデータをシフトして2番地にまたが
って書込みを行なう場合には、少なくとも2回に分けて
書込みを行なう必要かあり、同様に処理時間が長くかか
るという欠点がある。
Therefore, the conventional memory device described above has two consecutive memory devices.
When shifting data that is registered across addresses, it is necessary to access the target data twice to read it into registers for two addresses, and then shift it using a shifter, which increases processing time. Another drawback is that when data for one address is shifted and written across two addresses, it is necessary to write at least twice, which also takes a long processing time. be.

本発明の目的は、1回のメモリアクセスにより、任意の
連続する2番地分のデータを用いで、指示されたシフト
を行ない1番地分のデータにして読出すことかできるメ
モリ装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a memory device that can perform a specified shift using data for two consecutive locations and read out the data for one location by one memory access. It is in.

本発明の他の目的は、書込み時にも、1番地分のデータ
をシフトしなから1回のメモリアクセスで、任意の連続
する2番地にまたがった形で書込みを行なうことができ
るメモIノ装Mを提供することにある。
Another object of the present invention is to provide a memo I system that can write across any two consecutive addresses in one memory access without shifting the data for one address. The goal is to provide M.

〔問題点を解決するための手段〕[Means for solving problems]

本発明のメモリ装置は、 個別のアドレス信号によりアクセスされる複数のメモリ
ブロックで構成され、各番地にこれらメモリブロックが
順次、割り当てられ、かつシフトがこれらメモリブロッ
ク単位で行なわれるメモリと、 シフトの指示がない場合にはメモリに対するアドレス信
号をそのまま各メモリブロックに出力し、シフトの指示
か左方向の場合にはシフトのビット数に等しい上位ビッ
トを構成するメモリブロックに対しては前記アドレス信
号に1加算したアドレス信号を出力し、それ以外のメモ
リブロックに対しては前記アドレス信号をそのまま出力
し、シフトの指示か右方向の場合にはシフトのビット数
と等しい下位ビットを構成するメモリブロックに対して
前記アドレス信号を1減算したアドレス信号を出力し、
それ以外のメモリブロックに対しては前記アドレス信号
をそのまま出力するアドレス発生回路と、 シフトの指示がない場合にはメモリから読出された各メ
モリブロックのデータをそのまま出力し、シフトの指示
がある場合にはメモリから読出された各メモリブロツク
のデータを指示されたシフト内容で編集して出力する切
替回路を有する。
The memory device of the present invention comprises a memory that is composed of a plurality of memory blocks that are accessed by individual address signals, these memory blocks are sequentially allocated to each address, and shifting is performed in units of these memory blocks; If there is no instruction, the address signal for the memory is output as is to each memory block, and in the case of a shift instruction or leftward direction, the address signal is output to the memory block constituting the upper bits equal to the number of bits of the shift. The address signal added by 1 is output, and the address signal is output as is to other memory blocks, and in the case of a shift instruction or right direction, the address signal is output to the memory block constituting the lower bits equal to the number of bits of the shift. output an address signal obtained by subtracting 1 from the address signal,
For other memory blocks, there is an address generation circuit that outputs the address signal as is, and when there is no shift instruction, the data of each memory block read from the memory is output as is, and when there is a shift instruction, the address generation circuit outputs the address signal as is. It has a switching circuit that edits the data of each memory block read from the memory according to the specified shift contents and outputs the edited data.

本発明の他のメモリ装置は、 個別のアドレス信号によりアクセスされる槽数のメモリ
ブロックで構成され、各番地にこれらメモリブロックが
順次、割り当てられ、かつシフトがこれらメモリブロッ
ク単位で行なわれるメモリと、 シフトの指示がない場合にはメモリに対するアドレス信
号をそのまま各メモリブロックに出力し、シフトの指示
が左方向の場合にはシフトのビット数に等しい上位ビッ
トを構成するメモリブロックに対してはメモリの読出し
、書込みに応じて前記アドレス信号に1加算または減算
したアドレス信号を出力し、それ以外のメモリブロック
に対しては前記アドレス信号をそのまま出力し、シフト
の指示が右方向の場合にはシフトのビット数と等しい下
位ビットを構成するメモリブロツクに対してはメモリの
読出し、書込み(ご応じて前記アドレス信号を1′J&
算または加算したアドレス信号を出力し、それ以外のメ
モリブロックに対しては前記アドレス信号をそのまま出
力するアドレス発生回路と、 シフトの指示がない場合にはメモリから続出された各メ
モリブロックのデータをそのまま出力し、シフトの指示
がある場合にはメモリから続出された各メモリブロック
のデータを指示されたシフト内容で編集して出力する切
替回路と、シフトの指示がない場合には入力した、メモ
リに対する書込みデータをそのまま出力し、シフトの指
示がある場合には前記書込みデータを指示されたシフト
内容で編集して出力する切替回路を有する。
Another memory device of the present invention is a memory that is composed of a number of memory blocks accessed by individual address signals, these memory blocks are sequentially allocated to each address, and shifting is performed in units of these memory blocks. , If there is no shift instruction, the address signal for the memory is output as is to each memory block, and if the shift instruction is in the left direction, the memory block that constitutes the upper bits equal to the number of bits of the shift is output to each memory block. outputs an address signal that is added or subtracted by 1 to the address signal in response to reading or writing, and outputs the address signal as is to other memory blocks, and if the shift instruction is in the right direction, it outputs an address signal that is added or subtracted by 1 to the address signal. For the memory block constituting the lower bits equal to the number of bits of
An address generation circuit that outputs the calculated or added address signal and outputs the address signal as it is to other memory blocks, and an address generation circuit that outputs the address signal as it is to other memory blocks, and an address generation circuit that outputs the data of each memory block successively from the memory when there is no shift instruction. There is a switching circuit that outputs the data as is, and when there is a shift instruction, edits and outputs the data of each memory block successively retrieved from the memory with the instructed shift contents, and when there is no shift instruction, the input memory It has a switching circuit that outputs the write data as it is, and when there is a shift instruction, edits the write data with the instructed shift contents and outputs the edited data.

このように、シフトの指示がない場合には、与えられた
アドレス信号で示される番地にのみアクセスし、シフト
の指示がある場合には、与えられたアドレス信号で示さ
れる番地と、シフトの指示の内容により前記番地の前接
どちらかの番地とにまたがって一度にアクセスし、任意
の2つの連続する番地にまたがったデータのシフト処理
をアクセス中に行なうことにより、1回のメモリアクセ
スにより、メモリの書込み、読出しを任意の連続する2
番地にまたがつで行なうことが可能となる。
In this way, if there is no shift instruction, only the address indicated by the given address signal is accessed, and if there is a shift instruction, the address indicated by the given address signal and the shift instruction are accessed. According to the contents of the above address, by accessing one of the addresses preceding the above address at once, and by performing shift processing of data spanning any two consecutive addresses during the access, by one memory access, Memory writing and reading any two consecutive times
This can be done across addresses.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明のメモリ装置の一実施例を示す概略ブロ
ック図である。
FIG. 1 is a schematic block diagram showing one embodiment of the memory device of the present invention.

本実施例は通常の読出し機能の他に、左4ビツトシフト
または右4ビ・ソトシフトしてデータを読出す機能を備
えたメモリ装置の実施例である。
This embodiment is an embodiment of a memory device having a function of reading data by shifting 4 bits to the left or 4 bits to the right in addition to the normal reading function.

メモリ1は部分+a、部分+b、部分1cがら構成され
、それぞれの部分は別々のアドレスによりアクセスか行
なわれる。このメモリ1は128ワードのバッファメモ
リであり、1ワードは32ビツトで構成され、10進演
算等のワーク用として用いられるものである0部分1a
および1cは4ビツト×128ワードのメモリであり、
部分1bは24ビツト×128ワードのメモリである。
The memory 1 is composed of a portion +a, a portion +b, and a portion 1c, and each portion is accessed by a separate address. This memory 1 is a 128-word buffer memory, where 1 word consists of 32 bits, and the 0 part 1a is used for work such as decimal operations.
and 1c is a memory of 4 bits x 128 words,
Portion 1b is a 24 bit by 128 word memory.

部分1aからの読出しはアドレス信号105a、部分1
bからの読出しはアドレス信号105b、 gE分1c
がらの読出しはアドレス信号105Gによって行なわれ
る。各部分la、 Ib、 Icがら読出されたデータ
l0Ia −101cは切替回路2に送られる。メモリ
1へのデータ+00の書込みは、読出しの場合と同様に
アドレス信号105a〜105cで指定されたワードに
行なわれる。
Reading from part 1a is performed using address signal 105a, part 1
Read from b is address signal 105b, gE minute 1c
Reading of data is performed by address signal 105G. Data l0Ia-101c read from each portion la, Ib, and Ic is sent to the switching circuit 2. Writing of data +00 to memory 1 is performed in the word specified by address signals 105a-105c in the same manner as in the case of reading.

切替回路2は、メモリ]がら読出されたデータ101a
〜101cを入力として、その時指定された読出しの指
示、すなわち、信号106および信号107の指示に従
い、左4ビツトシフト、右4ビツトシフト、シフトなし
のいずれかの形にして、データ102として出力する。
The switching circuit 2 receives the data 101a read from the memory.
101c is input, and according to the read instructions specified at that time, that is, the instructions of signals 106 and 107, it is outputted as data 102 with a 4-bit shift to the left, a 4-bit shift to the right, or no shift.

信号+06が”1”の時に4ビツトであり、”0”の時
はシフトなしてある。また、信号107が”1”の時が
左シフトであり、“0“の峙が右シフトの指示である。
When the signal +06 is "1", there are 4 bits, and when it is "0", there is no shift. Further, when the signal 107 is "1", it is a left shift, and when it is "0", it is a right shift instruction.

アドレスレジスタ3はメモリ1への書込みまたは読出し
を行なう場合のアドレスを保持するレジスタである。メ
モリ1にアクセスを行なうときにアドレス信号103か
セットされ、アドレス信号104としてアドレス発生回
路4に出力される。
Address register 3 is a register that holds an address when writing to or reading from memory 1. When accessing memory 1, address signal 103 is set and output as address signal 104 to address generation circuit 4.

アドレス発生回路4はアドレスレジスタ3の出力である
アドレス信号104をもとにメモリ1の部分1a〜1C
のそれぞれのアドレス信号105a〜105+J作成す
る。シフトの指示がない場合(信号106・”0”)に
は、アドレス信号105a〜105Cはすべで同じ値で
あり、アドレス信号1σ4と同じ値にされる。左4ビツ
トシフトの指示がある場合(信号106・”1”、信号
107・”1”)には、アドレス信号105aはアドレ
ス信号104にプラス1した値にされ、アドレス信号1
05bおよび105Cはアドレス信号104と同し値に
される。右4ビツトシフトの指示がある場合(信号10
6・”1”、信号107・”0”)には、アドレス信号
105aおよび105bはアドレス信号104と同じ値
にされ、アドレス信号105Cはアドレス信号104か
らマイナス1した値にされる。
The address generation circuit 4 generates the memory 1 from the parts 1a to 1C based on the address signal 104 which is the output of the address register 3.
address signals 105a to 105+J are created. When there is no shift instruction (signal 106."0"), address signals 105a to 105C all have the same value, and are set to the same value as address signal 1σ4. When there is an instruction to shift 4 bits to the left (signal 106: "1", signal 107: "1"), address signal 105a is set to the value of address signal 104 plus 1, and address signal 1
05b and 105C are set to the same value as address signal 104. When there is an instruction to shift right 4 bits (signal 10
6.“1” and signal 107.“0”), the address signals 105a and 105b are set to the same value as the address signal 104, and the address signal 105C is set to the value obtained by subtracting 1 from the address signal 104.

次に、本実施例における各種読出し動作を簡単に説明す
る。A番地に対してシフトなしの読出しを行なう場合に
は、まず、アドレスレジスタ3にAをセットし、信号1
06を”0”にして読出しを行なう、この読出し動作は
従来のメモリ装置の読出し機能と同じであり、アドレス
信号105a〜105Gはすべて八となり、メモリ1の
A番地の内容がそのままデータ101a〜101Gおよ
びデータ102として出力される。
Next, various read operations in this embodiment will be briefly explained. When reading address A without shifting, first set A in address register 3, and then set signal 1.
This read operation is the same as the read function of conventional memory devices, and the address signals 105a to 105G are all 8, and the contents of address A in memory 1 are read as data 101a to 101G. and output as data 102.

A番地に対して左4ビツトシフトの指示をして読出しを
行なう場合には、アドレスレジスタ3にAをセットし、
信号106および信号107を共に”1”にして読出し
を行なう、すると、メモリ1の部分1a用のアドレス信
号105aにはA◆11部分1bおよび部分1c用のア
ドレス信号105bと105GにはAが出力され、それ
ぞれのアドレス信号により読出されたデータl01a〜
101Gは切替回路2に送られる。切替回路2では、デ
ータ101a〜101cを用いで左4ビ・ントシフトし
た形に編集し、データ102ヲ出力する。
When reading address A by instructing a 4-bit shift to the left, set A in address register 3,
When reading is performed by setting both the signal 106 and the signal 107 to "1", A is output to the address signal 105a for the portion 1a of the memory 1, and A is output to the address signals 105b and 105G for the portion 1b and 1c of the memory 1. The data l01a~ read out by the respective address signals
101G is sent to the switching circuit 2. The switching circuit 2 edits the data 101a to 101c into a form shifted by 4 bits to the left, and outputs the data 102.

A番地に対して右ビットシフトの指示をして読出しを行
なう場合には、アドレスレジスタ3にAをセットし、信
号106を°1°°に信号107を”0”にして読出し
を行なう。すると、メモリ1の部分1aおよび1b用の
アドレス信号105acl”iよび105bにはA1部
分1C用のアドレス信号105cにはA−1か出力され
、それぞれのアドレス信号により続出されたデータ10
1a〜101cは切替回路2に送られる。切替回路2で
はデータ101a〜101cを用いて右4ビットシフト
した形に編集し、データ+02 v!比出力る。
When reading by instructing a right bit shift to address A, A is set in the address register 3, the signal 106 is set to 1°, the signal 107 is set to "0", and the reading is performed. Then, the address signals 105acl''i and 105b for the portions 1a and 1b of the memory 1 are output with either A-1 or A-1 as the address signal 105c for the A1 portion 1C, and the data 10 sequentially output by the respective address signals is output.
1a to 101c are sent to the switching circuit 2. The switching circuit 2 edits data 101a to 101c into a form shifted by 4 bits to the right, and data +02 v! Specific power.

第2図は、メモリ1に記憶されでいるデータと、各種読
出し動作により読出されるデータとの対応を示す図であ
る。ケース1は、A番地に対してシフトなしの読出しを
行なった場合、ケース2はA番地に対して左4ビツトの
指示をして読出しを行なった場合、そしてケース3はA
番地に対して右4ビツトシフトの指示をして読出しを行
なった場合である。
FIG. 2 is a diagram showing the correspondence between data stored in the memory 1 and data read out by various read operations. Case 1 is when reading is performed on address A without shifting, case 2 is when reading is performed on address A with instructions for the left 4 bits, and case 3 is when reading is performed on address A without shifting.
This is a case where an address is read by instructing to shift 4 bits to the right.

以上の説明で明らかなように、ある番地のデータを前俊
の番地のデータも含めて左または右に4ビツトシフトし
て読出したい場合、従来ではメモリアクセスを2回行な
って2番地分のデータを読出しシフトしてはじめて目的
とするデータを得でいたが、本実施例によれば、1回の
メモリアクセスにより、任意の連続する2番地分のデー
タを用いで、指示された左または右4ビツトシフトを行
なったデータを出力することにより、処理時間を短縮す
ることができる。
As is clear from the above explanation, if you want to read the data at a certain address, including the data at Mae-toshi's address, by shifting it 4 bits to the left or right, conventionally the memory access is performed twice to read the data for the two addresses. Previously, the desired data could only be obtained by reading and shifting, but according to this embodiment, one memory access allows data from any two consecutive locations to be shifted by four bits to the left or right as instructed. By outputting the processed data, processing time can be shortened.

本実施例では、左4ビツトシフトまたは右4ビツトシフ
トしてデータを読出す機能を備えたメモリ装置についで
述べたが、同様なシフトを行ないながらデータをメモリ
に書込む機能を備えたメモリ装置を構成するには、本実
施例の切替回路2に相当する回路をメモリ1のデータの
入力側に設けることにより容易に行なえる。この場合、
アドレス発生回路4におけるアドレス信号の加減算とシ
フトの方向の間係が読出しの場合と逆になる。
In this embodiment, a memory device with a function of reading data by shifting 4 bits to the left or 4 bits to the right is described, but a memory device with a function of writing data to memory while performing a similar shift is also configured. This can be easily accomplished by providing a circuit corresponding to the switching circuit 2 of this embodiment on the data input side of the memory 1. in this case,
The relationship between the addition/subtraction and shifting directions of the address signal in the address generation circuit 4 is opposite to that in the case of reading.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、シフトの指示がない場合
には、与えられたアドレス信号で示される番地にのみア
クセスし、シフトの指示がある場合には、与えられたア
ドレス信号で示される番地と、シフトの指示の内容によ
り前記番地の前後どちらかの番地とにまたがって一度に
アクセスし、任意の2つの連続する番地にまたがったデ
ータのシフト処理をアクセス中に行なうことにより、1
回のメモリアクセスにより、メモリの書込み、読出しを
任意の連続する2番地にまたがって行なうことが可能と
なり、命令の処理時ri’+を短縮できる9カ果がある
As explained above, in the present invention, when there is no shift instruction, only the address indicated by the given address signal is accessed, and when there is a shift instruction, the address indicated by the given address signal is accessed. Then, depending on the contents of the shift instruction, access is performed at once across either of the addresses before or after the above address, and the shift processing of data spanning any two consecutive addresses is performed during the access.
By accessing the memory twice, it is possible to write and read data across two arbitrary consecutive addresses, and there are nine ways to reduce ri'+ during instruction processing.

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

第1図は本発明のメモリ装置の一案施例の概略ブロック
図、第2図はメモリ1に記憶されでいるデータと、各種
読出し動作により読出されるデータとの対応を示す図で
ある。 1・・・・・・メモリ、     2・・・・・・切替
回路。 3・・・・・・アドレスレジスタ。 4・・・・・・アドレス発生回路。 第1図
FIG. 1 is a schematic block diagram of an embodiment of the memory device of the present invention, and FIG. 2 is a diagram showing the correspondence between data stored in the memory 1 and data read out by various read operations. 1...Memory, 2...Switching circuit. 3...Address register. 4...Address generation circuit. Figure 1

Claims (1)

【特許請求の範囲】 1、1回のメモリアクセスにより、任意の連続する2番
地にまたがったデータを、指示されたシフトを行なって
1番地分のデータにして読出すことができるメモリ装置
であって、 個別のアドレス信号によりアクセスされる複数のメモリ
ブロックで構成され、各番地にこれらメモリブロックが
順次、割り当てられ、かつシフトがこれらメモリブロッ
ク単位で行なわれるメモリと、 シフトの指示がない場合にはメモリに対するアドレス信
号をそのまま各メモリブロックに出力し、シフトの指示
が左方向の場合にはシフトのビット数に等しい上位ビッ
トを構成するメモリブロックに対しては前記アドレス信
号に1加算したアドレス信号を出力し、それ以外のメモ
リブロックに対しては前記アドレス信号をそのまま出力
し、シフトの指示が右方向の場合にはシフトのビット数
と等しい下位ビットを構成するメモリブロックに対して
前記アドレス信号を1減算したアドレス信号を出力し、
それ以外のメモリブロックに対しては前記アドレス信号
をそのまま出力するアドレス発生回路と、 シフトの指示がない場合にはメモリから読出された各メ
モリブロックのデータをそのまま出力し、シフトの指示
がある場合にはメモリから読出された各メモリブロック
のデータを指示されたシフト内容で編集して出力する切
替回路を有するメモリ装置。 2、1回のメモリアクセスにより、任意の連続する2番
地にまたがったデータを、指示されたシフトを行なって
1番地分のデータとして読出すことができ、また、1番
地分のデータをシフトしながら1回のメモリアクセスで
、任意の連続する2番地にまたがった形で書込みをなう
ことができるメモリ装置であって、 個別のアドレス信号によりアクセスされる複数のメモリ
ブロックで構成され、各番地にこれらメモリブロックが
順次、割り当てられ、かつシフトがこれらメモリブロッ
ク単位で行なわれるメモリと、 シフトの指示がない場合にはメモリに対するアドレス信
号をそのまま各メモリブロックに出力し、シフトの指示
が左方向の場合にはシフトのビット数に等しい上位ビッ
トを構成するメモリブロックに対してはメモリの読出し
、書込みに応じて前記アドレス信号に1加算または減算
したアドレス信号を出力し、それ以外のメモリブロック
に対しては前記アドレス信号をそのまま出力し、シフト
の指示が右方向の場合にはシフトのビット数と等しい下
位ビットを構成するメモリブロックに対してはメモリの
読出し、書込みに応じて前記アドレス信号を1減算また
は加算したアドレス信号を出力し、それ以外のメモリブ
ロックに対しては前記アドレス信号をそのまま出力する
アドレス発生回路と、 シフトの指示がない場合にはメモリから読出された各メ
モリブロックのデータをそのまま出力し、シフトの指示
がある場合にはメモリから読出された各メモリブロック
のデータを指示されたシフト内容で編集して出力する切
替回路と、 シフトの指示がない場合には入力した、メモリに対する
書込みデータをそのまま出力し、シフトの指示がある場
合には前記書込みデータを指示されたシフト内容で編集
して出力する切替回路を有するメモリ装置。
[Scope of Claims] A memory device that can read out data spanning two arbitrary consecutive addresses by performing a specified shift and converting data to one address by one memory access. A memory that consists of multiple memory blocks that are accessed by individual address signals, these memory blocks are sequentially allocated to each address, and a shift is performed in units of these memory blocks, and a memory that is made up of multiple memory blocks that are accessed by individual address signals, and a memory that is shifted in units of memory blocks. outputs the address signal for the memory as it is to each memory block, and if the shift instruction is in the left direction, outputs an address signal obtained by adding 1 to the address signal for the memory block that constitutes the upper bits equal to the number of bits of the shift. The address signal is output as is to other memory blocks, and when the shift instruction is in the right direction, the address signal is output to memory blocks that constitute lower bits equal to the number of bits of the shift. Outputs the address signal obtained by subtracting 1 from
For other memory blocks, there is an address generation circuit that outputs the address signal as is, and when there is no shift instruction, the data of each memory block read from the memory is output as is, and when there is a shift instruction, the address generation circuit outputs the address signal as is. The memory device includes a switching circuit that edits data in each memory block read from the memory according to specified shift contents and outputs the edited data. 2. With one memory access, data spanning two consecutive addresses can be read out as data for one address by performing the specified shift, and data for one address can be read out as data for one address. A memory device that can write across two consecutive addresses with a single memory access, and is composed of multiple memory blocks that are accessed by individual address signals, and each address A memory in which these memory blocks are sequentially allocated and a shift is performed in units of memory blocks, and a memory in which the address signal for the memory is output as is to each memory block when there is no shift instruction, and the shift instruction is directed to the left. In this case, an address signal obtained by adding or subtracting 1 from the address signal is output to the memory block constituting the upper bits equal to the number of bits of the shift in accordance with the memory read/write, and the address signal is output to the other memory blocks. When the shift instruction is in the right direction, the address signal is output as is for the memory block that constitutes the lower bits equal to the number of bits of the shift, and the address signal is output in accordance with the memory read and write. An address generation circuit that outputs an address signal that is subtracted or added by 1, and outputs the address signal as it is to other memory blocks, and the data of each memory block that is read from the memory if there is no shift instruction. If there is a shift instruction, the data in each memory block read from the memory is edited with the specified shift contents and output, and if there is no shift instruction, the input A memory device having a switching circuit that outputs write data to a memory as is, and when a shift instruction is given, edits the write data with the instructed shift contents and outputs the edited data.
JP27392885A 1985-12-04 1985-12-04 Memory device Pending JPS62133544A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27392885A JPS62133544A (en) 1985-12-04 1985-12-04 Memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27392885A JPS62133544A (en) 1985-12-04 1985-12-04 Memory device

Publications (1)

Publication Number Publication Date
JPS62133544A true JPS62133544A (en) 1987-06-16

Family

ID=17534524

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27392885A Pending JPS62133544A (en) 1985-12-04 1985-12-04 Memory device

Country Status (1)

Country Link
JP (1) JPS62133544A (en)

Similar Documents

Publication Publication Date Title
JPH059872B2 (en)
JPH0238975B2 (en)
US4575796A (en) Information processing unit
US4754424A (en) Information processing unit having data generating means for generating immediate data
JPS60245062A (en) Data transfer device
JPS62133544A (en) Memory device
EP0114683B1 (en) Arithmetic unit
GB2228813A (en) Data array conversion
US4811213A (en) Vector processor with vector registers
US4241413A (en) Binary adder with shifting function
JPH0795269B2 (en) Instruction code decoding device
JPH0444136A (en) Memory access controller
JP2769384B2 (en) Arithmetic control IC and information processing device
JPS61223964A (en) Data transfer device
JPS61120260A (en) Access device for sequential data memory circuit
JPS6175444A (en) Register file integrated circuit
JPS607676A (en) Memory writing circuit
JPS6168636A (en) Data processor
SU1283746A1 (en) Calculating device
JPS63118965A (en) Dma word transfer system
JPH0668055A (en) Digital signal processor
JPH04107754A (en) Memory control system
JPS593473A (en) Crt control circuit
JPH05289938A (en) Memory access device
JPS6012657B2 (en) Storage device