JPS5897755A - Information processor - Google Patents

Information processor

Info

Publication number
JPS5897755A
JPS5897755A JP56196481A JP19648181A JPS5897755A JP S5897755 A JPS5897755 A JP S5897755A JP 56196481 A JP56196481 A JP 56196481A JP 19648181 A JP19648181 A JP 19648181A JP S5897755 A JPS5897755 A JP S5897755A
Authority
JP
Japan
Prior art keywords
memory
address
counter
data
internal 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
JP56196481A
Other languages
Japanese (ja)
Inventor
Soichi Suzuki
鈴木 宗一
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
Nippon 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP56196481A priority Critical patent/JPS5897755A/en
Publication of JPS5897755A publication Critical patent/JPS5897755A/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/0215Addressing or allocation; Relocation with look ahead addressing means

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)
  • Microcomputers (AREA)

Abstract

PURPOSE:To increase the transfer speed of data between an external and internal memories and to increases a processing speed, by designating the address of a memory by means of the 1st and 2nd address designating means with respective different timings. CONSTITUTION:The 2nd address counter 20 that can designate the address of an internal memory 13 is provided in addition to the 1st address counter 15 which can designate the address of the memory 13. The counter control signal 21 which indicates the working of the counter 20 is supplied from a memory control circuit 22 which is provided outside a single chip microcomputer 12. The circuit 22 also controls an external memory 23. Then the counters 15 and 20 give the accesses to the memory 13 with respective different timings. As a result, a double transfer of data is possible between the memories 23 and 13. This simplifies the transfer of data with a high speed.

Description

【発明の詳細な説明】 本発明は命令を解読して、その結果に基いてプログラム
を処理するCPU機能を有する情報処理装置に関し、特
に外部メモリ尋の外部機器との間でのデータ転送を可能
とする情報処理装置に関するものでわる。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an information processing device having a CPU function that decodes instructions and processes programs based on the results, and in particular, enables data transfer between an external memory and an external device. It concerns information processing equipment.

上記装置は装置内部に有するメモリを用いてデータ処理
を実行する能力をもりている。このメモリはプログラム
(命令)を有するプログラムメモリ(ROM)とデータ
を有するデータメモリ(RAM)とから成りておシ、一
般に単一チップ上に集積化されり単一チツブマイクロコ
ンビ;−夕において代表される。
The above-mentioned device has the ability to perform data processing using the memory contained within the device. This memory consists of a program memory (ROM) containing the program (instructions) and a data memory (RAM) containing the data, and is generally integrated on a single chip; Represented.

従来この柚の単一チップマイクロコンピュータは以下に
述べるような構成をしていた。即ち、第1図に示すよう
に単一チップマイクロコンビエータ1は、プログラムお
よびデータを格納すみ内部メモリ2を有している。内部
メモリ2のアドレス指定は、命令用メモリ部のアドレス
を指定するIプ四グラムカウンタ3と、データ用メモリ
部のアドレスを指定するアドレスカウンタ4によって行
表われる。しかし、このマイクロコンピュータ1は単一
チップ上に集積化して作り込まれる関係上、内部メモリ
2の容量が固定されておシ、メモリ容量を拡張でI−j
Thいという欠点が1h−)た。これに対して、第2図
に示す単一チップマイク冒コンビエータ5のように、外
部メモリ6を外付けできるように構成して、その外部メ
モリ6のアクセス機能を持せて、内部メモリ7の容量が
不足するときでもメモリを拡張できるように改良された
ものもある。外部メモリ6および内部メモリ7のアドレ
ス指定は、前記第1図の場合と同様に単一チップマイク
ロコンビエータ内部のプログラムカウンタ8およびアド
レスカウンター9によって行なわれる。
Conventionally, Yuzu's single-chip microcomputer had the following configuration. That is, as shown in FIG. 1, a single-chip microcomviator 1 has an internal memory 2 in which programs and data are stored. Addressing of the internal memory 2 is performed by an IP quadrature counter 3 which specifies the address of the instruction memory section and an address counter 4 which specifies the address of the data memory section. However, since this microcomputer 1 is integrated on a single chip, the capacity of the internal memory 2 is fixed, and the memory capacity can be expanded by I-j.
The drawback was that it was thin. On the other hand, like the single-chip microphone converter 5 shown in FIG. Some have been improved to allow you to expand your memory even when you run out of space. Addressing of the external memory 6 and the internal memory 7 is carried out by a program counter 8 and an address counter 9 within the single-chip microcombinator as in the case of FIG. 1 above.

しかし、外部メモリ6をアクセスする場合、アドレス信
号に対しては制御回路10Xまたデータに対しては制御
回路11からなるタイミング制御機構が介在し、かつチ
ップ外にあるための負荷の重さなどに起因して、メモリ
アクセス時間は、内部メモリ7をアクセスするよシもか
なシ長い時間が必要であるという欠点があった。
However, when accessing the external memory 6, a timing control mechanism consisting of a control circuit 10X for address signals and a control circuit 11 for data is involved, and because it is located outside the chip, the load is heavy. As a result, the memory access time is disadvantageous in that it takes a long time to access the internal memory 7.

又、装置内部で使用するためのデータを読み出し九ム書
き込んだシするための内部メモリアドレス指定と、装置
外部からのデータを内部メモリに書き込んだシ、あるい
祉そこがらのデータを外部へ出力するための内部メモリ
アドレス指定とは同一のカウンタ(もしくはレジスタで
もよい)で必要で、しかもこのための手続制御が複雑で
かつ手続時間も長かった。%に、アドレス指定用カウン
タの制御は内部メ干りから読み出される命令に基いて行
なわれるように設計されているため、l命令実行期間内
で外部メモリと内部メモリとのデータ転送を重複して実
行させることはできなかった。即ち、外部メモリと内部
メモリとのデータ転送には別の専用のデータ転送命令実
行期間が必要でありた。
In addition, you can specify internal memory addresses to read and write data for use inside the device, write data from outside the device to internal memory, and output other data to the outside. The same counter (or register may be used) is required to specify the internal memory address for this purpose, and the procedure control for this is complicated and takes a long time. %, since the addressing counter is designed to be controlled based on instructions read from the internal memory, data transfers between external memory and internal memory may not be duplicated within an instruction execution period. I couldn't get it to run. That is, data transfer between the external memory and the internal memory requires a separate dedicated data transfer command execution period.

本発明の目的は外部メモリと内部メモリとのデータ転送
を高速て実行することにょシ、処理速度を落とすことな
しにプログラムを実行する情報島履装置を提供すること
である。
SUMMARY OF THE INVENTION An object of the present invention is to provide an information island device that can transfer data between an external memory and an internal memory at high speed and execute programs without reducing processing speed.

本発明は情報の読み出しおよび書き込みが可能なメモリ
と、誼メモリのアドレスを指定する第1および第2のア
ドレス指定手段とを有し、前記第1および畠2のアドレ
ス指定手段は夫々異なるタイミングで前記メモリのアド
レス指定を行なうよう帆なされたことを特徴とする。
The present invention has a memory capable of reading and writing information, and first and second addressing means for specifying addresses of the memory, and the first and second addressing means are arranged at different timings. The memory is characterized in that it is adapted to address the memory.

本発明によればメモリに対するアドレス指定手段を独立
して複数個有しているので、−命令実行期間内に多くの
メモリアクセスが可能となシ、その分高速処理ができる
。又、各アドレス指定手段に要求されるアドレス内容変
更手続処理が緩和されるため、そのための制御が極めて
簡単になる。
According to the present invention, since a plurality of independent memory addressing means are provided, a large number of memory accesses can be made within an instruction execution period, and accordingly high-speed processing can be achieved. Further, since the address content change procedure processing required of each address specifying means is relaxed, the control thereof becomes extremely simple.

次に図面を用いて本発明の一実施例について説明する。Next, one embodiment of the present invention will be described using the drawings.

第3図はそのブロック図である。単一チップマイクロコ
ンビエータ12は、内部メモリ13、プログラムカウン
タ14、第1アドレスカウンタ15を有し、これ等の動
作および機能は第1図、W、2図で示した従来技術と同
じでよい。即ち、プログラムメモリ(ROM)指定用の
プログラムカウンタ14およびデータメモリ(RAM)
指定用のW、1アドレスカウンタ15のカウント動作(
カウンタ内容を増減する動作)は、ROM中の命令の実
行によって決定される。具体的には、内部メモリ13内
に蓄積されている命令に基づく処理を実行することによ
り、即ち、プログラムカウンタ14でアドレス指定され
た命令が、命令レジスタ16に読み出され、その命令を
命令デコーダ17が解釈することによってプログラムカ
ウンタ14および$1アドレスカウンタ15のカウンタ
動作を指示するカウント制御信号18.19が出力され
る。
FIG. 3 is a block diagram thereof. The single-chip microcombinator 12 has an internal memory 13, a program counter 14, and a first address counter 15, the operation and function of which may be the same as the prior art shown in FIGS. . That is, a program counter 14 for specifying program memory (ROM) and data memory (RAM).
W for designation, 1 count operation of address counter 15 (
The operations (increasing or decreasing the contents of the counter) are determined by the execution of instructions in the ROM. Specifically, by executing processing based on the instructions stored in the internal memory 13, that is, the instruction addressed by the program counter 14 is read into the instruction register 16, and the instruction is sent to the instruction decoder. 17 outputs count control signals 18 and 19 that instruct the counter operations of program counter 14 and $1 address counter 15.

本実施例ではこの第1アドレスカウンタによる内部メモ
リ13のアドレス指定に加えて、同様に内部メモリ13
のアドレス指定ができる#J2アドレスカウンタ20を
設けている。銀2アドレスカウンタ20のカウント動作
を指示するカウント制御信号21は、単一チップマイク
ロコンビエータ12の外部にあるメモリ制御1回路22
よシ供給される。同時にメモリ制御回1622は外部メ
モリ23の制御も行なう。プログラムカウンタ14、第
1アドレスカウンタ15および纂2アドレスカウンタ2
1は、同時に内部メモリ13をアクセスすることはでき
ない。銀5図に示すように、1命令実行時間内を時分割
して使用するようにする。
In this embodiment, in addition to specifying the address of the internal memory 13 using this first address counter, the internal memory 13 is also specified by the first address counter.
A #J2 address counter 20 is provided which can specify an address. A count control signal 21 that instructs the counting operation of the silver 2 address counter 20 is sent to a memory control 1 circuit 22 external to the single-chip microcombinator 12.
Well supplied. At the same time, the memory control circuit 1622 also controls the external memory 23. Program counter 14, first address counter 15 and second address counter 2
1 cannot access the internal memory 13 at the same time. As shown in Figure 5, the execution time of one instruction is time-divided for use.

即ち、1命令実行時間が例えI/iT+、Tt、Tl、
T4の4タイミングからなるとすればプログラムカウン
タ14には波形24で示すTIで、第1アドレスカウン
タ15には波形25で示すT、で、第2アドレスカウン
タ20には波形26ですT4で、それぞれ内部メモリ1
3をアクセスするようにする。この結果、プログラムカ
ウンタ14と第1アドレスカウンタ15とを使用する1
つの命令の実行期間中に、メモリ制御回路22によって
指定される外部メモリ23と182アドレスカウンタ2
0でアドレス指定される内部メモリ13との間でデータ
転送を1復して行なうことができる。
That is, the execution time of one instruction is, for example, I/iT+, Tt, Tl,
If there are four timings T4, the program counter 14 has TI shown by waveform 24, the first address counter 15 has T shown by waveform 25, and the second address counter 20 has waveform 26. memory 1
3 to be accessed. As a result, one using the program counter 14 and the first address counter 15
During the execution period of one instruction, the external memory 23 and 182 address counter 2 specified by the memory control circuit 22
Data transfer can be performed once and again with the internal memory 13 addressed by 0.

以上のことから明らかなように、内部メモリ13と外部
メモリ23とのデータ転送が鳥速でかつ簡単に実行でき
るのでメモリ容量を外部で拡張することができる。しか
もプログラム実行は常に内部メモリ13のみを対象とし
て−ので、外部メモリをアクセスすることによる実行速
直の低下は生じない。又、m2アドレスカウンタの制御
を内部制御信号のみで行なってもよいが、実施例のよう
に外部からの制御信号と内部クロック信号との2つを用
いることによって行なうようにすれば、外部装置との同
期ずれも生じない。
As is clear from the above, data transfer between the internal memory 13 and the external memory 23 can be performed quickly and easily, so that the memory capacity can be expanded externally. Furthermore, since the program is always executed only on the internal memory 13, there is no reduction in execution speed due to accessing the external memory. Furthermore, although the m2 address counter may be controlled using only internal control signals, if it is controlled using two, an external control signal and an internal clock signal, as in the embodiment, it is possible to control the m2 address counter using only an internal control signal. There is no synchronization error.

陶、本発明は単一チップマイクロコンビエータにのみ限
定されることはなく、通常のマイクロプロセッサやマル
チプロセッサシステムに用いても有用である。
However, the present invention is not limited to single-chip microcombinators, but is also useful in conventional microprocessors and multiprocessor systems.

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

第1図および第2図は夫々従来の単一チップマイクロコ
ンビエータの要部ブロック図、蕗3図紘本発明の一実施
例を示す単一チップマイクロコンヒーータの要部ブロッ
ク図、第4図は第3区で示される実施例における動作タ
イミングを示すタイミング図である。 1・・・・・・単一チップマイクロコンピュータ、2・
・・・・・内部メモリ、3・・・・・・プログラムカウ
ンタ、4・・・・・・アドレスカウンタ、5・・・・・
・単一チックマイクロコンビエータ、6・・・・・・外
部メモリ、7・・・・・・内部メモリ、8・・・・・・
プログ2ムカウンタ、9・・・・・・アドレスカウンタ
、10・・・・・・111JI41回路、11・・・・
・・制御iII勘路、12・・・・・・単一チップマイ
クロコンピュータ、13・・・・・・内部メモリ、14
・・・・・・プログラムカウンタ、15・・・・・・、
$1!1アドレスカウンタ、16・・・・・・命令レジ
スタ、17・・・・・・命令デコーダ、1B・・・・・
・カウンタ制御信号線、19・・・・・・カウンタ制御
信号線、20・・・・・・tII42アドレスカウンタ
、21・・・・・・カウンタ制御信号線、22・・・・
・・メモリ制御回路、23・・・・・・外部メモリ、2
4125.26・・・・・・波形。
1 and 2 are a block diagram of a main part of a conventional single-chip microconviator, a block diagram of a main part of a single-chip microcombinator showing an embodiment of the present invention, and FIG. FIG. 4 is a timing chart showing the operation timing in the embodiment shown in the third section. 1...Single chip microcomputer, 2.
...Internal memory, 3...Program counter, 4...Address counter, 5...
・Single tick micro combinator, 6...external memory, 7...internal memory, 8...
Program 2m counter, 9...Address counter, 10...111JI41 circuit, 11...
...Control III circuit, 12...Single chip microcomputer, 13...Internal memory, 14
...Program counter, 15...
$1!1 Address counter, 16...Instruction register, 17...Instruction decoder, 1B...
- Counter control signal line, 19... Counter control signal line, 20... tII42 address counter, 21... Counter control signal line, 22...
...Memory control circuit, 23...External memory, 2
4125.26... Waveform.

Claims (1)

【特許請求の範囲】[Claims] 情報の読み出しおよび書き込みが可能なメモリと、該メ
モリのアドレスを指定する第1および第2のアドレス指
定手段とを有し、前記第1および第2のアドレス指定手
段は夫々異なるタイミングで前記メモリのアドレス一定
を行なうようにされていることを%徴とする情報処理装
置。
It has a memory from which information can be read and written, and first and second addressing means for specifying an address of the memory, and the first and second addressing means address the memory at different timings. An information processing device whose characteristic is that the address is fixed.
JP56196481A 1981-12-07 1981-12-07 Information processor Pending JPS5897755A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56196481A JPS5897755A (en) 1981-12-07 1981-12-07 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56196481A JPS5897755A (en) 1981-12-07 1981-12-07 Information processor

Publications (1)

Publication Number Publication Date
JPS5897755A true JPS5897755A (en) 1983-06-10

Family

ID=16358502

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56196481A Pending JPS5897755A (en) 1981-12-07 1981-12-07 Information processor

Country Status (1)

Country Link
JP (1) JPS5897755A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS49130632A (en) * 1973-04-13 1974-12-14
JPS50116143A (en) * 1974-02-26 1975-09-11
JPS5317046A (en) * 1976-07-30 1978-02-16 Casio Comput Co Ltd Program writing system
JPS5563454A (en) * 1978-11-04 1980-05-13 Sanyo Electric Co Ltd Memory system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS49130632A (en) * 1973-04-13 1974-12-14
JPS50116143A (en) * 1974-02-26 1975-09-11
JPS5317046A (en) * 1976-07-30 1978-02-16 Casio Comput Co Ltd Program writing system
JPS5563454A (en) * 1978-11-04 1980-05-13 Sanyo Electric Co Ltd Memory system

Similar Documents

Publication Publication Date Title
JPS61118850A (en) Microprocessor
JPS5897755A (en) Information processor
JPH0330917Y2 (en)
JPH06342397A (en) Circuit device for mapping of logical address space
JPS59197946A (en) Memory device
JPS6113628B2 (en)
JP2581144B2 (en) Bus control device
JPS63237143A (en) Programmable controller
JPH01169564A (en) Inter-processor synchronizing system
JPH0310977B2 (en)
JPH04305783A (en) Microcomputer
JPS63104156A (en) Information processor
JPS61161560A (en) Memory device
JPS62121556A (en) Information processor contained in trace memory
JPS6215645A (en) Central processing unit
JPS6229813B2 (en)
JPS63177236A (en) Dual memory access circuit
JPH01102664A (en) Initial program loading system
JPH0264828A (en) Address trace circuit
JPS63733A (en) Program execution processing system
JPS63188233A (en) Central processing unit
JPS63217461A (en) Digital signal processor
JPH0340075A (en) Microcomputer
JPS6134662A (en) Microcomputer application apparatus
JPS5815203U (en) programmable controller