JPS62154036A - Address tracing circuit - Google Patents

Address tracing circuit

Info

Publication number
JPS62154036A
JPS62154036A JP60297165A JP29716585A JPS62154036A JP S62154036 A JPS62154036 A JP S62154036A JP 60297165 A JP60297165 A JP 60297165A JP 29716585 A JP29716585 A JP 29716585A JP S62154036 A JPS62154036 A JP S62154036A
Authority
JP
Japan
Prior art keywords
circuit
address
memory circuit
memory
trace
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
JP60297165A
Other languages
Japanese (ja)
Inventor
Chikara Suzuki
鈴木 主税
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 JP60297165A priority Critical patent/JPS62154036A/en
Publication of JPS62154036A publication Critical patent/JPS62154036A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To suppress the increase in a hardware quantity and a price by storing an executing address at a memory circuit where a micro-program is stored. CONSTITUTION:The executing address shown by a micro-address register 1 is latched through a micro-address control circuit 2 to a latch circuit 5. When a latched micro-instruction is a branch instruction after it is decoded by a decoding circuit 8, the storing command is outputted from the decoding circuit 8 to a tracing control circuit 3, a selecting circuit 4 and a memory circuit 6. By the storing command, a tracing control circuit 3 shows the address of the memory circuit 6 to be stored, the selecting circuit 4 selects the address of the memory circuit 6 shown from the tracing control part 3, and the memory circuit 6 stores the executing address latched to the latch circuit 5 to the address selected by the selecting circuit 4.

Description

【発明の詳細な説明】 1亙光1 本発明は、アドレス・トレース回路に関し、特にマイク
ロ命令の実行アドレスをメモリに格納するアドレス・ト
レース回路に関する。
DETAILED DESCRIPTION OF THE INVENTION 1. Field of the Invention The present invention relates to an address trace circuit, and more particularly to an address trace circuit that stores an execution address of a microinstruction in a memory.

従来技術 従来、アドレス・トレースの方法は実行アドレスを格納
するためのトレース・メモリを持ち、このメモリに実行
アドレスを格納していた。
Prior Art Conventionally, address tracing methods include a trace memory for storing execution addresses, and the execution addresses are stored in this memory.

この従来のアドレス・トレース回路は、トレース・メモ
リ回路という別のハードウェアが必要であり、このため
にハードウェア伍と価格の増加を招くという欠点がある
This conventional address trace circuit has the disadvantage that it requires additional hardware called a trace memory circuit, which increases hardware costs and costs.

11匹亘力 本発明は、上記のような従来のものの欠点を除去すべく
なされたもので、ハードウェアと価格の増加を抑えたア
ドレス・トレース回路を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to eliminate the drawbacks of the conventional circuits as described above, and an object of the present invention is to provide an address trace circuit that suppresses increases in hardware and cost.

発明の構成 本発明によるアドレス・トレース回路は、マイクロ命令
が予め格納されたメモリ回路と、前記メモリ回路から順
次読み出されて実行されたマイクロ命令のアドレスのう
ち所定の条件を有するアドレスであることを判定してこ
のアドレスを前記メモリ回路へ格納する格納制御手段と
を有することを特徴とする。
Structure of the Invention The address trace circuit according to the present invention includes a memory circuit in which microinstructions are stored in advance, and an address that meets predetermined conditions among the addresses of microinstructions sequentially read out and executed from the memory circuit. and storage control means for determining the address and storing the address in the memory circuit.

実施例 次に本発明によるアドレス・トレース回路の一実施例に
ついて図面を参照して説明する。
Embodiment Next, an embodiment of an address trace circuit according to the present invention will be described with reference to the drawings.

第1図は本発明によるアドレス・トレース回路の一実施
例を示すブロック図である。
FIG. 1 is a block diagram showing one embodiment of an address trace circuit according to the present invention.

図において、1は実行アドレスを1だけ増加させラッチ
するマイクロ・アドレス・レジスタ、2はメモリ回路6
から次に読み出されるマイクロ命令のアドレスを指定す
るマイクロ・アドレス制御回路、3はデコード回路8か
らの格納指令でトレース・アドレスのアドレスを1だけ
増加させるトレース制御回路、4はメモリ回路6へのア
ドレス信号をセレクトするセレクト回路、5は実行アド
レスをラッチするラッチ回路、6はマイクロプログラム
及び実行アドレス格納用のメモリ回路、7はメモリ回路
6から読み出されたマイクロ命令をラッチするマイクロ
命令レジスタ、8はマイクロ命令レジスタ7にラッチし
であるマイクロ命令を解読するデコーダ回路である。
In the figure, 1 is a micro address register that increments and latches the execution address by 1, and 2 is a memory circuit 6.
3 is a trace control circuit that increments the address of the trace address by 1 in response to a storage command from the decode circuit 8; 4 is an address to the memory circuit 6; a select circuit that selects a signal; 5 a latch circuit that latches an execution address; 6 a memory circuit for storing a microprogram and an execution address; 7 a microinstruction register that latches a microinstruction read from the memory circuit 6; is a decoder circuit that decodes the microinstruction latched in the microinstruction register 7.

マイクロ・アドレス・レジスタ1で示された実行アドレ
スはマイクロ・アドレス制御回路2を通ってラッチ回路
5にラッチされる。実行アドレスで示されたアドレスの
マイクロ命令はメモリ回路6で読み出され、マイクロ命
令レジスタ7にラッチされる。
The execution address indicated by micro address register 1 passes through micro address control circuit 2 and is latched into latch circuit 5. The microinstruction at the address indicated by the execution address is read out by the memory circuit 6 and latched into the microinstruction register 7.

ラッチされたマイクロ命令はデコード回路8で解読され
る。この時、マイクロ命令が分岐命令でない時は、マイ
クロ・アドレス・レジスタ1から次の実行アドレスが読
み出され、繰返し上記同様の処理が行われる。
The latched microinstruction is decoded by the decode circuit 8. At this time, if the microinstruction is not a branch instruction, the next execution address is read from the microaddress register 1, and the same processing as described above is repeated.

先のラッチされたマイクロ命令が、デコード回路8で解
読された結果分岐命令であった時は、デコード回路8か
ら格納指令がトレース制御回路3とセレクト回路4及び
メモリ回路6に出される。
When the previous latched microinstruction is a branch instruction as a result of being decoded by the decoding circuit 8, a storage command is issued from the decoding circuit 8 to the trace control circuit 3, the select circuit 4, and the memory circuit 6.

この格納指令によりトレース制御回路3は格納すべくメ
モリ回路6のアドレスを示・し、セレクト回路4はトレ
ース制御回路3から示されたメモリ回路6のアドレスを
セレクトし、メモリ回路6はラッチ回路5にラッチされ
ている実行アドレスをセレクト回路4によりセレクトさ
れたアドレスに格納する。
With this storage command, the trace control circuit 3 indicates the address of the memory circuit 6 for storage, the select circuit 4 selects the address of the memory circuit 6 indicated by the trace control circuit 3, and the memory circuit 6 selects the address of the memory circuit 6 indicated by the trace control circuit 3. The execution address latched in is stored in the address selected by the select circuit 4.

実行アドレスをメモリ回路6に格納後、トレース制御回
路3はアドレスを1だけ増加させる。また、デコード回
路8は、マイクロ・アドレス制御回路2に対して分岐命
令の指示と分岐アドレスを送り、次の実行アドレスが分
岐アドレスを示すように指示する。
After storing the execution address in the memory circuit 6, the trace control circuit 3 increments the address by one. Further, the decode circuit 8 sends a branch instruction instruction and a branch address to the micro address control circuit 2, and instructs the next execution address to indicate the branch address.

この動作により、分岐命令実行時の実行アドレスをメモ
リ回路6に格納していくことができる。
This operation allows the execution address at the time of execution of the branch instruction to be stored in the memory circuit 6.

尚、デコード回路8の解読内容を変更することによって
他のマイクロ命令に限定して実行アドレスをメモリ回路
6に格納していくこともできる。
Note that by changing the content decoded by the decoding circuit 8, it is also possible to store execution addresses in the memory circuit 6 only for other microinstructions.

以上説明したように本発明は、マイクロ・プログラムが
格納しであるメモリ回路に実行アドレスを格納すること
により、トレースアドレス用のメモリというハードウェ
アを必要としないので、ハードウェアmと価格の増加を
抑えることができる。
As explained above, the present invention stores the execution address in the memory circuit in which the microprogram is stored, thereby eliminating the need for hardware such as memory for trace addresses, thereby reducing the increase in hardware and cost. It can be suppressed.

λ豆立皇1 本発明のアドレス・トレース回路によれば、マイクロ・
プログラムが格納しであるメモリ回路に実行アドレスを
格納することにより、ハードウェア量と価格の増加を抑
えることができるという効果がある。
According to the address trace circuit of the present invention, the micro-
By storing the execution address in the memory circuit in which the program is stored, it is possible to suppress an increase in the amount of hardware and cost.

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

第1図は本発明の一実施例のブロック図である。 主要部分の符号の説明 3・・・・・・トレース制御回路 6・・・・・・メモリ回路 8・・・・・・デコード回路 FIG. 1 is a block diagram of one embodiment of the present invention. Explanation of symbols of main parts 3...Trace control circuit 6...Memory circuit 8...Decode circuit

Claims (2)

【特許請求の範囲】[Claims] (1)マイクロ命令が予め格納されたメモリ回路と、前
記メモリ回路から順次読み出されて実行されたマイクロ
命令のアドレスのうち所定の条件を有するアドレスであ
ることを判定してこのアドレスを前記メモリ回路へ格納
する格納制御手段とを有することを特徴とするアドレス
・トレース回路。
(1) A memory circuit in which a microinstruction is stored in advance, and an address of a microinstruction sequentially read out from the memory circuit and executed, is determined to be an address that meets a predetermined condition, and this address is transferred to the memory circuit. 1. An address trace circuit comprising storage control means for storing information in the circuit.
(2)前記格納制御手段は前記マイクロ命令が分岐命令
か否かを判断する判断手段を有し、前記分岐命令のとき
のみ前記実行されたアドレスを前記メモリ回路に格納す
ることを特徴とする特許請求の範囲第1項のアドレス・
トレース回路。
(2) A patent characterized in that the storage control means has a determination means for determining whether or not the microinstruction is a branch instruction, and stores the executed address in the memory circuit only when the microinstruction is a branch instruction. Address in claim 1
trace circuit.
JP60297165A 1985-12-26 1985-12-26 Address tracing circuit Pending JPS62154036A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60297165A JPS62154036A (en) 1985-12-26 1985-12-26 Address tracing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60297165A JPS62154036A (en) 1985-12-26 1985-12-26 Address tracing circuit

Publications (1)

Publication Number Publication Date
JPS62154036A true JPS62154036A (en) 1987-07-09

Family

ID=17843027

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60297165A Pending JPS62154036A (en) 1985-12-26 1985-12-26 Address tracing circuit

Country Status (1)

Country Link
JP (1) JPS62154036A (en)

Similar Documents

Publication Publication Date Title
US6021265A (en) Interoperability with multiple instruction sets
JPS6322336B2 (en)
JPS61170828A (en) Microprogram control device
US5247624A (en) Microprogram controller including leading microinstruction from a generator executed while succeeding microinstruction from memory is read out
KR920004279B1 (en) Microprocessor with pointer register
US4635188A (en) Means for fast instruction decoding for a computer
JP2694948B2 (en) Micro program processor
JPS6217773B2 (en)
JPS62154036A (en) Address tracing circuit
JP2583506B2 (en) Data processing device
JPH0218729B2 (en)
JP2689894B2 (en) Micro program control type information processing device
JPH0128965B2 (en)
JP3057732B2 (en) Information processing device
JPH0810429B2 (en) Micro program controller
JPS5925251B2 (en) Creation method for arithmetic control signals in microprogram-controlled electronic computers
JPS59127154A (en) Instruction decoder of electronic computer
JPS5842891B2 (en) Meirei Seigiyohoushiki
JPH0375904B2 (en)
EP0110613A2 (en) Digital data processing system
JPS60103450A (en) Microprogram control system
JPS6232500B2 (en)
JPS60105048A (en) Microprogram control system
JPH11119997A (en) Liw instruction execution method, scalar processor and liw processor
JPS6362769B2 (en)