JPS6124665B2 - - Google Patents

Info

Publication number
JPS6124665B2
JPS6124665B2 JP51144546A JP14454676A JPS6124665B2 JP S6124665 B2 JPS6124665 B2 JP S6124665B2 JP 51144546 A JP51144546 A JP 51144546A JP 14454676 A JP14454676 A JP 14454676A JP S6124665 B2 JPS6124665 B2 JP S6124665B2
Authority
JP
Japan
Prior art keywords
address
output
circuit
digit
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP51144546A
Other languages
Japanese (ja)
Other versions
JPS5369085A (en
Inventor
Eiichi Takeuchi
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP14454676A priority Critical patent/JPS5369085A/en
Publication of JPS5369085A publication Critical patent/JPS5369085A/en
Publication of JPS6124665B2 publication Critical patent/JPS6124665B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Electric Clocks (AREA)

Description

【発明の詳細な説明】 本発明はマイクロプログラムを基準信号に対す
る分周手段として用いた計時方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a timekeeping system using a microprogram as a frequency dividing means for a reference signal.

従来における電子時計は、発振器で2n例えば
215=32768(Hz)の基準信号を発生させ、この基
準信号を分周して1秒周期の信号とし、さらにこ
の1秒周期の信号をカウントして時刻情報を得て
いる。しかしながら、上記従来のように基準信号
を分周器で分周するようにすると、分周比が大き
いために分周器の構成が複雑なものとなる。
Conventional electronic clocks use an oscillator with 2 n for example.
A reference signal of 2 15 =32768 (Hz) is generated, this reference signal is divided into a signal with a period of 1 second, and the signals with a period of 1 second are counted to obtain time information. However, if the reference signal is frequency-divided by a frequency divider as in the conventional technique, the frequency divider has a large frequency division ratio, and thus the structure of the frequency divider becomes complicated.

本発明は上記の点に鑑みてなされたもので、基
準信号をマイクロプログラムによつて分周するこ
とにより、構成を簡易化し得る計時方式を提供す
ることを目的とする。
The present invention has been made in view of the above points, and an object of the present invention is to provide a timekeeping system whose configuration can be simplified by frequency-dividing a reference signal using a microprogram.

以下図面を参照して本発明の一実施例を説明す
る。第1図において、1はキー入力部で、このキ
ー入力部1のキー操作出力はアドレス部2へ送ら
れ、このアドレス部2により制御部すなわち
ROM3のアドレスが指定される。このROM3は
計時動作を行うためのマイクロプログラムを記憶
しており、アドレス部2の指定アドレスに応じて
各種制御信号を出力する。このROM3はアドレ
ス部2と共に詳細を後述するが、次アドレス
NA、キー入力指令K、タイミング指令T、コー
ド発生指令C、判断命令J1,J2、演算指令A、ゲ
ートセレクト信号GS等を出力する。そして、上
記ROM3から出力される次アドレスNAは、アド
レス部2へ、キー入力指令Kはキー入力部1へ、
タイミング指令Tはタイミング指定回路4へ、コ
ード発生指令Cはコード発生部5へ、判断命令
J1,J2は判断部6内のアンド回路7,8へ、演算
指令Aはアンド回路9へ、ゲートセレクト信号
GSはアンド回路10へ、それぞれ送られる。ま
た、11は例えば32768Hzの基準クロツクを発生
する発振器で、この発振器11の出力はタイミン
グ発生回路12へ送られる。このタイミング発生
回路12は各種タイミング信号例えば第2図左側
に示すようにデイジツト信号D1,D2……D12及び
ビツト信号等を発生するもので、そのタイミング
信号はタイミング指定回路4及びコード発生部5
へ送られる。上記タイミング指定回路4は、出力
線4a,4bを有し、第2図の右側に示すROM
3からのタイミング指令Tに従つてタイミング発
生回路12からのデイジツト信号を1つまたは組
合わせて(例えば第2図最下欄に示すD1〜D3)出
力線4aに出力すると共にそのタイミング信号の
前縁に同期して1デイジツトのワンシヨツト信号
を出力線4bに出力する。また、コード発生部5
は、ROM3からコード発生指令Cが与えられた
際に、その指令内容に応じて所定のコード信号を
タイミング発生回路12からのタイミング信号に
同期して出力する。このコード発生部5から出力
されるコード信号は、アンド回路8,13に加え
られる。また、上記タイミング指定回路4から出
力線4aに出力される信号は、アンド回路7,
8,9,10,13に加えられ、出力線4bに出
力される信号はアンド回路13に加えられる。し
かして、上記判断部6は、上記アンド回路7,8
及びこのアンド回路7,8の出力がオア回路14
を介して与えられるフリツプフロツプ15からな
り、このフリツプフロツプ15の出力が判断部6
の出力としてアドレス部2へ送られる。上記フリ
ツプフロツプ15は、タイミング発生回路12か
らの信号によつてリセツトされる。また、上記ア
ンド回路9,13の出力は、減算器16の入力端
a,bに加えられる。この減算器16は入力端a
に与えられたデータから入力端bに与えられたデ
ータを減算するもので、その減算結果はアンド回
路7に加えられると共にゲート回路17を介して
計時レジスタ18へ送られる。この計時レジスタ
18は詳細を後述するが、例えば12桁構成で、そ
の内容はゲート回路17を介して循環保持され、
その出力はアンド回路8,9に加えられると共に
表示処理回路路19へ送られる。この表示処理回
路19は計時レジスタ18から送られてくるシリ
アルデータをパラレルデータに変換したり、区切
りコード等を付加する等の表示処理を行う。そし
て、この表示処理回路19の出力が表示部20に
送られて表示される。
An embodiment of the present invention will be described below with reference to the drawings. In FIG. 1, 1 is a key input section, and the key operation output of this key input section 1 is sent to an address section 2, and this address section 2 causes a control section, i.e.
The address of ROM3 is specified. This ROM 3 stores a microprogram for performing a timekeeping operation, and outputs various control signals according to the designated address of the address section 2. The details of this ROM3 will be described later together with the address section 2, but the next address
It outputs NA, key input command K, timing command T, code generation command C, judgment commands J 1 , J 2 , calculation command A, gate select signal GS, etc. Then, the next address NA output from the ROM 3 is sent to the address section 2, the key input command K is sent to the key input section 1,
The timing command T is sent to the timing designation circuit 4, the code generation command C is sent to the code generation section 5, and the judgment command is sent to the timing designation circuit 4.
J 1 and J 2 are sent to AND circuits 7 and 8 in judgment section 6, calculation command A is sent to AND circuit 9, and gate select signal
GS is sent to the AND circuit 10, respectively. Further, 11 is an oscillator that generates a reference clock of, for example, 32768 Hz, and the output of this oscillator 11 is sent to a timing generation circuit 12. This timing generation circuit 12 generates various timing signals such as digit signals D 1 , D 2 . . . D 12 and bit signals as shown on the left side of FIG. Part 5
sent to. The timing designation circuit 4 has output lines 4a and 4b, and has a ROM shown on the right side of FIG.
According to the timing command T from 3, one or a combination of digit signals from the timing generation circuit 12 (for example, D 1 to D 3 shown in the bottom column of FIG. 2) is output to the output line 4a, and the timing signal is A one-shot signal of one digit is outputted to the output line 4b in synchronization with the leading edge of the signal. In addition, the code generation section 5
When the code generation command C is given from the ROM 3, a predetermined code signal is output in synchronization with the timing signal from the timing generation circuit 12 according to the contents of the command. The code signal output from the code generator 5 is applied to AND circuits 8 and 13. Further, the signal outputted from the timing designation circuit 4 to the output line 4a is connected to the AND circuit 7,
8, 9, 10, and 13 and output to the output line 4b is applied to the AND circuit 13. Therefore, the determination unit 6 determines that the AND circuits 7 and 8
And the outputs of the AND circuits 7 and 8 are the OR circuit 14.
The output of the flip-flop 15 is applied to the judgment section 6.
It is sent to the address section 2 as an output. The flip-flop 15 is reset by a signal from the timing generation circuit 12. Further, the outputs of the AND circuits 9 and 13 are applied to input terminals a and b of a subtracter 16. This subtracter 16 has an input terminal a
The data applied to the input terminal b is subtracted from the data applied to the input terminal b, and the result of the subtraction is applied to the AND circuit 7 and sent to the time register 18 via the gate circuit 17. The details of this time register 18 will be described later, but for example, it has a 12-digit configuration, and its contents are circulated and held through a gate circuit 17.
Its output is applied to AND circuits 8 and 9 and sent to display processing circuitry 19. This display processing circuit 19 performs display processing such as converting serial data sent from the time register 18 into parallel data and adding a delimiter code and the like. The output of this display processing circuit 19 is then sent to the display section 20 and displayed.

第3図は計時レジスタ18の構成内容を示すも
のである。この計時レジスタ18は例えばデイジ
ツト信号D1〜D12によつて指定される12桁の容量
を持ち、各桁は4ビツトで構成される。そして、
デイジツト信号D1〜D3によつて指定される3桁
は基準カウンタC0,C1,C2を構成し、その3桁
(12ビツト)で「2048」のカウント動作を行う。
また、デイジツト信号D4,D5によつて指定され
る桁MI0,MI1は、分情報をカウントする桁で、
MI0は「分」単位、MI1は「10分」単位の計時動
作を行う。デイジツト信号D6,D7によつて指定
される桁H0,H1は時情報をカウントする桁で、
H0は「時」単位、H1は「10時」単位の計時動作
を行う。デイジツト信号D8,D9によつて指定さ
れる桁DA0,DA1は、日情報をカウントする桁
で、DA0は「日」単位、DA1は「10日」単位のカ
ウント動作を行う。デイジツト信号D10,D11によ
つて指定される桁M0,M1は月情報をカウントす
る桁で、M0は「月」単位、M1は「10月」単位の
カウント動作を行う。そして、デイジツト信号
D12によつて指定される桁W/A.Pは、曜日及び
午前、午後の判別を行うための桁で、第1ビツト
で午前と午後の判別、第2〜第4ビツトで曜日の
カウント動作を行う。
FIG. 3 shows the configuration of the time register 18. This time register 18 has, for example, a capacity of 12 digits specified by digit signals D1 to D12 , and each digit is composed of 4 bits. and,
The three digits designated by the digit signals D1 to D3 constitute reference counters C0 , C1 , and C2 , and the three digits (12 bits) perform a counting operation of "2048".
Furthermore, the digits MI 0 and MI 1 specified by the digit signals D 4 and D 5 are digits that count minute information.
MI 0 measures time in minutes, and MI 1 measures time in 10 minutes. The digits H 0 and H 1 specified by the digit signals D 6 and D 7 are digits for counting hour information.
H 0 performs time measurement operation in "hour" units, and H 1 performs time measurement in "10 o'clock" units. The digits DA 0 and DA 1 specified by the digit signals D 8 and D 9 are the digits that count day information, with DA 0 counting in "day" units and DA 1 counting in "10 days" units. . The digits M 0 and M 1 designated by the digit signals D 10 and D 11 are digits for counting monthly information, with M 0 performing a counting operation in units of "month" and M 1 performing counting operations in units of "October". And the digit signal
The digit W/AP specified by D12 is a digit for determining the day of the week and AM/PM.The first bit determines AM and PM, and the second to fourth bits count the day of the week. conduct.

第4図は第1図におけるアドレス部2及び
ROM3の詳細を示すものである。アドレス部2
は、キー入力部1、判断部6あるいはROM3か
ら与えられるアドレスデータを一時記憶するアド
レスレジスタ21、このアドレスレジスタ21か
ら直接及びインバータを介して得られるコードを
デコードしてROM3のアドレスを指定するデコ
ーダ22からなり、上記アドレスレジスタ21の
第1ビツトには、入力されるアドレスデータの第
1ビツト及び判断部6からの判断信号がオア回路
23を介して与えられるようになつている。上記
判断部6の判断信号は、YESの場合“0”、No.の
場合“1”となる。また、上記アドレス部2へ入
力されるアドレスデータは1―2―4―8コード
で重み付けされた「20……2n」のコードで与え
られる。そして、上記アドレス部2は、タイミン
グ発生回路12から与えられるワードパルスφw
に同期してアドレスレジスタ21に入力データを
読込み、その読込みデータに従つてROM3のア
ドレスを指定する。なお、第4図では、0番地か
ら17番地のアドレスに対応するアドレス部2及び
ROM3の構成について示してある。ROM3はア
ドレス部2の指定アドレスに従つて前記したよう
な種々の信号を発生する。すなわち、次アドレス
NAは、指定アドレスに応じて「20〜2n」のコー
ドとして出力され、キー入力指令Kは3番地のア
ドレスが指定された際に出力される。タイミング
指令T及びコード発生指令Cは指定アドレスに応
じて4ビツトコードで出力される。そして、判断
命令J1,J2、演算指令A、ゲートセレクト信号
GSはそれぞれ1ビツトで出力されて指定の回路
へ送られる。
Figure 4 shows the address section 2 and
This shows details of ROM3. Address part 2
, an address register 21 that temporarily stores address data given from the key input section 1, the judgment section 6, or the ROM 3, and a decoder that decodes the code obtained from the address register 21 directly or via an inverter to specify the address of the ROM 3. The first bit of the address register 21 is supplied with the first bit of input address data and the judgment signal from the judgment section 6 via an OR circuit 23. The judgment signal of the judgment unit 6 becomes "0" in the case of YES and "1" in the case of No. Further, the address data input to the address section 2 is given in a code of "2 0 . . . 2 n " weighted with a 1-2-4-8 code. The address section 2 receives a word pulse φ w given from the timing generation circuit 12.
Input data is read into the address register 21 in synchronization with , and the address of the ROM 3 is designated according to the read data. In addition, in FIG. 4, address part 2 and corresponding to addresses 0 to 17 are shown.
The configuration of ROM3 is shown. The ROM 3 generates the various signals described above in accordance with the designated address of the address section 2. i.e. the next address
NA is output as a code of " 20 to 2n " depending on the designated address, and key input command K is output when address No. 3 is designated. The timing command T and code generation command C are output as 4-bit codes according to the specified address. Then, judgment commands J 1 , J 2 , calculation command A, gate select signal
Each GS is output as 1 bit and sent to the designated circuit.

第5図は本発明における命令例とその命令に対
するROM3の出力状態、すなわち、計時レジス
タ18の「クリア」命令、計時レジスタ18の指
定桁Dから所定のコードを減算する場合の「D―
コード」命令、所定のコードを計時レジスタ18
の所定桁に書込む「Dコード」命令、減算器16
の減算結果を判断する「判断1」命令、計時レジ
スタ18の内容とコード発生部5から出力する所
定ビツトとの一致を判断する「判断2」命令、キ
ー入力部1による入力判断を行う「セツトキーの
有無判断」命令と、その時のROM3の出力状態
を示したものである。
FIG. 5 shows an example of an instruction according to the present invention and the output state of the ROM 3 in response to the instruction, that is, a "clear" instruction for the time register 18, and a "D-
code” instruction, the predetermined code is clocked into the register 18
"D code" instruction to write to a predetermined digit of the subtracter 16
``Judgment 1'' instruction to judge the result of subtraction, ``Judgment 2'' instruction to judge whether the contents of the clock register 18 match the predetermined bits output from the code generation section 5, and ``Set key'' to judge the input by the key input section 1. This figure shows the ``determine presence/absence'' command and the output state of the ROM 3 at that time.

次に上記のように構成された本発明の動作を説
明する。発振器11は例えば32768Hzの基準信号
を発生してり、この基準信号はタイミング発生回
路12へ送られる。このタイミング発生回路12
は、上記したデイジツル信号D1〜D12、ワードパ
ルスφw等の他、基準のクロツクパルスφ,φ
を発生する。このクロツクパルスφ,φ
は、上記基準信号の各サイクル毎に交互に1発ず
つ出力される。従つてクロツクパルスφ,φ
の周波数は32768/2Hzとなる。そして、このク
ロツクパルスφ,φによつて上記計時レジス
タ18のシフト動作が行われる。つまり、クロツ
クパルスφによつてデータの読込み、クロツク
パルスφによつてデータの読出しが行われる。
このように基準のクロツクパルスφ,φの周
波数は、32768/2Hzであり、このクロツクパル
スφ,φを使用して1分の計数を行うには、
その60倍つまり「32768/2×60」となる。さらに
この式を変形すると 32768/2×60=215/2×60 =214×60=211×23×60 =211×8×6×10=211×48×10 となる。上式において211は「2048」であり、こ
れは12ビツトのカウンタでカウントすることがで
きる。従つて1分間の計数を行わせるには、1ワ
ードのビツト数を「48」とした場合にカウンタ構
成を12ビツトとし、10ワード毎に1回の計数動作
を行えば良いことがわかる。このため本願では計
時レジスタ18の構成を第3図に詳細を示すよう
に48ビツト(1ワード)とすると共に基準カウン
タをC0〜C2の3桁12ビツト構成とし、「2048」の
カウント動作を行い得るようにしている。以下第
6図のフローチヤートを参照して計時レジスタ1
8の計時動作を説明する。まず、時刻設定を行う
には、キー入力部1により設定時刻に対するキー
操作及び時刻設定キーを操作するとによつてその
キー操作に対応するデータがROM3より出力
(図示せず)され、計時レジスタ18の所定桁に
セツトされる。この場合、キー入力部1に対する
置数フローは、ROM3からキー入力指令Kが出
力されセツトキーが有ることによつて行われる。
すなわち、ROM3からキー入力指令Kが出力さ
れた際にキー入力部1においてセツトキーの操作
が行われているか否かの判断が行われ、キー操作
が行われていれば、第6図のF1のフロー、つま
り、置数及び計時レジスタ18のD1〜D3即ち基
準カウンタC0〜C2のクリア動作が行われる。こ
の基準カウンタC0〜C2のクリアは、第5図に示
すクリア命令により、ゲートセレクト信号GSと
共にデイジツト信号D1〜D3のを指定するタイミ
ング指令TがROM3から出力され、ゲート回路
17が減算器16側に切換えられて基準カウンタ
C0〜C2の内容がクリアされる。上記ゲート回路
17は、常時は、つまりアンド回路10の出力が
“0”の場合には計時レジスタ18の内容を循環
させ、アンド回路10から“1”信号が出力され
ると循環動作を中止して減算器16の出力を計時
レジスタ18に書込むように動作する。しかし
て、上記クリア命令が出されている場合は、アン
ド回路9及び13から出力はなく減算器16の出
力は「0」であり、基準カウンタC0〜C2に「オ
ール0」が書込まれる。第7図aは上記F1のフ
ローで計時レジスタ18に「5時30分」の時刻デ
ータに対する置数が行われた場合のレジスタ内容
を示すものである。しかして、上記時刻データの
置数後、置数時刻と現在時刻が一致した時点でキ
ー入力部1におけるスタートキー(図示せず)を
操作することにより、計時動作が開始される。す
なわち、上記スタートキーが操作されると、ま
ず、ROM3の0番地がアドレス指定され、「判断
1」の命令により第6図のステツツプS1に示すよ
うに計時レジスタ18のD3の内容が「7」即ち
8―4―2―1の重みで「0111」であるか否かの
判断が行われる。この判断は、まず、ROM3か
ら0番地の命令、コード及びタイミング等が出力
することによりコード発生部5から数値「7」の
シリアルコード、タイミング指定回路4からデイ
ジツト信号D3のタイミングで信号が出力され、
減算器16において計時レジスタ8のD3の内容
から「7」が減算される。そして、この減算結果
がアンド回路7及びオア回路14を介してフリツ
プフロツプ15に送られることにより判断が行わ
れる。最初基準カウンタC0〜C2の内容がクリア
されているので、上記減算器16において「0―
7」の減算が行われ、その減算結果によりフリツ
プフロツプ15がセツトされる。従つて上記ステ
ツプS1の判断結果はNOであり、判断部6の出力
が“1”となつてアドレス部2のオア回路23へ
送られる。この際、ROM3の0番地による次ア
ドレスは2番地であるが、判断結果がNOでアド
レスの1ビツト目にオア回路23を介して“1”
が与えられるので、次のアドレスは3番地とな
り、第6図のステツプS2に進む。この3番地のア
ドレス指定に伴うステツプ2は、前記したキー入
力部1におけるセツトキーの有無に対する判断ス
テツプであり、この時セツトキーがあればキー入
力部1からの信号によりアドレス変更されて前記
したフローF1に進むが、セツトキーが無けれ
ば、次アドレスにより1番地が指定されてステツ
プS3に進む。このステツプS3以下ステツプS9まで
はステツプ数を調整するために設けられた空ステ
ツプ(調整用ステツプ)であり特定の動作は行わ
ないが次アドレスNAだけは第4図に示す如く指
定されている為これらの各空ステツプS3〜S9にお
いても、その他のステツプと同様にそれぞれ1ワ
ードの処理時間を必要とする。そして、ステツプ
S0により10番地の次アドレスが指定され、ステツ
プS10に進む。このステツプS10では、10番地が指
定されていることにより、第4図に示す如く
ROM3からはゲートセレクト信号GS、演算指令
Aが出力し、アンド回路9及び10が開成される
と共にコード発生指令Cは「1」、タイミング指
令Tは「D1〜D3」の夫々が出力し、コード発生
部5及びタイミング指定回路4に印加されて居
り、減算器16では「D1〜D3−1」の動作が行
なわれ基準カウンタC0〜C2から「1」が減算さ
れる。最初基準カウンタC0〜C2の内容がオール
“0”であるので、上記「−1」の動作により、
基準カウンタC0〜C2の内容は第7図bに示すよ
うにオール“1”となる。そして、このステツプ
S10を終了すると、次アドレスが0番地で再びス
テツプS1に戻る。以下上記ステツプS1〜S10の動
作が繰返され、ステツプS10において基準カウン
タC0〜C2から上記した如く「−1」される。す
なわち、10ワード毎に基準カウンタC0〜C2から
「−1」される。そして、この「−1」の動作が
2048回行われると、基準カウンタC0〜C2の内容
は第7図cに示すように最上位ビツトが“0”で
その他のビツトが全て“1”となり、ステツプS1
における「D3の内容は7か」の判定はYESとな
る。すなわち、スタートから10×2048ワード目に
おいてステツプS1の判定結果がYESとなり、ス
テツプS11に進む。すなわち、ステツプS1の判定
結果がYESの場合は、判断部6のフリツプフロ
ツプ15はセツトされず、アドレス部2のオア回
路23にはステツプS1(0番地)の次アドレス
NAのみが印加されることによつてROM3の2番
地が指定され、ステツプS11へ進む。このステツ
プS11では上記同様ROM3からゲートセレクト信
号GS、「D1〜D3」を指定するタイミング信号T、
及び11番地を指定する次アドレスNAが出力さ
れ、アンド回路10からはタイミング「D1
D3」の間“1”が出力されることによつて計時
レジスタ18はこの「D1〜D3」の間減算器16
の出力(“0”)を読込み「D1〜D3」つまり基準
カウンタC0〜C2の内容がクリアされ、その後次
アドレスNAの11番地によりステツプS12に進んで
12番地の次アドレスを指定すると共に計時レジタ
18のD4桁の内容が「9」か否かの判定が行わ
れる。即ち、この11番地のROM3からは、演算
指令A及び判断命令J1が出力しアンド回路9及び
7が開成されると共に、「9」のコード発生指令
更には「D4」に対応するタイミング指令Tが出
力し、コード発生回路5からはコード「9」、ま
たタイミング指定回路4の出力線4aからはデイ
ジツト信号「D4」が出力することにより、アン
ド回路9及び13を介して減算器16に計時レジ
スタ18の4桁目(MI0)及びコード「9」が与
えられ、その結果はアンド回路7、オア回路14
を介してフリツプフロツプ15のセツト端子Sに
送出される。この場合の例ではD4桁の内容が
「0」であるので、ステツプS12の判定の結果は
NOであり、フリツプフロツプ15がセツトされ
ている為、アドレスは13番地となりステツプS13
に進む。このステツプS13では、「D4−15」減算、
つまり「分」単位のMI0桁から「15」を減算す
る。即ち、13番地に於るROM3の出力はゲート
セレクト信号GS、演算指令信号A、「15」のコー
ド発生指令C、「D4」のタイミング指令T及び
「5」の次アドレスであり、減算器16はアンド
回路9を介して入力される「D4」桁、つまりMI0
からアンド回路13を介して入力されるコード
「15」を減算し、その結果をアンド回路10の出
力により減算器側に切換えられているゲート回路
17を介して計時レジスタ18に書込む。この減
算動作により実質的には「+1」されたこととな
り、計時レジスタ18の内容は第7図dに示すよ
うになる。そして、このステツプS13を終了する
と、ステツプS11〜S13の処理時間を考慮してアド
レス5番地の空ステツプS5へ進み、さらにステツ
プS4〜S10を経てステツプS1へ戻る。そして、前
記と同様にしてステツプS10を2048回実行する。
このようにして「10×2048」ワードのステツプに
より1分の計時が行われ、計時レジスタのD4
つまり「分」桁のMI0に順次「+1」される。し
かして、計時レジスタ18の内容が第7図eに示
すように「5時39分」となり、さらに、その後の
計時(10×2048ワード)によりステツプS1からス
テツプS11を経てステツプS12に進み、「D4桁の内
容が9か」の判断が上記と同様に行われた場合、
その判断結果はYESとなり、オア回路23は
ROMからの次アドレスNAだけが印加されアドレ
ス12番地のステツプS14に進んで計時レジスタ1
8のD4桁がクリアされる。その後ステツツプS15
に進んで16番地の次アドレスNAを出力すると共
にD5桁の内容、つまり「10分」単位の桁MI1の内
容が「5」に達しているか否かの判断が行われ
る。この時点ではD5桁の内容は「3」であるの
で、ステツプS15の判断結果はNOであり、セツト
されたフリツプフロツプ15の出力がオア回路2
3を介して与えられる為、アドレスは17番地に変
更されてステツプS16に進む。このステツプS16
は「D5−15」の減算動作を上記ステツプS13と同
様に行い、第7図fに示すようにD5桁に実質的
に「+1」する。そして、このステツプS16終了
後は、ステツプS7に戻り、「分」に対する計時動
作を行う。
Next, the operation of the present invention configured as described above will be explained. The oscillator 11 generates a reference signal of, for example, 32768 Hz, and this reference signal is sent to the timing generation circuit 12. This timing generation circuit 12
In addition to the above-mentioned digital signals D 1 to D 12 , word pulse φ w , etc., reference clock pulses φ 1 and φ
Generates 2 . These clock pulses φ 1 , φ 2
are alternately output once for each cycle of the reference signal. Therefore, the clock pulses φ 1 , φ 2
The frequency of is 32768/2Hz. The clock pulses φ 1 and φ 2 cause the clock register 18 to shift. That is, data is read by clock pulse φ1 , and data is read by clock pulse φ2 .
In this way, the frequency of the reference clock pulses φ 1 and φ 2 is 32768/2Hz, and in order to count for one minute using these clock pulses φ 1 and φ 2 ,
It is 60 times that amount, or "32768/2 x 60". Further transforming this formula, it becomes 32768/2×60= 215 /2×60= 214 ×60= 211 × 23 ×60= 211 ×8×6×10= 211 ×48×10. In the above equation, 211 is "2048", which can be counted with a 12-bit counter. Therefore, it can be seen that in order to perform counting for one minute, if the number of bits in one word is "48", the counter configuration should be set to 12 bits, and one counting operation should be performed every 10 words. Therefore, in this application, the configuration of the time register 18 is 48 bits ( 1 word ) as shown in detail in FIG. We are making it possible to do this. Referring to the flowchart in Figure 6 below, time register 1
The timing operation of No. 8 will be explained. First, in order to set the time, when the key input unit 1 operates the key operation for the set time and the time setting key, data corresponding to the key operation is output from the ROM 3 (not shown), and the time register 18 is set to a predetermined digit. In this case, the number entry flow for the key input unit 1 is performed by outputting a key input command K from the ROM 3 and by having a set key.
That is, when the key input command K is output from the ROM 3, it is determined whether or not the set key is being operated in the key input unit 1, and if the key is being operated, F1 in FIG. In other words, the clearing operation of D 1 to D 3 of the number and time register 18, that is, the reference counters C 0 to C 2 is performed. The reference counters C 0 to C 2 are cleared by the clear command shown in FIG. The reference counter is switched to the subtracter 16 side.
The contents of C0 to C2 are cleared. The gate circuit 17 normally circulates the contents of the time register 18 when the output of the AND circuit 10 is "0", and stops the circulation operation when the AND circuit 10 outputs a "1" signal. The subtracter 16 operates to write the output of the subtracter 16 into the time register 18. However, when the above clear command is issued, there is no output from the AND circuits 9 and 13, and the output of the subtracter 16 is "0", and "all 0" is written to the reference counters C0 to C2. It can be done. FIG. 7a shows the contents of the register when the time data of "5:30" is entered in the time register 18 in the flow of F1 described above. After setting the above-mentioned time data, a start key (not shown) in the key input unit 1 is operated when the set time and the current time match, thereby starting the timekeeping operation. That is, when the start key is operated, address 0 of the ROM 3 is first addressed, and the "Judgment 1 " command causes the contents of D3 of the time register 18 to become " It is determined whether or not it is "0111" with a weight of "7", that is, 8-4-2-1. This judgment is made by first outputting an instruction, code, timing, etc. at address 0 from the ROM 3, a serial code of numerical value "7" is output from the code generator 5, and a signal is output from the timing specifying circuit 4 at the timing of the digit signal D3 . is,
In the subtracter 16, "7" is subtracted from the contents of D3 of the time register 8. Then, the result of this subtraction is sent to the flip-flop 15 via the AND circuit 7 and the OR circuit 14 to make a determination. Since the contents of the reference counters C 0 to C 2 are initially cleared, the subtracter 16 reads “0-
7'' is performed, and the flip-flop 15 is set based on the result of the subtraction. Therefore, the result of the judgment in step S1 is NO, and the output of the judgment section 6 becomes "1" and is sent to the OR circuit 23 of the address section 2. At this time, the next address based on address 0 of ROM3 is address 2, but the judgment result is NO and the first bit of the address is set to "1" via the OR circuit 23.
is given, the next address will be address 3, and the process will proceed to step S2 in FIG. Step 2 accompanying address designation of address 3 is a judgment step as to whether or not there is a set key in the key input section 1 described above. At this time, if a set key is present, the address is changed by a signal from the key input section 1 and the address is changed to the above-described flow F. If there is no set key, then address 1 is designated by the next address and the process advances to step S3 . The steps from step S3 to step S9 are empty steps (adjustment steps) provided for adjusting the number of steps, and do not perform any specific operation, but only the next address NA is specified as shown in Figure 4. Therefore, each of these empty steps S3 to S9 requires processing time of one word, just like the other steps. And step
The next address after address 10 is designated by S0 , and the process advances to step S10 . In step S10 , address 10 is specified, so as shown in Figure 4,
The gate select signal GS and calculation command A are outputted from the ROM 3, AND circuits 9 and 10 are opened, and the code generation command C is outputted as "1" and the timing command T is outputted as " D1 to D3 ", respectively. , are applied to the code generator 5 and the timing designation circuit 4, and the subtracter 16 performs the operation "D 1 to D 3 -1" to subtract "1" from the reference counters C 0 to C 2 . Initially, the contents of the reference counters C 0 to C 2 are all "0", so by the above "-1" operation,
The contents of the reference counters C0 to C2 are all "1" as shown in FIG. 7b. And this step
When S10 is completed, the next address is 0 and the process returns to step S1 . Thereafter, the operations of steps S1 to S10 are repeated, and in step S10 , the reference counters C0 to C2 are decremented by 1 as described above. That is, "-1" is decremented from the reference counters C0 to C2 every 10 words. And this "-1" behavior is
When the process is repeated 2048 times, the contents of the reference counters C0 to C2 are as shown in FIG .
The determination of "Is the content of D 3 7?" is YES. That is, at the 10×2048th word from the start, the determination result in step S1 becomes YES, and the process advances to step S11 . That is, if the judgment result at step S1 is YES, the flip-flop 15 of the judgment section 6 is not set, and the OR circuit 23 of the address section 2 is set to the address next to step S1 (address 0).
Address 2 of ROM3 is designated by applying only NA, and the process advances to step S11 . In this step S11 , the gate select signal GS, timing signal T specifying "D 1 to D 3 ", and
and the next address NA specifying address 11 is output, and the AND circuit 10 outputs the timing “D 1 ~
By outputting “1” during “D 3 ”, the time register 18 outputs the subtracter 16 during “D 1 to D 3 ”.
The output (“0”) of “ D1 to D3 ”, that is, the contents of the reference counters C0 to C2, are cleared, and then the process proceeds to step S12 using the next address NA 11.
At the same time as specifying the address next to address 12, it is determined whether the content of the D 4 digit of the time register 18 is "9" or not. That is, from the ROM 3 at address 11, the calculation command A and the judgment command J 1 are output, AND circuits 9 and 7 are opened, and the code generation command "9" and the timing command corresponding to "D 4 " are output. The code "9" is output from the code generating circuit 5, and the digit signal "D 4 " is output from the output line 4a of the timing specifying circuit 4, so that the subtracter 16 is outputted via the AND circuits 9 and 13. is given the fourth digit (MI 0 ) of the clock register 18 and the code "9", and the result is sent to the AND circuit 7 and the OR circuit 14.
The signal is sent to the set terminal S of the flip-flop 15 via the flip-flop 15. In this example, the content of the 4th digit D is "0", so the result of the determination in step S12 is
Since the answer is NO and flip-flop 15 is set, the address is 13 and the process goes to step S13.
Proceed to. In this step S 13 , "D 4 - 15" subtraction,
In other words, subtract "15" from MI 0 digit in "minutes". That is, the output of the ROM3 at address 13 is the gate select signal GS, the operation command signal A, the code generation command C of "15", the timing command T of "D 4 ", and the next address of "5", and the subtracter 16 is the “D 4 ” digit input via the AND circuit 9, that is, MI 0
The code "15" input via the AND circuit 13 is subtracted from the code "15", and the result is written into the time register 18 via the gate circuit 17 which is switched to the subtracter side by the output of the AND circuit 10. This subtraction operation essentially results in an increase of "+1", and the contents of the time register 18 become as shown in FIG. 7d. When this step S13 is completed, the process proceeds to an empty step S5 at address 5, taking into account the processing time of steps S11 to S13 , and then returns to step S1 via steps S4 to S10 . Then, step S10 is executed 2048 times in the same manner as above.
In this way, one minute is counted in steps of "10 x 2048" words, and D 4 of the clock register,
In other words, "+1" is sequentially added to MI 0 in the "minute" digit. As a result, the contents of the time register 18 become " 5:39 " as shown in FIG . If the process advances and the judgment of “D 4 digits is 9” is made in the same way as above,
The judgment result is YES, and the OR circuit 23 is
Only the next address NA from the ROM is applied, and the process proceeds to step S14 at address 12, where time register 1 is applied.
8 D 4 digits are cleared. Then step S 15
Then, the next address NA of address 16 is outputted, and it is determined whether the contents of 5 digits D, that is, the contents of digit MI 1 in units of "10 minutes" have reached "5". At this point, the content of the D5 digit is "3", so the judgment result at step S15 is NO, and the output of the set flip-flop 15 is transferred to the OR circuit 2.
3, the address is changed to address 17 and the process advances to step S16 . In this step S16 , the subtraction operation of " D5 - 15" is performed in the same manner as in the above step S13 , and as shown in FIG. 7f, "+1" is substantially added to the D5 digit. After step S16 is completed, the process returns to step S7 and a time counting operation for "minutes" is performed.

また、計時レジスタ18の内容が第7図g,h
に示すように「5時59分」から「6時00分」にな
る場合には、ステツプS15の判断結果がYESとな
り、ステツプS15で指定されているアドレス10番
地のステツプS17に進んでD5桁の内容がクリアさ
れる。次いで、アドレス15番地のステツプS18
進んでD7桁の内容が「1」であるか否かの判断
が行われる。この場合の判断はROM3から判断
命令J2、「1」のコード発生指令C、「D7」のタイ
ミング指令T及び「18」の次アドレスであり、計
時レジスタ18のD7桁つまりH1とコード発生部
5の出力「1」がアンド回路8及びオア回路14
を介してフリツプフロツプ15に印加され一致が
検出される。この時点ではD7桁の内容は「0」
であるので、ステツプS18の判断結果は、NOであ
り、ステツプS19に進んでD6桁の内容が「9」で
あるか否かの判断が上記ステツプS12と同様に行
われる。この判断の結果はNOであり、ステツプ
S20に進んで「D6−15」の減算動作により実質的
にはD6桁に「+1」されて計時レジスタ18の
内容が「6時00分」となり、その後、ステツプ
S10に戻る。
In addition, the contents of the clock register 18 are
As shown in the figure, if the time changes from "5:59" to "6:00", the judgment result in step S15 becomes YES, and the process proceeds to step S17 for the address 10 specified in step S15 . The contents of D 5 digits are cleared. Next, the process advances to step S18 at address 15, where it is determined whether or not the content of the D7 digit is "1". In this case, judgment is made from the ROM 3 by the judgment instruction J 2 , the code generation command C of "1", the timing command T of "D 7 ", and the next address of "18", and the D 7 digit of the clock register 18, that is, H 1 . The output “1” of the code generator 5 is output to the AND circuit 8 and the OR circuit 14.
is applied to the flip-flop 15 via the input signal 15, and a match is detected. At this point, the content of D 7 digits is "0"
Therefore, the determination result in step S18 is NO, and the process proceeds to step S19 , where it is determined whether or not the content of the D6 digit is "9" in the same manner as in step S12 . The result of this decision is NO and the step
Proceeding to S20 , the subtraction operation of "D 6 -15" essentially adds "+1" to the D 6 digit and the contents of the time register 18 become "6:00", and then the step
Return to S10 .

そして計時レジスタ18の内容が第7図i,j
に示すように「9時59分」から「10時00分」にな
る場合には、D6桁の内容が「9」となつている
ので、ステツプS19の判断結果がYESとなり、ス
テツプS21に進んでD6桁がクリアされる。次にス
テツプS22に進み、「D1〜D3−1」の減算動作が
行われる。この際、D1〜D3桁はステツプS11でク
リアされているので、ステツプS22の「−1」動
作により、D1〜D3の内容は第7図iに示すよう
に、オール“1”となる。次いでステツプS23
進み、「D7−15」の減算動作によりD7桁に実質的
に「+1」され、その後ステツプS2に戻る。
The contents of the time register 18 are shown in FIG.
As shown in the figure, when the time changes from "9:59" to "10:00", the content of the 6th digit D is "9", so the judgment result in step S19 becomes YES and step S Proceed to 21 and D 6 digits will be cleared. Next, the process proceeds to step S22 , where a subtraction operation of "D 1 to D 3 -1" is performed. At this time, since the 3 digits D 1 to D have been cleared in step S 11 , the contents of D 1 to D 3 are all "-1" as shown in FIG. 1”. Next, the process proceeds to step S23 , where the D7 digit is substantially incremented by ``1'' by the subtraction operation `` D7-15 '', and then the process returns to step S2 .

さらに、計時レジスタ18の内容が第7図k,
lに示すように、「10時59分」から「11時00分」
になる場合には、D7桁の「10時」単位の桁H1
内容が「1」となつているので、ステツプS18
判断結果がYESとなり、ステツプS24に進んで
「D1〜D3−1」の減算動作が行われ、D1〜D3桁つ
まり基準カウンタC0〜C2の内容は第7図lに示
すようにオール“1”となる。次にステツプS25
に進んでD6桁の内容が「2」であるか否かの判
断が行われる。この場合、D6桁の内容は「0」
であり、ステツプS25の判断結果はNOでステツプ
S26に進む。このステツプS26は「D6−15」の減算
動作によりD6桁に第7図lに示すように実質的
に「+1」して計時レジスタ18の内容を「11時
00分」とし、その後ステツプS27に進む。このス
テツプS27では再びD6桁の内容が「2」であるか
否かの判断を行うが、この時点ではD6桁の内容
は「1」であるので判断結果はNOであり、ステ
ツプS2に戻る。
Furthermore, the contents of the time register 18 are shown in FIG.
As shown in l, from "10:59" to "11:00"
In this case, the contents of digit H1 of the 7- digit "10 o'clock" unit of D is "1", so the judgment result in step S18 is YES, and the process proceeds to step S24 , where "D1 " is .about.D 3 -1" is performed, and the contents of the three digits D 1 to D, that is, the contents of the reference counters C 0 to C 2 become all "1" as shown in FIG. 7I. Next step S 25
Then, it is determined whether the content of the D 6 digit is "2" or not. In this case, the content of D 6 digits is “0”
, and the judgment result in step S25 is NO.
Proceed to S 26 . This step S26 substantially adds "+1" to the D6 digit by the subtraction operation " D6 -15" as shown in FIG.
00 minutes" and then proceed to step S27 . In this step S27 , it is again determined whether the content of the 6- digit D is "2" or not, but at this point, the content of the 6 -digit D is "1", so the judgment result is NO, and the process returns to step S27. Return to 2 .

また、計時レジスタ18の内容が第7図m,n
に示すように、「11時59分」から「12時00分」に
なる場合には、上記「10時59分」から「11時00
分」になる場合と同様にステツプS18からS24
S25,S26に進んで計時処理が行われる。この計時
処理により計時レジスタ18の内容が「12時00
分」となり、D6桁の内容が「2」となる。この
ためステツプS27の判断結果がYESとなり、フロ
ーF2に進んで午前、午後、曜日等に対する処理
が行われ、その処理に応じ計時ステツプ数を考慮
してステツプS1〜S10の何れかに戻る。また、上
記フロ―F2の処理内容に応じて日、月の処理フ
ローF3に進み、その処理内容に応じてステツプ
S1〜S10の何れかに戻る。なお、上記フローF1
F3については詳細を示してないが、上記計時動
作に示されるようなステツプにより所定の処理が
行われる。
In addition, the contents of the time register 18 are shown in FIG.
As shown in the figure, if the time changes from ``11:59'' to ``12:00'', the change from ``10:59'' to ``11:00''
steps S 18 to S 24 ,
Proceeding to S 25 and S 26 , time measurement processing is performed. This timekeeping process changes the contents of the timekeeping register 18 to “12:00.
minutes", and the content of the 6 -digit D becomes "2". Therefore, the judgment result in step S27 becomes YES, and the process proceeds to flow F2 , where processing for morning, afternoon, day of the week, etc. is performed, and depending on the processing, one of steps S1 to S10 is performed, taking into consideration the number of time measurement steps. Return to Also, depending on the processing content of the above flow F2 , proceed to the processing flow F3 for the day and month, and proceed to the steps according to the processing content.
Return to any one of S 1 to S 10 . In addition, the above flow F 1 ~
Although the details of F3 are not shown, predetermined processing is performed through the steps shown in the above-mentioned time counting operation.

また、計時レジスタ18の内容が第7図o,p
に示すように「12時59分」から「1時00分」にな
る場合には、D6桁の内容が「2」であるため、
ステツプS25の判断結果が「YES」となり、ステ
ツプS28に進んで第7図pに示すようにD7桁がク
リアされる。次いでステツプS29に進み、D6桁の
内容「2」から「−1」して計時レジスタ18の
内容を「1時00分」とし、その後ステツプS2に戻
る。
In addition, the contents of the clock register 18 are
As shown in the figure, when changing from "12:59" to "1:00", the content of 6 digits D is "2", so
The determination result at step S25 is ``YES'', and the process advances to step S28 , where the D7 digit is cleared as shown in FIG. 7p. Next, the process proceeds to step S29 , where the content of the six digits D is set to ``-1'' from ``2'' to set the content of the time register 18 to ``1:00'', and then the process returns to step S2 .

なお、第6図のフローではステツプS18までと
ステツプS24にアドレス番号を付し第4図にROM
3の詳細を示したが、他のステツプも同様な
ROM構成と成つて居り、ステツプの処理内容に
基づき第5図のROMの出力状態を適宜選んで構
成されている。
In addition, in the flow of FIG. 6, address numbers are assigned to steps S18 and S24 , and the ROM is shown in FIG.
I have shown the details of step 3, but the other steps are similar.
It has a ROM configuration, and the output state of the ROM shown in FIG. 5 is appropriately selected based on the processing content of the step.

このように本発明では、何れのフローを実行す
る場合でも、10ワードの処理に対して必らず1回
「D1〜D3−1」のステツプ、つまり、S10,S22
S24及びフローF2,F3内に設けられた特定ステツ
プの何れかのステツプを通り、基準カウンタC0
〜C2のカウント動作を行う。すなわち、基準カ
ウンタC0〜C2は発振器11から出力される基準
クロツクを直接カウントするものでなく、10ワー
ドの処理時間内に1回プログラムによりカウント
動作するようにしたものであり、このためカウン
ト周期が非常に長くなり、小さな容量でその目的
を達成することができる。従つてハードウエアの
構成を著しく簡単化し得るものである。
As described above, in the present invention, no matter which flow is executed, the steps "D 1 to D 3 -1" are executed once for processing 10 words, that is, the steps S 10 , S 22 ,
S 24 and any of the specific steps provided in flows F 2 and F 3 , and the reference counter C 0
~C Perform 2 count operations. In other words, the reference counters C 0 to C 2 do not directly count the reference clock output from the oscillator 11, but are programmed to count once within the processing time of 10 words. The period becomes very long and the purpose can be achieved with a small capacity. Therefore, the hardware configuration can be significantly simplified.

なお、上記実施例では、減算器16を用いて計
時動作を行わせるようにしたが、減算器の代りに
加算器を用いて計時動作を行わせ判断も加算によ
つて行わせるようにしてもよいことは勿論であ
る。
In the above embodiment, the subtracter 16 is used to perform the timekeeping operation, but an adder may be used instead of the subtractor to perform the timekeeping operation and judgments may also be made by addition. Of course it's a good thing.

また、前記実施例では「分」単位の計時動作を
行う場合について示したが、「秒」単位の計時を
行う場合においても前記実施例と同様にして実施
し得るものである。
Furthermore, although the above-mentioned embodiments have been described with reference to the case where the timekeeping operation is carried out in units of "minutes", it can also be carried out in the same manner as in the above-mentioned embodiments when the timekeeping operation is carried out in units of "seconds".

さらに、上記実施例では10ワードの処理時間内
に1回「D1〜D3−1」のステツプを挿入し「+
1」しているが、例えば20ワード以上の処理時間
内に判断による分岐がないような場合には「+
2」を1ステツプで行つても良く、上記「+1」
は処理ステツプの状況によつて適宜「+n」とし
全体的なステツプ数を省略しても差しつかえない
ものである。
Furthermore, in the above embodiment, the steps "D 1 to D 3 -1" are inserted once within the processing time of 10 words, and the steps "+
1", but for example, if there is no branching due to judgment within the processing time of 20 words or more, "+
2" may be performed in one step, or the above "+1"
may be set to "+n" as appropriate depending on the situation of the processing steps, and the overall number of steps may be omitted.

要するに本発明は上記実施例に限定されるもの
でなく、本発明の要旨を逸脱しない範囲で種種変
形し得ることは勿論である。
In short, the present invention is not limited to the above-mentioned embodiments, and it goes without saying that various modifications can be made without departing from the gist of the present invention.

以上述べたように本発明によれば、結果的にマ
イクロプログラムの所定処理時間毎に基準カウン
タのカウント動作を行わせるようにしたので、基
準カウンタの容量を非常に小さくでき、回路構成
を簡易化し得る計時方式を提供することができ
る。
As described above, according to the present invention, the counting operation of the reference counter is performed every predetermined processing time of the microprogram, so that the capacity of the reference counter can be made extremely small, and the circuit configuration can be simplified. It is possible to provide a timekeeping method to obtain.

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

第1図は本発明の一実施例を示す回路構成図、
第2図は同実施例におけるタイミング発生回路か
ら出力されるタイミング信号とROMの出力コー
ド例を示す図、第3図は同実施例における計時レ
ジスタの構成内容を示す図、第4図は同実施例に
おけるROM(制御部)及びアドレス部の詳細を
示す図、第5図は同実施例に使用される命令の内
容を示す図、第6図は同実施例の動作内容を示す
フローチヤート、第7図a〜pは同実施例におけ
る計時レジスタの計時動作に伴う内容変化を示す
図である。 1……キー入力部、2……アドレス部、3……
ROM、6……判断部、11……発振器、12…
…タイミング発生回路、16……減算器、18…
…計時レジスタ。
FIG. 1 is a circuit configuration diagram showing an embodiment of the present invention;
FIG. 2 is a diagram showing an example of the timing signal output from the timing generation circuit and the output code of the ROM in the same embodiment, FIG. 3 is a diagram showing the configuration of the time register in the same embodiment, and FIG. 4 is a diagram showing the same implementation. FIG. 5 is a diagram showing the details of the ROM (control unit) and address section in the example. FIG. 5 is a diagram showing the contents of instructions used in the example. FIG. 7A to 7P are diagrams showing changes in the contents of the time register according to the time measurement operation in the same embodiment. 1...Key input section, 2...Address section, 3...
ROM, 6... Judgment unit, 11... Oscillator, 12...
...Timing generation circuit, 16...Subtractor, 18...
...Time register.

Claims (1)

【特許請求の範囲】[Claims] 1 発振手段から出力される基準信号に従つて複
数の処理経路を有する計時用のマイクロプログラ
ムを実行する制御手段と、この制御手段のマイク
ロプログラムが所定ステツプ数実行される毎に計
時動作を行なう計時手段とを具備し、上記マイク
ロプログラムがいづれの処理経路を実行しても所
定ステツプ数毎に計時動作が行なわれるように調
整用ステツプを上記マイクロプログラムに設けた
ことを特徴とする計時方式。
1. A control means that executes a timekeeping microprogram having a plurality of processing paths in accordance with a reference signal output from an oscillation means, and a timekeeping operation that performs a timekeeping operation every time the microprogram of this control means is executed a predetermined number of steps. 1. A timekeeping method, characterized in that said microprogram is provided with adjustment steps so that a timekeeping operation is performed every predetermined number of steps no matter which processing path is executed by said microprogram.
JP14454676A 1976-12-01 1976-12-01 Clocking system Granted JPS5369085A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14454676A JPS5369085A (en) 1976-12-01 1976-12-01 Clocking system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14454676A JPS5369085A (en) 1976-12-01 1976-12-01 Clocking system

Publications (2)

Publication Number Publication Date
JPS5369085A JPS5369085A (en) 1978-06-20
JPS6124665B2 true JPS6124665B2 (en) 1986-06-12

Family

ID=15364804

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14454676A Granted JPS5369085A (en) 1976-12-01 1976-12-01 Clocking system

Country Status (1)

Country Link
JP (1) JPS5369085A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62156883U (en) * 1986-03-28 1987-10-05

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62156883U (en) * 1986-03-28 1987-10-05

Also Published As

Publication number Publication date
JPS5369085A (en) 1978-06-20

Similar Documents

Publication Publication Date Title
JPS6059553B2 (en) timing device
US4330840A (en) Multi-function electronic digital watch
GB2156560A (en) Portable electronic memorandum device
US4313186A (en) Electronic timepiece with time zone change features
JPS6124665B2 (en)
US4245323A (en) Electronic calculator with time display function
US4181963A (en) Electronic calculator with time counting function
US4148180A (en) Electronic timepiece circuit for automatically displaying the day of the week
JPS6015038B2 (en) Month and day determination method in electronic watches
US4630222A (en) One chip integrated circuit for electronic apparatus with means for generating sound messages
KR830001450B1 (en) Electronic digital multifunction watch
JPS6213636B2 (en)
US4132060A (en) Electronic timepiece
USRE34422E (en) Portable electronic memorandum device
JPS6158860B2 (en)
US4468133A (en) Electronic timepiece
JPS6367157B2 (en)
JPS6118153B2 (en)
US4192135A (en) Portable electronic device
US4262347A (en) Electronic timepiece
JPS5922587Y2 (en) random number generator
JPS6231307B2 (en)
JPH0723758Y2 (en) Zero-zero switch mechanism
JPH0625982B2 (en) Electronic tide gauge
JPS6024609B2 (en) counting circuit