JPS625452A - Memory area control system - Google Patents

Memory area control system

Info

Publication number
JPS625452A
JPS625452A JP14155785A JP14155785A JPS625452A JP S625452 A JPS625452 A JP S625452A JP 14155785 A JP14155785 A JP 14155785A JP 14155785 A JP14155785 A JP 14155785A JP S625452 A JPS625452 A JP S625452A
Authority
JP
Japan
Prior art keywords
memory
area
memory area
areas
arithmetic processing
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
JP14155785A
Other languages
Japanese (ja)
Inventor
Chikara Hoshi
星 主税
Saburo Ikeda
池田 三郎
Yuji Ikoma
生駒 雄次
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 JP14155785A priority Critical patent/JPS625452A/en
Publication of JPS625452A publication Critical patent/JPS625452A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To expand a memory using area without being limited by arraying memory areas in parallel and permitting a memory write control means and a memory read control means to write and read data in the memory areas arrayed in parallel. CONSTITUTION:A memory write control part 1 selects simultaneously one or plural areas in a specific memory area M0 and memory areas M1-Mn and writes data in them. When the position concerned in the memory area is addressed, an arithmetic processing part 5 specifies the area within the range of the area specifying capability of the specific memory area M0. A memory write control part 1 inhibits data from being written in the memory area M0, and a control is made so that data is written in the memory areas M1-Mn. Then the arithmetic processing part 5 has n-fold area control capability. At the time of reading memory, a read control is made by a selecting part 3 through a memory read control part 2, and therefore the arithmetic processing part 5 has the n-fold area control capability.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はマイクロコンピュータなどメモリ制御領域が小
さいシステムにおいて、メモリ使用領域、・を制御する
方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a system for controlling a memory usage area in a system such as a microcomputer where the memory control area is small.

〔従来の技術〕[Conventional technology]

従来の小型化されたマイクロコンピュータシステムにお
いては、電源投入時あるいはリセット時に特定のアドレ
スから走行する機構を構築しシステムとして必要な初期
設定のためのプログラムを格納するメモリ領域や、運行
管理をする運用プログラムを格納するメモリ領域などで
、ユーザに対するメモリ使用領域が圧迫される点を解決
するために、次のような手法が採られている。
In conventional miniaturized microcomputer systems, a mechanism is built to run from a specific address when the power is turned on or reset, and a memory area is created to store programs for the initial settings necessary for the system, as well as operations for operation management. In order to solve the problem that the memory area used by the user is under pressure in the memory area for storing programs, the following method is adopted.

第1の方法は、メモリバンク切替え方法であり、第2図
に示すように、初期設定用プログラム領域IPおよびユ
ーザプログラム領域UPを有する特定のメモリ領域MO
と、それぞれが運用プログラム領域OPおよびユーザプ
ログラム領域UPを有するn個の並列配置されたメモリ
領域Ml−Mnとを、メモリバンク切替装置によって切
替え、見かけ上のメモリ使用領域を拡大している。
The first method is a memory bank switching method, in which a specific memory area MO having an initial setting program area IP and a user program area UP is selected as shown in FIG.
and n memory areas Ml-Mn arranged in parallel, each having an operational program area OP and a user program area UP, are switched by a memory bank switching device to expand the apparent memory usage area.

第2の手法は、オーバ1ノイ方法であり、第3図に示す
ように初期設定用プログラム領域IP、ユーザプログラ
ム領域UPおよびオーバレイエリアOAを有するメモリ
領域MxのオーバレイエリアOAに、分割されたユーザ
プログラムが格納されている補助メモリ領域Myから引
き出し、長いユーザプログラムを実行することにより、
見かけ上のメモリ使用領域を拡大している。
The second method is an over-one-noy method, in which the user is divided into an overlay area OA of a memory area Mx having an initial setting program area IP, a user program area UP, and an overlay area OA, as shown in FIG. By pulling out the program from the auxiliary memory area My where it is stored and executing a long user program,
The apparent memory usage area is expanded.

また、マイクロコンピュータシステムにおいては、ユー
ザプログラムが実行されることである種のデータが発生
されるがこれを格納できるメモリ領域は限られるという
問題がある。それを解決するには、メモリ指定領域を拡
大する方法を採るのであるが、この指定は自ずとアドレ
ス指定ビット数で定まってしまう。一般に演算処理部の
アドレッシング能力は、当初の設定時より定まるハード
的要因とソフト的要因の2つの要因から必ずといってよ
いほど決まってしまう。そのため、大きなメモリ空間を
制御しようとするには、前述したようf、Kt−バレイ
的手法を採るかメモリバンク切替手法を採るか、あるい
はアドレッシング専用のベースレジスタを演算処理部に
設け、このペースレジスタとプログラム上で扱うアドレ
スの情報を演算する手法でメモリ指定空間を拡大する手
法を採ってきた。
Furthermore, in a microcomputer system, when a user program is executed, a certain type of data is generated, but there is a problem in that the memory area that can store this data is limited. The solution to this problem is to expand the memory designation area, but this designation is naturally determined by the number of address designation bits. In general, the addressing ability of an arithmetic processing unit is almost always determined by two factors, hardware factors and software factors, which are determined from the initial setting. Therefore, in order to control a large memory space, it is necessary to adopt the f, Kt-valley method or the memory bank switching method as described above, or to provide a base register dedicated to addressing in the arithmetic processing section and use the pace register as described above. We have adopted a method of expanding the memory specification space by calculating the address information handled in the program.

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

以上のメモリ領域拡大方法は、初期設定用のプログラム
領域や運行管理をする運用プログラム領域などで、ユー
ザに対するメモリの使用領域が圧迫される点を解決する
手法として考えられたものであった。
The above method of expanding the memory area was conceived as a method to solve the problem that the memory usable area for the user is under pressure in the program area for initial settings, the operational program area for operation management, and the like.

しかしながら、これらの方法はいずれもユーザのプログ
ラムを走行させるにはメモリからメモリへの転送をデー
タバスを介して行う必要があることから、転送にかかる
時間分のオーバヘッドを生じ、ダイナミックステップの
増加すなわち処理能力の低下を及ぼすことなど、メモリ
領域拡大の利点と引換えに欠点を有していた。
However, all of these methods require transfer from memory to memory via a data bus in order to run the user's program, resulting in overhead for the time required for transfer and an increase in dynamic steps, i.e. Although it has the advantage of expanding the memory area, it has disadvantages such as a decrease in processing performance.

また、初期設定用のプログラム領域はシステム固定の重
要な位置に配置されるため、ユーザはこの領域を意識せ
ねばならず、さらに模擬装置として使用したい場合には
、前述のメモリバンク切替えやオーバレイによる方法で
は、ユーザに対してはあたかもその領域が使用されてい
るようにみせかける手法が採られているものの、同じ領
域でのプログラムを走行できないという欠点がある。
In addition, since the program area for initial settings is placed in an important position that is fixed in the system, the user must be aware of this area.Furthermore, if you want to use it as a simulation device, you can use the memory bank switching and overlay described above. Although this method makes it appear to the user that the area is being used, it has the drawback that it is not possible to run programs in the same area.

さらに、以上の手法は必ず演算処理部のアドレッシング
手法に規定されてしまい、それ故に演算処理部のアドレ
ッシング手法とビット数がシステム能力を決める要因と
なっていた。
Furthermore, the above-mentioned methods are always defined by the addressing method of the arithmetic processing section, and therefore, the addressing method and the number of bits of the arithmetic processing section are factors that determine the system capacity.

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

本発明の目的は、上述のような欠点を改善し、演算処理
部のアドレッシングはそのままで、プログラム領域を拡
大できるメモリ領域制御方式を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a memory area control method that can improve the above-mentioned drawbacks and expand the program area while maintaining the addressing of the arithmetic processing unit.

本発明は、特定メモリ領域に初期設定用プログラムが格
納され、かつユーザレベルのプログラム等の走行を可能
とするコンピュータシステムのメモリ領域制御方式にお
いて、それぞれが前記特定メモリ領域と同じ指定方法か
らなる並列に配置された複数個のメモリ領域と、前記特
定メモリ領域および前記複数個のメモリ領域の中の1個
あるいは複数個への同時書込みを制御する書込み制御手
段と、前記特定メモリ領域および前記複数個のメモリ領
域の中の1個だけからの読出しを制御する読出し制御手
段とを備え、メモリ使用領域をユーザレベルのプログラ
ムから見て全域としたことを特徴としている。
The present invention provides a memory area control method for a computer system in which an initial setting program is stored in a specific memory area and allows running of user-level programs, etc. a plurality of memory areas arranged in the memory area; write control means for controlling simultaneous writing to the specific memory area and one or more of the plurality of memory areas; The present invention is characterized in that the memory area used is the entire area as viewed from the user level program.

〔実施例〕〔Example〕

次に、本発明の一実施例を第1図を用い以下に説明する
Next, one embodiment of the present invention will be described below using FIG.

本実施例では、初期設定等、システムを制御するための
プログラムが格納されている初期設定用プログラム領域
IPおよびユーザプログラム領域UPを有する1個の特
定・メモリ領域MOと、ユーザプログラムを有するn個
のメモリ領域M1〜Mnとが並列に配置されている。各
メモリ領域Ml〜Mnは、特定メモリ領域MOと同じ指
定方法により指定される。これらメモリ領域MO,Ml
・・・Mnへの書込み制御は、これらメモリ領域の1個
あるいは複数個に同時に書込めるメモリ書込み制御部1
により行われる。一方、メモリ領域MO1M1・・・M
nからの読出しは、メモリ読出し制御部2と、このメモ
リ読出し制御部により制御されるメモリ読出し領域選択
部3とにより行われる。
In this embodiment, there is one specific memory area MO having an initial setting program area IP and a user program area UP in which programs for controlling the system such as initial settings are stored, and n specific memory areas MO having user programs. Memory areas M1 to Mn are arranged in parallel. Each of the memory areas Ml to Mn is specified using the same specification method as the specific memory area MO. These memory areas MO, Ml
. . . Write control to Mn is performed by a memory write control unit 1 that can write to one or more of these memory areas simultaneously.
This is done by On the other hand, memory area MO1M1...M
Reading from n is performed by a memory read control section 2 and a memory read area selection section 3 controlled by this memory read control section.

メモリ書込み制御部1の各出力端子は、ANDゲー1−
GO,Gl・・・Gnの一方の入力端子にそれぞれ接続
され、これらANDゲートの他方の入力端子はデータバ
ス4に接続されている。ANDゲー)Go、C1・・・
Gnの各出力端子はメモリ領域MO,Ml・・・Mnの
書込み端子Wにそれぞれ接続されている。これらメモリ
領域の読出し端子Rは、選択部30入力端子にそれぞれ
接続され、この選択部の出力端子はデータバス4に接続
されている。選択部30制御端子は、メモリ読出し制御
部2に接続されている。なお図中1.5は演算処理部で
ある。
Each output terminal of the memory write control section 1 is connected to an AND gate 1-
GO, Gl...Gn are each connected to one input terminal, and the other input terminal of these AND gates is connected to the data bus 4. AND game) Go, C1...
Each output terminal of Gn is connected to a write terminal W of memory areas MO, Ml...Mn, respectively. The read terminals R of these memory areas are each connected to the input terminal of the selection section 30, and the output terminal of this selection section is connected to the data bus 4. The selection unit 30 control terminal is connected to the memory read control unit 2. Note that 1.5 in the figure is an arithmetic processing section.

メモリ書込み制御部1.メモリ読出し制御部2および選
択部3は、電源投入時あるいは初期リセット時に、メモ
リ領域MOのみをデータバス4に接続するよ・うに構成
され゛こいる。すなわぢ、メモリ書込み制御部1はAN
DゲートGOをオンし、メモリ読出し制御部2は選択部
3がメモリ領域MOを選択するように制御J゛る。一方
、演算処理部5がデータバス4を介してメモリ領域MO
の初期設定用プログラム領域IPを指定することにより
初期設定用ブ1」ダラムが走行する。
Memory write control unit 1. The memory read control unit 2 and the selection unit 3 are configured to connect only the memory area MO to the data bus 4 at power-on or initial reset. In other words, the memory write control unit 1 is
Turning on the D gate GO, the memory read control unit 2 controls the selection unit 3 to select the memory area MO. On the other hand, the arithmetic processing unit 5 connects the memory area MO via the data bus 4.
By specifying the initial setting program area IP, the initial setting block 1'' runs.

1■i述したように従来のシステムでは、7演算処理部
のアト1/ソシング手法とビット数がシステム能力を沈
めていたが、本実施例によれば、演算処理部5のアドレ
ッシングはそのままで、プログラム領域を拡大すること
ができる。例えば、メモリ領@MOには、グログラム部
分だけが格納されデータ領域がないとする。そこで、4
メモリ領域Ml−Mnのいずれかを1−夕領域とするに
際し、演算処理部5での1ド【/ツシングは、特定メモ
リ領域MOあるいは1個のメモリ領域Ml〜Mnの全領
域を直接指定する能力しかないとしたとき、本来的には
メモリ領域MOからメモリ領域Mnまでを直接指定する
ことはできない。しかし、本実施例によればメモリ書込
み制御部1で特定メモリ領域MOおよびメモリ領域M1
〜Mnのうちの1個あるいは複数個を同時に選択してデ
ー・夕を書込むことができる。メモリ領域M1−Mnの
該当位置をアトレッジ:/グする場合に、演算処理部5
ば特定メモリ領域MOの領域指定能力の範囲で指定する
が2.メモリ書込み制御部1によりメモリ領域MOへの
書込みを禁止し、メモリ領域M O−” M nへの書
込みを行うべく制御すると、演算処理部5はメモリ領域
MOの領域制御能力しかないにもかかわらず、n倍の領
域制御能力を有したこととなる。
1 As mentioned above, in the conventional system, the at1/sourcing method and the number of bits of the 7 arithmetic processing units lowered the system performance, but according to this embodiment, the addressing of the arithmetic processing unit 5 remains the same. , the program area can be expanded. For example, it is assumed that the memory area @MO stores only the program portion and does not have a data area. Therefore, 4
When setting any of the memory areas Ml to Mn as the 1-day area, the 1 dosing in the arithmetic processing unit 5 directly specifies the specific memory area MO or the entire area of one memory area Ml to Mn. If there is only the ability, originally it is not possible to directly specify from memory area MO to memory area Mn. However, according to this embodiment, the memory write control unit 1 writes the specific memory area MO and the memory area M1.
It is possible to write data by selecting one or more of Mn at the same time. When the corresponding position in the memory areas M1-Mn is to be retrieved, the arithmetic processing unit 5
For example, the specification is made within the range of the area specification capability of the specific memory area MO, but 2. When the memory write control unit 1 prohibits writing to the memory area MO and performs control to write to the memory area MO-"Mn, the arithmetic processing unit 5 only has the ability to control the memory area MO. First, it has n times the area control ability.

一方、メモリ読出し時においても、メモリ読出し制御部
2を介して、選択部3にて読出し7制御を行うので、演
算処理部5ばメモリ領域MOの領域指定能力にもかかわ
らず、n倍の領域制御能力を有することとなる。
On the other hand, even at the time of memory reading, the selection section 3 performs readout control via the memory readout control section 2, so that the arithmetic processing section 5 has an n-fold area despite the area specification capability of the memory area MO. It will have control ability.

実際、本発明では、上記のような使い方よりはむしろ次
の使用方法がさらに利点を見い出せる。
In fact, in the present invention, the following method of use can be found to be more advantageous than the above method.

すなわち、メモリ書込み制御部1により、特定メモリ′
fr1域MOおよびメモリ領域M1〜Mnの複数メモリ
の同時書込みが)゛す能であるので、プログラム構築上
必要であるデータの保存を容易に、しかも同時に書込む
ことから時間を要しないで行うことができる。また、特
定メモリ領域MOと並列配置された各メモリ領域MOへ
−Mnとを同じ内容にすると、演算処理部5はメモリ領
域MO〜Mnで特定メモリ領域MOの走行を再会できる
など、その利用方法は多い。
That is, the memory write control unit 1 controls the specific memory '
Since it is possible to simultaneously write to multiple memories in the fr1 area MO and memory areas M1 to Mn, it is possible to easily save data necessary for program construction, and also to save time by writing simultaneously. Can be done. In addition, if the specific memory area MO and each memory area MO arranged in parallel have the same content as -Mn, the arithmetic processing unit 5 can re-run the specific memory area MO in the memory areas MO to Mn. There are many.

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

以上説明したように、本発明によればメモリ領域を並列
に配置し、メモリ書込み制御手段およびメモリ読出し制
御手段により、並列に配置されたメモリ領域の書込みお
よび読出し7を自由に行えるように1−だので、メモリ
領域の制約を受けることなくメモリ使用領域を拡大でき
る効果がある。
As described above, according to the present invention, memory areas are arranged in parallel, and the memory areas arranged in parallel can be freely written and read 7 by the memory write control means and the memory read control means. Therefore, there is an effect that the memory usage area can be expanded without being subject to memory area constraints.

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

第1図は本発明による方式の一実施例を示すブロック図
、 第2図は従来のメモリバンク切替え方式を示すブロック
図、 第3図は従来のオーバレイ方式を示すブロック図である
。 1・・・・・メモリ書込み制御部 2・・・・・メモリ読出し制御部 3・・・・・メモリ読出し領域選択部 4・・・・・データバス 5・・・・・演算処理部
FIG. 1 is a block diagram showing an embodiment of the method according to the present invention, FIG. 2 is a block diagram showing a conventional memory bank switching method, and FIG. 3 is a block diagram showing a conventional overlay method. 1...Memory write control unit 2...Memory read control unit 3...Memory read area selection unit 4...Data bus 5...Arithmetic processing unit

Claims (1)

【特許請求の範囲】[Claims] (1)特定メモリ領域に初期設定用プログラムが格納さ
れ、かつユーザレベルのプログラム等の走行を可能とす
るコンピュータシステムのメモリ領域制御方式において
、それぞれが前記特定メモリ領域と同じ指定方法からな
る並列に配置された複数個のメモリ領域と、前記特定メ
モリ領域および前記複数個のメモリ領域の中の1個ある
いは複数個への同時書込みを制御する書込み制御手段と
、前記特定メモリ領域および前記複数個のメモリ領域の
中の1個だけからの読出しを制御する読出し制御手段と
を備え、メモリ使用領域をユーザレベルのプログラムか
ら見て全域としたことを特徴とするメモリ領域制御方式
(1) In a memory area control method for a computer system in which an initial setting program is stored in a specific memory area and allows user-level programs to run, each program is stored in a parallel memory area using the same designation method as the specific memory area. a plurality of arranged memory areas; write control means for controlling simultaneous writing to the specific memory area and one or more of the plurality of memory areas; 1. A memory area control method, comprising read control means for controlling reading from only one of the memory areas, and the memory area used is the entire area as viewed from a user level program.
JP14155785A 1985-06-29 1985-06-29 Memory area control system Pending JPS625452A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14155785A JPS625452A (en) 1985-06-29 1985-06-29 Memory area control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14155785A JPS625452A (en) 1985-06-29 1985-06-29 Memory area control system

Publications (1)

Publication Number Publication Date
JPS625452A true JPS625452A (en) 1987-01-12

Family

ID=15294737

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14155785A Pending JPS625452A (en) 1985-06-29 1985-06-29 Memory area control system

Country Status (1)

Country Link
JP (1) JPS625452A (en)

Similar Documents

Publication Publication Date Title
JPH1115773A (en) Semiconductor integrated circuit, computer system, data processor and data processing method
WO2006051780A1 (en) Nonvolatile memory device for matching memory controllers of different numbers of banks to be simultaneously accessed
JPS625452A (en) Memory area control system
JP2005182538A (en) Data transfer device
JPH05197619A (en) Memory control circuit for multi-cpu
JPH0192851A (en) Switching device for address space
JPS6058487B2 (en) data processing equipment
JP3699003B2 (en) Data processing apparatus and method
JP2659979B2 (en) Computer system
JP2590695B2 (en) Time division switch circuit
JPS62108346A (en) Inter-process communication system
JPH0481934A (en) Information processor
JPS6089256A (en) File controller
JPS6036615B2 (en) Memory control method
JPS6349953A (en) Memory control system
JPS6075947A (en) Memory control system
JPS61157955A (en) Tag control system
JPS5899840A (en) Control storage device
JP2001175463A (en) Computer system
JPS61294540A (en) Data storage device
JPH05127979A (en) Memory address space extending device
JPH07175602A (en) Hard disk emulator
JPH03206525A (en) Stack system for single chip microcomputer
JPS63205727A (en) Magnetic disk control channel
JPS6380332A (en) Microprocessor