JP2754786B2 - Information processing device - Google Patents

Information processing device

Info

Publication number
JP2754786B2
JP2754786B2 JP1246703A JP24670389A JP2754786B2 JP 2754786 B2 JP2754786 B2 JP 2754786B2 JP 1246703 A JP1246703 A JP 1246703A JP 24670389 A JP24670389 A JP 24670389A JP 2754786 B2 JP2754786 B2 JP 2754786B2
Authority
JP
Japan
Prior art keywords
instruction code
conversion
instruction
code
information
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.)
Expired - Fee Related
Application number
JP1246703A
Other languages
Japanese (ja)
Other versions
JPH02210536A (en
Inventor
博志 勝田
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
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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP1246703A priority Critical patent/JP2754786B2/en
Publication of JPH02210536A publication Critical patent/JPH02210536A/en
Application granted granted Critical
Publication of JP2754786B2 publication Critical patent/JP2754786B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、マイクロコンピュータを備えた情報処理装
置に関し、特に課金情報等のセキュリティ情報のデータ
処理を行なう情報処理装置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus provided with a microcomputer, and more particularly to an information processing apparatus that performs data processing of security information such as billing information.

〔従来の技術〕[Conventional technology]

マイクロコンピュータを利用した情報処理システムは
急激な発展と普及を遂げ、様々な分野で利用されつつあ
る。しかし、市場に供給される汎用のマイクロコンピュ
ータを利用した情報処理システムでは、例えば次のよう
なインフォメーションセキュリティに関する問題が生じ
る。
Information processing systems using microcomputers have rapidly developed and spread, and are being used in various fields. However, in an information processing system using a general-purpose microcomputer supplied to the market, for example, the following problems regarding information security occur.

(問題例1) 一般市場に供給される汎用のマイクロコ
ンピュータの命令コード群は公開されるのが通常であ
り、こうしたマイクロコンピュータを利用した情報処理
システムのプログラムメモリを第三者(例えばシステム
の利用者)が解読し、システム全体を理解することが可
能である。そして、第三者がプログラムを改造するか、
故意にデータやコマンドを入力することにより、破壊あ
るいは変更することが可能である。
(Problem Example 1) The instruction code group of a general-purpose microcomputer supplied to the general market is usually made public, and the program memory of an information processing system using such a microcomputer is stored in a third party (for example, using the system). Person) can decipher and understand the entire system. And if a third party modifies the program,
It is possible to destroy or change by intentionally inputting data or commands.

また、プログラムの解読が可能なため、情報処理シス
テムから生成されるデータに検査語(チェックディジッ
ト)が含まれていても、その検査語の生成アルゴリズム
を知り、直接そのデータの検査語を変更することも可能
である。
In addition, since the program can be decoded, even if the data generated from the information processing system includes a check word (check digit), it knows the check word generation algorithm and directly changes the check word of the data. It is also possible.

従って、生成されるデータが例えば課金情報あるいは
信号情報等のような場合、本来その情報を利用すべき側
の利益が損なわれることがある。
Therefore, when the generated data is, for example, billing information or signal information, the profit on the side that should use the information may be impaired.

(問題例2) 汎用のマイクロコンピュータを含む情報
処理システムを構成する全ての部品を第三者が入手ある
いは再生することが可能な場合、その第三者は情報処理
システムを、特にプログラムメモリに格納され、そのシ
ステムで使用されるソフトウェアも含めて、複製するこ
とが可能となる。この複製が無断で行なわれると、本来
の情報処理システムの権利保有者の利益が損なわれる場
合がある。
(Problem Example 2) If a third party can obtain or reproduce all components constituting an information processing system including a general-purpose microcomputer, the third party stores the information processing system, particularly in a program memory. Then, it is possible to copy the software including the software used in the system. If the duplication is performed without permission, the interests of the right holder of the information processing system may be impaired.

以上のようなインフォメーションセキュリティに関す
る問題を解決するための手段としては、プログラムメモ
リに記憶された情報が、第三者から解読または複製して
利用できないようにする方法が有効である。その実現方
法の一つとして、マイクロコンピュータが内部の命令デ
コード回路にて判別して実行できる命令コード(以下、
通常コードと示す。)に一対一に対応する別のコード
(以下、変換コードと示す。)を新規に設定し、プログ
ラムメモリにはその変換コードで記述されたプログラム
を格納しておく方法がある。
As a means for solving the above-mentioned problems relating to information security, it is effective to use a method in which the information stored in the program memory is decrypted or copied by a third party so that the information cannot be used. As one of the realization methods, an instruction code (hereinafter, referred to as an instruction code that can be determined and executed by an internal instruction decode circuit by a microcomputer).
Shown as normal code. ), Another code (hereinafter, referred to as a conversion code) corresponding to the conversion code is newly set, and a program described by the conversion code is stored in the program memory.

第8図は、この種の従来の情報処理装置の構成を示し
た図であり、以下その動作について説明する。
FIG. 8 is a diagram showing the configuration of this type of conventional information processing apparatus, and its operation will be described below.

マイクロコンピュータ1は、所定の命令コードを解読
して各種のデータ処理を実行する汎用のマイクロプロセ
ッサであり、プログラムメモリ2,データメモリ3がそれ
ぞれアドレスバス4,データバス5を介して接続されてい
る。特に、プログラムメモリ2の出力は、エンコーダ6
を介してデータバス5に接続されている。
The microcomputer 1 is a general-purpose microprocessor that decodes a predetermined instruction code and executes various data processing, and a program memory 2 and a data memory 3 are connected via an address bus 4 and a data bus 5, respectively. . In particular, the output of the program memory 2 is
Is connected to the data bus 5 via the.

プログラムメモリ2は、マイクロコンピュータ1で実
行する変換コードで記述されたプログラムを記憶する。
また、データメモリ3は、マイクロコンピュータ1のプ
ログラム処理で用いられる各種データを記憶する。エン
コーダ6は、変換コードをマイクロコンピュータ1の通
常コードにエンコードするハードウェアロジックであ
り、例えばPLA(プログラマブルロジックアレイ)が用
いられる。
The program memory 2 stores a program described by a conversion code executed by the microcomputer 1.
The data memory 3 stores various data used in the program processing of the microcomputer 1. The encoder 6 is a hardware logic that encodes the conversion code into a normal code of the microcomputer 1, and uses, for example, a PLA (programmable logic array).

マイクロコンピュータ1は、不図示の内部のPC(プロ
グラムカウンタ)値に基づきアドレスバス4を介してプ
ログラムメモリ2に対するアドレス情報を供給し、変換
コードを読み出す。変換コードは、エンコーダ6に入力
され、対応するコードをデータバス5に出力する。マイ
クロコンピュータ1は、このコードを通常コードとして
取り込み、所定のデータ処理を実行する。
The microcomputer 1 supplies address information to the program memory 2 via the address bus 4 based on an internal PC (program counter) value (not shown) and reads a conversion code. The conversion code is input to the encoder 6 and outputs the corresponding code to the data bus 5. The microcomputer 1 fetches this code as a normal code, and executes a predetermined data processing.

以上一連の動作を繰り返して順次プログラム処理を行
なうが、プログラムメモリ2に格納された変換コード
は、第三者には公開されないコードであり、第三者は通
常コードとの関係を知ることはできない。従って、偶然
を除いては、プログラムが生成する各種データの改ざ
ん,利用は不可能である。またプログラムメモリ2の内
容を複製しても、エンコーダ6を入手しないかぎり、本
情報処理システムを複製することはできない。
The above-described series of operations are repeated to sequentially perform the program processing. However, the conversion code stored in the program memory 2 is a code that is not disclosed to a third party, and the third party cannot know the relationship with the normal code. . Therefore, falsification and use of various data generated by the program is impossible except by accident. Even if the contents of the program memory 2 are duplicated, the present information processing system cannot be duplicated unless the encoder 6 is obtained.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

このようななかで、上述の従来の情報処理システムで
は、プログラムメモリ2の出力データは、必ずエンコー
ダ6を介して変換されるため、プログラムは全て変換コ
ードにて記述しておく必要があった。ところがこの際の
変換コードは、通常システムの要求者個々に定義される
ため、既存の汎用のアセンブラやコンパイラ等のプログ
ラム開発ツールが利用できない。従って、システムの高
機能化,複雑化に伴いプログラムが大規模化の一途をた
どっているなかで、変換コードでのプログラム開発が極
めて効率悪いものとなっていた。
In such a situation, in the above-described conventional information processing system, the output data of the program memory 2 is always converted via the encoder 6, so that all the programs have to be described in conversion codes. However, since the conversion code at this time is usually defined for each requester of the system, existing program development tools such as general-purpose assemblers and compilers cannot be used. Therefore, while programs have been increasing in scale with the sophistication and complexity of systems, the development of programs using converted codes has become extremely inefficient.

また、最近では、情報処理社会の高度化に相まって、
一方で情報の不正利用はますます悪質化してきており、
上述した従来の情報処理システムでも、エンコーダ6の
出力が外部のデータバス5を介してマイクロコンピュー
タ1に接続されているため、エンコーダ6に様々なパタ
ーンを入力して出力される情報を外部で観測して解読す
ることができ、エンコーダそのものを再生しシステム全
体を複製したり、また、エンコーダ6の出力をモニタし
ながらプログラムを実際に実行させてトータルのプログ
ラム処理を解析するなど、システムのセキュリティに関
する要求を満足しないものになっていた。
Recently, along with the sophistication of the information processing society,
On the other hand, unauthorized use of information is becoming increasingly malicious,
Also in the conventional information processing system described above, since the output of the encoder 6 is connected to the microcomputer 1 via the external data bus 5, information output by inputting various patterns to the encoder 6 is externally observed. And reproduce the encoder itself to duplicate the entire system, or monitor the output of the encoder 6 and actually execute the program while monitoring the output of the encoder 6 to analyze the total program processing. It did not satisfy the request.

本発明は、このような従来の情報処理システムのプロ
グラム開発上の問題点及びセキュリティに関する問題点
を改善すべくなされたものであって、既存のマイクロコ
ンピュータのハードウェア資産を有効に利用して、融通
性が高く、かつ第三者が不正利用できない情報処理装置
を提供することを目的としている。
SUMMARY OF THE INVENTION The present invention has been made in order to improve such problems in program development and security in the conventional information processing system, and effectively utilizes hardware resources of existing microcomputers. It is an object of the present invention to provide an information processing apparatus that is highly flexible and cannot be used illegally by a third party.

〔課題を解決するための手段〕[Means for solving the problem]

本発明の情報処理装置は、入力される命令コードに応
答して各種のデータ処理を実行する演算処理部と、前記
演算処理部がそのまま実行可能なコードである第一の命
令コード群により記述された第一のプログラムと、前記
演算処理部がそのままでは実行できないコードである第
二のコード群により記述された第二のプログラムとを記
憶するプログラムメモリと、前記第一の命令コード群を
解読し、解読結果に基づき第一の制御情報を発生する解
読回路と、前記第二の命令コード群と前記第一の制御情
報とが入力され、該入力の情報に基づきアドレス情報を
生成するアドレス制御手段と、前記アドレス情報に基づ
き前記第二の命令コード群から一対一に対応する前記第
一の命令コード群を選択して生成する命令コード変換記
憶手段と、前記プログラムメモリから読み出した前記第
一の命令コード群を転送データとする第一のデータバス
と、前記命令コード変換記憶手段の出力である前記第一
の命令コード群を転送データとする第二のデータバス
と、前記第一のデータバスまたは前記第二のデータバス
のいずれか一方を選択して前記解読回路に接続するセレ
クタとを備えたマイクロコンピュータからなる情報処理
装置であって、前記第一のプログラムかあるいは前記第
二のプログラムのいずれか一方を動的に切り換えながら
実行すべく、前記プログラムメモリから読み出した命令
コード群が、前記第一の命令コードであるか前記第二の
命令コード群であるかを指定する第二の制御情報を生成
して前記セレクタに供給することにより、前記セレクタ
の選択条件を指定するモード切換手段を有していること
を特徴とする。
The information processing apparatus of the present invention is described by an arithmetic processing unit that executes various data processing in response to an input instruction code, and a first instruction code group that is a code that can be directly executed by the arithmetic processing unit. A first program, a program memory for storing a second program described by a second code group that is a code that cannot be executed by the arithmetic processing unit as it is, and decodes the first instruction code group. A decoding circuit that generates first control information based on a decoding result; and an address control unit that receives the second instruction code group and the first control information and generates address information based on the input information. Instruction code conversion storage means for selecting and generating the first instruction code group corresponding one-to-one from the second instruction code group based on the address information; A first data bus that uses the first instruction code group read from the RAM memory as transfer data, and a second data bus that uses the first instruction code group output from the instruction code conversion storage unit as transfer data And a selector for selecting one of the first data bus and the second data bus and connecting to the decoding circuit, wherein the first program Or the instruction code group read from the program memory to execute while dynamically switching any one of the second programs is the first instruction code or the second instruction code group. By generating and supplying the second control information for specifying the selector to the selector, the mode switching means for specifying the selection condition of the selector is provided. And characterized in that it.

モード切り替え手段は、例えばプログラムメモリに記
憶されたモード切り替えの命令コードを解読回路で解読
した結果や、外部端子からの割り込み要求信号に基づい
て、セレクタの選択条件を指定する第二の制御情報を生
成するものである。
The mode switching means, for example, decodes a mode switching instruction code stored in a program memory by a decoding circuit, or outputs second control information that specifies selection conditions of a selector based on an interrupt request signal from an external terminal. To generate.

また、マイクロコンピュータは、命令コード変換記憶
手段に記憶しており、第一の命令コード群と第二の命令
コード群との対応関係を示すコード変換情報を演算処理
するとともに、演算結果を外部端子に導出するテスト手
段を有しているものである。
Also, the microcomputer stores code conversion information, which is stored in the instruction code conversion storage means and indicates the correspondence between the first instruction code group and the second instruction code group, and outputs the operation result to an external terminal. Has a test means for deriving it.

このように、本発明の情報処理装置では、内蔵のメモ
リに格納されたコード変換テーブルにより、入力された
変換コードを本来内部で実行可能な命令コードに変換す
る機能を備えたマイクロコンピュータを用いることによ
り、変換コードを直接マイクロコンピュータに入力する
ようにし、かつ通常コードに基づき命令実行するモード
と、変換コードに基づき命令実行するモードとを切り替
えるようにしている。
As described above, the information processing apparatus of the present invention uses a microcomputer having a function of converting an input conversion code into an instruction code that can be internally executed by a code conversion table stored in a built-in memory. Thus, the conversion code is directly input to the microcomputer, and the mode for executing the instruction based on the normal code and the mode for executing the instruction based on the conversion code are switched.

〔実施例〕〔Example〕

以下に、本発明の実施例について図面を参照して説明
する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.

第1図は、本発明の一実施例に関わる情報処理装置の
内部構成を示したブロック図で、マイクロコンピュータ
100はシステム全体を制御し、プログラムメモリ200とデ
ータメモリ300とがそれぞれアドレスバス400,データバ
ス500を介してそれぞれ相互に接続されている。プログ
ラムメモリ200はマイクロコンピュータ100で実行する通
常コードで記述されたプログラム及び変換コードで記述
されたプログラムを記憶する。また、プログラム中に
は、通常コードを命令実行するモード(以下、通常モー
ドと示す。)に遷移するための通常モード指令命令201
と、変換コードに基づき命令実行するモード(以下、変
換コードモードと示す。)に遷移するための変換コード
モード指定命令202とが配置されている。データメモリ3
00は、マイクロコンピュータ100のプログラム処理で用
いられる各種データを記憶する。
FIG. 1 is a block diagram showing an internal configuration of an information processing apparatus according to an embodiment of the present invention.
Reference numeral 100 controls the entire system, and a program memory 200 and a data memory 300 are mutually connected via an address bus 400 and a data bus 500, respectively. The program memory 200 stores a program executed by the microcomputer 100 and described by a normal code and a program described by a conversion code. In the program, a normal mode command instruction 201 for transitioning to a mode for executing a normal code instruction (hereinafter, referred to as a normal mode) is provided.
And a conversion code mode designation instruction 202 for transitioning to a mode for executing an instruction based on the conversion code (hereinafter, referred to as a conversion code mode). Data memory 3
00 stores various data used in the program processing of the microcomputer 100.

第2図は、マイクロコンピュータ100のブロック図
で、演算処理101,変換メモリ102,アドレス制御回路103,
内部アドレスバス104,アドレスバス端子105,内部データ
バス106,データバス端子107,セレクタ110,R−Sフリッ
プフロップ(以下、F/Fと示す。)113とから構成されて
おり、変換メモリ102は、マスクROMにより実現されてい
る。
FIG. 2 is a block diagram of the microcomputer 100. The arithmetic processing 101, the conversion memory 102, the address control circuit 103,
The conversion memory 102 includes an internal address bus 104, an address bus terminal 105, an internal data bus 106, a data bus terminal 107, a selector 110, and an RS flip-flop (hereinafter, referred to as F / F) 113. Is realized by a mask ROM.

演算処理部101は、命令デコード回路108及び不図示の
タイミング制御回路,算術論理演算回路,汎用レジス
タ,プログラムカウンタを含んでいる。演算処理部101
は、セレクタ110から出力される命令コードに応じて所
定のデータ処理を実行するもので、まず命令デコード回
路108で入力された命令コードのデコード処理を行な
う。続いてタイミング制御回路でそのデコード結果に応
じた不図示の各種制御信号の出力タイミングを制御し、
算術論理演算回路,汎用レジスタ,プログラムカウンタ
を必要に応じて制御する。命令デコード回路108は、自
身のデコード処理で2バイト長の命令の1バイト目の命
令コードを判別したときに、続く2バイト目の命令コー
ドを変換メモリ102におけるアドレスを切り替えて参照
するためのページ指定信号109をアドレス制御回路103に
出力する。また、通常モードを指定するF/Fセット信号1
11と、変換コードモードを指定するF/Fリセット信号112
とをF/F113に出力する。内部アドレスバス104は、アド
レスバス端子105と演算処理部101とを接続し、演算処理
部101で処理されたアドレス情報をアドレスバス端子105
からアドレスバス400に出力する。内部データバス106
は、データバス端子107と、演算処理部101,アドレス制
御回路103及びセレクタ110とを接続し、相互のデータ転
送に使用される。変換メモリ102には、命令コード変換
テーブルが格納されており、データバス端子107より内
部データバス106上に読み出した命令コードとページ指
定信号109とが読み出しアドレスの生成に用いられる。
変換メモリ102の出力はセレクタ110に接続される。な
お、変換メモリ102はLSI内部に集積されているため電気
的容量が小さく、信号の遅延が少ないので、低消費電力
かつ高速動作が可能であり、命令コードの高速変換に非
常に適している。アドレス制御回路103は、ページ指定
信号109及び内部データバス106からの命令コードに基づ
き、変換メモリ102の読み出しアドレスを生成する。F/F
113は、命令デコード回路108で通常モード指定命令201
を判別すると発生するF/Fセット信号111により“1"にセ
ットされ、変換コードモード指定命令202を判別すると
発生するF/Fリセット信号112により“0"にリセットされ
る。また、システムリセット信号114により“1"にセッ
トされる。セレクタ110は、内部データバス106と、変換
メモリ102の出力とを入力とし、F/F113が“1"の時内部
データバス106の出力を命令デコード回路108に接続し、
F/F113が“0"の時変換メモリ102の出力を命令デコード
回路108に接続する。
The arithmetic processing unit 101 includes an instruction decode circuit 108, a timing control circuit (not shown), an arithmetic and logic operation circuit, a general-purpose register, and a program counter. Arithmetic processing unit 101
Performs predetermined data processing according to the instruction code output from the selector 110. First, the instruction decoding circuit 108 decodes the input instruction code. Subsequently, the timing control circuit controls the output timing of various control signals (not shown) according to the decoding result,
The arithmetic logic circuit, general-purpose registers, and program counter are controlled as necessary. When the instruction decoding circuit 108 determines the first byte instruction code of the 2-byte length instruction in its own decoding processing, the instruction decoding circuit 108 switches the address in the conversion memory 102 to refer to the next second byte instruction code. The designation signal 109 is output to the address control circuit 103. Also, F / F set signal 1 that specifies the normal mode
11 and F / F reset signal 112 that specifies the conversion code mode
Is output to F / F113. The internal address bus 104 connects the address bus terminal 105 to the arithmetic processing unit 101, and transfers the address information processed by the arithmetic processing unit 101 to the address bus terminal 105.
To the address bus 400. Internal data bus 106
Connects the data bus terminal 107, the arithmetic processing unit 101, the address control circuit 103, and the selector 110, and is used for mutual data transfer. The conversion memory 102 stores an instruction code conversion table, and the instruction code read from the data bus terminal 107 onto the internal data bus 106 and the page designation signal 109 are used to generate a read address.
The output of the conversion memory 102 is connected to the selector 110. Since the conversion memory 102 is integrated in the LSI and has a small electric capacity and a small signal delay, it can operate with low power consumption and high speed, and is very suitable for high-speed conversion of instruction codes. The address control circuit 103 generates a read address of the conversion memory 102 based on the page designation signal 109 and the instruction code from the internal data bus 106. F / F
113 is a normal mode designation instruction 201 in an instruction decode circuit 108.
Is set to “1” by the F / F set signal 111 generated when the conversion code mode designation instruction 202 is determined, and is reset to “0” by the F / F reset signal 112 generated when the conversion code mode designation instruction 202 is determined. Also, it is set to “1” by the system reset signal 114. The selector 110 receives the input of the internal data bus 106 and the output of the conversion memory 102, and connects the output of the internal data bus 106 to the instruction decode circuit 108 when the F / F 113 is "1".
When the F / F 113 is "0", the output of the conversion memory 102 is connected to the instruction decode circuit 108.

第3図は、変換メモリ102のアドレスと内部構成を示
した図である。アドレスは9ビットで構成され、ビット
8(ページ指定フィールド3−1)にはページ指定信号
109が接続されている。ビット7〜ビット0(命令コー
ドフィールド3−2)には内部データバス106が接続さ
れている。メモリには、256バイトのテーブル領域がペ
ージ0とページ1の2ページ分確保されており、それぞ
れ8ビット長の変換コードをアドレスとして、順次、変
換コードに対応する通常コードが割り付けられている。
FIG. 3 is a diagram showing an address and an internal configuration of the conversion memory 102. The address is composed of 9 bits, and a bit 8 (page specification field 3-1) includes a page specification signal.
109 is connected. The internal data bus 106 is connected to bits 7 to 0 (instruction code field 3-2). In the memory, a table area of 256 bytes is secured for two pages, page 0 and page 1, and normal codes corresponding to the conversion codes are sequentially assigned, each using an 8-bit conversion code as an address.

第4図は、命令コード変換の動作原理を示した図であ
る。第4図(a)は命令コード長が1バイトの場合の命
令コード変換の動作原理を示しており、第4図(b)
は、命令コード長が2バイトの場合の命令コード変換の
動作原理を示している。
FIG. 4 is a diagram showing the operation principle of instruction code conversion. FIG. 4 (a) shows the operation principle of the instruction code conversion when the instruction code length is 1 byte, and FIG. 4 (b)
Shows the operation principle of instruction code conversion when the instruction code length is 2 bytes.

以下に、第2図のブロック図と、第3図の変換メモリ
102の構成図と、第4図の命令コード変換の動作原理図
とを参照し、本発明の命令コードの変換動作について説
明する。
The block diagram of FIG. 2 and the conversion memory of FIG.
The operation of converting an instruction code according to the present invention will be described with reference to the block diagram of FIG. 102 and the operation principle diagram of the instruction code conversion of FIG.

システムリセット直後または命令デコード回路108に
おける命令デコード処理により通常モード指定命令201
を判別してF/Fセット信号111がアクティブになると、F/
F113は“1"にセットされ、以降に命令デコード回路108
に入力される命令コードはセレクタ110で内部データバ
ス106上の通常コードが選択され、通常モードで命令実
行される。一方、命令デコード回路108における命令デ
コード処理により変換コードモード指定命令202を判別
してF/Fリセット信号112がアクティブになると、F/F113
は“0"にリセットされ、以降に命令デコード回路108に
入力される命令コードはセレクタ110で変換メモリ102の
出力に基づく命令コードが選択され、変換コードモード
で命令実行される。
Immediately after a system reset or by the instruction decode processing in the instruction decode
And when the F / F set signal 111 becomes active, the F / F
F113 is set to "1", and thereafter, the instruction decode circuit 108
The normal code on the internal data bus 106 is selected by the selector 110 for the instruction code input to the, and the instruction is executed in the normal mode. On the other hand, when the conversion code mode designation instruction 202 is determined by the instruction decoding process in the instruction decoding circuit 108 and the F / F reset signal 112 becomes active, the F / F 113
Is reset to "0", and the instruction code based on the output of the conversion memory 102 is selected by the selector 110 as the instruction code subsequently input to the instruction decode circuit 108, and the instruction is executed in the conversion code mode.

次に変換コードモードでの動作を以下に説明する。 Next, the operation in the conversion code mode will be described below.

アドレス制御回路103は、ページ指定信号109と内部デ
ータバス106上の変換コードとから第3図に示す9ビッ
ト長の変換メモリ102の読み出しアドレスを生成する。
ここで、変換コードと通常コード度との対応関係につい
て説明する。一般に命令コード長は1バイト,2バイト,3
バイト等個々のマイクロコンピュータにより様々に構成
されるが、ここでは1バイトと2バイトの場合を取り上
げて延べる。命令コード長が1バイトの場合を、第4図
(a)の原理図と、第2図のブロック図とを参照して説
明する。この場合、ページ指定信号109は常にインアク
ティブになり、ページ指定フィールド3−1が“0"の状
態でページ0を選択し、変換コードをアドレス情報とし
て変換メモリ102に供給して対応する通常コードを読み
出す。また、命令コード長が2バイトの場合を、第4図
(b)の原理図と、第2図のブロック図とを参照して説
明する。変換コードの1バイト目では、ページ指定信号
109はインアクティブの状態であり、ページ指定フィー
ルド3−1が“0"の状態でページ0を選択し、1バイト
目の通常コードが読み出される(ステップ1)。命令デ
コード回路108では、変換された命令コードが2バイト
命令の1バイト目であると判断すると、ページ指定信号
109をアクティブにし、ページ指定フィールド3−1が
“1"の状態になる。アドレス制御回路103によりページ
1を選択し、2バイト目の変換コードにより、変換メモ
リ102から2バイト目の通常コードが読み出される(ス
テップ2)。
The address control circuit 103 generates a 9-bit read address of the conversion memory 102 shown in FIG. 3 from the page designation signal 109 and the conversion code on the internal data bus 106.
Here, the correspondence between the conversion code and the normal code degree will be described. Generally, the instruction code length is 1 byte, 2 bytes, 3
Although various configurations are made up of individual microcomputers such as bytes, here, the case of 1 byte and 2 bytes will be taken up and extended. The case where the instruction code length is 1 byte will be described with reference to the principle diagram of FIG. 4 (a) and the block diagram of FIG. In this case, the page designation signal 109 is always inactive, the page 0 is selected in a state where the page designation field 3-1 is "0", the conversion code is supplied to the conversion memory 102 as address information, and the corresponding normal code is output. Is read. Further, the case where the instruction code length is 2 bytes will be described with reference to the principle diagram of FIG. 4B and the block diagram of FIG. In the first byte of the conversion code, the page designation signal
Reference numeral 109 denotes an inactive state. When the page designation field 3-1 is "0", page 0 is selected, and the normal code of the first byte is read (step 1). When the instruction decoding circuit 108 determines that the converted instruction code is the first byte of the two-byte instruction, the instruction decoding circuit 108
109 is activated, and the page designation field 3-1 becomes "1". The page 1 is selected by the address control circuit 103, and the second byte normal code is read from the conversion memory 102 by the second byte conversion code (step 2).

以上のようにして、1バイト長または2バイト長の変
換コードを、それぞれ1バイト長,2バイト長の通常コー
ドに変換して命令実行する。
As described above, the conversion code of 1-byte length or 2-byte length is converted into a normal code of 1-byte length or 2-byte length, and the instruction is executed.

本実施例では、マスクROMである変換メモリ102で、変
換コードを演算処理部101の通常コードに変換してお
り、変換メモリ102の出力はセレクタ110に接続されてい
るのみであり、変換メモリ102の内容をデータバス500を
通じて外部に読み出すことはできない。従って、変換メ
モリ102に書かれた変換コードから通常コードに変換す
る変換ルールを第3者に知られる可能性はない。
In this embodiment, the conversion code is converted into the normal code of the arithmetic processing unit 101 by the conversion memory 102 which is a mask ROM, and the output of the conversion memory 102 is only connected to the selector 110. Cannot be read out through the data bus 500 to the outside. Therefore, there is no possibility that a conversion rule for converting the conversion code written in the conversion memory 102 into a normal code will be known to a third party.

また、本実施例では、命令コードの変換の例として、
命令コード長が1バイトと2バイトの場合について説明
したが、さらに他バイト命令の変換に関しては、ページ
指定信号の複数化と多バイト命令判別信号の追加により
第3図に示すアドレス構成を多ビット化すれば、同様の
原理に基づいて命令コードの変換が可能である。
In the present embodiment, as an example of the conversion of the instruction code,
The case where the instruction code length is 1 byte and 2 bytes has been described. However, regarding the conversion of other byte instructions, the address configuration shown in FIG. Thus, it is possible to convert the instruction code based on the same principle.

次に、本発明の第二の実施例について図面を参照して
説明する。第二の実施例は、第一の実施例のセレクタ11
0の選択条件を指定する信号を外部の端子から入力する
信号に基づき生成するようにしたものである。
Next, a second embodiment of the present invention will be described with reference to the drawings. The second embodiment is similar to the selector 11 of the first embodiment.
A signal designating a selection condition of 0 is generated based on a signal input from an external terminal.

第5図は、本発明の第二の実施例の情報処理装置のブ
ロック図で、マイクロコンピュータ600に対して外部端
子700から信号を入力する機能を備えていることを除い
ては、構成,動作は第一の実施例の第1図の情報処理装
置と同じである。
FIG. 5 is a block diagram of an information processing apparatus according to a second embodiment of the present invention. Except for having a function of inputting a signal from an external terminal 700 to a microcomputer 600, the configuration and operation are the same. Is the same as the information processing apparatus in FIG. 1 of the first embodiment.

外部端子700には、本情報処理装置がオンラインで接
続されるホストコンピュータからのデータ処理要求信号
800が供給される。
An external terminal 700 has a data processing request signal from a host computer to which the information processing apparatus is connected online.
800 will be supplied.

また、第6図は、本発明の第二の実施例の情報処理装
置におけるマイクロコンピュータ600のブロック図で、
演算処理部101,変換メモリ102,アドレス制御回路103,内
部アドレスバス104,アドレスバス端子105,内部データバ
ス106及びデータバス端子107については、その構成,動
作は第一の実施例の第2図のマイクロコンピュータ100
と同一であり、詳細説明については省略する。
FIG. 6 is a block diagram of a microcomputer 600 in the information processing apparatus according to the second embodiment of the present invention.
The configuration and operation of the arithmetic processing unit 101, the conversion memory 102, the address control circuit 103, the internal address bus 104, the address bus terminal 105, the internal data bus 106 and the data bus terminal 107 are shown in FIG. Microcomputer 100
And the detailed description is omitted.

命令デコード回路108は、第一の実施例における命令
デコード回路108のページ指定信号109と同一のページ指
定信号109をアドレス制御回路103に出力する。割り込み
制御回路604は、外部端子700に接続されているモード切
り替え端子603からの割り込み要求信号602を入力とし、
アクティブ状態を受け付けると所定の割り込みベクタに
分岐するとともに、モード切り替え信号605をアクティ
ブにする。また、一連の割り込み処理からの復帰時にモ
ード切り替え信号605をインアクティブにする。モード
切り替え信号605は、セレクタ601に供給される。セレク
タ601は、内部データバス106と変換メモリ102の出力と
を入力とし、モード切り換え信号605がインアクティブ
の時内部データバス106の出力を命令デコード回路108に
接続し、モード切り替え信号605がアクティブの時変換
メモリ102の出力を命令デコード回路108に接続する。プ
ログラムメモリ200には、通常コードによるメイン処理
のプログラムと、割り込みベクタの変換コード分岐先ア
ドレスからの変換コードによる一連のプログラム処理と
が記憶されており、これにより、通常は通常モードによ
り命令実行し、ホストコンピュータからのデータ処理要
求800があると割り込み制御回路604の制御により変換コ
ードモードに遷移して命令実行する。
The instruction decode circuit 108 outputs the same page designation signal 109 as the page designation signal 109 of the instruction decode circuit 108 in the first embodiment to the address control circuit 103. The interrupt control circuit 604 receives the interrupt request signal 602 from the mode switching terminal 603 connected to the external terminal 700,
When the active state is received, the process branches to a predetermined interrupt vector, and the mode switching signal 605 is activated. In addition, the mode switching signal 605 is made inactive when returning from a series of interrupt processing. The mode switching signal 605 is supplied to the selector 601. The selector 601 receives the internal data bus 106 and the output of the conversion memory 102 as inputs, and connects the output of the internal data bus 106 to the instruction decode circuit 108 when the mode switching signal 605 is inactive. The output of the time conversion memory 102 is connected to the instruction decode circuit 108. The program memory 200 stores a main processing program based on normal code and a series of program processing based on a conversion code from a conversion destination address of a conversion code of an interrupt vector. When there is a data processing request 800 from the host computer, the mode shifts to the conversion code mode under the control of the interrupt control circuit 604 to execute the instruction.

以上のように、本実施例では、端子信号によるモード
切り替えが可能であると同時に、第一の実施例と同様
に、変換メモリ102に書かれた変換コードから通常コー
ドに変換する変換ルールを第三者に知られる可能性はな
い。
As described above, in the present embodiment, the mode can be switched by the terminal signal, and at the same time, similarly to the first embodiment, the conversion rule for converting the conversion code written in the conversion memory 102 into the normal code is defined as the first rule. There is no possibility to be known to the three.

また、上述の本発明の情報処理装置において、変換メ
モリ102の内容を外部からテストできるようにした第3
の実施例について説明する。第3の実施例は、LSIのテ
ストモード時に、変換メモリ102が記憶している命令コ
ード変換テーブルの内容に所定の演算処理を施した結果
を、データバス端子107を通じて外部に読み出せるよう
にしたものである。
Further, in the above-described information processing apparatus of the present invention, the contents of the conversion memory 102 can be externally tested by a third method.
An example will be described. In the third embodiment, in the test mode of the LSI, a result obtained by subjecting the contents of the instruction code conversion table stored in the conversion memory 102 to predetermined arithmetic processing can be read out to the outside through the data bus terminal 107. Things.

第7図は、本発明の第3の実施例の情報処理装置にお
けるマイクロコンピュータ900のブロック図で、演算処
理部101,変換メモリ102,内部アドレスバス104,アドレス
バス端子105,内部データバス106,命令デコード回路108
及びセレクタ110については、その構成,動作は第一の
実施例のマイクロコンピュータ100及び第二の実施例の
マイクロコンピュータ600と同一であり、詳細な説明に
ついては省略する。
FIG. 7 is a block diagram of a microcomputer 900 in the information processing apparatus according to the third embodiment of the present invention. The arithmetic processing unit 101, the conversion memory 102, the internal address bus 104, the address bus terminal 105, the internal data bus 106, Instruction decode circuit 108
The configuration and operation of the selector 110 are the same as those of the microcomputer 100 of the first embodiment and the microcomputer 600 of the second embodiment, and a detailed description thereof will be omitted.

テスト回路901は、変換メモリ102の出力を入力とし、
内部のゲート回路により、入力データの全ビットの論理
値を反転したデータを生成する。出力は内部データバス
106に接続されている。
The test circuit 901 receives the output of the conversion memory 102 as an input,
An internal gate circuit generates data in which the logical values of all bits of the input data are inverted. Output is internal data bus
Connected to 106.

アドレス制御回路902は、第一の実施例のアドレス制
御回路103における内部データバス106に加えて内部アド
レスバス104を入力とし、テストモードでは、内部アド
レスバス104からのアドレス情報を変換メモリ102に出力
する。
The address control circuit 902 receives the internal address bus 104 in addition to the internal data bus 106 in the address control circuit 103 of the first embodiment, and outputs the address information from the internal address bus 104 to the conversion memory 102 in the test mode. I do.

以上の構成により、テストモードでは、変換メモリ10
2はマイクロコンピュータ900のメモリ空間にマッピング
され、データ転送命令等のデータアクセスの命令により
リード可能である。
With the above configuration, in the test mode, the conversion memory 10
2 is mapped in the memory space of the microcomputer 900 and can be read by a data access instruction such as a data transfer instruction.

以下、テストモードにおける変換メモリ102のROMコー
ドテストの動作について説明する。
Hereinafter, the operation of the ROM code test of the conversion memory 102 in the test mode will be described.

演算処理部101は、変換メモリ102がマッピングされて
いる最下位アドレスに対するリード命令をフェッチし、
デコードすると、内部アドレスバス104を介して変換メ
モリ102のアドレス情報をアドレス制御回路902に出力す
る。アドレス情報は、アドレス制御回路902から変換メ
モリ102に出力され、アドレス情報に対応したROMコード
データが読み出される。ここで読み出されたデータは、
命令コード変換テーブル自身の情報である。読み出され
たデータは、テスト回路901に入力すると、全ビットが
反転して内部データバス106に出力され、演算処理部101
内部の不図示の汎用レジスタに読み込まれる。
The arithmetic processing unit 101 fetches a read instruction for the lowest address to which the conversion memory 102 is mapped,
After decoding, the address information of the conversion memory 102 is output to the address control circuit 902 via the internal address bus 104. The address information is output from the address control circuit 902 to the conversion memory 102, and ROM code data corresponding to the address information is read. The data read here is
This is information of the instruction code conversion table itself. When the read data is input to the test circuit 901, all bits are inverted and output to the internal data bus 106, and the arithmetic processing unit 101
The data is read into an internal general-purpose register (not shown).

次に、演算処理部101は、外部メモリ空間に対するラ
イト命令をフェッチし、デコードすると、内部アドレス
バス104を介して汎用レジスタの内容をデータバス端子1
07に出力する。
Next, when the arithmetic processing unit 101 fetches and decodes a write instruction to the external memory space, the contents of the general-purpose register are transferred to the data bus terminal 1 via the internal address bus 104.
Output to 07.

続いて変換メモリ102のアドレスを変換メモリ102がマ
ッピングされている最上位アドレスまで順次+1インク
リメントしながら、以上の変換メモリ102のデータリー
ド動作と外部へのライト動作の処理を繰り返して、全RO
Mコードに対する反転データを掃き出してテストを行
う。
Subsequently, while sequentially incrementing the address of the conversion memory 102 by +1 to the highest address to which the conversion memory 102 is mapped, the above-described processing of the data read operation and the external write operation of the conversion memory 102 is repeated, and
The test is performed by sweeping out inverted data for the M code.

ここで、テスト回路901における反転のゲート回路の
構成は第三者には公開されないため、データバス端子か
ら掃き出される情報から、変換メモリ102の命令コード
変換テーブル内容を解読するのは、不可能である。
Here, since the configuration of the inverting gate circuit in the test circuit 901 is not disclosed to a third party, it is impossible to decode the contents of the instruction code conversion table of the conversion memory 102 from the information swept out from the data bus terminal. It is.

また、本実施例では、簡単のため、データの全ビット
の論理を反転する例について示したが、テスト回路901
において、データのビット位置の組替え,あるいはデコ
ーダ,ROM等を使用することにより、テストモードにおけ
るROMコード掃き出し時の、より複雑で高度なデータ変
換が可能である。
In this embodiment, for simplicity, an example has been described in which the logic of all bits of data is inverted.
In, by changing the bit position of data, or using a decoder, ROM, etc., more complicated and advanced data conversion at the time of ROM code sweeping out in the test mode is possible.

〔発明の効果〕〔The invention's effect〕

以上説明したように、通常、プログラムの開発時に
は、製造,デバックを効率的に行なうために高級言語の
コンパイラまたはアセンブラなどのツールを使用する
が、汎用のツールでは変換コードを生成することができ
ない。従って第三者による解読を防止すべき最小限の処
理のみ変換コードにて記述すればよいが、本発明の情報
処理装置によれば、変換コードに基づき命令実行するモ
ードと、ツールが使用可能な通常コードに基づき命令実
行するモードとをプログラム実行中に動的に切り替える
機能を備えているため、プログラムの大部分をツールを
使用したプログラム開発が行え、融通性の高いものとな
っている。
As described above, normally, when developing a program, a tool such as a high-level language compiler or assembler is used to efficiently manufacture and debug, but a general-purpose tool cannot generate a conversion code. Therefore, only the minimum processing that should be prevented from being decoded by a third party needs to be described in the conversion code. However, according to the information processing apparatus of the present invention, a mode in which an instruction is executed based on the conversion code and a tool can be used. Since a function for dynamically switching between a mode in which instructions are executed based on a normal code and a mode in which the program is executed is provided, most of the program can be developed using a tool and the program is highly flexible.

また、第三者に公開されない変換コードを入力し、マ
イクロコンピュータの内部に集積した変換メモリにより
実行可能な通常コードに変換して命令実行するため、変
換ルールの核となる変換メモリの内容は直接外部に読み
出せない。また、LSIのテスト時にも特殊なコードに変
換して出力している。従って、第三者は入力される変換
コードと実際に実行される通常コードとの対応をいかな
る手段によっても知ることができず、変換コードで書か
れたプログラムを解読して処理データを不正利用するこ
とはできない。また、同じ理由で、第三者が同一の変換
コードを受け付けて命令実行するマイクロコンピュータ
を複製することも現実的には不可能である。よって、本
発明の情報処理装置はインフォメーションセキュリティ
の用途に最適な機能を提供することができる。
In addition, since a conversion code that is not disclosed to a third party is input, converted into a normal code that can be executed by a conversion memory integrated in the microcomputer, and the instruction is executed, the contents of the conversion memory, which is the core of the conversion rule, are directly Cannot read outside. Also, during LSI testing, they are converted to special codes and output. Therefore, the third party cannot know by any means the correspondence between the input converted code and the actually executed normal code, and decrypts the program written with the converted code to illegally use the processed data. It is not possible. For the same reason, it is practically impossible for a third party to duplicate a microcomputer that receives the same conversion code and executes the instruction. Therefore, the information processing apparatus of the present invention can provide a function optimal for information security.

さらに、本発明の情報処理装置で使用するマイクロコ
ンピュータは、変換メモリの内容を書き換えるのみで任
意の変換コードを容易に設定できる。よって、OEM個々
の要求によりそれぞれ個々に異なる変換コードを設定す
る際にも、新規に個々の命令コードをもつマイクロコン
ピュータを新規に設計,製造する場合に比べ、格段に少
ない工数,費用で短期間に実現できるなど、既存のハー
ドウェア資産を生かして汎用性に優れた情報処理装置を
提供することができ、本発明の実用効果は極めて高い。
Further, the microcomputer used in the information processing apparatus of the present invention can easily set an arbitrary conversion code only by rewriting the contents of the conversion memory. Therefore, even when setting different conversion codes for each of the OEM's individual requirements, compared with the case of newly designing and manufacturing a microcomputer having a new individual instruction code, much less man-hour and cost are required for a short period of time. For example, an information processing apparatus having excellent versatility can be provided by utilizing existing hardware resources, and the practical effect of the present invention is extremely high.

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

第1図は本発明の情報処理装置の第一の実施例のブロッ
ク図、第2図は第一の実施例のマイクロコンピュータ10
0のブロック図、第3図は第一の実施例の変換メモリ102
のアドレスと内部構成の図、第4図は第一の実施例の命
令コード変換の原理図、第5図は本発明の情報処理装置
の第二の実施例のブロック図、第6図は第二の実施例の
マイクロコンピュータ600のブロック図、第7図は第三
の実施例のマイクロコンピュータ900のブロック図、第
8図は従来の情報処理装置のブロック図である。 105……アドレスバス端子、107……データバス端子、10
9……ページ指定信号、111……F/Fセット信号、112……
F/Fリセット信号、114……システムリセット信号、201
……通常モード指定命令、202……変換コードモード指
定命令、602……割り込み要求信号、603……モード切り
替え端子、605……モード切り替え信号、800……データ
処理要求信号、901……テスト回路、902……アドレス制
御回路。
FIG. 1 is a block diagram of a first embodiment of an information processing apparatus according to the present invention, and FIG. 2 is a microcomputer 10 of the first embodiment.
FIG. 3 is a block diagram of the conversion memory 102 of the first embodiment.
FIG. 4 is a principle diagram of instruction code conversion of the first embodiment, FIG. 5 is a block diagram of a second embodiment of the information processing apparatus of the present invention, and FIG. FIG. 7 is a block diagram of a microcomputer 600 of the second embodiment, FIG. 7 is a block diagram of a microcomputer 900 of the third embodiment, and FIG. 8 is a block diagram of a conventional information processing apparatus. 105: Address bus terminal, 107: Data bus terminal, 10
9… Page designation signal, 111… F / F set signal, 112 ……
F / F reset signal, 114 …… System reset signal, 201
…… Normal mode designation command, 202… Conversion code mode designation command, 602 …… Interrupt request signal, 603 …… Mode switching terminal, 605 …… Mode switching signal, 800 …… Data processing request signal, 901 …… Test circuit , 902... Address control circuit.

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】入力される命令コードに応答して各種のデ
ータ処理を実行する演算処理部と、前記演算処理部がそ
のまま実行可能なコードである第一の命令コード群によ
り記述された第一のプログラムと、前記演算処理部がそ
のままでは実行できないコードである第二のコード群に
より記述された第二のプログラムとを記憶するプログラ
ムメモリと、 前記第一の命令コード群を解読し、解読結果に基づき第
一の制御情報を発生する解読回路と、前記第二の命令コ
ード群と前記第一の制御情報とが入力され、該入力の情
報に基づきアドレス情報を生成するアドレス制御手段
と、前記アドレス情報に基づき前記第二の命令コード群
から一対一に対応する前記第一の命令コード群を選択し
て生成する命令コード変換記憶手段と、前記プログラム
メモリから読み出した前記第一の命令コード群を転送デ
ータとする第一のデータバスと、前記命令コード変換記
憶手段の出力である前記第一の命令コード群を転送デー
タとする第二のデータバスと、前記第一のデータバスま
たは前記第二のデータバスのいずれか一方を選択して前
記解読回路に接続するセレクタとを備えたマイクロコン
ピュータからなる情報処理装置であって、 前記第一のプログラムかあるいは前記第二のプログラム
のいずれか一方を動的に切り換えながら実行すべく、前
記プログラムメモリから読み出した命令コード群が、前
記第一の命令コードであるか前記第二の命令コード群で
あるかを指定する第二の制御情報を生成して前記セレク
タに供給することにより、前記セレクタの選択条件を指
定するモード切換手段を有していることを特徴とする情
報処理装置。
An arithmetic processing unit for executing various data processing in response to an input instruction code, and a first instruction code group described by a first instruction code group, which is a code executable by the arithmetic processing unit as it is. And a program memory that stores a second program described by a second code group that is a code that cannot be executed by the arithmetic processing unit as it is, and decodes the first instruction code group, and decodes the first instruction code group. A decoding circuit that generates first control information based on the second command code group and the first control information, and an address control unit that generates address information based on the input information; Instruction code conversion storage means for selecting and generating the first instruction code group corresponding one-to-one from the second instruction code group based on the address information, and the program memory A first data bus that uses the first instruction code group read from the first transfer code as a transfer data, and a second data bus that uses the first instruction code group that is the output of the instruction code conversion storage means as the transfer data. An information processing device comprising a microcomputer having a selector for selecting one of the first data bus and the second data bus and connecting to the decoding circuit; Alternatively, the instruction code group read from the program memory to execute while dynamically switching any one of the second programs is the first instruction code or the second instruction code group. Mode switching means for specifying selection conditions for the selector by generating second control information for specifying the selector and supplying the control information to the selector. An information processing apparatus characterized by the following.
【請求項2】前記モード切換手段は、前記プログラムメ
モリに記憶されたモード切換の命令コードを前記解読回
路で解読した結果に基づいて前記第二の制御情報を生成
するものであることを特徴とする特許請求の範囲第1項
に記載の情報処理装置。
2. The method according to claim 1, wherein the mode switching means generates the second control information based on a result of decoding the mode switching instruction code stored in the program memory by the decoding circuit. The information processing apparatus according to claim 1, wherein
【請求項3】前記モード切換手段は、外部端子からの割
り込み要求信号に基づいて前記第二の制御信号を生成す
るものであることを特徴とする特許請求の範囲第1項記
載の情報処理装置。
3. The information processing apparatus according to claim 1, wherein said mode switching means generates said second control signal based on an interrupt request signal from an external terminal. .
【請求項4】前記命令コード変換記憶手段に記憶してお
り、前記第一の命令コード群と前記第二の命令コード群
との対応関係を示すコード変換情報を演算処理するとと
もに、該演算結果を外部端子に導出するテスト手段を設
けてなることを特徴とする特許請求の範囲第1項、第2
項および第3項記載の情報処理装置。
4. A code conversion information stored in said instruction code conversion storage means, said code conversion information indicating a correspondence relationship between said first instruction code group and said second instruction code group. And a test means for leading out to an external terminal.
Item 4. The information processing device according to Item 3.
JP1246703A 1988-10-20 1989-09-22 Information processing device Expired - Fee Related JP2754786B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1246703A JP2754786B2 (en) 1988-10-20 1989-09-22 Information processing device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP63-265393 1988-10-20
JP26539388 1988-10-20
JP1246703A JP2754786B2 (en) 1988-10-20 1989-09-22 Information processing device

Publications (2)

Publication Number Publication Date
JPH02210536A JPH02210536A (en) 1990-08-21
JP2754786B2 true JP2754786B2 (en) 1998-05-20

Family

ID=26537862

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1246703A Expired - Fee Related JP2754786B2 (en) 1988-10-20 1989-09-22 Information processing device

Country Status (1)

Country Link
JP (1) JP2754786B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6051944A (en) * 1983-08-31 1985-03-23 Tokyo Keiki Co Ltd Data transfer device

Also Published As

Publication number Publication date
JPH02210536A (en) 1990-08-21

Similar Documents

Publication Publication Date Title
EP0137995B1 (en) Single-chip microcomputer with encryptable function on program memory
US5640542A (en) On-chip in-circuit-emulator memory mapping and breakpoint register modules
US5704039A (en) Mask programmable security system for a data processor and method therefor
US5566303A (en) Microcomputer with multiple CPU'S on a single chip with provision for testing and emulation of sub CPU's
JPH08328848A (en) Microprocessor
JPH0869391A (en) Data processor and its method
EP0267613B1 (en) Micro processor capable of being connected with coprocessor
US5742801A (en) Microprocessor to which additional instructions are added and instructions addition method thereof
JPH0232659B2 (en)
JP2754786B2 (en) Information processing device
JPH02500692A (en) Integration of computational elements in multiprocessor computers
JP2793540B2 (en) Emulation device
JP2624249B2 (en) Processor with imitation prevention function
US20020004877A1 (en) Method and system for updating user memory in emulator systems
JPS6362778B2 (en)
JP2684664B2 (en) Information processing device
JP3547012B2 (en) Microcomputer
JPS642177Y2 (en)
JP2000267876A (en) Emulator and microcomputer
JPH05250156A (en) Risc processor
JPH06161809A (en) Semiconductor integrated circuit device
JPH0697435B2 (en) Variation chip
JPH02110636A (en) Debugging device for tag architecture machine and its compiler
JPS59106048A (en) Microprocessor system
JPH0827741B2 (en) Single-chip microcomputer

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080306

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090306

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees