JPH0212330A - Microprocessor control system - Google Patents

Microprocessor control system

Info

Publication number
JPH0212330A
JPH0212330A JP63164016A JP16401688A JPH0212330A JP H0212330 A JPH0212330 A JP H0212330A JP 63164016 A JP63164016 A JP 63164016A JP 16401688 A JP16401688 A JP 16401688A JP H0212330 A JPH0212330 A JP H0212330A
Authority
JP
Japan
Prior art keywords
reset
address
terminals
processor
microprocessor
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
JP63164016A
Other languages
Japanese (ja)
Inventor
Yutaka Wabuka
裕 和深
Hisao Harigai
針谷 尚夫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP63164016A priority Critical patent/JPH0212330A/en
Publication of JPH0212330A publication Critical patent/JPH0212330A/en
Pending legal-status Critical Current

Links

Landscapes

  • Microcomputers (AREA)
  • Stored Programmes (AREA)

Abstract

PURPOSE:To diversify the start addresses in a reset state by starting the processes at the different addresses of a machine word instruction program according to the combination of plural signals applied to plural reset terminals. CONSTITUTION:The reset signal terminals 108-1 and 108-2 are connected to a microsequencer 103 via the signal lines 109-1 and 109-2. At the same time, the lines 109-1 and 109-2 are inputted to an OR gate 110 and the output 111 of the gate 110 is turned into an internal reset signal of the processor 101. Then the processes are started at the different addresses of a machine word program according to the combination of plural signals applied to both terminals 108-1 and 108-2. As a result, a microprocessor can be initialized into a desired state.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はマイクロプロセッサの制御方式に関し、特ニマ
イクロプロセッサのリセットにIM−1゜〔従来の技術
〕 従来のマイクロプロセッサのリセットは、規定された長
さのアクティブ・パルスを単一のリセット端子に印加す
ることによって行われていた。リセット端子からアクテ
ィブ・パルスが入力されるとマイクロブロセ、すは内部
の各ブロックやゲートを初期化して、メモリに対してリ
セット・アドレスを発行することにより新たに処理を始
める。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a control method for a microprocessor, and in particular to a method for resetting a microprocessor. This was done by applying an active pulse of a certain length to a single reset terminal. When an active pulse is input from the reset terminal, the microprocessor initializes each internal block and gate and starts a new process by issuing a reset address to the memory.

たとえばマイクロプログラム制御を実施しているマイク
ロプロセッサがリセットされた場合について説明する。
For example, a case will be explained in which a microprocessor executing microprogram control is reset.

まずマイクロプログラム・レベルではリセット信号がマ
イクロ・シーケンサに認識さhると強制的にリセット用
マイクロ・アドレスへ分岐してマイクロフログラムのリ
セット・ルーチンを実行する。次にマイクロプログラム
のリセ。
First, at the microprogram level, when the micro sequencer recognizes a reset signal, it forcibly branches to the reset micro address and executes the microprogram reset routine. Next is resetting the microprogram.

ト・ルーチンのなかで機械語命令レベルノリセット・ア
ドレスがメモリに対して発行され、該リセット・アドレ
スから機械語命令の処理を開始する。パーソナル・コン
ピュータに代表されるマイクロプロセッサを中心とする
情報処理システムにおいてリセット・アドレスからの機
械後命令ブロダラムでは一般にシステム・コンフィギユ
レーションのチエツク、メモリやIloのテスト等が行
われ、このフンフィギュレーシ3ンのチエツクとテスト
はリセット時に必ず毎回実行される。
In the reset routine, a machine language instruction level reset address is issued to the memory, and processing of machine language instructions is started from the reset address. In an information processing system centered on a microprocessor such as a personal computer, checks of the system configuration, memory and Ilo tests, etc. are generally performed in the machine post-instruction program from the reset address. Checks and tests on the controller 3 are always performed at every reset.

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

以上説明したように、従来のマイクロプロセッサのリセ
ット方法では、リセット時に必ずシステム・コンフィギ
ユレーションのチエツクとテストが毎回実行されるが、
現在の情報処理システムに使用される部品の信頼性の高
さから考えるとリセットの度ごとの該コンフィギユレー
ションのチエツクとメモリやIloのテストは時間的効
率という面において非常に不利であるという欠点がある
。この原因は、従来のマイクロプロセッサのリセット方
法では、リセット時の開始アドレスが1つだけであるこ
とである。
As explained above, in the conventional microprocessor reset method, system configuration checks and tests are always executed at each reset.
Considering the high reliability of parts used in current information processing systems, checking the configuration and testing memory and Ilo every time a reset is performed is extremely disadvantageous in terms of time efficiency. There are drawbacks. The reason for this is that in the conventional microprocessor reset method, there is only one starting address at the time of reset.

〔発明の従来技術に対する相違点〕[Differences between the invention and the prior art]

上述した従来のマイクロプロセッサの、リセット方法に
対し、本発明は複数のリセット端子のそれぞれに印加さ
れる複数の信号の組合せによって機械語命令プログラム
の異なるアドレスから処理を開始するという相違点を有
する。
The present invention differs from the conventional microprocessor reset method described above in that processing is started from different addresses in the machine language instruction program by a combination of a plurality of signals applied to each of a plurality of reset terminals.

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

マイクロプロセッサに代表される情報処理装置において
、複数のリセット入力端子と、該複数のリセット端子か
らの信号を入力とするデコード手段とを有し、複数のリ
セット端子のそれぞれに印加される複数の信号の組合せ
を前記デコード手段でデコードすることによって、リセ
ット後に機械語命令プログラムの異なるアドレス出力す
ることを特徴とする。
An information processing device typified by a microprocessor includes a plurality of reset input terminals and a decoding means that inputs signals from the plurality of reset terminals, and a plurality of signals applied to each of the plurality of reset terminals. By decoding a combination of the following by the decoding means, a different address of the machine language instruction program is output after reset.

〔実施例1〕 第1図は本発明の1実施例を示す図である。[Example 1] FIG. 1 is a diagram showing one embodiment of the present invention.

101は本発明を実施しているマイクロプロセッサまた
はCPUで、マイクロプログラム制御方式を採用してい
るものとする。102はプロセッサ101の制御記憶、
103は制御記憶102ヲ司るマイクロ・シーケンサ、
104は機械後命令プログラムのリセット・アドレスを
格納するアドレス・レジスタ、105はプロセッサ10
1外部のアドレス・バス、106はプロセッサ101外
部のデータ・バス、107はメモリである。
Reference numeral 101 denotes a microprocessor or CPU implementing the present invention, which employs a microprogram control system. 102 is a control memory of the processor 101;
103 is a micro sequencer that controls the control memory 102;
104 is an address register that stores the reset address of the machine post-instruction program; 105 is the processor 10;
1 is an external address bus, 106 is a data bus external to the processor 101, and 107 is a memory.

108−1,108−2は本発明で新たに設けられた2
つのリセット信号端子で、それぞれ信号路109−1,
109−2によってマイクロ・シーケンサ103に接続
されている。また109−1.109−2は論理和ゲー
ト110に入力され、論理和ゲート110の出力111
はプロセッサ101の内部リセット信号となる。108
−1゜108−2からの入力信号は第5図に示したよう
にプロセッサ101の動作を規定する。つまり108−
1,108−2が(00)のときはリセットはなく、従
ってプロセッサ101の内部リセット信号111はイン
アクティブである。108−1,108−2が(01)
のときは内部リセ。
108-1 and 108-2 are 2 newly provided in the present invention.
two reset signal terminals, respectively, on signal paths 109-1 and 109-1;
It is connected to the micro sequencer 103 by 109-2. 109-1.109-2 is also input to the OR gate 110, and the output 111 of the OR gate 110 is
becomes an internal reset signal of the processor 101. 108
The input signal from -1° 108-2 defines the operation of processor 101 as shown in FIG. That is, 108-
When 1,108-2 is (00), there is no reset, and therefore the internal reset signal 111 of the processor 101 is inactive. 108-1, 108-2 is (01)
When , it is an internal reset.

ト信号111がアクティブになってプロセッサ101の
内部の各ゲートを初期化し、同時にマイクロ・シーケン
サ103は108−1,108−2が(01)であるこ
とを受けて、制御記憶102にたいしてURAlのリセ
ット・アドレスからのマイクロプログラム処理を開始す
るような制御を行う。また108−1,108−2が(
10)のときはプロセッサ101の内部の各ゲートが初
期化されるのと同時に、マイクロ・シーケンサ103は
108−1,108−2が(10)であることを受けて
、制御記憶102にたいしてURA2のリセット・アド
レスからのマイクロプログラム処理を開始するような制
御を行う。同様に108−1.108−2が(11)の
ときは制御記憶102にたいしてリセット・アドレスU
RA3からのリセット・マイクロ・ルーチンからマイク
ロプログラム処理を開始するように制御される。第2図
は制御記憶102のアドレス・マツプの概略図である。
The gate signal 111 becomes active and initializes each gate inside the processor 101, and at the same time, the micro sequencer 103 resets URAl in the control memory 102 in response to the fact that 108-1 and 108-2 are (01). - Performs control such as starting microprogram processing from an address. Also, 108-1 and 108-2 are (
10), at the same time that each gate inside the processor 101 is initialized, the micro sequencer 103 receives that 108-1 and 108-2 are (10), and stores the URA2 in the control memory 102. Performs control such as starting microprogram processing from the reset address. Similarly, when 108-1.108-2 is (11), reset address U is sent to control memory 102.
It is controlled to start microprogram processing from the reset microroutine from RA3. FIG. 2 is a schematic diagram of the address map of control store 102.

URAIのリセット・アドレスから開始されるマイク四
プログラムによりアドレス・レジスタ104には機械語
命令レベルのリセット・アドレスMRAIがロードされ
、MRAlをリセット後の最初の命令フェッチのアドレ
スとしてアドレス・バス105を介してメモリ107へ
供給される。
A machine language instruction level reset address MRAI is loaded into the address register 104 by the microphone program starting from the reset address of URAI, and MRAI is loaded via the address bus 105 as the address of the first instruction fetch after the reset. and is supplied to the memory 107.

同様にURA2からマイクロプログラム処理が開始され
るとアドレス・レジスタ104にはMRA2が格納され
、MRA2がリセット後の最初の命令フェッチのアドレ
スとなり、URA3からマイクロプログラム処理が開始
されるとアドレス・レジスタ104にはMRA3が格納
され、MRA3がリセット後の最初の命令フェッチのア
ドレスとなる。すなわち108−1,108−2が(0
1)のときはMRAIから、(lO)のときはMRA2
から、(11)のときはMRA3から機械語命令レベル
のプログラムが開始される。第3図は機械語命令レベル
のプログラムが格納されているメモリ107のアドレス
・マツプの一例である。たとえばMRAlから始まるリ
セット・ルーチン■ではシステムのコンフィギュレーシ
履ンのチエツクを行い、MRA2から始まるリセット・
ルーチン■ではシステム内のメモリやIloのテストを
行い、MRA3から始まるリセット・ルーチン■では主
に応用プログラムの分岐を行うものとする。
Similarly, when microprogram processing is started from URA2, MRA2 is stored in address register 104, and MRA2 becomes the address of the first instruction fetch after reset. When microprogram processing is started from URA3, MRA2 is stored in address register 104. MRA3 is stored in , and MRA3 becomes the address for the first instruction fetch after reset. That is, 108-1, 108-2 are (0
1) from MRAI, and (lO) from MRA2.
In the case of (11), a program at the machine language instruction level is started from MRA3. FIG. 3 is an example of an address map of the memory 107 in which a program at the machine language instruction level is stored. For example, the reset routine ■ starting from MRAl checks the system configuration, and the reset routine starting from MRA2 checks the configuration of the system.
Routine (2) tests the memory and Ilo in the system, and reset routine (2) starting from MRA3 mainly branches the application program.

電源投入直後などは108−1,108−2が(01)
としてリセットをかけるとリセット・ルーチン■、■、
■の順に全ての処理がおこなわれる。108−1,10
8−2が(01)のときはリセット・ルーチン■、■の
順に処理が行われる。また108−1,108−2が(
11)のときはリセット・ルーチン■のみの処理が行わ
れる。
Immediately after the power is turned on, 108-1 and 108-2 are (01)
When you reset as, reset routine ■,■,
All processing is performed in the order of (2). 108-1,10
When 8-2 is (01), the reset routines ① and ② are performed in this order. Also, 108-1 and 108-2 are (
11), only the reset routine (2) is processed.

〔実施例2〕 第4図は本発明の第2の実施例である。前記第1の実施
例とはアドレス・レジスタ104へノリセット・アドレ
スのロードの方法が異なる。前記第1の実施例では3種
のリセットのマイクロプログラムのエントリ・アドレス
を変える事によってマイクロプログラムの制御を変え、
マイクロプログラムにより異なるデータをアドレス・レ
ジスタ104にロードしたが、本第2の実施例では3種
のリセット信号が直接アドレス・レジスタ404に3つ
の異なるデータをセットする。
[Embodiment 2] FIG. 4 shows a second embodiment of the present invention. This embodiment differs from the first embodiment in the method of loading the reset address into the address register 104. In the first embodiment, the control of the microprogram is changed by changing the entry address of the microprogram for three types of reset,
Although different data were loaded into the address register 104 by the microprogram, in this second embodiment, three types of reset signals directly set three different data into the address register 404.

第4図において404は機械語命令プログラムのリセッ
ト・アドレスを格納するアドレス・レジスタ、410は
109−1,109−2を入力として第1表に従ってデ
コードし、411,412゜413を出力するデコーダ
である。108−1゜108−2が(01)のときは信
号411がアクティブとなってレジスタ404にMRA
Iがセットされ、同様に(10)のときは412がアク
ティブとなってレジスタ404にMRA2がセットされ
、(11)のときは413がアクティブとなってレジス
タ404にMRA3がセットされる。
In FIG. 4, 404 is an address register that stores the reset address of the machine language instruction program, and 410 is a decoder that inputs 109-1 and 109-2 and decodes them according to Table 1, and outputs 411, 412°413. be. When 108-1 and 108-2 are (01), the signal 411 becomes active and the MRA is stored in the register 404.
Similarly, when (10), 412 becomes active and MRA2 is set in register 404, and when (11), 413 becomes active and MRA3 is set in register 404.

従って108−1,108−2が(01)のときはMR
AIから、(10)のときはMRA2から、(11)の
ときはMRA3から機械語命令レベルのプログラムが開
始される。本実施例2ではプロセッサ101がマイクロ
プログラム制御を行っていない場合でも実施例1と同等
の効果を得る事ができる。
Therefore, when 108-1 and 108-2 are (01), MR
From AI, a machine language instruction level program is started from MRA2 in case of (10), and from MRA3 in case of (11). In the second embodiment, the same effects as in the first embodiment can be obtained even when the processor 101 does not perform microprogram control.

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

以上説明したように本発明は、複数のリセット端子のそ
れぞれに印加さhる複数の信号の組合せによって機械語
命令プログラムの異なるアドレスから処理を開始するこ
とにより、マイクロプロセッサを必要に応じた状態に初
期化することができる効果がある。
As explained above, the present invention enables a microprocessor to be brought into a desired state by starting processing from a different address in a machine language instruction program using a combination of a plurality of signals applied to each of a plurality of reset terminals. There is an effect that can be initialized.

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

第1図は本発明の第1の実施例を示す図である。 101は本発明を実施しているマイクロプロセッサまた
はCPU、102はプロセッサ1010制御記憶、10
3は制御記憶102を司るマイク四・シーケンサ、10
4は機械語命令プログラムのリセット・アドレスを格納
するアドレス・レジスタ、105はプロセッサ101の
外部のアドレス・バス、106はプロセッサlO1外部
のデータ・バス、107はメ%!J、108−1゜10
8−2は本発明で新たに設けられた2つのリセット信号
端子、109−1,109−2は信号路、110は論理
和ゲート、111は論理和ゲート110の出力で、プロ
セッサ101t7)内部!j上セツト号。 第2図は制御記憶102のアドレス・マ、ブの概略図で
ある。 第3図はメモリ107のアドレス・マツプの−例である
。 第4図は本発明の第2の実施例を示す図である。 404は機械語命令プログラムのリセット・アドレスを
格納するアドレス・レジスタ、410はデコーダ、41
1,412,413はデコーダ410の出力信号。 第5図はプロセットの動作と入力信号との関係を示す図
である。 代理人 弁理士  内 原   晋 [2図
FIG. 1 is a diagram showing a first embodiment of the present invention. 101 is a microprocessor or CPU implementing the present invention; 102 is a processor 1010 control memory; 10
3 is a microphone 4 which controls the control memory 102 and a sequencer; 10
4 is an address register that stores the reset address of the machine language instruction program, 105 is an address bus external to the processor 101, 106 is a data bus external to the processor IO1, and 107 is a me%! J, 108-1゜10
8-2 is two reset signal terminals newly provided in the present invention, 109-1 and 109-2 are signal paths, 110 is an OR gate, and 111 is the output of the OR gate 110, inside the processor 101t7)! J upper set issue. FIG. 2 is a schematic diagram of the address map of control memory 102. FIG. 3 is an example of an address map for memory 107. FIG. 4 is a diagram showing a second embodiment of the present invention. 404 is an address register that stores the reset address of the machine language instruction program; 410 is a decoder; 41
1, 412, 413 are output signals of the decoder 410. FIG. 5 is a diagram showing the relationship between the operation of the preset and the input signal. Agent: Susumu Uchihara, patent attorney [Figure 2

Claims (1)

【特許請求の範囲】[Claims] 情報処理装置において、複数のリセット入力端子と、該
複数のリセット端子からの信号を入力とするデコード手
段とを有し、複数のリセット端子のそれぞれに印加され
る複数の信号の組合せを前記デコード手段でデコードす
ることによって、リセット後に機械語命令プログラムの
異なるアドレス出力することを特徴とするマイクロプロ
セッサ制御方式。
The information processing device includes a plurality of reset input terminals and a decoding means that inputs signals from the plurality of reset terminals, and the decoding means receives a combination of a plurality of signals applied to each of the plurality of reset terminals. A microprocessor control method characterized by outputting a different address of a machine language instruction program after reset by decoding it with a .
JP63164016A 1988-06-29 1988-06-29 Microprocessor control system Pending JPH0212330A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63164016A JPH0212330A (en) 1988-06-29 1988-06-29 Microprocessor control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63164016A JPH0212330A (en) 1988-06-29 1988-06-29 Microprocessor control system

Publications (1)

Publication Number Publication Date
JPH0212330A true JPH0212330A (en) 1990-01-17

Family

ID=15785184

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63164016A Pending JPH0212330A (en) 1988-06-29 1988-06-29 Microprocessor control system

Country Status (1)

Country Link
JP (1) JPH0212330A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998044408A1 (en) * 1997-03-31 1998-10-08 Seiko Epson Corporation Microcomputer and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998044408A1 (en) * 1997-03-31 1998-10-08 Seiko Epson Corporation Microcomputer and electronic equipment

Similar Documents

Publication Publication Date Title
US5557762A (en) Digital signal processor evaluation chip and debug method
JP2655615B2 (en) Information processing device
JPH0212330A (en) Microprocessor control system
JPS60214044A (en) Microcomputer
JPH0573296A (en) Microcomputer
JPH02263256A (en) Microcomputer and controller
JPS63197247A (en) Microprogram controller
JPH0256644A (en) Debug device for microprocessor
JPS60178524A (en) One-chip microcomputer
JPS62269237A (en) Data processor
JPS5876922A (en) Simultaneous start system of plural microcomputers
JPS5944658B2 (en) Program check circuit
JPS59174955A (en) Branching instruction debugging system of information processing device
JPH0243626A (en) Apparatus for controlling execution speed of computer processor
JPS6015969B2 (en) Microinstruction address generation method
JPS63282528A (en) Detection system for execution of instruction of central control unit
JPH0328905A (en) Input/output transfer method for programmable controller
JPS62248043A (en) Memory switching circuit for fetching microcomputer instruction
JPS61187044A (en) Information processor
JPS62293435A (en) Data processor
JPH05313915A (en) Microcomputer
JPS62197834A (en) Microprogram controller
JPS648381B2 (en)
JPS59744A (en) Data processor
JPS6242254A (en) Channel initializing system