JPH02100149A - Microcomputer - Google Patents
MicrocomputerInfo
- Publication number
- JPH02100149A JPH02100149A JP25351688A JP25351688A JPH02100149A JP H02100149 A JPH02100149 A JP H02100149A JP 25351688 A JP25351688 A JP 25351688A JP 25351688 A JP25351688 A JP 25351688A JP H02100149 A JPH02100149 A JP H02100149A
- Authority
- JP
- Japan
- Prior art keywords
- address
- memory
- program
- transfers
- data
- 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
- 230000015654 memory Effects 0.000 claims abstract description 46
- 230000006870 function Effects 0.000 claims abstract description 5
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、マイクロコンピュータに関し、特に大量のメ
モリを持ち、頻繁にメモリのアクセスをくり返す機能を
持たせるメモリアドレス回路に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a microcomputer, and more particularly to a memory address circuit that has a large amount of memory and has the function of frequently repeating memory access.
従来、この種のマイクロコンピュータは、メモリをアク
セスする際各モメリのアドレスを1つ1つ指定していた
。Conventionally, this type of microcomputer has specified each memory address one by one when accessing the memory.
特に4ビツトマイクpコンピユータを用い、下位アドレ
スから上位アドレスに向って連続的にメモリをアクセス
する場合メモリのアドレスを4ビツトずつインクリメン
ト(+1加算)シ、また、メモリ9アドレスが4ビツト
を越えている場合は、下位の4ビツトをインクリメント
し、かつケタ上りがあるかどうか判断して、次に上位の
4ビツトをインクリメントし、ケタ上りがあるかどうか
判断し次にさらに上位の4ビツトをインクリメントする
というように4ビツトずつインクリメントを繰り返して
、メモリアドレスを演算していた。In particular, when using a 4-bit microphone computer and accessing memory continuously from the lower address to the upper address, the memory address is incremented by 4 bits (+1 addition), and the memory 9 address exceeds 4 bits. If so, increment the lower 4 bits, determine whether there is an up digit, then increment the upper 4 bits, determine whether there is an up digit, and then increment the upper 4 bits. The memory address was calculated by repeating increments of 4 bits at a time.
上述した従来のメモリアドレス手段は、大量のメモリを
持ち頻繁にアクセスするにはそのアドレス演算にプログ
ラムステップ数がかかりまたプログラム作成もしにくい
という欠点がある。The above-mentioned conventional memory address means has a drawback that if it has a large amount of memory and is accessed frequently, the address calculation requires a number of program steps and is difficult to program.
マイクロプロセッサ手段によりアクセスされるメモリ手
段と、前記マイクロプロセッサ手段によりアクセスされ
る前記メモリ手段をアドレスするアドレス手段とをそな
え、前記アドレス手段は、前記マイクロプロセッサ手段
が前記メモリ手段をアクセスすると前記メモリ手段のア
ドレスをインクリメントする機能を有している。memory means accessed by the microprocessor means; and addressing means for addressing the memory means accessed by the microprocessor means; It has a function to increment the address of .
このように、本発明ではメモリをアクセス(読み出しま
たは書き込み)すると、自動的にインクリメントするア
ドレス用ハードを持をっため、プログラムで複雑なイン
クリメント操作をしなくて済むことになり、プログラム
のステップ数を減らしプログラムを作りやすくできる。In this way, the present invention has address hardware that automatically increments when memory is accessed (read or written), so the program does not need to perform complex increment operations, and the number of steps in the program can be reduced. This makes it easier to create programs.
次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.
マイクロプロセッサ1はまずメモリ2をアドレスするア
ドレス手段3にメモリ2のアドレスを転送し、次にメそ
す2ヘデータを転送する。アドレス手段3によって指定
されたメモリ2のアドレスにプロセッサ1からのデータ
が書き込まれる。この動作の後アドレス手段3はメモリ
2のアドレスをインクリメントする。The microprocessor 1 first transfers the address of the memory 2 to the address means 3 for addressing the memory 2, and then transfers the data to the memory 2. Data from the processor 1 is written to the address of the memory 2 specified by the address means 3. After this operation, the address means 3 increments the address of the memory 2.
再ヒ、マイクロプロセッサ1がメモリ2ヘテータを転送
すると、この時メモリ2のアドレスは前回より1アドレ
ス分インクリメントされている。Again, when microprocessor 1 transfers the memory 2 hetator, the address of memory 2 is incremented by one address from the previous time.
これらの動作を繰り返してメモリ2をアクセスすればメ
モリ2のアドレスを意識せずプログラムを作成できる。By repeating these operations and accessing the memory 2, a program can be created without being aware of the address of the memory 2.
逆にメモリ2よりデータを転送する場合も同様のアドレ
ス動作をさせることができる。Conversely, when data is transferred from the memory 2, a similar address operation can be performed.
(第2図参照)。(See Figure 2).
アドレス回路3は、第2図にその一構成例を示すように
、アドレスラッチ3−1とインクリメンタ3−2を有す
る。アドレスラッチ3−1にはプロセッサ1からデータ
バス4を介してスタートアドレスがラッチされる。ラッ
チ3〜1の出力は、プロセッサ1からメモリアクセス要
求信号5がくるたびにインクリメンタ3−2でインクリ
メントされ、ラッチ3−1に転送される。The address circuit 3 has an address latch 3-1 and an incrementer 3-2, as an example of its configuration is shown in FIG. A start address is latched into the address latch 3-1 from the processor 1 via the data bus 4. The outputs of latches 3-1 are incremented by incrementer 3-2 every time memory access request signal 5 is received from processor 1, and transferred to latch 3-1.
第3図にアドレス回路3の他の構成を示す。FIG. 3 shows another configuration of the address circuit 3.
ラッチ3−1はスタートアドレスとも言うべきアドレス
をラッチし、ラッチ3−・3はストップアドレスとも言
うべきアドレスをラッチする。これら2つのアドレスは
ブイクロプロセッサ手段1でデータバス4を介して設定
できる。そして、ラッチ3−1のスタートアドレスから
メモリ2をアクセスしてデータを転送して行き、スター
トアドレスが順次インクリメンタ3−2でインクリメン
トされ最初に設定したラッチ3−3のストップアドレス
に達すると、一致検出回路3−4がマイクロフロセッサ
手段1に割り込みをかける。この構成によって、ある意
味のあるデータをスタート7Fレスからストップアドレ
スの間に転送することができ、プログラムの作成がさら
に容易になる。The latch 3-1 latches an address that can also be called a start address, and the latches 3-.3 latch an address that can also be called a stop address. These two addresses can be set by the microprocessor means 1 via the data bus 4. Then, data is transferred by accessing the memory 2 from the start address of the latch 3-1, and when the start address is sequentially incremented by the incrementer 3-2 and reaches the initially set stop address of the latch 3-3, The coincidence detection circuit 3-4 interrupts the microprocessor means 1. With this configuration, meaningful data can be transferred between the start 7F address and the stop address, making it easier to create a program.
以上説明したように本発明は、大量のメモリを持ったマ
イクロコンピュータで、メモリ専用のアドレス回路を追
加し、そのアドレス回路にインクリメント機能を付加す
ることにより、たとえば、外部の非同期信号を読みとり
メモリに蓄える場合、まずメモリのアドレスをセットし
、次に外部信号を読み取り、かつ、その外部信号をメモ
リに蓄える操作を実施するフローを考えると、メモリの
アドレスのセットを、プログラムしなくてすむのでプロ
グラムステップ数を減らしく最大2/3になる)または
、このため外部信号を高速で読み取ることができる効果
がある。As explained above, the present invention is a microcomputer with a large amount of memory, and by adding an address circuit dedicated to the memory and adding an increment function to the address circuit, for example, an external asynchronous signal can be read and stored in the memory. When storing, if we consider the flow of first setting the memory address, then reading the external signal, and storing the external signal in memory, there is no need to program the memory address set. (The number of steps can be reduced to a maximum of 2/3) or this has the effect of allowing external signals to be read at high speed.
第1図は本発明の一実施例を示すブロック図、第2図、
第3図はそれぞれアドレス手段の構成例を示すブロック
図である。
1・・・・・・マイクロプロセッサ手段、2・・・・・
・メモリ手段、3・・・・・・アドレス手段。
代理人 弁理士 内 原 晋FIG. 1 is a block diagram showing an embodiment of the present invention, FIG.
FIG. 3 is a block diagram showing an example of the configuration of each address means. 1...Microprocessor means, 2...
・Memory means, 3...Address means. Agent Patent Attorney Susumu Uchihara
Claims (1)
記プロセッサ手段によりアクセスされる前記メモリ手段
をアドレスするアドレス手段とをそなえ、前記アドレス
手段は、前記プロセッサ手段が前記メモリ手段をアクセ
スすると前記メモリ手段のアドレスをインクリメントす
る機能をそなえたことを特徴とするマイクロコンピュー
タ。memory means accessed by the processor means; and address means for addressing the memory means accessed by the processor means; A microcomputer characterized by having an increment function.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP25351688A JPH02100149A (en) | 1988-10-06 | 1988-10-06 | Microcomputer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP25351688A JPH02100149A (en) | 1988-10-06 | 1988-10-06 | Microcomputer |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02100149A true JPH02100149A (en) | 1990-04-12 |
Family
ID=17252456
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP25351688A Pending JPH02100149A (en) | 1988-10-06 | 1988-10-06 | Microcomputer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02100149A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH04134500A (en) * | 1990-09-27 | 1992-05-08 | Nec Corp | voice response device |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5786959A (en) * | 1980-11-19 | 1982-05-31 | Matsushita Electric Ind Co Ltd | Data transfer control system |
| JPS60121582A (en) * | 1983-12-02 | 1985-06-29 | Mitsubishi Electric Corp | Semiconductor information storage device |
-
1988
- 1988-10-06 JP JP25351688A patent/JPH02100149A/en active Pending
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5786959A (en) * | 1980-11-19 | 1982-05-31 | Matsushita Electric Ind Co Ltd | Data transfer control system |
| JPS60121582A (en) * | 1983-12-02 | 1985-06-29 | Mitsubishi Electric Corp | Semiconductor information storage device |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH04134500A (en) * | 1990-09-27 | 1992-05-08 | Nec Corp | voice response device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2957177B2 (en) | Micro computer | |
| JPH0724029B2 (en) | Emulation device | |
| US5051890A (en) | Program/data memory employed in microcomputer system | |
| JP2611491B2 (en) | Microprocessor | |
| JPH06274462A (en) | Asynchronous writing system for shared memory | |
| JPS5840772B2 (en) | Data comparison match display method | |
| JP2627370B2 (en) | Development support system | |
| JPH029401Y2 (en) | ||
| JPS647520Y2 (en) | ||
| JPH04134786A (en) | Memory address circuit | |
| JPS63129432A (en) | Program address tracing device | |
| JPH0154729B2 (en) | ||
| JPS6141023B2 (en) | ||
| JPH0470655B2 (en) | ||
| JPS60218146A (en) | Storage device address control system | |
| JPH04245346A (en) | Microcomputer system | |
| JPH06139084A (en) | Information processing equipment | |
| JPH0431939A (en) | external storage device | |
| JPH02189627A (en) | Access circuit for data memory | |
| JPS619733A (en) | Test device | |
| JPH047762A (en) | Memory access method | |
| JPH01175646A (en) | Storage device with history function | |
| JPS62172458A (en) | Output port data setting circuit for microcomputer | |
| JPS61217833A (en) | Arithmetic processor | |
| JPH04112251A (en) | Microcomputer |