JPS6250941A - Micro computer device - Google Patents

Micro computer device

Info

Publication number
JPS6250941A
JPS6250941A JP60189530A JP18953085A JPS6250941A JP S6250941 A JPS6250941 A JP S6250941A JP 60189530 A JP60189530 A JP 60189530A JP 18953085 A JP18953085 A JP 18953085A JP S6250941 A JPS6250941 A JP S6250941A
Authority
JP
Japan
Prior art keywords
instruction
cpu
memory
area
register
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
JP60189530A
Other languages
Japanese (ja)
Inventor
Fusao Otsuka
大塚 房夫
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP60189530A priority Critical patent/JPS6250941A/en
Publication of JPS6250941A publication Critical patent/JPS6250941A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the reliability of a system by using the undefined instruction of a CPU and operating the setting of a register to select the memory area of a limited memory area or above as a pseudo instruction of the CPU. CONSTITUTION:When the instruction is fetched by a CPU, the instruction code is outputted from a memory 1, and the code is inputted to a memory element 4. To the element 4, the information corresponding to the inputted instruction code, consequently, the information to show whether or not the information is the instruction defined by the CPU 2 is outputted. When the information is a defined instruction, a buffer 5 is controlled by a control circuit 7, the instruction code from the memory 1 is transmitted to the CPU 2, in case of the underfined instruction the buffer 5 is controlled by the circuit 7, the NOP instruction code not to give the influence to the CPU 2 is transmitted to the CPU 2 and a register 6 is set corresponding to the pseudo instruction. By the contents of the register 6, another area in the memory capacity of the memory area or above limited by the CPU 2 can be driven.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、マイクロコンビエータに係り1特に8ピツ)
CPUを用いて、大容量のメモリを有するマイクロコン
ピュータ装置に関する。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a micro combinator (1), particularly 8).
The present invention relates to a microcomputer device that uses a CPU and has a large capacity memory.

〔発明の背景〕[Background of the invention]

従来の装置は、メモリの拡張に対して、バンク切替方式
が用いられていたが1基本メモリ領域内の1部領域と同
一のメモリ領域が複数配置され、基本メモリ領域が断片
化され、また、切替に時間を要していた。(「トランジ
スタ技術」1985年1月号第422頁) 〔発明の目的〕 本発明の目的は、簡単な回路構成でCPUの限定された
メモリへのアクセス領域全増大させることにある。
In conventional devices, a bank switching method was used for memory expansion, but multiple memory areas that were the same as a part of one basic memory area were arranged, and the basic memory area was fragmented. It took time to switch. ("Transistor Technology" January 1985 issue, p. 422) [Object of the Invention] An object of the present invention is to increase the total access area of the limited memory of the CPU with a simple circuit configuration.

〔発明の概要〕[Summary of the invention]

バンク切替方式の場合対象メモリ空隙の設定に時間を要
す。そこで、CPUの未定義命令を使用して、限定され
たメモリ領域以上のメモリの領域を選択するためのレジ
スタ設定をCPUの擬似命令として動作させる。
In the case of the bank switching method, it takes time to set the target memory space. Therefore, by using an undefined CPU instruction, register setting for selecting a memory area larger than the limited memory area is operated as a CPU pseudo-instruction.

〔発明の実施例〕[Embodiments of the invention]

以下1本発明の一実施例を図により説明する。 An embodiment of the present invention will be described below with reference to the drawings.

メモリ1は、8ピツ)CPU2の最大メモリ領域64K
Bの整数倍の容量をもつ。デコーダ3は、メモリ1から
フェッチした命令が、擬似命令か否かを判定する記憶素
子4と、記憶素子4の出力により、フェッチした命令コ
ードと擬似命令選択時にCPU2に整置とならないNO
P命令コードのうちの1つを選択しCPU2に送出する
バッファ5と、擬似命令に従ってメモリ1中の該メモリ
エリア?設定するレジスタ6、およびコントロール回路
7より構成される。
Memory 1 is 8 bits) Maximum memory area of CPU 2 is 64K
It has a capacity that is an integral multiple of B. The decoder 3 includes a memory element 4 that determines whether the instruction fetched from the memory 1 is a pseudo-instruction, and an output from the memory element 4 that determines whether or not the instruction fetched from the memory 1 is a pseudo-instruction.
A buffer 5 that selects one of the P instruction codes and sends it to the CPU 2, and a corresponding memory area in the memory 1 according to the pseudo-instruction? It is composed of a register 6 for setting and a control circuit 7.

次に動作について説明する。CPU2が命令を7エツチ
する場合、メモリ7から命令コードが出力され、該命令
コードはバッファ5によりCPU2へ伝達されず、記憶
素子4に入力される。記憶素子4には、入力された命令
コードに対応する情報、すなわちCPU2で足義された
命令か否かを示す情報が出力される。この情報により、
定義命令であれば、コントロール回路7よりバッファ5
を制御し、メモリ1からの命令コードKCPU2へ伝達
する。未定義命令であれば、コントロール回路7より為
バッファ5を制御し、CPU2への影響がないNOP命
令コードをCPU2へ伝達すると同時に、擬似命令に対
応してレジスタ6を設定する。これ以後1゜レジスタ6
の内容によってメモリ1内の別ノ領域がCPUに割当て
られる。以上述べたように、CPU2で定義されていな
い命令フードを、レジスタ6の設定用命令とすることに
より、CPU2で限定されたメモリ領域以上のメモリ容
量を駆動できる。
Next, the operation will be explained. When the CPU 2 etches an instruction, the instruction code is output from the memory 7, and the instruction code is not transmitted to the CPU 2 by the buffer 5, but is input to the storage element 4. Information corresponding to the input instruction code, that is, information indicating whether the instruction has been executed by the CPU 2 is output to the memory element 4 . With this information,
If it is a definition command, the buffer 5 is sent from the control circuit 7.
and transmits the instruction code from memory 1 to KCPU2. If it is an undefined instruction, the control circuit 7 controls the buffer 5, transmits a NOP instruction code that does not affect the CPU 2 to the CPU 2, and at the same time sets the register 6 in accordance with the pseudo instruction. From now on 1° register 6
A different area in the memory 1 is allocated to the CPU depending on the contents of the . As described above, by using an instruction food not defined by the CPU 2 as an instruction for setting the register 6, it is possible to drive a memory capacity larger than the memory area limited by the CPU 2.

尚、上記記憶素子4内の情報は上記情報のみだけでなく
、擬似命令以外の未定義命令コードがCPU2によって
フェ゛ツチされる場合、システムの異常動作として考え
られるため、CPU2へ異常発生を知らせることも可能
である。
Note that the information in the storage element 4 is not only the above information, but if an undefined instruction code other than a pseudo-instruction is fetched by the CPU 2, this is considered to be an abnormal operation of the system, so the CPU 2 is notified of the occurrence of the abnormality. It is also possible.

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

本発明によれば、限定されたメモリ容量をもつCP’U
を有するマイクロコンピュータ装置においてそれ以上の
メモリ領域をオーバーヘッドなくアクセスできる効果、
およびシステムの異常動作を検出できるため、システム
の信頒性向上の効果がある。
According to the invention, a CPU'U with limited memory capacity
The effect of being able to access a larger memory area without overhead in a microcomputer device having
It also has the effect of improving the reliability of the system because it can detect abnormal operations in the system.

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

本発明の一実施例を示すブロック図である。 1・・・メモリ 2・・・CPU 3・・・デコーダ 4・・・記憶素子 5・・・バッファ 6・・・レジスタ 7・・・コントロール回路 FIG. 1 is a block diagram showing an embodiment of the present invention. 1...Memory 2...CPU 3...Decoder 4...Memory element 5...Buffer 6...Register 7...Control circuit

Claims (1)

【特許請求の範囲】 1、中央処理装置が駆動可能な領域以上のメモを有する
マイクロコンピュータ装置において、中央処理装置部に
、命令の定義、未定義を解読するデコード回路を設ける
ことを特徴とするマイクロコンピュータ装置。 2、特許請求範囲第1項記載の、上記デコーダ回路は記
憶素子を有することを特徴とするマイクロコンピュータ
装置。 3、上記メモリは、中央処理装置の最大駆動領域の整数
倍の領域からなり、かつ上記デコーダ回路は、CPUの
最大駆動領域分に分割されたメモリの1つを示す1つ以
上のレジスタを有することを特徴とする特許請求の範囲
第1項記載のマイクロコンピュータ装置。
[Scope of Claims] 1. A microcomputer device having a memo larger than the area that can be driven by the central processing unit, characterized in that the central processing unit section is provided with a decoding circuit for decoding defined and undefined instructions. Microcomputer equipment. 2. A microcomputer device according to claim 1, wherein the decoder circuit has a memory element. 3. The memory has an area that is an integral multiple of the maximum drive area of the central processing unit, and the decoder circuit has one or more registers indicating one of the memories divided into the maximum drive area of the CPU. A microcomputer device according to claim 1, characterized in that:
JP60189530A 1985-08-30 1985-08-30 Micro computer device Pending JPS6250941A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60189530A JPS6250941A (en) 1985-08-30 1985-08-30 Micro computer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60189530A JPS6250941A (en) 1985-08-30 1985-08-30 Micro computer device

Publications (1)

Publication Number Publication Date
JPS6250941A true JPS6250941A (en) 1987-03-05

Family

ID=16242834

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60189530A Pending JPS6250941A (en) 1985-08-30 1985-08-30 Micro computer device

Country Status (1)

Country Link
JP (1) JPS6250941A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000357088A (en) * 1999-05-20 2000-12-26 Samsung Electronics Co Ltd Microprocessor and data processing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000357088A (en) * 1999-05-20 2000-12-26 Samsung Electronics Co Ltd Microprocessor and data processing system

Similar Documents

Publication Publication Date Title
KR930018378A (en) Method and device for performance optimization of cache memory system
US4523277A (en) Priority interrupt system for microcomputer
JPH02156334A (en) Information processor
KR900006853A (en) Microprocessor
US5455918A (en) Data transfer accelerating apparatus and method
JPS6250941A (en) Micro computer device
KR900005284B1 (en) Micro computer
US6795911B1 (en) Computing device having instructions which access either a permanently fixed default memory bank or a memory bank specified by an immediately preceding bank selection instruction
JPH0830971B2 (en) Programmable controller
JPH0342723A (en) Data processor
JPH0713758A (en) Instruction decoding method
JP2533245Y2 (en) Data processing device
JPS61136115A (en) Basic clock generating circuit of microcomputer system
JPH05334074A (en) Microprocessor
JPS6230452B2 (en)
JPS6379162A (en) Control system for transferring processor data
JPS58155457A (en) Information processing device
JPS60204046A (en) Memory extension circuit
JPS61151745A (en) Interruption processing system
JPS61160144A (en) Emulation system
JPH036758A (en) Microprocessor
JPS60146333A (en) Designating method of memory area
JPS60105048A (en) Microprogram control system
JPH04137138A (en) Information processor
JPH05314049A (en) Channel device