JPS63104156A - Information processor - Google Patents

Information processor

Info

Publication number
JPS63104156A
JPS63104156A JP25104586A JP25104586A JPS63104156A JP S63104156 A JPS63104156 A JP S63104156A JP 25104586 A JP25104586 A JP 25104586A JP 25104586 A JP25104586 A JP 25104586A JP S63104156 A JPS63104156 A JP S63104156A
Authority
JP
Japan
Prior art keywords
operand
cpu
read
signal
memory
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
JP25104586A
Other languages
Japanese (ja)
Inventor
Iwao Negishi
根岸 巌
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 JP25104586A priority Critical patent/JPS63104156A/en
Publication of JPS63104156A publication Critical patent/JPS63104156A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily extend a data area and a stack area by using an address generating circuit to produce address signals in response to an operand read signal, an operand write signal and a stack read signal respectively. CONSTITUTION:A CPU 1 writes 'O' to the operand read signal register of a register file 200 by means of an input/output instruction. Then the CPU 1 executes an operand reading job and selects an operand read address signal out of a multiplexer 300 via a control signal line 100. In this case, a basic memory 2 is selected since the operand read address signal is kept at 'O' and the read data received from the memory 2 is read into the CPU 1. The CPU 1 executes an operand writing job by the next instruction and selects an operand write address signal. Then the operand data is written to an additional memory 3 from CPU 1. In such a way, the operand data are written to the memory 2 from the memory 3.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は情報処理装置に関し、特にcpuを用いたアド
レス拡張を行う情報処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an information processing device, and particularly to an information processing device that performs address extension using a CPU.

〔従来の技術〕[Conventional technology]

従来、この種の情報処理装置は、アドレス上位ビットを
用いてアドレス信号を拡張する方式(以下、バンク切換
方式という〉でアドレスを拡張しCPUのアドレス能力
を超えるメモリをアクセスしていた。
Conventionally, this type of information processing apparatus has accessed memory that exceeds the address capability of the CPU by extending the address by a method (hereinafter referred to as bank switching method) of extending the address signal using the upper bits of the address.

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

上述した従来の情報処理装置は、バンク切換え方式を用
いた場き、メモリ領域の一部が重複したアドレスに割当
られ、バンクの指定により重複したメモリ領域のうちの
1領域を選択する方法を取っているので、メモリが連続
した領域に割当られないなめ、周辺装置側から見たアド
レスとCP U側から見たアドレスとが異なり、プログ
ラムの作成の際常にこのアドレスの相違を考慮しなけれ
ばならないという欠点がある。
In the conventional information processing device described above, when using the bank switching method, a part of the memory area is allocated to overlapping addresses, and one area of the overlapping memory area is selected by specifying the bank. Because the memory is not allocated to a contiguous area, the addresses seen from the peripheral device side and the addresses seen from the CPU side are different, and this difference in addresses must always be taken into account when creating a program. There is a drawback.

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

本発明の情報処理装置は、CPUと、該cpuでアドレ
ス指定が可能な基本メモリと、前記CPUの持つアドレ
ス能力を超えたアドレス指定が可能な付加メモリと、前
記CPUの命令実行時に前記CPUのオペランドリード
信号とオペランドライト信号とスタックライト信号とス
タックリード信号に応じてアドレス信号を生成するアド
レス生成回路とを含んで構成される。
The information processing device of the present invention includes a CPU, a basic memory that can be addressed by the CPU, an additional memory that can be addressed beyond the addressability of the CPU, and a The address generating circuit includes an operand read signal, an operand write signal, a stack write signal, and an address generation circuit that generates an address signal according to the stack read signal.

〔実施例〕〔Example〕

次に、本発明について図面を!照して説明する。 Next, let's look at the drawings of the present invention! I will refer to and explain.

第1−図は本発明の一実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

第1図において、1はCPU、2はCPU1でアドレス
指定可能な基本メモリ、3はCPU1の持つアドレス能
力を超えたアドレス指定が可能な付加メモリ、4はアド
レス信号を生成するアドレス生成回路、5は周辺装置、
10はデータ信号線、20はアドレス信号線、30は付
加メモリを指定するアドレス信号線、100はオペラン
ドリード。
In FIG. 1, 1 is a CPU, 2 is a basic memory that can be addressed by the CPU 1, 3 is an additional memory that can be addressed beyond the address capability of the CPU 1, 4 is an address generation circuit that generates an address signal, and 5 is a peripheral device,
10 is a data signal line, 20 is an address signal line, 30 is an address signal line specifying additional memory, and 100 is an operand read.

オペランドライト、スタックリード又はスタックライト
を実行しているがを表示する制御信号線である。
This is a control signal line that indicates whether an operand write, stack read, or stack write is being executed.

第2図は第1図のアドレス生成回路の詳細ブロック図で
ある。
FIG. 2 is a detailed block diagram of the address generation circuit of FIG. 1.

第2図において、200は付加メモリ3を指定するアド
レス信号を含むレジスタファイル、300はアドレス信
号を選択するマルチプレクサ、51〜53はそれぞれオ
ペランドリード時、オペランドライト時、スタックリー
ド時、スタックライト時の付加アドレス信号を示す。
In FIG. 2, 200 is a register file containing address signals that specify the additional memory 3, 300 is a multiplexer that selects address signals, and 51 to 53 are used during operand read, operand write, stack read, and stack write, respectively. Indicates an additional address signal.

次に、本発明の動作の基本メモリ2からオペランドデー
タを転送する動作について説明する。
Next, the operation of transferring operand data from the basic memory 2 of the operation of the present invention will be explained.

まず、CPUIから入出力命令を用いてレジスタファイ
ル200のオペランドリード信号用レジスタに“0”を
書込み、オペランドライト信号用レジスタに付加メモリ
3をアドレスする上位アドレス信号を書込む。
First, "0" is written into the operand read signal register of the register file 200 using an input/output command from the CPU, and an upper address signal for addressing the additional memory 3 is written into the operand write signal register.

次の命令でCPU1がオペランドリードを実行すると、
CPU1は制御信号線100を介してマルチプレクサ3
00からオペランドリードアドレス信号を選択する。こ
の時、オペランドリードアドレス信号は“0”なので、
基本メモリ2が選択され、基本メモリ2からの読出しデ
ータがCPU1に読込まれる。
When CPU1 executes operand read with the next instruction,
The CPU 1 is connected to the multiplexer 3 via the control signal line 100.
Select the operand read address signal from 00. At this time, the operand read address signal is “0”, so
Basic memory 2 is selected, and read data from basic memory 2 is read into CPU 1.

次の命令でCPUIがオペランドライトを実行すると、
CPU1は制御信号線100を介してマルチプレクサ3
00からオペランドライトアドレス信号を選択する。こ
の時、オペランドライトアドレス信号は上位アドレスを
含んでいるので付加メモリ3が選択され、CPU1から
付加メモリ3にオペランドデータが書込まれる。
When the CPUI executes an operand write with the following instruction,
The CPU 1 is connected to the multiplexer 3 via the control signal line 100.
Select the operand write address signal from 00. At this time, since the operand write address signal includes the upper address, the additional memory 3 is selected, and the operand data is written from the CPU 1 to the additional memory 3.

同様にして、レジスタファイル200にオペランドデー
タを再セットすることにより、付加メモ1、J3から読
出し基本メモリ2に書込む等の処理が行われる。
Similarly, by resetting the operand data in the register file 200, processing such as reading from the additional memo 1 and J3 and writing to the basic memory 2 is performed.

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

以上説明したように本発明は、オペランドリード信号、
オペランドライト信号、スタックライト信号、スタック
リード信号に応じてアドレス信号を生成するアドレス生
成回路を設けることにより、簡単にデータ領域及びスタ
ック領域の拡張ができるという効果がある。なお、本発
明で拡張したメモリ領域には命令は走行できないが、画
像処理のようにデータ又はスタック領域のみを主として
用いるシステムにおいては実用上の支障が発生せず、プ
ログラムの作成が容易になりかつハードウェアが簡単に
できるという効果がある。
As explained above, the present invention provides an operand read signal,
By providing an address generation circuit that generates address signals in response to operand write signals, stack write signals, and stack read signals, there is an effect that the data area and stack area can be easily expanded. Note that although instructions cannot be run in the memory area expanded by the present invention, in systems that mainly use only data or stack areas, such as image processing, this does not cause any practical problems and makes it easier to create programs. This has the effect of making the hardware easier.

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

第1図は本発明の一実施例のブロック図、第2図は第1
図のアドレス生成回路の詳細ブロック図である。 1・・・CPU、2・・・基本メモリ、3・・・付加メ
モリ、4・・・アドレス生成回路、5・・・周辺装置、
10・・・データ信号線、20.30・・・アドレス信
号線、51〜53・・・付加アドレス信号、100・・
・制御信号線、200・・・レジスタファイル、300
・・・マルチプレクサ。
FIG. 1 is a block diagram of one embodiment of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention.
FIG. 3 is a detailed block diagram of the address generation circuit shown in the figure. 1... CPU, 2... Basic memory, 3... Additional memory, 4... Address generation circuit, 5... Peripheral device,
10...Data signal line, 20.30...Address signal line, 51-53...Additional address signal, 100...
・Control signal line, 200...Register file, 300
...Multiplexer.

Claims (1)

【特許請求の範囲】[Claims] CPUと、該CPUでアドレス指定が可能な基本メモリ
と、前記CPUの持つアドレス能力を超えたアドレス指
定が可能な付加メモリと、前記CPUの命令実行時に前
記CPUのオペランドリード信号とオペランドライト信
号とスタックライト信号とスタックリード信号に応じて
アドレス信号を生成するアドレス生成回路とを含むこと
を特徴とする情報処理装置。
A CPU, a basic memory that can be addressed by the CPU, an additional memory that can be addressed beyond the addressability of the CPU, and an operand read signal and an operand write signal of the CPU when an instruction of the CPU is executed. An information processing device comprising: an address generation circuit that generates an address signal according to a stack write signal and a stack read signal.
JP25104586A 1986-10-21 1986-10-21 Information processor Pending JPS63104156A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25104586A JPS63104156A (en) 1986-10-21 1986-10-21 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25104586A JPS63104156A (en) 1986-10-21 1986-10-21 Information processor

Publications (1)

Publication Number Publication Date
JPS63104156A true JPS63104156A (en) 1988-05-09

Family

ID=17216792

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25104586A Pending JPS63104156A (en) 1986-10-21 1986-10-21 Information processor

Country Status (1)

Country Link
JP (1) JPS63104156A (en)

Similar Documents

Publication Publication Date Title
JPS6113629B2 (en)
JPH01169557A (en) Storage control system for computer
US4814977A (en) Apparatus and method for direct memory to peripheral and peripheral to memory data transfers
JPS63104156A (en) Information processor
JPS62168497A (en) Data base processing system for exchange-processing program
JPH0754544B2 (en) Image memory access circuit
JPS58213371A (en) Data processing system
JPS60193046A (en) Detecting system for instruction exception
JPH04305783A (en) Microcomputer
JPS61128287A (en) Character display control system
JPS6031646A (en) Data processor
JPH0573240B2 (en)
JPS5954091A (en) Electronic computer
JPH0550013B2 (en)
JPS60196858A (en) Input processor of data with label
JPS6266333A (en) Indirect address register control system
JPH01219930A (en) Interrupt control circuit device for indirect address system
JPS6170651A (en) Movement system of data array
JPS623294A (en) Bit map mover
JPS6121541A (en) Storage circuit
JPH06103154A (en) Shared memory controller
JPS62151953A (en) Memory device
JPS6222165A (en) Control system for access to main storage device
JPH0481934A (en) Information processor
JPS62130438A (en) Memory access system