JPS60220442A - Memory access system - Google Patents

Memory access system

Info

Publication number
JPS60220442A
JPS60220442A JP7707684A JP7707684A JPS60220442A JP S60220442 A JPS60220442 A JP S60220442A JP 7707684 A JP7707684 A JP 7707684A JP 7707684 A JP7707684 A JP 7707684A JP S60220442 A JPS60220442 A JP S60220442A
Authority
JP
Japan
Prior art keywords
address
map
memory
access
accessed
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
JP7707684A
Other languages
Japanese (ja)
Inventor
Hideo Kuno
久納 英夫
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.)
Nissin Electric Co Ltd
Original Assignee
Nissin 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 Nissin Electric Co Ltd filed Critical Nissin Electric Co Ltd
Priority to JP7707684A priority Critical patent/JPS60220442A/en
Publication of JPS60220442A publication Critical patent/JPS60220442A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/06Addressing a physical block of locations, e.g. base addressing, module addressing, memory dedication

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Executing Machine-Instructions (AREA)

Abstract

PURPOSE:To expand easily an access enable address space by using an effective address added with an address outputted from an address deciding device to access an optional address on another memory. CONSTITUTION:An access is fed to the contents of an address X-1 of a memory M0, and a map switch instruction is read out. Then the map number 1 contained in the contents of the address X-1 is held by a map switch device A. An access is supplied to the contents of an address X of the memory M0, and an access instruction is read out. Then an address contained in the access instruction is supplied to an address deciding device B. As a result, an effective address Y is obtained by adding (OR conditions) the map number 0 and an address Z. Thus an access is fed to the address Z of a memory M1 of the map number 1 i.e., the contents of the address Y. Then an access is supplied to the contents of an address (X+1) to read out a map preset instruction. The device B is reset according to the map preset instruction.

Description

【発明の詳細な説明】 この発明はメモリのアクセス方式に関するものである。[Detailed description of the invention] The present invention relates to a memory access method.

語長8ビツトのコンピュータでは、通常の方式ではアク
セス可能なアドレス空間は0番地から65535番地ま
で(64にバイト)となっている。しかしながら、アド
レス空間がこれだけしかないと、コンピュータの機能が
制限され、その機能をさらに高めようとするとさらに広
いアドレス空間をアクセス可能にする必要がある。
In a computer with an 8-bit word length, the address space that can be accessed in the normal system is from address 0 to address 65535 (64 bytes). However, if the address space is limited to this amount, the functionality of the computer is limited, and in order to further enhance the functionality, it is necessary to make a wider address space accessible.

したがって、この発明の目的は、簡単な構成でアクセス
可能なアドレス空間を容易に拡張するこ・とができるメ
モリのアクセス方式を提供することである。
Therefore, it is an object of the present invention to provide a memory access method that can easily expand the accessible address space with a simple configuration.

この発明の一実施例を第1図および第2図に基づいて説
明する。このメモリのアクセス方式は、第1図に示すよ
うに同一のアドレスでアクセスされる複数のメモリ (
例えば64にバイト)Mo。
An embodiment of the present invention will be described based on FIGS. 1 and 2. As shown in Figure 1, this memory access method uses multiple memories (
For example, 64 bytes) Mo.

Ml・・・に各々異なるマツプ番号0,1.・・・を設
定し、マツプ番号0のメモリM、のアドレスX−1にア
クセスすべき他のメモリMl、・・・のいずれかのマツ
プ番号、例えば1が入ったマ・ノブ切換命令を格納し、
マツプ番号QのメモリMOのアドレスXにアクセスすべ
きメモリM1.・・・のアドレスZが入ったアクセス命
令を格納し、メモリMOのアドレスX+1にマツプ番号
をリセットする命令を格納している。
Ml... have different map numbers 0, 1, . . . . and stores the map number, for example, 1, of one of the other memories Ml, . death,
Memory M1 to access address X of memory MO with map number Q. ... is stored, and an instruction to reset the map number is stored at address X+1 of the memory MO.

そして、第2図に示すようにメモリMOのアドレスX−
1の内容をアクセスしてマツプ切換命令を読み出し、こ
のマツプ切換命令中に含まれるマツプ番号1をマツプ切
換装置Aに保持させ、ついで、メモリMOのアドレスX
の内容をアクセスしてアクセス命令を読み出し、このア
クセス命令中に含まれるアドレスをアドレス決定装置B
に与える。その結果、マツプ切換装置Aから出力される
マツプ番号Oとアドレス決定装置Bから出力されるアド
レスZとを合わせた(OR条件)実効アドレスYが得ら
れ、マツプ番号1のメモリM1のアドレスZ、すなわち
実効のアドレスYの内容がアクセスされる。ついで、メ
モリMQのアドレスX+1の内容をアクセスしてマンプ
リセット命令を読み出し、このマンプリセント命令に基
づきマツプ切換装置Bをリセットする。すなわち、マツ
プ番号を元の0にもどす。
Then, as shown in FIG. 2, address X- of the memory MO
1 and reads the map switching command, causes the map switching device A to hold the map number 1 included in this map switching command, and then reads the map switching device A from the address X of the memory MO.
The address determining device B reads out the access command by accessing the contents of
give to As a result, an effective address Y is obtained by combining the map number O output from the map switching device A and the address Z output from the address determining device B (OR condition), and the address Z of the memory M1 of map number 1 is obtained. That is, the contents of the effective address Y are accessed. Next, the contents of the address X+1 of the memory MQ are accessed to read out the manpreset command, and the map switching device B is reset based on this manpreset command. That is, the map number is returned to the original 0.

なお、マツプ番号0のメモリMOのアドレスX−1,X
、X+1の実行は割込み禁止状態で行う必要がある。
Note that the address X-1,X of the memory MO with map number 0
, X+1 must be executed with interrupts disabled.

このように構成した結果、マツプ切換を頻繁に行うよう
なソフト構造になっていなければ、64にバイト以上の
メモリが必要なシステムを容易に実現することができ、
8ビツトCPUの能力が一層向上し適用分野を拡大する
ことができる。
As a result of this configuration, it is possible to easily realize a system that requires more than 64 bytes of memory, unless the software structure requires frequent map switching.
The ability of 8-bit CPUs will be further improved and the fields of application will be expanded.

以上のように、この発明のメモリのアクセス方式は、同
一のアドレスでアクセスされる複数のメモリに各々異な
るマツプ番号を設定し、あるメモリの所定アドレスにア
クセスすべき他のメモリのマツプ番号が入ったマツプ切
換命令を格納し、前記あるメモリの所定アドレスのつぎ
のアドレスにアクセスすべきメモリのアドレスが入った
アクセス命令を格納し、前記あるメモリの所定アドレス
をアクセスしてマツプ切換命令中のマツプ番号をマツプ
切換装置に保持させ、ついで前記あるメモリの所定アド
レスのつぎのアドレスをアクセスしてアクセス命令中の
アドレスをアドレス決定装置に与え、前記マツプ切換装
置から出力されるマツプ番号と前記アドレス決定装置か
ら出力されるアドレスとを合わせた実効アドレスによっ
て前記化のメモリの任意のアドレスをアクセスすること
を特徴とするので、アクセス可能なアドレス空間を容易
に拡張することができ、コンピュータの機能を拡大する
ことができる。
As described above, in the memory access method of the present invention, different map numbers are set for each of a plurality of memories that are accessed at the same address, and a map number of another memory to be accessed is stored at a predetermined address of one memory. an access command containing the address of the memory to be accessed is stored in the address next to the predetermined address of the certain memory; The number is held in the map switching device, and then the address next to the predetermined address in the certain memory is accessed and the address in the access command is given to the address determining device, and the map number output from the map switching device and the address determining device are stored. The feature is that any address in the memory of the above system can be accessed by the effective address combined with the address output from the device, so the accessible address space can be easily expanded and the functions of the computer can be expanded. can do.

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

第1図はこの発明におけるメモリの構成図、第2図はこ
の発明の一実施例の構成図である。 M O、M 1・・・メモリ、A 用マツプ切換装置、
B・・・アドレス決定装置 第1図 第2図
FIG. 1 is a block diagram of a memory according to the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention. M O, M1...Memory, map switching device for A,
B...Address determination device Fig. 1 Fig. 2

Claims (1)

【特許請求の範囲】[Claims] 同一のアドレスでアクセスされる複数のメモリに各々異
なるマツプ番号を設定し、あるメモリの所定アドレスに
アクセスすべき他のメモリのマツプ番号が入ったマツプ
切換命令を格納し、前記あるメモリの所定アドレスのつ
ぎのアドレスにアクセスすべきメモリのアドレスが入っ
たアクセス命令を格納し、前記あるメモリの所定アドレ
スをアクセスしてマツプ切換命令中のマツプ番号をマツ
プ切換装置に保持させ、ついで前記あるメモリの所定ア
ドレスのつぎのアドレスをアクセスしてアクセス命令中
のアドレスをアドレス決定装置に与え、前記マツプ切換
装置から出力されるマツプ番号と前記アドレス決定装置
から出力されるアドレスとを合わせた実効アドレスによ
って前記他のメモリの任意のアドレスをアクセスするこ
とを特徴とするメモリのアクセス方式。
Different map numbers are set for each of a plurality of memories that are accessed at the same address, a map switching instruction containing the map number of another memory to be accessed is stored in a predetermined address of a certain memory, and Store an access command containing the address of the memory to be accessed at the next address, access a predetermined address of the certain memory, cause the map switching device to hold the map number in the map switching command, and then The address next to the predetermined address is accessed, the address in the access command is given to the address determining device, and the effective address is the sum of the map number output from the map switching device and the address output from the address determining device. A memory access method characterized by accessing arbitrary addresses in other memories.
JP7707684A 1984-04-16 1984-04-16 Memory access system Pending JPS60220442A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7707684A JPS60220442A (en) 1984-04-16 1984-04-16 Memory access system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7707684A JPS60220442A (en) 1984-04-16 1984-04-16 Memory access system

Publications (1)

Publication Number Publication Date
JPS60220442A true JPS60220442A (en) 1985-11-05

Family

ID=13623691

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7707684A Pending JPS60220442A (en) 1984-04-16 1984-04-16 Memory access system

Country Status (1)

Country Link
JP (1) JPS60220442A (en)

Similar Documents

Publication Publication Date Title
KR870011524A (en) Stack Frame Cache on Microprocessor Chips
KR920004962A (en) Virtual long command memory device for digital signal processing device and method of generating the command
KR940004435A (en) Smart video memory for processing graphics / video and its processing method
KR910005154A (en) Pipelined Write Buffer Registers
KR960035270A (en) A memory controller for executing a read and write command in a non-sequential order
JPH09167495A (en) Data storage unit and data storage device using the same
JPS59188764A (en) Memory device
JPS60220442A (en) Memory access system
JPS586570A (en) Buffer memory device
JPS62276643A (en) Memory control system
KR920003845B1 (en) Rom region expansion system for users of pc
JP2507399B2 (en) Database equipment
JPH02100154A (en) Address converter for virtual storage
JPS62120554A (en) Input and output access processing system
JPH03118648A (en) Effective application method of memory area for cpu control
JPH0540685A (en) Address decoder
JPH0368046A (en) Memory access system
JPH0384646A (en) Data storage circuit
JPH01311342A (en) Memory system
JPH03211641A (en) Address designation method for memory device
JPS62117045A (en) Address designation control system
JPH01171189A (en) Semiconductor storage device
JPS60214040A (en) Data processor
JPH01290052A (en) Cache memory
JPH0293841A (en) Memory control system