JPH09146789A - Emulator - Google Patents

Emulator

Info

Publication number
JPH09146789A
JPH09146789A JP7302847A JP30284795A JPH09146789A JP H09146789 A JPH09146789 A JP H09146789A JP 7302847 A JP7302847 A JP 7302847A JP 30284795 A JP30284795 A JP 30284795A JP H09146789 A JPH09146789 A JP H09146789A
Authority
JP
Japan
Prior art keywords
address
branch
memory
target program
branch instruction
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
JP7302847A
Other languages
Japanese (ja)
Inventor
Yoshiyuki Minami
義幸 南
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.)
Renesas Design Corp
Mitsubishi Electric Corp
Mitsubishi Electric Semiconductor Systems Corp
Original Assignee
Renesas Design Corp
Mitsubishi Electric Corp
Mitsubishi Electric Semiconductor Systems 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 Renesas Design Corp, Mitsubishi Electric Corp, Mitsubishi Electric Semiconductor Systems Corp filed Critical Renesas Design Corp
Priority to JP7302847A priority Critical patent/JPH09146789A/en
Publication of JPH09146789A publication Critical patent/JPH09146789A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an emulator which detects the error that is caused when a branch instruction is carried out and can shorten the debugging time by using a wrong branch address decision circuit. SOLUTION: A branch enabling flag storing memory 15 includes the addresses corresponding in 1-to-1 to every address of a memory ROM area of a target substrate and also stores the information to discriminate the addresses to which the accesses are permitted and not permitted respectively among those addresses related to the branch instructions. A branch address decision circuit 16 decides a branch address when the branch instruction is carried out. A wrong branch address decision circuit 18 detects the address errors at the time of execution of the branch instruction based on the information stored in the memory 15 and without delaying the execution of a target program. Thus it is possible to easily detect the error that is caused in regard to the address of the branch destination when the branch instruction, for example, is carried out and also to shorten the debugging time of the target program.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は、マイクロコンピ
ュータのプログラム開発を支援するために用いられるエ
ミュレータに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an emulator used for supporting microcomputer program development.

【0002】[0002]

【従来の技術】マイクロコンピュータにおけるプログラ
ム開発では、ターゲットプログラムの誤りを発見して修
正するためにエミュレータを使用する。図6は、エミュ
レータとターゲット基板およびパーソナルコンピュータ
との接続関係を示す概念図である。図において、41は
ユーザが作成したターゲット基板、42はターゲット基
板41上のアドレスバス,データバス,制御信号線,入
出力ポートの信号を外部へ出力できるエミュレータ中央
処理装置、43はエミュレータ中央処理装置42から出
力される各信号を基にターゲットプログラムの実行制御
を行い、ターゲットプログラムの誤りを発見して修正す
るためのエミュレータである。43aはエミュレータ4
3のターゲットプログラムメモリであり、ターゲットプ
ログラムを格納する。44はエミュレータ43の制御お
よびターゲットプログラムのアセンブルを行うパーソナ
ルコンピュータであり、ソースプログラムをアセンブル
するためのアセンブラを備えており、このアセンブラに
よりアセンブルされたターゲットプログラムは通信ケー
ブル45を介してエミュレータ43のターゲットプログ
ラムメモリ43aに格納される。
2. Description of the Related Art In program development in a microcomputer, an emulator is used to detect and correct errors in a target program. FIG. 6 is a conceptual diagram showing the connection relationship between the emulator, the target board, and the personal computer. In the figure, 41 is a target board created by the user, 42 is an emulator central processing unit that can output signals of an address bus, a data bus, a control signal line, and an input / output port on the target board 41 to the outside, and 43 is an emulator central processing unit. This is an emulator for controlling the execution of the target program based on the respective signals output from 42 to detect and correct errors in the target program. 43a is the emulator 4
3 is a target program memory for storing the target program. Reference numeral 44 is a personal computer that controls the emulator 43 and assembles the target program, and is equipped with an assembler for assembling the source program. The target program assembled by this assembler is the target of the emulator 43 via the communication cable 45. It is stored in the program memory 43a.

【0003】図7は、ターゲット基板41上のメモリの
メモリマップと、アセンブルされたターゲットプログラ
ムを格納するターゲットプログラムメモリ43aのメモ
リマップとの対応関係を示した説明図である。図におい
て、51はターゲット基板41上のメモリのRAM領
域、52はターゲット基板41上のメモリの未使用領
域、53はターゲット基板41上のメモリのROM領
域、54はターゲットプログラムメモリ43aのデータ
領域、55および57はターゲットプログラムの未使用
領域、56と58はターゲットプログラムのプログラム
領域である。
FIG. 7 is an explanatory diagram showing the correspondence relationship between the memory map of the memory on the target substrate 41 and the memory map of the target program memory 43a for storing the assembled target program. In the figure, 51 is a RAM area of the memory on the target substrate 41, 52 is an unused area of the memory on the target substrate 41, 53 is a ROM area of the memory on the target substrate 41, 54 is a data area of the target program memory 43a, 55 and 57 are unused areas of the target program, and 56 and 58 are program areas of the target program.

【0004】エミュレータ43は、ターゲットプログラ
ムを実行中にターゲットプログラムを格納したターゲッ
トプログラムメモリ43aのプログラム領域56,58
に何らかのデータが書き込まれたり、未使用領域55,
57をアクセスしたときにターゲットプログラムの実行
を停止するメモリ保護機能を備えている。
The emulator 43 is a program area 56, 58 of the target program memory 43a which stores the target program during execution of the target program.
Some data is written to the unused area 55,
It has a memory protection function of stopping the execution of the target program when 57 is accessed.

【0005】図8は、このメモリ保護機能を実現したエ
ミュレータ43の構成を示すブロック図である。図にお
いて、43cはエミュレータ中央処理装置42から出力
される信号を常に監視するモニタ回路、43eはターゲ
ットプログラムメモリ43aのアクセス条件を設定する
メモリ保護機能用メモリ、43dは指定したアドレスの
命令実行や実行アドレスのアクセス状態とメモリ保護機
能用メモリ43eのアクセス条件とを比較して、アクセ
ス状態が前記アクセス条件と異なっているときにプログ
ラムの実行を停止させるブレーク回路である。
FIG. 8 is a block diagram showing the configuration of the emulator 43 which realizes the memory protection function. In the figure, 43c is a monitor circuit that constantly monitors the signal output from the emulator central processing unit 42, 43e is a memory for a memory protection function that sets the access conditions of the target program memory 43a, and 43d is the execution or execution of an instruction at a specified address. It is a break circuit that compares the access state of the address with the access condition of the memory 43e for memory protection function and stops the execution of the program when the access state is different from the access condition.

【0006】次に動作について説明する。ユーザは、図
6に示す構成によりソースプログラムをパーソナルコン
ピュータ44のアセンブラによりアセンブルして、アセ
ンブルしたターゲットプログラムをエミュレータ43上
で実行し、ターゲットプログラムの誤りの発見や修正を
行うのであるが、ターゲットプログラムをエミュレータ
43上で実行する前に、ユーザはメモリ保護機能を設定
するためにターゲットプログラムを格納したターゲット
プログラムメモリ43aのアクセス条件をメモリ保護機
能用メモリ43eへ設定する。この結果、ターゲットプ
ログラムを格納したターゲットプログラムメモリ43a
のプログラム領域56,58が書込み禁止、ターゲット
プログラムメモリ43aの未使用領域55,57がアク
セス禁止となり、メモリ保護機能が確立される。
Next, the operation will be described. The user assembles the source program by the assembler of the personal computer 44 with the configuration shown in FIG. 6 and executes the assembled target program on the emulator 43 to find or correct an error in the target program. Before executing the above on the emulator 43, the user sets the access condition of the target program memory 43a storing the target program in the memory for memory protection function 43e in order to set the memory protection function. As a result, the target program memory 43a storing the target program
Of the program areas 56 and 58 are prohibited from being written, and unused areas 55 and 57 of the target program memory 43a are prohibited from being accessed, so that the memory protection function is established.

【0007】このようなメモリ保護機能を設定した状態
でエミュレータ43上でターゲットプログラムを実行す
ると、モニタ回路43cはエミュレータ中央処理装置4
2から出力されるアドレスバス,データバスの信号や制
御信号線の信号を常に監視し、アクセス中のアドレスが
示すターゲットプログラムメモリ43aに対するアクセ
ス状態とメモリ保護機能用メモリ43eへ設定されてい
るアクセス条件とを比較する。そして、アクセス条件が
一致しないときには、一致しないことを示す制御信号を
ブレーク回路43dへ送る。ブレーク回路43dでは、
モニタ回路43cから送られてきた制御信号により、実
行中のプログラムを停止させるための信号をエミュレー
タ中央処理装置42へ送る。エミュレータ中央処理装置
42は前記信号を受けるとプログラムの実行を停止して
ターゲットプログラムメモリ43aの保護を行う。従っ
て、ターゲットプログラムを格納したターゲットプログ
ラムメモリ43aのプログラム領域56,58への書き
込み、未使用領域55,57へのアクセス(Fetch
/Read/Write)について検知することが可能
であり、ターゲットプログラムの誤りを検出すると共
に、ターゲットプログラムメモリ43aに格納されてい
るターゲットプログラムやデータの破壊などを回避して
ターゲットプログラムメモリ43aを保護することが可
能になる。
When the target program is executed on the emulator 43 with such a memory protection function set, the monitor circuit 43c causes the emulator central processing unit 4 to operate.
The signal of the address bus and the data bus output from 2 and the signal of the control signal line are constantly monitored, and the access state to the target program memory 43a indicated by the address being accessed and the access condition set to the memory 43e for the memory protection function are shown. Compare with. When the access conditions do not match, a control signal indicating that they do not match is sent to the break circuit 43d. In the break circuit 43d,
A signal for stopping the program being executed is sent to the emulator central processing unit 42 by the control signal sent from the monitor circuit 43c. When receiving the signal, the emulator central processing unit 42 stops the execution of the program and protects the target program memory 43a. Therefore, writing to the program areas 56 and 58 of the target program memory 43a storing the target program and accessing to the unused areas 55 and 57 (Fetch
/ Read / Write) is detected, an error in the target program is detected, and the target program memory 43a is protected by avoiding destruction of the target program and data stored in the target program memory 43a. It will be possible.

【0008】[0008]

【発明が解決しようとする課題】従来のエミュレータは
以上のように構成されているので、ターゲットプログラ
ムの誤りを検出すると共に、ターゲットプログラムメモ
リ43aに格納されているターゲットプログラムやデー
タの破壊などを回避して保護することが可能であるが、
スタック破壊などにより例えば本来正しいデータが誤っ
たデータに化ける現象などが生じ、不正な分岐などの不
具合が発生した場合に、分岐先の領域が実行可能なプロ
グラム領域56,58であるときには異常検出を行うこ
とが出来ないという課題があった。つまり、ターゲット
プログラムメモリ43aのプログラム領域56,58内
であればこのような不正な分岐により分岐先のプログラ
ム領域56,58がアクセスされても、その状態を正常
な分岐によるアクセスと区別することが出来ないため、
ブレーク回路43dは動作することはなく、プログラム
の暴走が発生する可能性が生じ、このような現象が生じ
たときの原因を探索するためのデバッグに時間を要して
しまう課題があった。
Since the conventional emulator is constructed as described above, it detects an error in the target program and avoids destruction of the target program and data stored in the target program memory 43a. Can be protected by
For example, when a problem such as an illegal branch occurs due to a phenomenon in which originally correct data is transformed into erroneous data due to stack destruction or the like, an abnormality is detected when the branch destination area is the executable program area 56 or 58. There was a problem that I could not do it. That is, even if the branch destination program areas 56 and 58 are accessed due to such an illegal branch within the program areas 56 and 58 of the target program memory 43a, the state can be distinguished from the normal branch access. I can't do it,
The break circuit 43d does not operate, a program runaway may occur, and there is a problem that it takes time for debugging to search the cause when such a phenomenon occurs.

【0009】この発明は上記のような課題を解決するた
めになされたもので、ターゲットプログラム実行に要す
る時間に影響を与えることなく、分岐命令実行の際に生
じる誤りを検出し、デバッグに要する時間を短縮できる
エミュレータを得ることを目的とする。
The present invention has been made in order to solve the above problems, and detects an error that occurs during execution of a branch instruction without affecting the time required for executing a target program, and the time required for debugging. The purpose is to obtain an emulator that can shorten.

【0010】[0010]

【課題を解決するための手段】請求項1記載の発明に係
るエミュレータは、ターゲットとなる回路に用いられる
メモリのROM領域の各アドレスに一対一に対応したア
ドレスを有する分岐許可フラグ格納用メモリと、予め分
岐命令に関係するアドレスとしてアクセスが許可される
アドレスと許可されないアドレスとを識別する情報を前
記分岐許可フラグ格納用メモリへ格納するための識別情
報格納手段と、該識別情報格納手段により格納された前
記情報を基に前記ターゲットプログラムの実行を遅延さ
せることなく前記分岐命令が実行される際の前記アドレ
スへのアクセスに関係する誤りを検出する誤分岐アドレ
ス判定回路と、該誤分岐アドレス判定回路が前記分岐命
令の実行される際の前記誤りを検出したときに前記ター
ゲットプログラムの実行を停止させるブレーク回路とを
備えたものである。
According to a first aspect of the present invention, there is provided an emulator for storing a branch permission flag having a one-to-one address corresponding to each address of a ROM area of a memory used as a target circuit. Identification information storage means for storing in advance the information for identifying the address permitted and the address not permitted as the address related to the branch instruction in the memory for storing the branch permission flag, and stored by the identification information storage means An incorrect branch address determination circuit for detecting an error related to access to the address when the branch instruction is executed without delaying execution of the target program based on the information obtained, and the incorrect branch address determination The target program when the circuit detects the error when the branch instruction is executed It is obtained by a break circuit for stopping the execution.

【0011】請求項2記載の発明に係るエミュレータ
は、分岐命令に関係するアドレスとしてアクセスが許可
されるアドレスと許可されないアドレスとを識別する
“1”あるいは“0”により設定されるフラグデータ
を、ターゲットとなる回路に用いられるメモリのROM
領域の各アドレスに一対一に対応した分岐許可フラグ格
納用メモリへ識別情報格納手段により予め格納するよう
にしたものである。
An emulator according to a second aspect of the present invention provides flag data set by "1" or "0" for identifying an address permitted and an address not permitted as an address related to a branch instruction, ROM of memory used for target circuit
The identification information storage means stores in advance a branch permission flag storage memory corresponding to each address of the area on a one-to-one basis.

【0012】請求項3記載の発明に係るエミュレータ
は、分岐命令のオぺコードで指定された絶対アドレスで
あるかないかを基に前記分岐命令が実行される際のアド
レスに関係する誤りを検出するため、前記分岐命令のオ
ぺコードで指定された絶対アドレスであるかないかに応
じて前記分岐命令に関係するアドレスとしてアクセスが
許可されるアドレスと許可されないアドレスとを識別す
る“1”あるいは“0”により設定されるフラグデータ
を、ターゲットとなる回路に用いられるメモリのROM
領域の各アドレスに一対一に対応した分岐許可フラグ格
納用メモリへ識別情報格納手段により予め格納するよう
にしたものである。
An emulator according to a third aspect of the present invention detects an error relating to an address when the branch instruction is executed based on whether or not the absolute address is specified by an opcode of the branch instruction. Therefore, “1” or “0” is used to identify an address that is permitted to be accessed and an address that is not permitted as an address related to the branch instruction depending on whether or not the address is an absolute address designated by the opcode of the branch instruction. ROM of the memory used for the target circuit for the flag data set by
The identification information storage means stores in advance a branch permission flag storage memory corresponding to each address of the area on a one-to-one basis.

【0013】請求項4記載の発明に係るエミュレータ
は、ラベルが定義されているプログラムの先頭アドレス
であるかないかを基に分岐命令が実行される際のアドレ
スに関係する誤りを検出するため、前記ラベルが定義さ
れているプログラムの先頭アドレスであるかないかに応
じて前記分岐命令に関係するアドレスとしてアクセスが
許可されるアドレスと許可されないアドレスとを識別す
る“1”あるいは“0”により設定されるフラグデータ
を、ターゲットとなる回路に用いられるメモリのROM
領域の各アドレスに一対一に対応した分岐許可フラグ格
納用メモリへ識別情報格納手段により予め格納するよう
にしたものである。
An emulator according to a fourth aspect of the present invention detects an error relating to an address when a branch instruction is executed based on whether the label is the start address of a program in which the label is defined. A flag set by "1" or "0" for distinguishing between an address which is permitted to be accessed and an address which is not permitted as an address related to the branch instruction depending on whether or not the label is the start address of the defined program ROM of memory used for the target circuit
The identification information storage means stores in advance a branch permission flag storage memory corresponding to each address of the area on a one-to-one basis.

【0014】請求項5記載の発明に係るエミュレータ
は、サブルーチンへの分岐命令の次の命令アドレスであ
るかないかを基に前記分岐命令が実行される際のアドレ
スに関係する誤りを検出するため、前記サブルーチンへ
の分岐命令の次の命令アドレスであるかないかに応じて
前記分岐命令に関係するアドレスとしてアクセスが許可
されるアドレスと許可されないアドレスとを識別する
“1”あるいは“0”により設定されるフラグデータ
を、ターゲットとなる回路に用いられるメモリのROM
領域の各アドレスに一対一に対応した分岐許可フラグ格
納用メモリへ識別情報格納手段により予め格納するよう
にしたものである。
An emulator according to a fifth aspect of the present invention detects an error related to an address when the branch instruction is executed based on whether or not the instruction address is the address next to the branch instruction to the subroutine. The address related to the branch instruction is set by "1" or "0" for distinguishing between the address which is permitted to access and the address which is not permitted according to whether or not it is the next instruction address of the branch instruction to the subroutine. ROM of the memory used for the target circuit for flag data
The identification information storage means stores in advance a branch permission flag storage memory corresponding to each address of the area on a one-to-one basis.

【0015】[0015]

【発明の実施の形態】以下、この発明の実施の一形態を
説明する。 実施の形態1.図1は、この発明の実施の形態1におけ
るエミュレータの構成を示すブロック図である。図にお
いて、11はエミュレータ中央処理装置、12はエミュ
レータ中央処理装置11から出力される信号を常に監視
するモニタ回路(モニタ手段)、13はターゲットプロ
グラムやデータを格納するターゲットプログラムメモ
リ、14は指定したアドレスの命令実行や不正分岐を行
った場合、および指定したアドレスの命令実行や実行ア
ドレスのアクセス状態とメモリ保護機能用メモリ17の
アクセス条件とを比較してアクセス状態が前記アクセス
条件と異なっている場合にターゲットプログラムの実行
を中止させるブレーク回路、15はターゲット基板上の
メモリのROM領域の各アドレスに対して一対一に対応
したアドレスを有し、分岐命令に関係するアドレスとし
てアクセスが許可されるアドレスと許可されないアドレ
スとを識別する情報を格納する分岐許可フラグ格納用メ
モリ、16は分岐命令実行時に分岐アドレスを判別する
分岐アドレス判別回路、17はターゲットプログラムメ
モリ13のアクセス条件を設定する前記メモリ保護機能
用メモリ(メモリ保護手段)、18は分岐許可フラグ格
納用メモリ15に格納された前記情報を基に前記ターゲ
ットプログラムの実行を遅延させることなく前記分岐命
令が実行される際の前記アドレスに関係する誤りを検出
する誤分岐アドレス判定回路、19はモニタ回路12,
ターゲットプログラムメモリ13,ブレーク回路14,
分岐許可フラグ格納用メモリ15,分岐アドレス判別回
路16,メモリ保護機能用メモリ17などを備えたエミ
ュレータを示す。20はソースプログラムをアセンブル
する際に予め分岐命令に関係するアドレスとしてアクセ
スが許可されるアドレスと許可されないアドレスとを識
別する前記情報を生成し前記分岐許可フラグ格納用メモ
リ15へ格納するためのパーソナルコンピュータ(識別
情報格納手段)である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below. Embodiment 1 FIG. 1 is a block diagram showing a configuration of an emulator according to a first embodiment of the present invention. In the figure, 11 is a central processing unit of the emulator, 12 is a monitor circuit (monitoring means) for constantly monitoring the signal output from the central processing unit of the emulator 11, 13 is a target program memory for storing the target program and data, and 14 is designated. When the instruction execution of the address or the illegal branch is performed, and the instruction execution of the specified address or the access status of the execution address is compared with the access condition of the memory 17 for the memory protection function, the access status is different from the access condition. In this case, the break circuit for stopping the execution of the target program, 15 has an address corresponding to each address of the ROM area of the memory on the target substrate on a one-to-one basis, and access is permitted as an address related to the branch instruction. Identify addresses and disallowed addresses A memory for storing a branch permission flag for storing information, 16 for a branch address discriminating circuit for discriminating a branch address when a branch instruction is executed, and 17 for the memory for memory protection function (memory protection means) for setting an access condition of the target program memory 13. , 18 is an erroneous branch address for detecting an error related to the address when the branch instruction is executed without delaying the execution of the target program based on the information stored in the memory 15 for storing the branch permission flag. Judgment circuit, 19 is a monitor circuit 12,
Target program memory 13, break circuit 14,
1 shows an emulator including a memory 15 for storing a branch permission flag, a branch address discrimination circuit 16, a memory 17 for a memory protection function, and the like. Reference numeral 20 is a personal computer for generating the information for identifying the address which is permitted to access and the address which is not permitted as the address related to the branch instruction in advance when assembling the source program and storing the information in the memory 15 for storing the branch permission flag. It is a computer (identification information storage means).

【0016】図2は、ターゲット基板上のメモリのメモ
リマップと、アセンブルされたターゲットプログラムを
格納するターゲットプログラムメモリ13のメモリマッ
プとの対応関係を示した説明図である。図において、2
1はターゲット基板上のメモリのRAM領域、22はタ
ーゲット基板上のメモリの未使用領域、23はターゲッ
ト基板上のメモリのROM領域、24はターゲットプロ
グラムメモリ13のデータ領域、25および27はター
ゲットプログラムメモリ13の未使用領域、26と28
はターゲットプログラムメモリ13のプログラム領域で
ある。
FIG. 2 is an explanatory diagram showing the correspondence relationship between the memory map of the memory on the target substrate and the memory map of the target program memory 13 for storing the assembled target program. In the figure, 2
1 is a RAM area of the memory on the target substrate, 22 is an unused area of the memory on the target substrate, 23 is a ROM area of the memory on the target substrate, 24 is a data area of the target program memory 13, and 25 and 27 are target programs. Unused area of memory 13, 26 and 28
Is a program area of the target program memory 13.

【0017】図3は、分岐が許可されているか許可され
ていないかを示すフラグが格納された分岐許可フラグ格
納用メモリ15を示す構成図である。図において、フラ
グ“1”のときには分岐可能であることを示し、またフ
ラグ“0”のときには分岐不可であることを示してい
る。
FIG. 3 is a block diagram showing a branch permission flag storage memory 15 in which a flag indicating whether or not branching is permitted is stored. In the figure, the flag "1" indicates that branching is possible, and the flag "0" indicates that branching is not possible.

【0018】図4は、分岐命令の実行時にアドレスバス
上へ出力されるアドレスおよびデータバス上へ出力され
るデータと読出制御信号線および書込制御信号線へ出力
される制御信号を示すタイミング図である。図におい
て、31はアドレスバス上へ出力される信号であり現在
の実行アドレスを示し、32はアドレスバス上へ出力さ
れる分岐先のアドレス、33はデータバス上へ出力され
る分岐命令のオペコード、34はデータバス上へ出力さ
れる分岐命令のオペランドであり、これより指定された
分岐先アドレスが参照可能である。
FIG. 4 is a timing chart showing an address output on the address bus and data output on the data bus and control signals output to the read control signal line and the write control signal line when a branch instruction is executed. Is. In the figure, 31 is a signal output onto the address bus, which indicates the current execution address, 32 is the address of the branch destination output onto the address bus, 33 is the opcode of the branch instruction output onto the data bus, Reference numeral 34 is an operand of a branch instruction output onto the data bus, and a branch destination address designated by this can be referred to.

【0019】図5に示すソースプログラムをアセンブル
する際に分岐命令に関係してアクセスが許可されるアド
レスは分岐許可情報ファイルとして生成し、アクセスが
許可されたアドレスと許可されないアドレスとを識別す
るための情報は、ターゲット基板上のメモリのROM領
域の各アドレスと対応する分岐許可フラグ格納用メモリ
15の各アドレスへ図3に示すように分岐可能であると
きにはフラグ“1”、分岐不可であるときにはフラグ
“0”として格納する。この場合、分岐を許可するアド
レスは、図5に示すように(1)分岐命令のオペコード
で指定された絶対アドレス、(2)ラベルが定義された
アドレス、(3)サブルーチン命令の次の命令アドレス
である。
For assembling the source program shown in FIG. 5, the addresses permitted to be accessed in relation to the branch instruction are generated as a branch permission information file, and the addresses permitted to be accessed and the addresses not permitted are identified. Information of the flag is "1" when branching is possible to each address of the branch permission flag storing memory 15 corresponding to each address in the ROM area of the memory on the target substrate, and when branching is not possible, as shown in FIG. The flag is stored as "0". In this case, the address permitted to branch is (1) the absolute address specified by the operation code of the branch instruction, (2) the address where the label is defined, and (3) the instruction address next to the subroutine instruction as shown in FIG. Is.

【0020】また、ターゲットプログラムをエミュレー
タ上で実行する前に、従来技術で説明したようにユーザ
はメモリ保護機能を設定するためにターゲットプログラ
ムを格納したターゲットプログラムメモリ13のアクセ
ス条件をメモリ保護機能用メモリ17へ設定する。この
結果、ターゲットプログラムを格納したターゲットプロ
グラムメモリ13のプログラム領域26,28が書込み
禁止、未使用領域25,27がアクセス禁止となり、メ
モリ保護機能が確立される。
Before executing the target program on the emulator, the user sets the access condition of the target program memory 13 storing the target program for the memory protection function to set the memory protection function as described in the prior art. Set in the memory 17. As a result, the program areas 26 and 28 of the target program memory 13 storing the target program are write-protected and the unused areas 25 and 27 are access-disabled, and the memory protection function is established.

【0021】次に、図1,図2,図3を用いてこの実施
の形態1のエミュレータにおけるブレーク機能を説明す
る。ユーザは、ターゲットプログラムをエミュレータ上
で実行する前に、ソースプログラムをアセンブルする時
点でターゲットプログラムメモリのプログラム領域2
6、28の各アドレスに一対一に対応させて図3に示す
ように分岐が許可されるかされないかを示すフラグを分
岐許可フラグ格納用メモリ15に設定する。
Next, the break function in the emulator of the first embodiment will be described with reference to FIGS. 1, 2, and 3. Before executing the target program on the emulator, the user needs to assemble the program area 2 of the target program memory at the time of assembling the source program.
A flag indicating whether the branch is permitted or not is set in the branch permission flag storage memory 15 in a one-to-one correspondence with the addresses 6 and 28, as shown in FIG.

【0022】ターゲットプログラム実行中、分岐アドレ
ス判別回路16はアドレスバス上に出力された分岐先の
アドレス32を判別する。このとき、分岐アドレス判別
回路16によって判別された分岐先アドレスの分岐許可
フラグ格納用メモリ15に設定されているフラグを参照
する。その結果、設定されているフラグが分岐不可を示
している場合には、分岐不可のフラグが設定されている
ことを示す制御信号をブレーク回路14に送る。ブレー
ク回路14は、分岐不可のフラグが設定されていること
を示す制御信号を分岐アドレス判別回路16から受ける
と、ターゲットプログラムの実行を中止する。
During execution of the target program, the branch address determination circuit 16 determines the branch destination address 32 output on the address bus. At this time, the flag set in the branch permission flag storage memory 15 of the branch destination address determined by the branch address determination circuit 16 is referred to. As a result, when the flag that is set indicates that branching is not possible, a control signal that indicates that the flag that is not branching is set is sent to the break circuit 14. When the break circuit 14 receives from the branch address determination circuit 16 a control signal indicating that the branch not possible flag is set, the break circuit 14 stops the execution of the target program.

【0023】次に、ブレーク回路14が動作してターゲ
ットプログラムの実行を中止する場合について具体的に
説明する。前述したように分岐が許可されるアドレス
は、(1)分岐命令のオペコードで指定された絶対アド
レス、(2)ラベルが定義されたアドレス、(3)サブ
ルーチン命令の次の命令アドレスであるため、前記
(2)の条件を満足しないことでブレーク回路14が動
作する場合としては、次に示すような場合である。
Next, the case where the break circuit 14 operates to stop the execution of the target program will be specifically described. As described above, the address permitted to branch is (1) the absolute address specified by the operation code of the branch instruction, (2) the address in which the label is defined, and (3) the instruction address next to the subroutine instruction. The case where the break circuit 14 operates by not satisfying the condition (2) is as follows.

【0024】つまり、ラベルが定義されているアドレス
は分岐先のプログラムの先頭アドレスであることから、
この先頭アドレスに対しては分岐先として許可されてい
なければならないため、この先頭アドレスについて分岐
許可フラグ格納用メモリ15に設定されているフラグは
当然に分岐先のアドレスとして許可されたフラグ“1”
が設定されている。従って、本来正しいアドレスが誤っ
たアドレスに変化するエラーが生じ前記ラベルが定義さ
れているアドレスへ分岐しない場合には、ブレーク回路
14が動作して誤った分岐先へ分岐することによる暴走
などを有効に回避することになる。
That is, since the address in which the label is defined is the start address of the branch destination program,
Since this start address must be permitted as a branch destination, the flag set in the branch permission flag storage memory 15 for this start address is, of course, the flag "1" permitted as the branch destination address.
Is set. Therefore, when an error occurs in which an originally correct address changes to an incorrect address and the branch does not branch to the address in which the label is defined, the break circuit 14 operates and branching to an incorrect branch destination is effective. Will be avoided.

【0025】また、前記(3)の条件を満足しないこと
でブレーク回路14が動作する場合としては、次に示す
ような場合である。
The case where the break circuit 14 operates by not satisfying the condition (3) is as follows.

【0026】つまり、従来のエミュレータでは、スタッ
クに格納されたアドレスにエラーが発生したり、スタッ
クポインタにエラーが生じたり、ハード的な原因でエラ
ーが生じると、エラーにより変化したアドレスがプログ
ラム領域である場合には、メモリ保護機能は動作するこ
とがなくブレーク回路も動作しないため、暴走状態に陥
ってしまう場合があったのに対し、この実施の形態1で
は、さらに分岐先のアドレスが分岐を許可されているア
ドレスか分岐不可であるアドレスかの条件をも加味して
ブレーク回路が動作するため、スタック破壊などにより
誤った分岐先アドレスへ戻ろうする場合には、そのアド
レスについて分岐許可フラグ格納用メモリ15に分岐不
可を示すフラグが設定されている限り、ブレーク回路1
4が動作して誤った戻り番地へ戻ることによる暴走など
を有効に回避することになる。
That is, in the conventional emulator, when an error occurs in the address stored in the stack, an error occurs in the stack pointer, or an error occurs due to hardware, the address changed by the error is stored in the program area. In some cases, the memory protection function does not operate and the break circuit does not operate, which may result in a runaway state. However, in the first embodiment, the branch destination address is further branched. The break circuit operates by taking into account the condition of whether the address is allowed or not allowed to branch, so when returning to the wrong branch destination address due to stack destruction, etc., the branch enable flag is stored for that address. As long as the flag indicating that branching is not possible is set in the memory 15 for break, the break circuit 1
It is possible to effectively avoid runaway or the like due to the operation of 4 and returning to the wrong return address.

【0027】このように、この実施の形態1のエミュレ
ータによれば、誤った分岐が行われようとするとターゲ
ットプログラムの実行が即座に中止されるので、誤った
分岐による暴走を有効に回避することができる効果があ
る。
As described above, according to the emulator of the first embodiment, the execution of the target program is immediately stopped when an erroneous branch is attempted, so that the runaway due to the erroneous branch can be effectively avoided. There is an effect that can be.

【0028】[0028]

【発明の効果】以上のように、請求項1記載の発明によ
れば、ターゲットとなる回路に用いられるメモリのRO
M領域の各アドレスに一対一に対応した分岐許可フラグ
格納用メモリへ識別情報格納手段により予め分岐命令に
関係するアドレスとして許可されるアドレスと許可され
ないアドレスとを識別する情報を格納しておき、ターゲ
ットプログラムの実行を遅延させることなく前記格納さ
れた前記情報を基に前記分岐命令が実行される際の前記
アドレスに関係する誤りを誤分岐アドレス判定回路によ
り検出し、ブレーク回路により前記ターゲットプログラ
ムの実行を停止させるように構成したので、例えば前記
分岐命令が実行される際の分岐先のアドレスに関係して
発生する誤りを容易に知ることができ、前記ターゲット
プログラムのデバッグに要する時間を短縮できる効果が
ある。
As described above, according to the first aspect of the invention, the RO of the memory used in the target circuit is RO.
Information for identifying an address permitted and an address not permitted as an address related to a branch instruction is stored in advance in the branch permission flag storage memory corresponding to each address in the M area by the identification information storage means, An error related to the address when the branch instruction is executed based on the stored information without delaying the execution of the target program is detected by an erroneous branch address determination circuit, and a break circuit is used to detect the target program. Since the execution is configured to be stopped, it is possible to easily know, for example, an error that occurs in relation to the branch destination address when the branch instruction is executed, and it is possible to shorten the time required for debugging the target program. effective.

【0029】請求項2記載の発明によれば、ターゲット
となる回路に用いられるメモリのROM領域の各アドレ
スに一対一に対応した分岐許可フラグ格納用メモリへ識
別情報格納手段により予め分岐命令に関係するアドレス
としてアクセスが許可されるアドレスと許可されないア
ドレスとを識別する“1”あるいは“0”により設定さ
れるフラグデータを格納しておき、ターゲットプログラ
ムの実行を遅延させることなく前記格納された前記フラ
グデータを基に前記分岐命令が実行される際の前記アド
レスへのアクセスに関係する誤りを誤分岐アドレス判定
回路により検出し、ブレーク回路により前記ターゲット
プログラムの実行を停止させるように構成したので、前
記分岐命令が実行される際のアドレスへのアクセスに関
係する誤りを前記フラグデータを基に容易に知ることが
でき、前記ターゲットプログラムのデバッグに要する時
間を短縮できる効果がある。
According to the second aspect of the present invention, the branch information is stored in the branch permission flag storage memory corresponding to each address in the ROM area of the memory used as the target circuit in a one-to-one relationship with the branch instruction in advance by the identification information storage means. The flag data set by "1" or "0" for discriminating between the access-permitted address and the access-disabled address is stored in advance, and the stored data is stored without delaying the execution of the target program. Since the error related to the access to the address when the branch instruction is executed based on the flag data is detected by the erroneous branch address determination circuit, and the break circuit is configured to stop the execution of the target program, The error relating to the access to the address when the branch instruction is executed Lag data can be easily known based on, which reduces the time required for debugging of the target program.

【0030】請求項3記載の発明によれば、ターゲット
となる回路に用いられるメモリのROM領域の各アドレ
スに一対一に対応した分岐許可フラグ格納用メモリへ識
別情報格納手段により予め分岐命令のオぺコードで指定
された絶対アドレスであるかないかに応じてアクセスが
許可されるアドレスと許可されないアドレスとを識別す
る“1”あるいは“0”により設定されるフラグデータ
を格納しておき、ターゲットプログラムの実行を遅延さ
せることなく前記格納された前記フラグデータを基に前
記分岐命令が実行される際の前記絶対アドレスへのアク
セスに生じる誤りを誤分岐アドレス判定回路により検出
し、ブレーク回路により前記ターゲットプログラムの実
行を停止させるように構成したので、前記分岐命令が実
行される際のオぺコードで指定された前記絶対アドレス
へのアクセスに生じる誤りを容易に知ることができ、前
記ターゲットプログラムのデバッグに要する時間を短縮
できる効果がある。
According to the third aspect of the present invention, the branch information of the branch instruction flag is stored in advance in the branch permission flag storing memory corresponding to each address of the ROM area of the memory used as the target circuit by the identification information storing means. The flag data set by "1" or "0" for identifying the address permitted and the address not permitted according to whether or not the address is an absolute address designated by the code is stored in advance and stored in the target program. An error occurring in the access to the absolute address when the branch instruction is executed based on the stored flag data without delaying the execution is detected by an erroneous branch address determination circuit, and the target program is executed by a break circuit. Since the execution of the branch instruction is stopped, the operation when the branch instruction is executed is executed. An error occurring in accessing the absolute address specified in the over-de can be easily known, which reduces the time required for debugging of the target program.

【0031】請求項4記載の発明によれば、ターゲット
となる回路に用いられるメモリのROM領域の各アドレ
スに一対一に対応した分岐許可フラグ格納用メモリへ識
別情報格納手段により予めラベルが定義されているプロ
グラムの先頭アドレスであるかないかに応じたアクセス
が許可されるアドレスと許可されないアドレスとを識別
する“1”あるいは“0”により設定されるフラグデー
タを格納しておき、ターゲットプログラムの実行を遅延
させることなく前記格納された前記フラグデータを基に
前記分岐命令が実行される際の前記ラベルが定義されて
いるプログラムの先頭アドレスへのアクセスに生じる誤
りを誤分岐アドレス判定回路により検出し、ブレーク回
路により前記ターゲットプログラムの実行を停止させる
ように構成したので、前記分岐命令が実行される際のラ
ベルが定義されているプログラムの前記先頭アドレスへ
のアクセスに生じる誤りを容易に知ることができ、前記
ターゲットプログラムのデバッグに要する時間を短縮で
きる効果がある。
According to the fourth aspect of the present invention, the label is previously defined by the identification information storage means in the branch permission flag storage memory corresponding to each address of the ROM area of the memory used as the target circuit in a one-to-one correspondence. The flag data set by "1" or "0" for distinguishing between the access-permitted address and the access-disabled address depending on whether the program is the start address or not is stored and the target program is executed. An error caused by accessing the start address of the program in which the label is defined when the branch instruction is executed based on the stored flag data without delay is detected by an erroneous branch address determination circuit, The break circuit is configured to stop the execution of the target program. , The branch instruction is an error can be known facilitate caused to access the leading address of the program labels when executed is defined, which reduces the time required for debugging of the target program.

【0032】請求項5記載の発明によれば、ターゲット
となる回路に用いられるメモリのROM領域の各アドレ
スに一対一に対応した分岐許可フラグ格納用メモリへ識
別情報格納手段により予めサブルーチンへの分岐命令の
次の命令アドレスであるかないかに応じてアクセスが許
可されるアドレスと許可されないアドレスとを識別する
“1”あるいは“0”により設定されるフラグデータを
格納しておき、ターゲットプログラムの実行を遅延させ
ることなく前記格納された前記フラグデータを基に前記
分岐命令が実行される際の前記サブルーチンへの分岐命
令の次の命令アドレスへのアクセスに生じる誤りを誤分
岐アドレス判定回路により検出し、ブレーク回路により
前記ターゲットプログラムの実行を停止させるように構
成したので、前記サブルーチンへの分岐命令の次の命令
アドレスへのアクセスに生じる誤りを容易に知ることが
でき、特にスタック内のデータに生じたエラーが原因と
なる誤りを容易に知ることが出来、デバッグに要する時
間を短縮できる効果がある。
According to the fifth aspect of the present invention, a branch permission flag storage memory corresponding to each address of the ROM area of the memory used as the target circuit is provided one-to-one with the identification information storage means to branch to a subroutine in advance. The flag data set by "1" or "0" that distinguishes the address permitted and the address not permitted depending on whether the instruction address is the next instruction address or not is stored, and the target program is executed. An error occurring in the access to the next instruction address of the branch instruction to the subroutine when the branch instruction is executed based on the stored flag data without delay is detected by an erroneous branch address determination circuit, Since the break circuit is configured to stop the execution of the target program, It is easy to know the error that occurs in accessing the next instruction address of the branch instruction to Brutin, especially the error caused by the error that occurred in the data in the stack, and the time required for debugging. There is an effect that can shorten.

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

【図1】 この発明の実施の形態1によるエミュレータ
の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an emulator according to a first embodiment of the present invention.

【図2】 この発明の実施の形態1によるエミュレータ
のターゲット基板上のメモリのメモリマップと、アセン
ブルしたターゲットプログラムを格納するターゲットプ
ログラムメモリのメモリマップとの対応関係を示す説明
図である。
FIG. 2 is an explanatory diagram showing a correspondence relationship between a memory map of a memory on a target substrate of the emulator according to the first embodiment of the present invention and a memory map of a target program memory for storing an assembled target program.

【図3】 この発明の実施の形態1によるエミュレータ
の分岐が許可されているか許可されていないかを示すフ
ラグが設定された分岐許可フラグ格納用メモリの構成図
である。
FIG. 3 is a configuration diagram of a branch permission flag storage memory in which a flag indicating whether branching of the emulator is permitted or not permitted according to the first embodiment of the present invention is set.

【図4】 この発明の実施の形態1のエミュレータによ
る分岐命令の実行時にアドレスバス上へ出力されるアド
レスおよびデータバス上へ出力されるデータと読出制御
信号線および書込制御信号線へ出力される制御信号を示
すタイミング図である。
FIG. 4 is an address output on an address bus and data output on a data bus and a read control signal line and a write control signal line when a branch instruction is executed by the emulator according to the first embodiment of the present invention. FIG. 6 is a timing diagram showing control signals according to the present invention.

【図5】 この発明の実施の形態1のエミュレータによ
るソースプログラムの構成を示す説明図である。
FIG. 5 is an explanatory diagram showing a configuration of a source program by the emulator according to the first embodiment of the present invention.

【図6】 従来のエミュレータにおけるターゲット基板
とパーソナルコンピュータとの接続関係を示す概念図で
ある。
FIG. 6 is a conceptual diagram showing a connection relationship between a target board and a personal computer in a conventional emulator.

【図7】 従来のエミュレータにおけるターゲット基板
上のメモリのメモリマップと、アセンブルしたターゲッ
トプログラムを格納するターゲットプログラムメモリの
メモリマップとの対応関係を示す説明図である。
FIG. 7 is an explanatory diagram showing a correspondence relationship between a memory map of a memory on a target board in a conventional emulator and a memory map of a target program memory that stores an assembled target program.

【図8】 従来のエミュレータの構成を示すブロック図
である。
FIG. 8 is a block diagram showing a configuration of a conventional emulator.

【符号の説明】[Explanation of symbols]

12 モニタ回路(モニタ手段)、13 ターゲットプ
ログラムメモリ、14ブレーク回路、15 分岐許可フ
ラグ格納用メモリ、17 メモリ保護機能用メモリ(メ
モリ保護手段)、18 誤分岐アドレス判定回路、19
エミュレータ、20 パーソナルコンピュータ(識別
情報格納手段)。
12 monitor circuit (monitor means), 13 target program memory, 14 break circuit, 15 branch enable flag storage memory, 17 memory protection function memory (memory protection means), 18 incorrect branch address determination circuit, 19
Emulator, 20 Personal computer (identification information storage means).

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 ターゲットとなる回路を動作させるター
ゲットプログラムを格納するターゲットプログラムメモ
リと、前記ターゲットプログラムを実行することで前記
回路が動作する際の各種データをモニタするモニタ手段
と、該モニタ手段により得られたモニタ結果を基に前記
ターゲットプログラムによる前記ターゲットプログラム
メモリへの誤ったアクセスを検出するメモリ保護手段と
を備えたエミュレータにおいて、前記ターゲットとなる
回路に用いられるメモリのROM領域の各アドレスに一
対一に対応したアドレスを有する分岐許可フラグ格納用
メモリと、予め分岐命令に関係するアドレスとしてアク
セスが許可されるアドレスと許可されないアドレスとを
識別する情報を前記分岐許可フラグ格納用メモリへ格納
する識別情報格納手段と、該識別情報格納手段により格
納された前記情報を基に前記ターゲットプログラムの実
行を遅延させることなく前記分岐命令が実行される際の
前記アドレスへのアクセスに関係する誤りを検出する誤
分岐アドレス判定回路と、該誤分岐アドレス判定回路が
前記分岐命令の実行される際の前記誤りを検出したとき
に前記ターゲットプログラムの実行を停止させるブレー
ク回路とを備えたことを特徴とするエミュレータ。
1. A target program memory for storing a target program for operating a target circuit, monitor means for monitoring various data when the circuit operates by executing the target program, and the monitor means. In an emulator provided with a memory protection unit that detects an erroneous access to the target program memory by the target program based on the obtained monitor result, in each address of the ROM area of the memory used for the target circuit. A memory for storing a branch permission flag having an address corresponding to one-to-one and information for identifying an address which is permitted to be accessed and an address which is not permitted as an address related to a branch instruction are stored in the memory for storing the branch permission flag in advance. Identification information store And a false branch for detecting an error related to access to the address when the branch instruction is executed without delaying execution of the target program based on the information stored by the identification information storage means. An emulator comprising: an address determination circuit; and a break circuit that stops execution of the target program when the incorrect branch address determination circuit detects the error when the branch instruction is executed.
【請求項2】 識別情報格納手段により予め分岐許可フ
ラグ格納用メモリへ格納される情報は、分岐命令に関係
するアドレスとしてアクセスが許可されるアドレスと許
可されないアドレスとを識別する“1”あるいは“0”
により設定されるフラグデータであることを特徴とする
請求項1記載のエミュレータ。
2. The information stored in advance in the branch permission flag storage memory by the identification information storage means is "1" or "1" for identifying an address which is permitted to be accessed and an address which is not permitted as an address related to a branch instruction. 0 "
The emulator according to claim 1, wherein the emulator is flag data set by.
【請求項3】 分岐命令に関係するアドレスは、分岐命
令のオぺコードで指定された絶対アドレスであることを
特徴とする請求項2記載のエミュレータ。
3. The emulator according to claim 2, wherein the address related to the branch instruction is an absolute address designated by the opcode of the branch instruction.
【請求項4】 分岐命令に関係するアドレスは、ラベル
が定義されているプログラムの先頭アドレスであること
を特徴とする請求項2記載のエミュレータ。
4. The emulator according to claim 2, wherein the address related to the branch instruction is a start address of a program in which a label is defined.
【請求項5】 分岐命令に関係するアドレスは、サブル
ーチンへの分岐命令の次の命令アドレスであることを特
徴とする請求項2記載のエミュレータ。
5. The emulator according to claim 2, wherein the address related to the branch instruction is the instruction address next to the branch instruction to the subroutine.
JP7302847A 1995-11-21 1995-11-21 Emulator Pending JPH09146789A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7302847A JPH09146789A (en) 1995-11-21 1995-11-21 Emulator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7302847A JPH09146789A (en) 1995-11-21 1995-11-21 Emulator

Publications (1)

Publication Number Publication Date
JPH09146789A true JPH09146789A (en) 1997-06-06

Family

ID=17913820

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7302847A Pending JPH09146789A (en) 1995-11-21 1995-11-21 Emulator

Country Status (1)

Country Link
JP (1) JPH09146789A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100434309B1 (en) * 1998-03-09 2005-05-24 주식회사 하이닉스반도체 Emulator circuit
US7664939B2 (en) 2006-04-28 2010-02-16 Hitachi, Ltd. Method and apparatus for detecting false operation of computer
JP2011048850A (en) * 2010-10-29 2011-03-10 Fujitsu Ltd Software tampering prevention device and software tampering prevention method
JP2011048851A (en) * 2010-10-29 2011-03-10 Fujitsu Ltd Software tampering prevention device and software tampering prevention method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100434309B1 (en) * 1998-03-09 2005-05-24 주식회사 하이닉스반도체 Emulator circuit
US7664939B2 (en) 2006-04-28 2010-02-16 Hitachi, Ltd. Method and apparatus for detecting false operation of computer
JP2011048850A (en) * 2010-10-29 2011-03-10 Fujitsu Ltd Software tampering prevention device and software tampering prevention method
JP2011048851A (en) * 2010-10-29 2011-03-10 Fujitsu Ltd Software tampering prevention device and software tampering prevention method

Similar Documents

Publication Publication Date Title
US5386565A (en) Method and system for controlling/monitoring computer system having plural operating systems to run thereon
US6697971B1 (en) System and method for detecting attempts to access data residing outside of allocated memory
US4623962A (en) Register control processing system
EP0638864B1 (en) Development support system for microcomputer with internal cache
US7555627B2 (en) Input-output control apparatus, input-output control method, process control apparatus and process control method
US4945472A (en) Data processor with I/O area detection
JPH09146789A (en) Emulator
JP2004348627A (en) Microcomputer system
US5797032A (en) Bus for connecting extension cards to a data processing system and test method
KR100239438B1 (en) Cpu having function for preventing malfuction
JPH06236300A (en) Microcomputer
EP0382234B1 (en) Microprocessor having improved functional redundancy monitor mode arrangement
JP2007042086A (en) Input/output controller, input/output control method, process controller and process control method
JPH0769822B2 (en) Calculation register bypass check method
JPS5899841A (en) Address controlling system of partially mounted control memory
JP2000353109A (en) Emulator and emulation system
JPH0250226A (en) Microcomputer
JPS63103330A (en) Detecting system for misuse of address stack
JP2817675B2 (en) Program debug device
JPH08123734A (en) Methods for checking occurrence of data destruction in data storing area and program runaway and methods for searching causes of data destruction occurrence and program runaway
JPS6227421B2 (en)
JPH0258648B2 (en)
JPH08328900A (en) Emulator
JPS6115237A (en) Detecting system of undefined instruction
JPS61288242A (en) Memory protecting system