JPS5911422A - Microprocessor - Google Patents

Microprocessor

Info

Publication number
JPS5911422A
JPS5911422A JP57121417A JP12141782A JPS5911422A JP S5911422 A JPS5911422 A JP S5911422A JP 57121417 A JP57121417 A JP 57121417A JP 12141782 A JP12141782 A JP 12141782A JP S5911422 A JPS5911422 A JP S5911422A
Authority
JP
Japan
Prior art keywords
signal
10sec
time
supplied
producing circuit
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
JP57121417A
Other languages
Japanese (ja)
Inventor
Yukio Hashimoto
幸雄 橋本
Kenzo Fujisawa
藤澤 建三
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.)
Citizen Holdings Co Ltd
Citizen Watch Co Ltd
Original Assignee
Citizen Holdings Co Ltd
Citizen Watch 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 Citizen Holdings Co Ltd, Citizen Watch Co Ltd filed Critical Citizen Holdings Co Ltd
Priority to JP57121417A priority Critical patent/JPS5911422A/en
Publication of JPS5911422A publication Critical patent/JPS5911422A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom
    • G06F1/14Time supervision arrangements, e.g. real time clock

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Microcomputers (AREA)

Abstract

PURPOSE:To transmit the time information with the best efficiency in accordance with a system, by selecting optionally plural unit time outputs of an exclusive timing counter with a soft program instruction and using these outputs to interruption signals. CONSTITUTION:An output signal, e.g. a 1/100sec signal 2 is transmitted from a CPU1 and then supplied to a 1/10sec signal producing circuit 3. Thus a 1/10sec signal is obtained and then supplied to a one sec signal producing circuit 4 to obtain a 10sec signal. The one sec signal is supplied to a 10sec signal producing circuit 5 to obtain a 10sec signal. The 10sec signal is applied to one min signal producing circuit to obtain a one min signal. Each time signal is supplied to a multiplex signal selecting circuit 7, and a timing signal is selected by the output of an FF8 as an interruption signal to be sent to a CPU1. The FF8 is optionally set by an instruction exclusive to a soft program and holds a data until an instruction is newly set. Therefore a timing signal is selected as an optional interruption signal by setting instructions from the 1/100sec signal through the one min signal.

Description

【発明の詳細な説明】 本発明は専用計時カウンタを有し、少なくとも該専用計
時カウンタの計時出力を割り込み信号としソフト・プロ
グラム処理を実行させるマイクロ・プロセッサの割り込
み時間の設定方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an interrupt time setting method for a microprocessor that has a dedicated time counter and uses at least the time output of the dedicated time counter as an interrupt signal to execute software program processing.

従来専用カウンタを設は該専用カウンタ出力を割り込み
信号としソフト・プログラム処理によって時間の演算を
行っていたマイクロ・プロセッサに於いては、広範囲な
時間情報送出のため割り込み信号の周波数を比較的高く
設定する必要があった。
Conventionally, in microprocessors that have a dedicated counter and use the output of the dedicated counter as an interrupt signal to calculate time through software program processing, the frequency of the interrupt signal is set relatively high in order to send time information over a wide range. I needed to.

しか口ながら高い周波数の設定は割り込み信号の増加に
伴ないソフト・プログラム処理時間の増加につながる。
However, setting a high frequency leads to an increase in software program processing time due to an increase in interrupt signals.

例えば専用カウンタの出力周波数がI Hzとすれば割
り込みは1秒間に1回入り、ソフト・プログラム処理を
実行するが、10 、OHzであったとすると割り込み
は1/100秒間に1回の頻度で入力されることになり
ソフト・プログラム処理の専有時間が長いことになり、
他の機能ソフト・プログラムの専有時間の減少につなが
る。
For example, if the output frequency of a dedicated counter is 1 Hz, an interrupt will be input once per second to execute software program processing, but if the output frequency of a dedicated counter is 10 Hz, an interrupt will be input once every 1/100 seconds. This means that the time dedicated to software program processing becomes longer.
This leads to a reduction in the time dedicated to other functional software programs.

更にソフト・プログラム処理時間の増大は高速の信号で
制御され動作するマイクロ・プロセッサでは消費電力の
増大につながり特にlJS型携帯用のマイクロ・プロセ
ッサでは電池動作のものも多く扱いに支障を来たす。
Furthermore, an increase in software program processing time leads to an increase in power consumption in a microprocessor that operates under the control of high-speed signals, making it difficult to handle, especially in the case of IJS type portable microprocessors, which often operate on batteries.

しかしながら該専用カウンタの出力周波数が111zで
あったとすると1秒よりも短い時間、例えば1/10秒
、]、7100秒の時間情報の送出は不可能となる。そ
こで該専用カウンタの出力周波数を10011Zとする
と前述の様な問題が生じることになる。
However, if the output frequency of the dedicated counter is 111z, it is impossible to send out time information for a time shorter than 1 second, for example 1/10 second, ], 7100 seconds. Therefore, if the output frequency of the dedicated counter is set to 10011Z, the above-mentioned problem will occur.

又該専用カウンタの出力周波数を100 fizと定め
て構成した場合、時間情報の送出が1分以上の単位で充
分な時余分なソフト・プログラム動作を行なわせること
になる。
If the output frequency of the dedicated counter is set to 100 fiz, an extra soft program operation will be performed when the time information is sent in units of one minute or more.

本発明は上記従来の欠点を除去しシステムに合わせ最も
効率良く時間情報を送出することか可能な様に割り込み
の時間を選択することが出来るマイクロ・プロセッサを
得ることを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to eliminate the above-mentioned conventional drawbacks and to provide a microprocessor that can select the interrupt time in a manner that allows the most efficient transmission of time information in accordance with the system.

以下図面に基すいて本発明を説明する。The present invention will be explained below based on the drawings.

図面は専用計時カウンタを有する本発明のマイクロ・プ
ロセッサの構成を示すブロック図であり、1はCI) 
U (中央演算装置)、ROM511.AM等の機能を
全て有するものとし説明の便宜上CIIJとして説明す
る。該cpu 1がもの出力信号としてI/100秒信
号2が送出されている。該17100秒信号2は1/】
o秒信号作製回路乙に入力され1/10秒信号を作製し
、該1/1゜秒信号は1秒信号作製回路4に送出°され
1秒信号を作製する。該1秒信号は100秒信作製回路
5に入力され100秒信を作製し、該100秒信は1発
信号作製回路6に送出され1分信号を作製する。
The drawing is a block diagram showing the configuration of a microprocessor of the present invention having a dedicated time counter, and 1 is a CI).
U (central processing unit), ROM511. It is assumed that it has all the functions of AM, etc., and will be described as CIIJ for convenience of explanation. The CPU 1 outputs an I/100 second signal 2 as an output signal. The 17100 second signal 2 is 1/]
The signal is inputted to the o second signal producing circuit B to produce a 1/10 second signal, and the 1/1 DEG second signal is sent to the 1 second signal producing circuit 4 to produce a 1 second signal. The 1-second signal is input to a 100-second signal producing circuit 5 to produce a 100-second signal, and the 100-second signal is sent to a one-shot signal producing circuit 6 to produce a 1-minute signal.

更に該17100秒信号、1/1o秒信号、1秒信号、
100秒信、1分信号は多重信号選択回路7に入力され
フリップ・フロップ8の出力データでCPLI 1に送
出する割り込み信号としての言−1時信号を制御し選択
する。該フリップ・フロップ8はソフト・プログラムの
専用命令により任意にセットされ改めて命令セントされ
るまでデータを保持する。従って]/100秒信号秒信
1分信号まで命令セットすることにより任意に割り込み
信号としての開時信号が選択出来ることになる。該計時
信号は基準時間信号及びタイマー、ストップ・ウォッチ
等全てに応用出来、目的に応じて各々の言1時カウンタ
を用意することにより全て同様の割り込み信号として使
用することが出来る。割り込み信号はcpu1内の割り
込み処理回路に入力され、割り込み信号に対応したソフ
ト・プログラムの先頭アドレスがプログラム・カウンタ
にセットされCPUの処理が実行される。CPLllの
処理は該割り込み計時信号以降の計時をプログラムによ
って演算処理される。該演算処理された結果は必要に応
じてCP内RAMにデータ記憶され、外部に表示する必
要があるならば表示回路にデータが転送される。
Furthermore, the 17100 second signal, 1/1o second signal, 1 second signal,
The 100 second and 1 minute signals are input to the multiplex signal selection circuit 7, and the output data of the flip-flop 8 controls and selects the word-1 hour signal as an interrupt signal to be sent to the CPLI 1. The flip-flop 8 is arbitrarily set by a dedicated command of the software program and holds data until a new command is sent. Therefore, by setting the command up to the /100 second signal, the second signal, and the 1 minute signal, the open time signal can be arbitrarily selected as an interrupt signal. The time measurement signal can be applied to a reference time signal, a timer, a stop watch, etc., and can be used as a similar interrupt signal by providing each hour counter according to the purpose. The interrupt signal is input to the interrupt processing circuit within the CPU 1, the start address of the software program corresponding to the interrupt signal is set in the program counter, and CPU processing is executed. The processing of CPLll is performed by a program to measure time after the interrupt time signal. The result of the arithmetic processing is stored in the RAM in the CP as necessary, and if it is necessary to display it externally, the data is transferred to a display circuit.

回路の消費電力は動作周波数が増加すれば増加する。特
にマイクロ・プロセッサでは実行処理動作時は高い周波
数信号をシステム・クロックとして使用することからメ
タン・パイ動作中と処理実行中の電力消費の差は犬であ
る。従って必要最小限でのプログラム処理実行に押さえ
るのが最も効率的である。例えば計時の割り込み信号を
1秒信号の場合と1分信号の場合とでは1分間に60倍
の処理時間を有し、60倍の消費電力を費ずことになる
The power consumption of a circuit increases as the operating frequency increases. In particular, microprocessors use a high frequency signal as a system clock during execution processing, so the difference in power consumption during methane pie operation and during processing is significant. Therefore, it is most efficient to limit program processing to the minimum necessary. For example, if the timekeeping interrupt signal is a 1 second signal or a 1 minute signal, the processing time will be 60 times longer per minute, and the power consumption will be 60 times greater.

上記説明で明らかな様に本発明によれば、複数の単位時
間の出力信号をソフト・プログラムにより任意に選択し
割り込み信号とすることにより、必要とする計時の最少
単位の信号を割り込み信号として選択することによりC
PUの処理実行時間を有効に押さえることが出来、消費
電力の大幅な削減の効果を有する。
As is clear from the above explanation, according to the present invention, a software program arbitrarily selects output signals of a plurality of unit times and uses them as interrupt signals, thereby selecting a signal of the minimum required time measurement unit as an interrupt signal. By doing C
The processing execution time of the PU can be effectively reduced, resulting in a significant reduction in power consumption.

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

図面は本発明のマイクロ・プロセッサの構成を示すブロ
ック図。 1、、、、、、ROM、RAMを含むCI)U。 2・・・・・・1/] 00秒信号、 6・・・・・1/1o秒信号作製回路、4・・・・・1
秒信号作製回路、 5・・・・・100秒信作製回路、 6・・・・・・1発信号作製回路、 7・・・・・・多重信号選択回路、 8・・・・・・フリップ・フロップ。 特許出願人 シチズン時計株式会社
The drawing is a block diagram showing the configuration of a microprocessor according to the present invention. 1, CI) U including ROM and RAM. 2...1/] 00 second signal, 6...1/1o second signal generation circuit, 4...1
Second signal generation circuit, 5...100 second signal generation circuit, 6...1-shot signal generation circuit, 7...Multiple signal selection circuit, 8...Flip・Flop. Patent applicant Citizen Watch Co., Ltd.

Claims (1)

【特許請求の範囲】[Claims] (1)  専用計時カウンタを有し、少なくとも該専用
計時カウンタの計時出力を割り込み信号としソフト・プ
ログラム処理を実行するマイクロ・プロセッサに於いて
、該専用計時カウンタの複数の単位時間出力をソフト・
プログラム命令によって任意に選択して割り込み信号と
することを特徴とするよってクリップ・フロップをセッ
トし、該フリップ・70ツブの出力信号によって該複数
の単位時間出力の選択を制御することを特徴とする特許
請求の範囲第1項記載のマイクロ・プロセッサ。
(1) In a microprocessor that has a dedicated time counter and executes software program processing using at least the time measurement output of the dedicated time counter as an interrupt signal, a plurality of unit time outputs of the dedicated time counter are used as a software program.
The interrupt signal is arbitrarily selected according to a program instruction, and a clip-flop is set, and the selection of the plurality of unit time outputs is controlled by the output signal of the flip-flop. A microprocessor according to claim 1.
JP57121417A 1982-07-13 1982-07-13 Microprocessor Pending JPS5911422A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57121417A JPS5911422A (en) 1982-07-13 1982-07-13 Microprocessor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57121417A JPS5911422A (en) 1982-07-13 1982-07-13 Microprocessor

Publications (1)

Publication Number Publication Date
JPS5911422A true JPS5911422A (en) 1984-01-21

Family

ID=14810638

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57121417A Pending JPS5911422A (en) 1982-07-13 1982-07-13 Microprocessor

Country Status (1)

Country Link
JP (1) JPS5911422A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6156821A (en) * 1984-08-23 1986-03-22 Mitsui Seiki Kogyo Kk Machining of threaded rod having micro pressure angle
JPS6161765A (en) * 1984-08-29 1986-03-29 ブライアント・グラインダー・コーポレイション Orthogonal dressing of whetstone
JPS6222128A (en) * 1985-07-22 1987-01-30 Sharp Corp Data processor
JPH03134738A (en) * 1989-10-19 1991-06-07 Matsushita Electric Ind Co Ltd Microprocessor
WO1993006543A1 (en) * 1991-09-27 1993-04-01 Kabushiki Kaisha Toshiba Portable computer having function of switching over cpu clock

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6156821A (en) * 1984-08-23 1986-03-22 Mitsui Seiki Kogyo Kk Machining of threaded rod having micro pressure angle
JPS6161765A (en) * 1984-08-29 1986-03-29 ブライアント・グラインダー・コーポレイション Orthogonal dressing of whetstone
JPS6222128A (en) * 1985-07-22 1987-01-30 Sharp Corp Data processor
JPH0467655B2 (en) * 1985-07-22 1992-10-29 Sharp Kk
JPH03134738A (en) * 1989-10-19 1991-06-07 Matsushita Electric Ind Co Ltd Microprocessor
WO1993006543A1 (en) * 1991-09-27 1993-04-01 Kabushiki Kaisha Toshiba Portable computer having function of switching over cpu clock

Similar Documents

Publication Publication Date Title
JP3520611B2 (en) Processor control method
JPS5911422A (en) Microprocessor
CA2002895A1 (en) Arithmetic unit
JPH0546413A (en) Microprocessor
US4785468A (en) Intermittent receiver
JPH0133864B2 (en)
JPS5868131A (en) Method for controlling clock supply to computer system
JPS6033654A (en) Inter-microprocessor data transferring system
JPH11345129A (en) Interval timer circuit
JPS5922146A (en) Task scheduling circuit
JPS5916054A (en) Microprocessor
JPS62144219A (en) Setting system for cpu clock
JPS56147218A (en) System start control circuit by time counting signal
JPS5629730A (en) Interface control system
JPS5911423A (en) System clock controlling system
JPS6325370B2 (en)
JPS60263255A (en) Processor synchronizing system
JPS5734227A (en) Data processor
JPH05258087A (en) Microcomputer
JPS5616361A (en) Facsimile device
JPS59114664A (en) Information processing system using multi-processor
JPH07146846A (en) Multiprocessor system
JPS58182757A (en) Information processor
JPS55100747A (en) Operating-power reduction control system
JPS60103426A (en) Microcomputer