JPS62297954A - Memory control system - Google Patents
Memory control systemInfo
- Publication number
- JPS62297954A JPS62297954A JP61141894A JP14189486A JPS62297954A JP S62297954 A JPS62297954 A JP S62297954A JP 61141894 A JP61141894 A JP 61141894A JP 14189486 A JP14189486 A JP 14189486A JP S62297954 A JPS62297954 A JP S62297954A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- program
- instruction
- stored
- latch
- 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
Links
Landscapes
- Executing Machine-Instructions (AREA)
- Memory System (AREA)
Abstract
Description
【発明の詳細な説明】
3、発明の詳細な説明
[発明の目的]
(産業上の利用分野)
本発明は、メモリ制御方式に関し、詳しくはマイクロプ
ロセッサの持つメモリ空間よりも大きなメモリ空間のメ
モリを制御するためのメモリi+lI 仰方式に関する
ものである。Detailed Description of the Invention 3. Detailed Description of the Invention [Object of the Invention] (Industrial Field of Application) The present invention relates to a memory control method, and more specifically, the present invention relates to a memory control system that has a memory space larger than that of a microprocessor. This relates to a memory system for controlling the memory i+lI.
(従来の技術)
現在数多くの匹器にマイクロプロセッサが使用されてお
り、かつそれらのn8の玄能は年々高度化している。そ
のため、マイクロプロセッサが本来持つメモリ空間だけ
ではメモリ容置が不足する場合が多々発生しており、メ
モリ空間を拡張、するために種々のメモリ制御方式が考
案されている。(Prior Art) Microprocessors are currently used in many devices, and the capabilities of these N8 devices are becoming more sophisticated year by year. For this reason, there are many cases where the memory capacity of the microprocessor is insufficient, and various memory control methods have been devised to expand the memory space.
しかし、従来のメモリ制御方式ではプログラムの作成が
非常にWJ雑であり、また実行時の処理スピードもかな
り低下するという問題があった。However, in the conventional memory control method, the creation of a program is very complicated and the processing speed during execution is also considerably reduced.
第7図は、従来のメモリ制御方式を用いたマイクロプロ
セッサ回路のブロック図である。FIG. 7 is a block diagram of a microprocessor circuit using a conventional memory control method.
第7図において、メインメモリ1はマイクロプロセッサ
(MPU)2のプログラムを格納するためのものであり
、このメインメモリ1はデータバスに接続されたプログ
ラムカラムラッチ3及びデータカラムラッチ4のわきに
よりマイクロプロセッサ2が本来持つメモリ空間より拡
張されている。In FIG. 7, main memory 1 is for storing programs for a microprocessor (MPU) 2, and this main memory 1 is connected to a microprocessor (MPU) 2 by a program column latch 3 and a data column latch 4 connected to the data bus. The memory space is expanded from the memory space that the processor 2 originally has.
すなわちプログラムカラムラッチ3及びデータカラムラ
ッチ4の内容はマイクロプロセッサ2の入出力命令とこ
れに附随する書込み/読み出しパルスIOR/Wにより
読み出し・害き込みがデータバスを通じて行なえるよう
になって0る。そして、メインメモリ1のアドレスはマ
イクロプロセッサ2のアドレスバスから出力されるアド
レスデータとこれらラッチ3.4の出力をアドレスデコ
ーダ5でデコードすることにより決定される。In other words, the contents of the program column latch 3 and the data column latch 4 can be read or written to 0 through the data bus by the input/output command of the microprocessor 2 and the accompanying write/read pulse IOR/W. . The address of the main memory 1 is determined by decoding the address data output from the address bus of the microprocessor 2 and the outputs of these latches 3.4 by the address decoder 5.
第8図にこのメインメモリ1の構造を示していめるが、
ここではマイクロプロセッサ2の本来のアドレス空間を
64にバイトつまり、アドレス0000−FFFF (
16進表示・以後アドレスに関しては16進表示とする
。)であるとする。Figure 8 shows the structure of this main memory 1.
Here, the original address space of microprocessor 2 is divided into 64 bytes, that is, addresses 0000-FFFF (
Hexadecimal display - From now on, addresses will be displayed in hexadecimal. ).
そしてアドレス3000〜3FFFの間をサブルーチン
コール時の戻りアドレスを記憶するために用いるスタッ
クエリアとし、アドレス4000〜7FFFの間をプロ
グラム用データエリア、アドレス8000〜FFFFを
プログラムエリアであるとする。The area between addresses 3000 and 3FFF is a stack area used to store a return address at the time of a subroutine call, the area between addresses 4000 and 7FFF is a program data area, and the area between addresses 8000 and FFFF is a program area.
データエリア及びプログラムエリアはカラム構造になっ
ており、同一アドレスに対して複数のメモリ#0〜#3
あるいは#O,#1が配置されている。そして、その中
の一つがデータカラムラッチ4及びプログラムカラムラ
ッチ3の内容により選択されるようになっている。The data area and program area have a column structure, and multiple memories #0 to #3 are assigned to the same address.
Alternatively, #O and #1 are arranged. One of them is selected according to the contents of the data column latch 4 and the program column latch 3.
令弟8図においてプログラムエリアのカラム番号#0内
のプログラムAがカラム番号#1内のブロクラムBをサ
ブルーチンコールする場合を考える。Consider the case where program A in column number #0 of the program area in Figure 8 calls a subroutine to block B in column number #1.
まずプログラムAが実行されている時点ではプログラム
カラムラッチ3の内容を入出力命令を用いて#1に変更
する必要がある。しかし、この入出力命令をプログラム
Aの中で行うことはできない。なぜならば、プログラム
カラムラッチ3の内容を#Oから#1に変更した直後に
は、プログラムカラム番号#1の中の今実行した入出力
命令の次の命令に対応するアドレスの命令が実行されて
しまい、プログラムAの実行が途中で停止してしまうか
らである。その結果、プログラムAからプログラムBを
コールする命令は実行することができなくなる。First, when program A is being executed, it is necessary to change the contents of program column latch 3 to #1 using an input/output command. However, this input/output command cannot be performed within program A. This is because immediately after changing the contents of program column latch 3 from #O to #1, the instruction at the address corresponding to the next instruction of the input/output instruction just executed in program column number #1 is executed. This is because the execution of program A will stop midway. As a result, an instruction that calls program B from program A cannot be executed.
この不具合を解決するためには、カラム構造とはなって
いないアドレス0000〜2FFF内に中継プログラム
を置き、この中継プログラムにおいてプログラムカラム
ラッチ3の内容を変更する必要がある。In order to solve this problem, it is necessary to place a relay program within addresses 0000 to 2FFF, which do not have a column structure, and to change the contents of the program column latch 3 in this relay program.
第9図(a)、(b)を用いて中継プログラムの動作を
説明する。プログラムAはある処理1を実行後、ブロク
ラムBをサブルーチンコールしたい場合は、まずマイク
ロプロセッサ2内のAレジスタにプログラムBのエント
リーアドレスをロードし、別のNレジスタにプログラム
Bのプログラムカラム番号をロードする。その後、中継
プログラムをコールする。このコール命令(呼出し命令
)を実行することにより、プログラムAへの戻りアドレ
スは自動的にスタックエリアに記憶される。The operation of the relay program will be explained using FIGS. 9(a) and 9(b). After program A executes a certain process 1, if it wants to call block B as a subroutine, it first loads the entry address of program B into the A register in microprocessor 2, and then loads the program column number of program B into another N register. do. After that, call the relay program. By executing this call instruction, the return address to program A is automatically stored in the stack area.
従って、スタックエリアのアドレス3FFFの内容は第
10図のようになる。なお、ここではスタックエリアへ
のデータの記憶は高いアドレスから低いアドレスへと順
番にブツシュ(PUSH)又はポツプ(POP)される
ものである。Therefore, the contents of address 3FFF in the stack area are as shown in FIG. Here, data is stored in the stack area by PUSH or POP in order from a high address to a low address.
中継プログラム、においては、まず現在のプログラムカ
ラムラッチ3の内容(#O)及びデータカラムラッチ4
の内容(#1)がスタックエリアのアドレス3FFF及
び3FFDに記憶される。この動作はプログラムBから
プログラムAに戻る時に、プログラムAがプログラムB
をコールした時点のプログラムカラム及びデータカラム
に戻すために必要なものである。In the relay program, first the contents of the current program column latch 3 (#O) and the data column latch 4 are
The contents (#1) are stored at addresses 3FFF and 3FFD in the stack area. This operation is performed when program B returns to program A.
This is necessary to return to the program column and data column at the time of calling.
次にNレジスタに入ってりるプログラムBのプログラム
カラム′#I@を入出力命令を用いてプログラムカラム
ラッチ3にセットする。中継プログラムはカラム構造に
なっていないメモリエリアにあるため、プログラムカラ
ムラッチ3の内容を変更しても中継プログラムが途中で
停止してしまうことはない。Next, the program column '#I@ of program B stored in the N register is set in the program column latch 3 using an input/output command. Since the relay program is located in a memory area that does not have a column structure, even if the contents of the program column latch 3 are changed, the relay program will not be stopped midway.
中継プログラムは最後にAレジスタに入っている70グ
ラムBのアドレスをコールする。このコール命令により
、プログラムBから中継プログラムへの戻りアドレスは
自動的にスタックエリアに記はされる(第10図のアド
レス3FFC)。The relay program finally calls the address of 70 grams B stored in the A register. By this call instruction, the return address from program B to the relay program is automatically written in the stack area (address 3FFC in FIG. 10).
プログラムBが実行され、その最後にサブルーチンリタ
ーン命令を実行すると、戻りアドレスがスタックエリア
から読み出され、その結果再び中継プログラムに戻って
くる。When program B is executed and a subroutine return instruction is executed at the end, the return address is read from the stack area, and as a result, the program returns to the relay program again.
中継プログラムではスタックエリアに記憶されているプ
ログラムAが実行されている時のデータカラム番号及び
プロゲラl−カラム番号を、それぞれデータカラムラッ
チ4及びプログラムカラムラッチ3にセットし、最後に
サブルーチンリターン命令を実行する。The relay program sets the data column number and progera l-column number when program A is being executed, stored in the stack area, in data column latch 4 and program column latch 3, respectively, and finally issues a subroutine return instruction. Execute.
その結果、プログラムAへの戻りアドレスがスタックエ
リアから読み出され、プログラムAに戻ることになる。As a result, the return address to program A is read from the stack area, and program A is returned.
(発明が解決しようとする問題点)
以上のように従来のメモリ制utl方式では、異なるカ
ラムに入ったプログラムをサブルーグーンコールする場
合、中、継プログラムが必要となるため、ブローダラム
作成においては中継プログラムを珂慮しなければならず
、プログラムの設計が非常に煩雑になり、またプログラ
ム実行においては中継プログラムの分だけ処理速度が低
下するという問題があった。(Problems to be Solved by the Invention) As described above, in the conventional memory control utl method, when subroutine calls are made to programs stored in different columns, a relay program is required. The problem is that the program has to be carefully designed, making the program design extremely complicated, and that the processing speed of the program is reduced by the amount of the relay program.
この発明は上記欠点を除去し、プログラムの作成が容易
で、かつプログラム実行速度も8途にすることができる
メモリ制御方式を提供することを目的とする。SUMMARY OF THE INVENTION An object of the present invention is to provide a memory control method that eliminates the above-mentioned drawbacks, allows easy program creation, and can speed up program execution.
[発明の構成コ
(問題点を解決するための手段)
本発明は、ラッチに記憶されたメモリ選択データを退避
記憶すると共に、退避記憶したメモリ選択データを前記
ラッチに再記憶させる制御回路を設け、現在選択中のメ
モリを同一アドレス空間内の他のメモリに切替える際に
、現在選択中のメモリに記憶されている命令が他のメモ
リに記憶されている命令の呼出し命令を発生した優、呼
出された命令の実行が開始されるまでの間に前記ラッチ
に記憶されたメモリ選択データを前記制御回路に読込ん
で退避記憶し、呼出された命令とこれに続く一連の命令
の実行が終了し、メモリ切替え前の命令に復帰させる復
帰命令の発生により前記退避記憶させたメモリ選択デー
タを前記ラッチに再記憶させ、メモリ切替え前のメモリ
を再び選択するようにしたものである。[Structure of the Invention (Means for Solving Problems)] The present invention provides a control circuit that saves and stores memory selection data stored in a latch and re-stores the saved memory selection data in the latch. , When switching the currently selected memory to another memory in the same address space, an instruction stored in the currently selected memory generates a call instruction for an instruction stored in the other memory. The memory selection data stored in the latch is read into the control circuit and saved and stored until execution of the called instruction starts, and execution of the called instruction and a series of instructions following it is completed; When a return command is generated to return to the command before memory switching, the saved memory selection data is stored in the latch again, and the memory before memory switching is selected again.
(作用)
例えば#0のメモリに記憶されたプログラムAを同一ア
ドレス空間の#1のメモリに記憶されたプログラム已に
分岐させる場合、プログラムAがプログラムBを呼出す
時の呼出し命令の発生時にラッチに記憶されている#O
のメモリ選択データが制御回路に退避記憶される。そし
て、プログラムBがプログラムAに戻る際に、プログラ
ムAへの復帰命令が発生すると、制御回路に退避記憶さ
れていた#0のメモリ選択データがラッチに再記憶され
、再び#0のメモリのが選択されてプログラムAが実行
されるようになる。要・約すれば、中継プログラムと同
等2能の制’40回路を付加することにより、プログラ
ム作成の容易化と処3mM度の向上を図ったものである
。(Function) For example, when program A stored in memory #0 is branched to a program stored in memory #1 in the same address space, when program A calls program B, a latch is activated when a calling instruction occurs. #O remembered
Memory selection data is saved and stored in the control circuit. Then, when program B returns to program A, when a return command to program A is issued, the #0 memory selection data that was saved in the control circuit is re-stored in the latch, and the #0 memory selection data is re-stored in the latch. Once selected, program A will be executed. In short, by adding a 2-capacity control circuit equivalent to that of the relay program, it is possible to simplify program creation and improve processing efficiency by 3mM.
(実施例)
第1図は本発明の一実施例を示すブロック図であって、
破線で囲まれたカラムラッチ制御回路6以外については
、基本的に第7図と同様である。(Embodiment) FIG. 1 is a block diagram showing an embodiment of the present invention,
Components other than the column latch control circuit 6 surrounded by broken lines are basically the same as in FIG. 7.
制御回路6はカラム番号メモリ60.制御2IIパルス
発生回路61.命令読出し検出回路62.復帰命令検出
回路63.一時記憶用ラソチ64とで構成されており、
このうちカラム番号メモリ60は、メインメモリ1に対
し第2図に示すようなアドレス関係にあり、メインメモ
リ1のスタックエリアに対応している。そして、マイク
ロプロセッサ2がメインメモリ1のスタックエリアに出
き込み動作を行った時、同時にその時点のデータカラム
ラッチ4及びプログラムカラムラッチ3の内容がこのカ
ラム番号メモリ60にも書き込まれるように構成されて
いる。The control circuit 6 has a column number memory 60. Control 2II pulse generation circuit 61. Instruction read detection circuit 62. Return command detection circuit 63. It is composed of a temporary memory rasochi 64,
Of these, the column number memory 60 has an address relationship with the main memory 1 as shown in FIG. 2, and corresponds to the stack area of the main memory 1. When the microprocessor 2 performs a read/write operation to the stack area of the main memory 1, the contents of the data column latch 4 and program column latch 3 at that time are simultaneously written to the column number memory 60. has been done.
一方、命令読出検出回路62はマイクロプロセッサ2の
信丹線をモニターし、マイクロプロセッサ2がメインメ
モリ1から命令を順次読み出すのを検出して第3図(a
>に示すように命令の読出しタイミングに同期したパル
スを出力する。また、復帰命令検出回路63はマイクロ
プロセッサ2がリターン命令を読み出した時、第3図(
b)に示すよう・に該命令の読出しタイミングに同期し
たパルスを出力する。On the other hand, the instruction read detection circuit 62 monitors the Shintan line of the microprocessor 2, detects that the microprocessor 2 sequentially reads instructions from the main memory 1, and detects that the microprocessor 2 sequentially reads instructions from the main memory 1.
As shown in >, a pulse synchronized with the instruction read timing is output. Further, when the microprocessor 2 reads a return instruction, the return instruction detection circuit 63 detects the return instruction as shown in FIG.
As shown in b), a pulse synchronized with the read timing of the instruction is output.
ここでこれらの回路の動作を第5図のフローチャートに
沿って説明する。The operations of these circuits will now be explained along the flowchart of FIG.
第5図において、プログラムAの処理1が実行され、次
にプログラムBをサブルーチンコールしたい場合、プロ
グラムAはプログラムBのプログラムカラム番号を入出
力命令を用いて一時記乏用ラッチ64にセットする。こ
の時点はまだプログラムカラムラッチ3の内容は変化し
ないため、プログラムAが続いて実行され、上記入出力
命令の次の命令が実行される。ここでは次の命令として
プログラムBへのコール命令(呼、出し命令)が置かれ
ているとする。In FIG. 5, when process 1 of program A is executed and it is desired to call program B as a subroutine next, program A sets the program column number of program B in the temporary storage latch 64 using an input/output command. At this point, the contents of the program column latch 3 have not changed yet, so program A is executed continuously, and the instruction following the input/output instruction is executed. Here, it is assumed that a call instruction (call, issue instruction) to program B is placed as the next instruction.
制御パルス発生回路61は、第4図(b)に示すように
一時記憶用ラッチへ64の出き込み入出力命令の実行に
よる該ラッチ64へのライトパルス発生後、次の命令が
マイクロプロセッサ2により読み出されたことが命令読
出検出回路62により検出されると、第4図(C)に示
すデータ転送パルスを発生する。すると、−詩記憶用ラ
ツチ64の内容はプログラムカラムラッチ3に転送記憶
される。As shown in FIG. 4(b), the control pulse generation circuit 61 generates a write pulse to the temporary storage latch 64 by executing the input/output instruction 64, and then the next instruction is sent to the microprocessor 2. When the instruction read detection circuit 62 detects that the instruction has been read out, it generates a data transfer pulse shown in FIG. 4(C). Then, the contents of the -verse memory latch 64 are transferred and stored in the program column latch 3.
以上の動作により、プログラムへの中のプログラムBへ
のコール命令が実行されると、その時点でプログラムカ
ラムラッチ3の内容はプログラムBの入っているカラム
番号となる。従って、プログラムBへのコール命令の次
に実行される命令はプログラムBの先頭位置の命令とな
る。またこのプログラムBへのコール命令によりスタッ
クエリアと同一アドレス空間のカラム番号メモリ60に
は第6図に示すようにプログラムAへの戻りアドレスと
共に、プログラムA実行時のデータカラム番号及びプロ
グラムカラム番号が記憶される。Through the above operations, when the call instruction to program B in the program is executed, the contents of the program column latch 3 at that point become the column number in which program B is stored. Therefore, the instruction executed next to the call instruction to program B is the instruction at the beginning of program B. Also, due to this call instruction to program B, the column number memory 60 in the same address space as the stack area contains the return address to program A as well as the data column number and program column number at the time of program A execution, as shown in FIG. be remembered.
次に、プログラムBの処理実行後、最後にリターン命令
を実行すると、プログラムの実行アドレスはカラム番号
メモリ60に記憶されたプログラムAへの戻りアドレス
に戻る。その時、第6図の制御パルス発生回路61は復
帰命令検出回路63の出力を受けて第3図(c)、(d
)に示すように2種類のデータ転送パルスを光止し、h
ラム番号メモリ60の内容をリターン命令の実行後プロ
グラムカラムラッチ3及びデータカラムラッチ4に転送
記憶させる。Next, after executing the process of program B, when a return instruction is finally executed, the execution address of the program returns to the return address for program A stored in the column number memory 60. At that time, the control pulse generation circuit 61 shown in FIG.
), the two types of data transfer pulses are optically stopped, and h
The contents of the RAM number memory 60 are transferred and stored in the program column latch 3 and data column latch 4 after execution of the return instruction.
その結果、プログラムの実行アドレスはリターンと命令
の次に実行されるプログラム構内の戻りアドレスとなり
、第5図に示すようにプログラムAの処理1の続きが実
行されることになる。一方、データカラム番号について
もプログラムBへのサブルーチン呼出しを行なう直前の
状態に戻っている。As a result, the execution address of the program becomes the return address within the program that is executed next to the return and instruction, and the continuation of process 1 of program A is executed as shown in FIG. On the other hand, the data column numbers have also returned to the state immediately before the subroutine call to program B was made.
従って、プログラムBの中でデータカラムラッチ4の内
容が変更になってもまったく問題はない。Therefore, even if the contents of the data column latch 4 are changed in program B, there is no problem at all.
なお、上記の説明ではサブルーチンコールを例として説
明したが、まったく同様に異なる。IJプラムプログラ
ムへのジャンプも行なうことがでさ°るのは言うまでも
なり。Note that although the above explanation uses a subroutine call as an example, the differences are exactly the same. Needless to say, it is not possible to jump to the IJ plum program.
E発明の効果1
以上説明したように本発明によれば、異なるメモリに記
憶されたカラムのサブルーチンを非常に簡単な手続きで
コールすることができるため、プログラム作成が非常に
容易となり、かつプログラムの処理速度も大幅に向上す
るという利点がある。E. Effects of the Invention 1 As explained above, according to the present invention, subroutines for columns stored in different memories can be called with a very simple procedure, making program creation very easy and It also has the advantage of greatly improving processing speed.
第1図は本発明を適用したマイクロプロセッサ回路の一
実施例を示すブロック図、第2図は実施例におけるメイ
ンメモリとカラム番号メモリのアドレス関係を示すメモ
リ構造図、第3図および第4図はカラムラッチ制御回路
の動作を説明するためのタイムチャート、第5図はメモ
リを切替えて使用する時のプログラムの一例を示すフロ
ーチャート、第6図はカラム番号メモリ内の記憶内容を
示す図、第7図は従来のメモリ制御方式によるマイクロ
プロセッサ回路の構成を示すブロック図、第8図は第7
図の従来構成におけるメインメモリの構成を示すメモリ
構造図、第9図は従来構成の動作を説明するためのフロ
ーチャート、第10図は従来構成におけるスタックエリ
アの記憶内容を示す図である。
1・・・メインメモリ、2・・・マイクロプロセッサ、
3・・・プログラムカラムラッチ、4・・・データカラ
ムラッチ、5・・・アドレスデコーダ、6・・・カラム
ラッチ制御回路。
第6図
第10図
第9図(a)
又ル丁里10オ莞!
;
;
1:
第9図(b)FIG. 1 is a block diagram showing an embodiment of a microprocessor circuit to which the present invention is applied, FIG. 2 is a memory structure diagram showing the address relationship between the main memory and column number memory in the embodiment, and FIGS. 3 and 4. 5 is a time chart for explaining the operation of the column latch control circuit, FIG. 5 is a flowchart showing an example of a program when switching and using memory, FIG. 6 is a diagram showing the contents stored in the column number memory, and FIG. Figure 7 is a block diagram showing the configuration of a microprocessor circuit using a conventional memory control method.
FIG. 9 is a flowchart for explaining the operation of the conventional configuration, and FIG. 10 is a diagram showing the storage contents of the stack area in the conventional configuration. 1... Main memory, 2... Microprocessor,
3...Program column latch, 4...Data column latch, 5...Address decoder, 6...Column latch control circuit. Figure 6 Figure 10 Figure 9 (a) It's 10 miles away! ; ; 1: Figure 9(b)
Claims (1)
はデータバスから出力され、かつラッチに記憶されたメ
モリ選択データによつて個別に選択し、選択したメモリ
内のアドレスはアドレスバスから出力されるアドレスデ
ータによって指定するようにしたメモリ制御方式におい
て、 前記ラッチに記憶されたメモリ選択データを退避記憶す
ると共に、退避記憶したメモリ選択データを前記ラッチ
に再記憶させる制御回路を設け、現在選択中のメモリを
同一アドレス空間内の他のメモリに切替える際に、現在
選択中のメモリに記憶されている命令が他のメモリに記
憶されている命令の呼出し命令を発生した後、呼出され
た命令の実行が開始されるまでの間に前記ラッチに記憶
されたメモリ選択データを前記制御回路に読込んで退避
記憶し、呼出された命令とこれに続く一連の命令の実行
が終了し、メモリ切替え前の命令に復帰させる復帰命令
の発生により前記退避記憶させたメモリ選択データを前
記ラッチに再記憶させ、メモリ切替え前のメモリを再び
選択することを特徴とするメモリ制御方式。[Claims] A plurality of memories are arranged in the same address space, and each memory is individually selected by memory selection data output from a data bus and stored in a latch, and the address in the selected memory is In a memory control system in which address data is specified by address data output from an address bus, the control circuit saves memory selection data stored in the latch and stores the saved memory selection data in the latch again. When switching the currently selected memory to another memory in the same address space, after the instruction stored in the currently selected memory generates a call instruction for the instruction stored in the other memory. , the memory selection data stored in the latch is read into the control circuit and saved and stored until the execution of the called instruction is started, and the execution of the called instruction and the series of instructions following it is completed. The memory control method is characterized in that the saved memory selection data is stored in the latch again by generation of a return instruction to return to the instruction before memory switching, and the memory before memory switching is selected again.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61141894A JPS62297954A (en) | 1986-06-18 | 1986-06-18 | Memory control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61141894A JPS62297954A (en) | 1986-06-18 | 1986-06-18 | Memory control system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS62297954A true JPS62297954A (en) | 1987-12-25 |
Family
ID=15302638
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61141894A Pending JPS62297954A (en) | 1986-06-18 | 1986-06-18 | Memory control system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS62297954A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01216428A (en) * | 1988-02-24 | 1989-08-30 | Sanyo Electric Co Ltd | System for executing subroutine of memory bank |
| JPH01292432A (en) * | 1988-05-19 | 1989-11-24 | Sanyo Electric Co Ltd | Subroutine execution system for memory bank |
-
1986
- 1986-06-18 JP JP61141894A patent/JPS62297954A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01216428A (en) * | 1988-02-24 | 1989-08-30 | Sanyo Electric Co Ltd | System for executing subroutine of memory bank |
| JPH01292432A (en) * | 1988-05-19 | 1989-11-24 | Sanyo Electric Co Ltd | Subroutine execution system for memory bank |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4987537A (en) | Computer capable of accessing a memory by supplying an address having a length shorter than that of a required address for the memory | |
| EP0409285B1 (en) | Method and apparatus for data transfer between processor elements | |
| JPS6145272B2 (en) | ||
| JPS62297954A (en) | Memory control system | |
| JPS6146552A (en) | Information processor | |
| JPH01261758A (en) | Computer system | |
| JPS59116866A (en) | Storage device of computer system | |
| JP2000029508A (en) | Programmable controller | |
| JPH0683639A (en) | Register device | |
| JP2570271B2 (en) | Semiconductor memory controller | |
| JP2567111B2 (en) | Micro program controller | |
| JP2579003B2 (en) | Data transfer device between memories | |
| JPH11167519A (en) | Memory refresh control circuit, memory, memory module, and digital device | |
| JPS58220289A (en) | Data processor | |
| JPS6329293B2 (en) | ||
| JPH01233628A (en) | Memory address conversion control circuit | |
| JPH0337719A (en) | System for expanding master file on main storage device | |
| JPS6146545A (en) | Input and output instruction control system | |
| JPH04239349A (en) | Microprocessor start-up circuit | |
| JPS6148746B2 (en) | ||
| JPS6359175B2 (en) | ||
| JPS5836380B2 (en) | Direct memory access method in multiprocessor systems | |
| JPH02245826A (en) | Instruction controller | |
| JPS62209650A (en) | Memory access system | |
| JPS62298836A (en) | Ram for program storage |