JPH0743695B2 - Electronics - Google Patents

Electronics

Info

Publication number
JPH0743695B2
JPH0743695B2 JP60015459A JP1545985A JPH0743695B2 JP H0743695 B2 JPH0743695 B2 JP H0743695B2 JP 60015459 A JP60015459 A JP 60015459A JP 1545985 A JP1545985 A JP 1545985A JP H0743695 B2 JPH0743695 B2 JP H0743695B2
Authority
JP
Japan
Prior art keywords
mode
display
key
state
routine
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 - Lifetime
Application number
JP60015459A
Other languages
Japanese (ja)
Other versions
JPS61175754A (en
Inventor
繁 豊村
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP60015459A priority Critical patent/JPH0743695B2/en
Priority to US06/823,352 priority patent/US4774684A/en
Publication of JPS61175754A publication Critical patent/JPS61175754A/en
Publication of JPH0743695B2 publication Critical patent/JPH0743695B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)
  • Calculators And Similar Devices (AREA)

Description

【発明の詳細な説明】 [技術分野] 本発明は、複数の動作モードのうちのいずれかを選択し
て作動させることができるようにした電子機器に関する
ものである。
Description: TECHNICAL FIELD The present invention relates to an electronic device capable of selecting and operating any one of a plurality of operation modes.

更に詳述すれば、本発明は、電子式卓上計算機やワード
プロセッサ,電子タイプライタなどにみられるように、
表示器およびデータ入力手段を備え、所定の動作モード
を選択して作動できるようにした電子機器に関するもの
である。
More specifically, the present invention, as can be found in an electronic desk calculator, a word processor, an electronic typewriter, etc.,
The present invention relates to an electronic device that includes a display and data input means and that can operate by selecting a predetermined operation mode.

[従来技術] この種の電子機器の一例として電子式卓上計算機を取り
挙げ、その主要部品であるLSIおよび表示器の構成につ
いて分類すると、次のとおりである。
[Prior Art] An electronic desk calculator is taken as an example of this kind of electronic device, and the configurations of the LSI and the display, which are the main parts thereof, are classified as follows.

第1に、P-MOS型のLSIを用い、表示器には蛍光表示管を
用いる場合。
First, when using a P-MOS type LSI and using a fluorescent display tube as the display.

第2に、C-MOS型のLSIを用い、表示器には液晶表示器を
用いる場合である。
Secondly, a C-MOS type LSI is used and a liquid crystal display is used as the display.

かかる第1の組み合せによれば、LSIおよび表示器共に
消費電力が大きいという欠点を有する反面、表示が大変
見易いという利点がある。他方、上述した第2の組み合
せによれば、LSIおよび表示器共に消費電力が大変少な
いという利点を有する反面、表示が見にくいという欠点
がある。
According to the first combination, although both the LSI and the display device have a drawback that the power consumption is large, there is an advantage that the display is very easy to see. On the other hand, according to the above-mentioned second combination, both the LSI and the display have an advantage that the power consumption is very small, but the display is difficult to see.

また、種々のモードを設定するために、第1の組み合せ
による電子式卓上計算機では四捨五入,小数点,印字等
のモードを指定するための機械的スイッチが設けられて
おり、電源が切断されたときにもモード設定状態が変化
しないように構成されている。他方、第2の組み合せに
よる廉価な電子式卓上計算機においては、データ表示部
とは異った特別のモード表示用シンボルを表示器内に備
え、タッチキーを用いてモードの設定を行うよう構成さ
れている。しかも、この場合には、消費電力の少ないC-
MOS型LSIの採用によりOFFキーの押下による動作停止時
にもそのモード状態を記憶させておき、ひとたび設定し
たモード状態が変化しないように考慮されている。
Further, in order to set various modes, the electronic desktop computer according to the first combination is provided with a mechanical switch for designating modes such as rounding, decimal point, and printing, and when the power is cut off. Is also configured so that the mode setting state does not change. On the other hand, in the low-priced electronic desk calculator by the second combination, a special mode display symbol different from the data display section is provided in the display unit, and the mode is set using the touch keys. ing. Moreover, in this case, C- which consumes less power
By adopting a MOS type LSI, even when the operation is stopped by pressing the OFF key, the mode state is stored so that the mode state once set does not change.

更に、近年においては、半導体技術の進歩により、C-MO
S型LSIの高耐電圧仕様が製品化され、C-MOS型のLSIと共
に表示器には蛍光表示管を用いるという第3の組み合せ
が実現しようとしている。
Furthermore, in recent years, due to advances in semiconductor technology, C-MO
The high withstand voltage specification of the S-type LSI has been commercialized, and a third combination of using a fluorescent display tube as a display together with the C-MOS type LSI is about to be realized.

しかし、かかる第3の組み合せによる場合には、特別な
モード表示用シンボルを設ける必要性から、表示器の構
成が複雑かつ高価になるという欠点が生じる。
However, in the case of the third combination, there is a drawback that the structure of the display becomes complicated and expensive because of the necessity of providing a special mode display symbol.

[目的] 本発明の目的は上述の点に鑑み、電子機器の作動状態に
するスイッチを操作することで表示手段で作動モードを
表示させ、更に、電子機器を作動状態において、前述の
作動状態にさせるスイッチを更に操作することで電子機
器に設定した作動モードを更新するようにすることがで
きる電子機器を提供するものである。
[Object] In view of the above points, an object of the present invention is to display an operation mode on a display unit by operating a switch for setting an operation state of an electronic device, and further, when the electronic device is in an operation state, change to the above-mentioned operation state. To provide an electronic device capable of updating the operation mode set in the electronic device by further operating the switch.

かかる目的を達成するために、本発明は、複数の作動モ
ードのいずれかに従って作動して、表示手段で作動した
結果を表示する電子機器において、モード設定状態を指
示する機能と電子機器の作動を指示する機能とを持った
手動スイッチと、複数の作動モードの各々を指示するモ
ード指示スイッチと、前記モード指示スイッチの指示に
応答して作動モードを記憶するモード記憶手段と、前記
手動スイッチの押下に応答して電子機器の作動を指示し
かつ前記モード設定状態にして、前記モード指示スイッ
チの指示に応答して前記モード記憶手段に作動モードを
記憶すると共に前記モード記憶手段に記憶された指示さ
れた作動モードを表示記憶手段に記憶しうる状態にさせ
る第1の記憶制御手段と、電子機器の作動状態におい
て、前記手動スイッチの再押下に応答して電子機器の作
動状態を維持して且つ、前記モード設定状態にして前記
モード指示スイッチの新たな指示に応答して前記モード
記憶手段の作動モードを更新記憶すると共に、前記モー
ド記憶手段の内容を前記表示記憶手段に記憶しうる状態
にさせる第2の記憶制御手段と、前記表示記憶手段の内
容を前記表示手段で表示させる表示制御手段とを備える
ことにより実現するものである。
In order to achieve such an object, the present invention operates in accordance with any one of a plurality of operation modes, and in an electronic device that displays a result of the operation by a display means, has a function of instructing a mode setting state and an operation of the electronic device. A manual switch having a function of instructing, a mode instructing switch for instructing each of a plurality of operation modes, a mode storing means for storing an operation mode in response to an instruction from the mode instructing switch, and a depression of the manual switch In response to the operation of the electronic device and in the mode setting state, in response to the instruction of the mode instructing switch, the operation mode is stored in the mode storing means, and the instruction stored in the mode storing means is stored. The first storage control means for bringing the operating mode into a state in which it can be stored in the display storage means, and the manual switch in the operating state of the electronic device. In response to the re-depressing, the operating state of the electronic device is maintained, the mode setting state is set, the operating mode of the mode storing means is updated and stored in response to a new instruction from the mode instruction switch, and It is realized by providing a second storage control means for setting the contents of the mode storage means into a state in which the contents of the display storage means can be stored, and a display control means for displaying the contents of the display storage means on the display means. is there.

[実施例] 以下、実施例に基づいて本発明を詳細に説明する。[Examples] Hereinafter, the present invention will be described in detail based on Examples.

第1図は、本発明を適用した印字装置付電子式卓上計算
機の一実施例を示す外観図である。本図において、KBは
数値キー,ファンクションキー等を配設したキーボー
ド、DISPは数値データは演算結果のほか本実施例に係る
動作モードの表示(後に詳述する)を行うための表示装
置、PRは印字出力を行うための印字装置である。
FIG. 1 is an external view showing an embodiment of an electronic desk calculator with a printer to which the present invention is applied. In the figure, KB is a keyboard provided with numeric keys, function keys, etc., DISP is a display device for displaying numerical data of the operation mode according to the present embodiment (described in detail later), PR Is a printing device for printing output.

第2図は、第1図に示したキーボードKBおよび表示装置
DISPの一部を拡大して示した図である。ここで、MKIは
表示装置DISPにおける表示態様を選択するためのモード
表示指定キーである。なお、このモード表示指定キーMK
Iは本実施例を動作状態にするための電源投入キーとし
ても作用する。
FIG. 2 shows the keyboard KB and the display device shown in FIG.
It is the figure which expanded and showed a part of DISP. Here, MKI is a mode display designation key for selecting a display mode on the display device DISP. This mode display designation key MK
I also functions as a power-on key for putting the present embodiment into an operating state.

また、MK2,MK3,MK4はそれぞれ四捨五入指定キー、小数
点位置(TAB)指定キー、印字装置PRの紙送りあるいは
印字モードの指定を行う紙送り/印字モード指定キーで
ある。
Further, MK2, MK3, and MK4 are a rounding specification key, a decimal point position (TAB) specification key, and a paper feed / print mode specification key for specifying the paper feed or print mode of the printer PR.

MPは表示装置DISPの各々の桁位置に対応して描いたモー
ドパターンであり、第1桁目に対応した位置に「5/4」
を、第2桁目には「F」を、第3桁目には「0」を、第
4桁目には「2」を、第5桁目には「3」を、第6桁目
には「+」を、第8桁目には「PRT」の文字を記入して
ある。
MP is a mode pattern drawn corresponding to each digit position of the display device DISP, and "5/4" is placed at the position corresponding to the first digit.
"F" for the second digit, "0" for the third digit, "2" for the fourth digit, "3" for the fifth digit, and sixth digit. "+" Is written in the box and "PRT" is written in the 8th digit.

MDは表示装置DISPを動作モード表示器として用いた場合
の表示態様を示すものである。ここで、第1桁目(D1)
については、7セグメントの内のdセグメントのみが点
灯しているので、四捨五入スイッチが“オン”の状態を
示している。また、第4桁目(D4)および第8桁目(D
8)のdセグメントがそれぞれ点灯しているので、小数
点位置(TAB)として小数点以下「2」桁を表示するよ
う指定され、且つ印字モードが指定されていることを表
している。
MD indicates a display mode when the display device DISP is used as an operation mode display. Where the first digit (D1)
For, regarding the 7th segment, since only the d segment is lit, the rounding switch is in the "ON" state. Also, the fourth digit (D4) and the eighth digit (D
Since each of the d segments in 8) is lit, it indicates that the decimal point position (TAB) is designated to display "2" digits after the decimal point and the print mode is designated.

NDは表示装置DISPを数字表示器として用いた場合の表示
態様を示すものである。すなわち、かかる表示態様は電
子式卓上計算機としての通常表示状態を表すものであ
り、置数データや演算結果を表示する。
ND indicates a display mode when the display device DISP is used as a numerical display. That is, this display mode represents a normal display state as an electronic desk calculator, and displays numerical data and calculation results.

上述した2種の表示態様MD(モード表示),ND(数字表
示)の切換えは、モード表示指定キーMK1の押下により
切換えることができる。但し、電源投入時にはMD(モー
ド表示)の表示態様に初期設定されている(詳細は第4
図以降において説明する)。
The above-described two display modes MD (mode display) and ND (numeric display) can be switched by pressing the mode display designation key MK1. However, when the power is turned on, the display mode of MD (mode display) is initially set (for details, refer to section 4).
It will be explained in the following figures).

第3図は本実施例の電気的構成全体を示すブロック図で
ある。本図において、キーボード部KBには数値・ファン
クション等を特定するためのキーや既述のモード表示指
定キーMK1,四捨五入キーMK2などのキー群を配設してあ
る。
FIG. 3 is a block diagram showing the entire electrical configuration of this embodiment. In the figure, the keyboard portion KB is provided with keys for specifying numerical values, functions, etc., and a key group such as the above-described mode display designation key MK1 and rounding key MK2.

CPUは1チップのLSIで構成した中央演算処理部であり、
次に示す各々の要素を含んでいる。
CPU is a central processing unit composed of 1-chip LSI,
It contains each of the following elements:

まず、キーボード部KBから入力された情報を記憶するメ
モリ部MUを備え、このメモリ部は、数値データを記憶す
るレジスタAR,BR,CRやフラグ情報を記憶するフラグ群FF
のほか種々のモード状態を記憶するための記憶部TAB,M
F,PRT,5/4、4桁のデータをカウントするためのカウン
タCT等から構成してある。なお、レジスタARは表示レジ
スタとしても使用され、レジスタARの内容を表示するこ
とが可能である。これらの各構成要素は、通常のRAM
(ランダム・アクセス・メモリ)を用いて構成する。
First, a memory unit MU for storing information input from the keyboard unit KB is provided, and this memory unit has registers AR, BR, CR for storing numerical data and a flag group FF for storing flag information.
In addition to TAB, M, a storage unit for storing various mode states
It is composed of F, PRT, counter CT for counting 5/4 and 4 digit data. The register AR is also used as a display register, and the contents of the register AR can be displayed. Each of these components is a normal RAM
It is configured by using (random access memory).

上記各々のレジスタに記憶された数値情報や動作モード
指定情報を演算処理するために、各種加算器や判定回路
等を用いて演算部ACを構成してある。
In order to perform arithmetic processing on the numerical information and operation mode designation information stored in each of the above registers, the arithmetic unit AC is configured by using various adders and determination circuits.

また、CPUには、演算部ACやメモリ部MUのほか、後述す
る入力制御部ICや出力制御部OCを制御するための情報、
ならびに、動作モードに対応した各種処理を制御するた
めの情報を記憶している固定記憶部RUを備えている。こ
の固定記憶部RUは、リード・オンリ・メモリ(ROM)お
よびインストラクション・デコーダ等により構成してあ
る。
In addition, the CPU has information for controlling an input control unit IC and an output control unit OC, which will be described later, in addition to the calculation unit AC and the memory unit MU,
In addition, it is provided with a fixed storage unit RU that stores information for controlling various processes corresponding to the operation mode. The fixed storage unit RU is composed of a read only memory (ROM), an instruction decoder and the like.

上述した入力制御部ICは、固定記憶部RUからの命令に従
って、キーボードKBにキースキャニング信号を出力し、
その信号を受信することにより、操作された数値キー,
ファンクションキーの判別や各種モード指定キーMK1〜M
K4の判別を行う。
The input control unit IC described above outputs a key scanning signal to the keyboard KB in accordance with an instruction from the fixed storage unit RU,
By receiving the signal, the operated numeric keys,
Function key identification and various mode specification keys MK1 to M
Determine K4.

上述した出力制御部OCは、入力データや演算結果データ
が格納されているレジスタARの内容をセグメント・デコ
ーダ(図示せず)によってデコードし、これを表示装置
DISPに表示出力させたり、あるいは、レジスタARの内容
を印字装置PRによって印字を実行させるための印字制御
を行うものである。
The output control unit OC described above decodes the contents of the register AR in which the input data and the operation result data are stored by a segment decoder (not shown), and this is decoded by the display device.
The print control is performed so that the display is output to the DISP or the content of the register AR is printed by the printer PR.

表示装置DISPは、蛍光表示管により構成される数字表示
器を含んでいる。
The display device DISP includes a numerical display composed of a fluorescent display tube.

BTは本実施例を駆動するための電源部であり、電池を含
んでいる。
BT is a power supply unit for driving the present embodiment and includes a battery.

ACCは電源投入検出部であり、抵抗,コンデンサ,ダイ
オードを用いて図示の如く構成してある。かかる構成に
より、電池を挿入された時に所定時間にわたってACL端
子をVssレベルに維持し、CPUに対して電源投入を知らせ
る。
ACC is a power-on detection unit, and is configured as shown by using resistors, capacitors, and diodes. With such a configuration, when the battery is inserted, the ACL terminal is maintained at the Vss level for a predetermined time, and the CPU is informed of power-on.

Resetキーは本実施例をオール・リセットするためのリ
セットキーであり、ACL端子の電位を電源投入時と同様
の状態に強制的に設定する。
The Reset key is a reset key for all resetting the present embodiment, and forcibly sets the potential of the ACL terminal to the same state as when the power is turned on.

以上の如く構成した本実施例の動作を、第4図に示す表
示状態一覧表および第5図(A),(B)に示すフロー
チャートに従って説明していく。
The operation of this embodiment configured as described above will be described with reference to the display state list shown in FIG. 4 and the flowcharts shown in FIGS. 5 (A) and 5 (B).

まず、第3図示の電源部BTに電池が挿入されるか、ある
いはリセットキーが押下されてACL端子に所定の信号が
検出されると、CPUに含まれる固定記憶部RUのオート・
クリア処理番地(通常は、0番地に設定される)から処
理が開始される。かくして、第5図(A)に示すステッ
プS1の処理が実行される。
First, when a battery is inserted into the power supply unit BT shown in FIG. 3 or the reset key is pressed to detect a predetermined signal at the ACL terminal, the automatic storage of the fixed storage unit RU included in the CPU is started.
The processing starts from the clear processing address (usually set to address 0). Thus, the process of step S1 shown in FIG. 5 (A) is executed.

ステップS1において電源投入が検出されると、次のステ
ップS2において「0→MU」命令が実行される。これは、
メモリ部MUの内容をすべて「0」にクリアするものであ
る。
When the power-on is detected in step S1, the "0 → MU" instruction is executed in the next step S2. this is,
The contents of the memory unit MU are all cleared to "0".

次に、ステップS3により「1→F5/4」が実行される。す
なわち、四捨五入モードを記憶するフラグを「1」にセ
ットし、四捨五入処理を行うための状態にセットする。
Next, “1 → F 5/4 ” is executed in step S3. That is, the flag that stores the rounding mode is set to "1" and the state for performing the rounding process is set.

ステップS4では「0→FTAB」が実行される。これは小数
点位置指定状態を記憶しておくTABカウンタとしてFTAB
を用い(4ビット構成とする)、0〜4までをカウント
して小数点位置指定キー(MK3)が指定するF,0,2,3,+
の5通りを記憶するものである。ここでは、「0」にリ
セットされているのでF(フローティング)モードを記
憶する。
In step S4, "0 → F TAB " is executed. This is F TAB as a TAB counter that stores the decimal point position designation state.
F0,2,3, + specified by the decimal point position specification key (MK3)
The following five are stored. Here, since it is reset to "0", the F (floating) mode is stored.

ステップS5では、「1→FPRT」が実行され、印字制御モ
ード・フラグFPRTを「1」にセットすることにより印字
制御モード状態が記憶される。その後、ステップS21以
降の処理ルーチン(Cルーチン)へジャンプし、モード
表示を実行するための処理が行われる。
In step S5, "1 → F PRT " is executed, and the print control mode state is stored by setting the print control mode flag F PRT to "1". After that, the process jumps to the processing routine (C routine) after step S21, and the processing for executing the mode display is performed.

まず、ステップS21により「F→AR」命令が実行され、
表示レジスタであるレジスタAR(第3図参照)内の全て
の桁を表示させないようにするためのブランキングコー
ド「F」を格納する。
First, in step S21, the “F → AR” command is executed,
It stores a blanking code "F" for not displaying all the digits in the register AR (see FIG. 3) which is a display register.

次に、ステップS22において「F5/4=1か?」の判別命
令が実行される。いま、ステップS3によりF5/4が1にセ
ットされているので、肯定判定としてステップS23が実
行される。
Next, in step S22, a determination command "F 5/4 = 1?" Is executed. Since F5 / 4 has been set to 1 at step S3, step S23 is executed as a positive determination.

ステップS23では「E→AR1」が実行される。これによ
り、データコード「E」がレジスタARの第1桁目に転送
される。レジスタAR内の「E」コードは、出力制御部OC
内のセグメントデコーダにより、表示器に含まれる7セ
グメントのうちdセグメントのみを点灯させるものであ
る。なお、かかる機能を実行するための技術は周知の技
術であり、詳細な説明を省略する。また、上記セグメン
トデコーダを変更することによって、dセグメントでな
く他のセグメントのみを点灯させることも可能である。
In step S23, "E → AR 1 " is executed. As a result, the data code "E" is transferred to the first digit of the register AR. The "E" code in the register AR is the output control unit OC
Among the 7 segments included in the display, only the d segment is turned on by the segment decoder inside. The technique for executing such a function is a well-known technique, and detailed description thereof will be omitted. Further, by changing the segment decoder, it is possible to light only the other segment instead of the d segment.

ステップS24では、TABカウンタFTABが「0」であるか否
かを判別する。ここではステップS4においてFTAB
「0」にリセットされているので肯定判定(YES)され
てステップS25の「E→AR2」が実行される。すなわち、
レジスタARの第2桁目に「E」コードが転送される。
In step S24, it is determined whether or not the TAB counter F TAB is "0". Here, in step S4, F TAB =
Since it has been reset to "0", an affirmative determination (YES) is made, and "E → AR 2 " of step S25 is executed. That is,
The "E" code is transferred to the second digit of the register AR.

次のステップS26,ステップS28,ステップS30,ステップS3
2により、TABカウンタが1もしくは2もしくは3もしく
は4であるか否かが判別されるが、いずれの場合にも否
定判定とされ(NO)、ステップS27,ステップS29,ステッ
プS31,ステップ33は実行されない。
Next step S26, step S28, step S30, step S3
It is determined from 2 whether the TAB counter is 1 or 2 or 3 or 4, but in either case, a negative determination is made (NO), and steps S27, S29, S31, and 33 are executed. Not done.

次いで、ステップS34において「FPRT=1」であるか否
かが判定される。ここでは、ステップS5により「1」に
セットされているので(YES)、ステップS35においてレ
ジスタARの第8桁目に「E」コードを転送する。これに
よって、レジスタAR内には「FFFEFFFFFEE」が記憶さ
れ、第1,2,8桁目に「E」コードが格納される。
Next, in step S34, it is determined whether or not "F PRT = 1". Here, since it is set to "1" in step S5 (YES), the "E" code is transferred to the eighth digit of the register AR in step S35. As a result, "FFFEFFFFFEE" is stored in the register AR, and the "E" code is stored in the first, second, and eighth digits.

ステップS36では、「1→MF」が実行され、モード表示
状態であることを表わすモードフラグ(第3図参照)が
「1」にセットされる。
In step S36, "1 → MF" is executed, and the mode flag (see FIG. 3) indicating the mode display state is set to "1".

ステップS37において「DISP ON」命令が出力制御部OCに
出力され、そこでレジスタAR内のデータがデコードさ
れ、第4図に示す表示状態一覧表のNO.1ステップの如
く、表示装置DISPにおいて第1,2,8桁のdセグメントが
表示される。これにより、現在のモードとして四捨五入
モードが選択され且つ小数点位置であるTABはF(フロ
ーティング)モード、印字指定についてはプリントONモ
ードであることが表示可能となる。
In step S37, the "DISP ON" command is output to the output control unit OC, the data in the register AR is decoded there, and as shown in step NO.1 of the display state list shown in FIG. A 2,2,8 digit d segment is displayed. As a result, it is possible to display that the rounding mode is selected as the current mode and the decimal point position TAB is the F (floating) mode and the print designation is the print ON mode.

ステップS38では「0→CT」が実行され、モード表示状
態を一定時間だけ行うためのカウンタCTが「0」にクリ
アされる。そして、次のキー操作検出ルーチンであるA
ルーチンへジャンプする。
In step S38, "0 → CT" is executed, and the counter CT for performing the mode display state for a fixed time is cleared to "0". Then, the next key operation detection routine A
Jump to routine.

Aルーチンにおける最初のステップS8では「KEY=ON?」
の判別命令が実行され、キーが押下されているか否かが
判定される。全てのキーが未だ押下されていない場合に
は(NO)、ステップS9においてモードフラグMFが1であ
るか否かが判別される。いまはモード表示状態にあり、
モードフラグMFが1にセットされているので(YES)、
ステップS10において「CT+1→CT」の命令が実行さ
れ、カウンタCTの内容が1だけインクリメントされる。
いま、カウンタCTは「0」にリセットされているので、
0+1が実行され、カウンタCTは「1」となる。
At the first step S8 in the A routine, "KEY = ON?"
Is executed to determine whether or not the key is pressed. If all the keys have not been pressed (NO), it is determined in step S9 whether the mode flag MF is 1 or not. Now it is in the mode display state,
Since the mode flag MF is set to 1 (YES),
In step S10, the instruction “CT + 1 → CT” is executed, and the content of the counter CT is incremented by 1.
Since the counter CT is now reset to "0",
0 + 1 is executed and the counter CT becomes "1".

次にステップS11では「CT=1000」か否かの判別命令が
実行され、カウンタCTの内容が1000となっていない場合
には、1000に至るまでステップS8→ステップS9→ステッ
プS10→ステップS11→ステップS8→ステップS9…のルー
チンが繰り返される。このループを1回だけ実行するの
に約5msecの時間を費やすようフローを構成することに
よって、1000×5msec=5秒の間にわたりキーの押下が
無い場合にはカウンタCTが1000となり、ステップS11に
おいて肯定判定(YES)となる。かくして、通常表示状
態処理ルーチン(Dルーチン)へのジャンプが行われ
る。
Next, in step S11, a command for determining whether or not “CT = 1000” is executed, and if the content of the counter CT is not 1000, step S8 → step S9 → step S10 → step S11 → until 1000 is reached. The routine of step S8 → step S9 ... Is repeated. By configuring the flow so that it takes about 5 msec to execute this loop only once, the counter CT becomes 1000 when no key is pressed for 1000 × 5 msec = 5 seconds, and in step S11 An affirmative judgment (YES) is made. Thus, the jump to the normal display state processing routine (D routine) is performed.

ステップS15では、レジスタAR内にブランキングコード
「F」が再び格納される。
In step S15, the blanking code "F" is stored again in the register AR.

次のステップS16では、レジスタBR内のデータがレジス
タAR内に転送される。いまレジスタBRは「0」にリセッ
トされているので、第1桁目の「0」コードがレジスタ
AR内の第1桁に転送される。
In the next step S16, the data in the register BR is transferred into the register AR. Since the register BR is now reset to "0", the first digit "0" code is the register
Transferred to the first digit in AR.

次に、ステップS17ではカウンタCTが「0」にクリアさ
れる。
Next, in step S17, the counter CT is cleared to "0".

ステップS18ではモードフラグMFがリセットされる。こ
れにより、モード表示状態が解除され、次のステップS1
9における「DISP ON」命令によりレジスタAR内のデータ
が表示装置DISPに表示される(第4図に示すNO.2ステッ
プ参照)。かくして、表示装置DISPには「0.」が表示さ
れる。
In step S18, the mode flag MF is reset. As a result, the mode display state is canceled and the next step S1
The data in the register AR is displayed on the display device DISP by the "DISP ON" instruction in 9 (see step NO.2 shown in FIG. 4). Thus, "0." is displayed on the display device DISP.

このように、電源投入直後には“モード表示状態”が約
5秒間維持され、その後自動的に“通常表示状態”に戻
る。このモード表示状態時間はステップS11における判
別数を「500」に設定することにより更に短く、また、
「2000」に設定することにより更に長くし、もって所望
の時間の設定を行うことが可能である。
Thus, immediately after the power is turned on, the "mode display state" is maintained for about 5 seconds, and then the "normal display state" is automatically restored. This mode display state time is further shortened by setting the number of discrimination in step S11 to "500",
By setting it to "2000", it is possible to further lengthen it and to set the desired time accordingly.

その後、前回と同様Aルーチンへジャンプする。すなわ
ち、ステップS8においてキーが押下されているか否かが
判別され、ステップS9ではモードフラグMFの内容が判別
される。今回はモード表示状態ではなく、モードフラグ
MFはリセットされているので(NO)、再びAルーチン処
理が実行される。かくして、何らかのキーが押下される
までステップS8,ステップS9の処理が繰り返され、
「0.」の表示が継続される。
After that, like the last time, the routine jumps to the A routine. That is, it is determined in step S8 whether or not the key is pressed, and in step S9, the content of the mode flag MF is determined. This time, not the mode display state, but the mode flag
Since the MF has been reset (NO), the A routine processing is executed again. Thus, steps S8 and S9 are repeated until any key is pressed,
The display of "0." is continued.

次に、CPUをオン状態にする電源投入キーの機能を兼ね
たモード表示指定キーMK1を押下した場合について述べ
る。
Next, the case where the mode display designation key MK1 which also functions as the power-on key for turning on the CPU is pressed will be described.

まず、ステップS8によりキーの押下が検知され(YE
S)、ステップS12において以前に押下されたキーと同じ
であるか否かが判定される。この場合は初めてのキーで
あるので(NO)、ステップS13において表示装置DISPが
消灯される。
First, in step S8, key press is detected (YE
S), it is determined in step S12 whether it is the same as the previously pressed key. In this case, since it is the first key (NO), the display device DISP is turned off in step S13.

ステップS20においては、モード表示指定キーMK1である
か否かが判別される。この場合には肯定判定(YES)と
なるので、前回と同様にモード状態表示処理ルーチン
(Cルーチン)が実行される。すなわち、ステップS21
→ステップS22→ステップS23→ステップS24→ステップS
25→ステップS26→ステップS28→ステップS30→ステッ
プS32→ステップS34→ステップS35→ステップS36→ステ
ップS37→ステップS38→Aルーチンと実行され、第4図
に示すNO.3ステップのモード表示状態となる。
In step S20, it is determined whether the key is the mode display designation key MK1. In this case, an affirmative determination (YES) is made, so that the mode state display processing routine (C routine) is executed as in the previous case. That is, step S21
→ step S22 → step S23 → step S24 → step S
25-> step S26-> step S28-> step S30-> step S32-> step S34-> step S35-> step S36-> step S37-> step S38-> A routine is executed and the mode display state of NO.3 step shown in FIG. 4 is achieved. .

次に、印字装置PRの紙送りを指示する紙送りキーと、印
字モードを指定するためのプリントキーとを兼用した紙
送り/印字モード指定キーMK4が押下された場合の処理
を説明する。
Next, a description will be given of processing in the case where the paper feed / print mode designation key MK4, which also serves as a paper feed key for instructing the paper feed of the printer PR and a print key for designating the print mode, is pressed.

まず、AルーチンのステップS8によりキーの押下が検知
され、次にステップS12において同じキーか否かが判別
される。ステップS12において否定判定(NO)がなされ
ると、ステップS13により表示が消される。
First, a key press is detected in step S8 of the A routine, and then it is determined in step S12 whether or not the keys are the same. When a negative determination (NO) is made in step S12, the display is erased in step S13.

次に、ステップS20においてモード表示指定キーMK1か否
かが判別され(NO)、更にステップS39においてモード
表示状態か否かが判定される。いまMF=1のモード表示
状態であるので(YES)、ステップS40において小数点位
置指定キーMK3か否かが判定される。この場合、否定判
定(NO)が得られるので第5図(B)のBルーチンに制
御が移る。
Next, in step S20, it is determined whether or not the mode display designation key MK1 is present (NO), and further in step S39, it is determined whether or not the mode is in the mode display state. Since the MF = 1 mode is being displayed (YES), it is determined in step S40 whether or not the decimal point position designation key MK3. In this case, since a negative determination (NO) is obtained, the control shifts to the B routine of FIG. 5 (B).

ステップS44では紙送り/印字モード指定キーMK4である
か否かが判別され(YES)、ステップS45ではプリントフ
ラグFPRTが1であるか否かが判別される。いまは、プリ
ントON状態であり、FPRTが「1」となっているので(YE
S)、ステップS46によりFPRTは「0」にリセットされ
る。
In step S44, it is determined whether or not it is the paper feed / print mode designation key MK4 (YES), and in step S45, it is determined whether or not the print flag F PRT is 1. Now, the print is on and F PRT is "1".
S), F PRT is reset to "0" by step S46.

もし、プリントフラグFPRTが「0」であるときには、ス
テップS45からステップS47に移り、FPRTが「1」にセッ
トされる。次に、モード状態表示処理ルーチン(Cルー
チン)へジャンプして、前回と同様の表示処理が実行さ
れる。すなわち、ステップS21→ステップS22→ステップ
S23→ステップS24→ステップS25→ステップS26→ステッ
プS28→ステップS30→ステップS32と進み、ステップS34
における「FPRT=1?」の判別においては、FPRTが既に
「0」にリセットされているので(NO)、ステップS35
は実行されない。従って、レジスタARの第8桁目にはブ
ランクコードが記憶されたままである。
If the print flag F PRT is “0”, the process proceeds from step S45 to step S47, and F PRT is set to “1”. Next, the process jumps to the mode state display processing routine (C routine) and the same display processing as the previous time is executed. That is, step S21 → step S22 → step
S23 → step S24 → step S25 → step S26 → step S28 → step S30 → step S32, and then step S34
In the determination of "F PRT = 1?" In step S35, since F PRT has already been reset to "0" (NO), step S35.
Is not executed. Therefore, the blank code is still stored in the eighth digit of the register AR.

その後、ステップS36→ステップS37→ステップS38→A
ルーチンへと進み、第4図のNO.4ステップに示される如
く、印字モードを表す第8桁のdセグメントが消灯す
る。このように、モード表示状態中に紙送り/印字モー
ド指定キーMK4を押下することにより、印字モードの変
更が可能となる。
Then, step S36 → step S37 → step S38 → A
Proceeding to the routine, as shown in step NO.4 of FIG. 4, the d segment of the eighth digit indicating the print mode is turned off. As described above, by pressing the paper feed / print mode designation key MK4 during the mode display state, the print mode can be changed.

次に、小数点位置指定キーMK3が押下された場合の動作
説明を行う。
Next, the operation when the decimal point position designation key MK3 is pressed will be described.

この少数点位置指定キーMK3(以下、TABキーという)が
押下されると、前回と同様に、ステップS8→ステップS1
2→ステップS13→ステップS20→ステップS39→ステップ
S40と順に実行され、ステップS40においてTABキーか否
かが判別され(YES)、更にステップS41において「FTAB
+1=FTAB」が実行される。すなわち、4ビットのFTAB
フラグが1だけインクリメントされ、FTABの内容が
「0」から「1」に変化する。
When the decimal point position designation key MK3 (hereinafter referred to as the TAB key) is pressed, as in the previous time, step S8 → step S1
2 → step S13 → step S20 → step S39 → step
The processing is sequentially executed from S40, and it is determined whether or not the TAB key is pressed in step S40 (YES), and further in step S41, “F TAB
+ 1 = F TAB ”is executed. That is, 4-bit F TAB
The flag is incremented by 1, and the content of F TAB changes from "0" to "1".

次に、ステップS42においてFTABが「5」であるか否か
が判別され、「5」であればFTABの内容を「0」にリセ
ットする。いま、FTABは「1」であるので(NO)、モー
ド状態表示処理ルーチン(Cルーチン)へジャンプし、
前回と同様の表示処理が実行される。すなわち、ステッ
プS21→ステップS22→ステップS23→ステップS24へと移
行する。
Next, in step S42, it is determined whether or not F TAB is "5", and if "5", the contents of F TAB are reset to "0". Now, F TAB is "1" (NO), so jump to the mode status display processing routine (C routine),
Display processing similar to the previous time is executed. That is, the process proceeds to step S21 → step S22 → step S23 → step S24.

ステップS24において、FTABの内容は「1」であるので
(NO)、次のステップS26で肯定判定(YES)となり、ス
テップS27のレジスタARの第8桁目に「E」コードが格
納される。
In step S24, since the content of F TAB is "1" (NO), an affirmative judgment (YES) is made in the next step S26, and the "E" code is stored in the eighth digit of the register AR in step S27. .

その後、ステップS28→ステップS30→ステップS32→ス
テップS34→ステップS36→ステップS37→ステップS38→
Aルーチンへと進み、第4図に示すNo.5ステップに示す
如く、第1桁目と第3桁目のdセグメントが点灯する。
これにより、四捨五入モードが指定されているほか、小
数点以下「0」桁を表す「0」モードが指定されている
ことが表示される。小数点位置の設定を「F」から
「0」に変更することが可能となる。
Then, step S28 → step S30 → step S32 → step S34 → step S36 → step S37 → step S38 →
The routine proceeds to the A routine, and the d segment at the first digit and the third digit are lit as shown in No. 5 step shown in FIG.
As a result, it is displayed that the rounding-off mode has been designated and the "0" mode that represents "0" digits after the decimal point has been designated. It is possible to change the setting of the decimal point position from "F" to "0".

次に再びTABキーを押下すると、前回と同様にAルーチ
ンが実行される。すなわち、ステップS8→ステップS12
→ステップS13→ステップS20→ステップS39→ステップS
40→ステップS41→ステップS42→Cルーチンと実行され
る。その結果、FTABは「2」となり、Cルーチンにおけ
るステップS21→ステップS22→ステップS23→ステップS
24→ステップS26→ステップS28→ステップS29が実行さ
れる。かくして、レジスタARの第4桁目に「E」コード
が転送される。
Next, when the TAB key is pressed again, the A routine is executed as in the previous time. That is, step S8 → step S12
→ step S13 → step S20 → step S39 → step S
The sequence is 40 → step S41 → step S42 → C routine. As a result, F TAB becomes “2”, and step S21 → step S22 → step S23 → step S in the C routine.
24 → step S26 → step S28 → step S29 is executed. Thus, the "E" code is transferred to the fourth digit of register AR.

次に、ステップS30→ステップS32→ステップS34→ステ
ップS36→ステップS37→ステップS38→Aルーチンが実
行され、第4図のNO.6ステップに示す如く、第1桁目と
第4桁目のdセグメントのみが点灯する。これにより、
小数点以下の桁数が「0」から「2」に変更されたこと
が表示される。このように、モード表示状態中にTABキ
ーを押下することにより、モード状態の変更をすること
が可能である。
Next, step S30 → step S32 → step S34 → step S36 → step S37 → step S38 → A routine is executed, and as shown in step NO.6 of FIG. 4, d of the first digit and the fourth digit is performed. Only the segment lights up. This allows
It is displayed that the number of digits after the decimal point has been changed from "0" to "2". In this way, it is possible to change the mode state by pressing the TAB key during the mode display state.

その後、約5秒間にわたって何のキー押下もなされない
場合には、既に説明したように、第4図のNO.7ステップ
に示す如く、モード表示状態から通常表示状態に遷移す
る。
After that, if no key is pressed for about 5 seconds, the mode display state is changed to the normal display state as described in step No. 7 of FIG. 4, as already described.

次に、C-MOS LSIを採用した通常の電子式卓上計算機に
も通常装備されているOFFキーが押下されると、動作オ
ン状態を指定するためのフリップ・フロップFON
「0」にリセットされる。このフリップ・フロップFON
はLSI内部にあるクロック用発振回路(図示せず)をオ
ン/オフ制御するので、リセットされることによりクロ
ック発振を停止させ、もって消費電力の節約を図ってい
る。但し、クロック発振が停止した場合にもメモリ部MU
は電源に接続されたままであるので、記憶されているデ
ータは消滅しない。
Next, when the OFF key, which is normally equipped on a normal electronic desk calculator that uses C-MOS LSI, is pressed, the flip-flop F ON for designating the operation ON state is reset to "0". To be done. This flip flop F ON
Controls ON / OFF of the clock oscillation circuit (not shown) inside the LSI, so that the clock oscillation is stopped by being reset, thereby saving the power consumption. However, even if the clock oscillation is stopped, the memory unit MU
Since it remains connected to the power supply, the stored data will not disappear.

このOFFキーが押下されると、ステップS8→ステップS12
→ステップS13→ステップS20→ステップS39→ステップS
52へと進み、OFFキーか否かが判別される。次いで、ス
テップS53において「0→FON」が実行され、第4図のN
O.8ステップに示す如く、表示が消える。
When this OFF key is pressed, step S8 → step S12
→ step S13 → step S20 → step S39 → step S
The program proceeds to 52, where it is determined whether the key is the OFF key. Next, in step S53, "0 → F ON " is executed, and N in FIG.
The display disappears as shown in step O.8.

引き続いてONキー(MK1が兼ねている)が押下された場
合の処理について説明する。
Next, the processing when the ON key (which MK1 also serves) is pressed will be described.

ステップS6によりONキーが検知されると、ステップS7に
おいてフリップ・フロップFONが「1」にセットされ
る。これによりクロック発振回路(図示せず)が発振を
開始し、次のCルーチン処理が実行される。
When the ON key is detected in step S6, the flip-flop F ON is set to "1" in step S7. As a result, the clock oscillation circuit (not shown) starts oscillation and the next C routine process is executed.

Cルーチンはモード状態表示処理ルーチンであり、ま
た、メモリ部MUのモード情報は保持されているので、上
述と同様にステップS21→ステップS22→ステップS23→
ステップS24→ステップS26→ステップS28→ステップS29
→ステップS30→ステップS32→ステップS34→ステップS
36→ステップS37→ステップS38と実行がなされる。かく
して、第4図のNO.9ステップに示すようなモード表示が
行われる。
The C routine is a mode state display processing routine, and since the mode information of the memory unit MU is held, step S21 → step S22 → step S23 →
Step S24 → Step S26 → Step S28 → Step S29
→ step S30 → step S32 → step S34 → step S
The process is executed in the order of 36 → step S37 → step S38. Thus, the mode display as shown in step No. 9 of FIG. 4 is performed.

次に、モード表示状態中に紙送り/印字モード指定キー
MK4が押下し続けられた場合について動作説明を行う。
Next, press the paper feed / print mode specification key while the mode is displayed.
The operation will be described when MK4 is continuously pressed.

まず、AルーチンのステップS8によりキーの押下が検知
され、ステップS12→ステップS13→ステップS20→ステ
ップS39→ステップS40→ステップS44→ステップS45→ス
テップS47と実行されることにより、FPRTが「1」にセ
ットされる。
First, a key press is detected in step S8 of the A routine, and step S12 → step S13 → step S20 → step S39 → step S40 → step S44 → step S45 → step S47 is executed, so that F PRT becomes “1. Is set.

その後、CルーチンにおいてステップS21→ステップS22
→ステップS23→ステップS24→ステップS26→ステップS
28→ステップS29→ステップS30→ステップS32→ステッ
プS34→ステップS35が実行され、レジスタARの第8桁に
「E」コードが転送される。
Then, in the C routine, step S21 → step S22
→ step S23 → step S24 → step S26 → step S
28-> step S29-> step S30-> step S32-> step S34-> step S35 are executed, and the "E" code is transferred to the eighth digit of the register AR.

次に、ステップS36→ステップS37→ステップS38→Aル
ーチンが実行され、第4図のNO.10ステップに示すよう
なモード表示が行われる。更にそのまま紙送り/印字モ
ード指定キーMK4が押下され続けられると、Aルーチン
のステップS8で肯定判定が行われてステップS12に進
む。そこでは前回と同一のキーが押され続けているか否
かの判別が行われる。当然のことながら同一のキーであ
るので(YES)、ステップS14においてカウンタCTが
「0」にリセットされる。その後、再びAルーチンに戻
り、ステップS8の命令が実行される。
Next, step S36-> step S37-> step S38-> A routine is executed, and the mode display as shown in step NO.10 of FIG. 4 is performed. If the paper feed / print mode designation key MK4 is further pressed as it is, an affirmative determination is made in step S8 of the A routine, and the flow proceeds to step S12. There, it is determined whether or not the same key as the previous time is being pressed. As a matter of course, since the keys are the same (YES), the counter CT is reset to "0" in step S14. After that, the routine returns to the A routine again, and the instruction of step S8 is executed.

このように、紙送り/印字モード指定キーMK4が押下さ
れ続けている間はステップS8→ステップS12→ステップS
14のルーチンが繰り返され、モード表示状態が維持され
る。
As described above, while the paper feed / print mode designation key MK4 is continuously pressed, step S8 → step S12 → step S
The 14 routines are repeated and the mode display state is maintained.

その後、紙送り/印字モード指定キーMK4の押下が解か
れた場合は、AルーチンのステップS8→ステップS9→ス
テップS10→ステップS11が繰り返され、CTカウンタが0
から1000までカウントされる。その後、Dルーチンのス
テップS15→ステップS16→ステップS17→ステップS18→
ステップS19が実行され、紙送り/印字モード指定キーM
K4が離されてから約5秒後に通常表示となる。
After that, when the pressing of the paper feed / print mode designation key MK4 is released, the step S8 → step S9 → step S10 → step S11 of the A routine is repeated and the CT counter is set to 0.
Counts from 1 to 1000. After that, step S15 of step D → step S16 → step S17 → step S18 →
Step S19 is executed and the paper feed / print mode designation key M
The normal display will appear about 5 seconds after K4 is released.

次に、モード状態カウンタCTが1000以下となっているモ
ード表示状態中に、モード指定キー以外のキー、例えば
数値キー「5」が押下された場合についての動作説明を
行う。
Next, an operation will be described for a case where a key other than the mode designation key, for example, the numeric key “5” is pressed in the mode display state in which the mode state counter CT is 1000 or less.

まず、数値キー「5」が押下されると、Aルーチンのス
テップS8によりキー押下が検知され、続いてステップS1
2→ステップS13→ステップS20→ステップS39が実行され
る。このとき、モード表示状態中であるので、ステップ
S40→ステップS44→ステップS48→ステップS52→ステッ
プS54→ステップS55と進み、ステップS56においてレジ
スタBR内に「5」の置数処理が実行される(これは周知
の技術であるので詳細な説明は省略する)。
First, when the numeric key “5” is pressed, the key press is detected in step S8 of the A routine, and then step S1.
2 → step S13 → step S20 → step S39 is executed. At this time, since the mode is being displayed, step
The sequence proceeds from S40 → step S44 → step S48 → step S52 → step S54 → step S55, and in step S56, the register process of “5” is executed in the register BR (this is a well-known technique, and therefore a detailed description will be given. Omitted).

その後、通常表示ルーチン(Dルーチン)にジャンプし
て、ステップS15→ステップS16→ステップS17→ステッ
プS18→ステップS19が実行される。このことにより、レ
ジスタBRのデータ「5」が表示され、モード表示状態は
解除される。かくして、第4図のNO.11ステップに示す
如く、モード表示状態中にモード設定キー以外のキーが
操作されると、そのキーが実行され、モード表示状態が
瞬時にして通常表示状態に遷移することになる。
After that, the routine jumps to the normal display routine (D routine), and step S15 → step S16 → step S17 → step S18 → step S19 is executed. As a result, the data "5" in the register BR is displayed and the mode display state is canceled. Thus, as shown in step No. 11 of FIG. 4, when any key other than the mode setting key is operated during the mode display state, that key is executed and the mode display state instantly transits to the normal display state. It will be.

次に、通常表示状態中に各種モード設定キーMK2,MK3,MK
4が押下された場合の動作について説明する。
Next, in the normal display state, various mode setting keys MK2, MK3, MK
The operation when 4 is pressed will be described.

まず、紙送り/印字モード指定キーMK4が押下される
と、Aルーチン以下の処理が実行される。すなわち、ス
テップS8→ステップS12→ステップS13→ステップS20→
ステップS39と実行がなされる。このとき、モード表示
状態ではないので、ステップS39では否定判定(NO)が
なされ、Eルーチンの処理が実行される。
First, when the paper feed / print mode designating key MK4 is pressed, the processes following the A routine are executed. That is, step S8 → step S12 → step S13 → step S20 →
Execution is performed with step S39. At this time, since it is not in the mode display state, a negative determination (NO) is made in step S39, and the processing of the E routine is executed.

まず、ステップS52においてOFFキーであるか否かが判別
され(NO)、ステップS54において、いま押下されてい
るキーがモード設定キーであるか否かの判別がなされ
(YES)、更に、ステップS56において紙送り/印字モー
ド指定キーMK4であるか否かが判別される(YES)。よっ
てステップS57において、印字装置の紙送り処理命令が
出力制御部に出力され、記録紙の紙送りが実行される。
First, in step S52, it is determined whether or not it is the OFF key (NO), in step S54, it is determined whether or not the currently pressed key is the mode setting key (YES), and further, step S56. At, it is determined whether the paper feed / print mode designation key MK4 is selected (YES). Therefore, in step S57, the paper feed processing command of the printing device is output to the output control unit, and the paper feed of the recording paper is executed.

このように、紙送り/印字モード指定キーMK4は、通常
表示状態下では、紙送りキーとして動作する。
In this way, the paper feed / print mode designation key MK4 operates as a paper feed key in the normal display state.

その後、通常表示処理ルーチン(Dルーチン)へジャン
プして、ステップS15→ステップS16→ステップS17→ス
テップS18→ステップS19の処理が実行され、第4図のN
O.12ステップに示す表示がなされると同時に紙送り処理
が実行されるが、印字モードは変化しない。
After that, the routine jumps to the normal display processing routine (D routine), and the processing of step S15 → step S16 → step S17 → step S18 → step S19 is executed, and N in FIG. 4 is executed.
The paper feed process is executed at the same time as the display shown in step O.12 is made, but the print mode does not change.

同様にして、TABキーMK3または四捨五入指定キーMK2が
押下された場合にも、ステップS8→ステップS12→ステ
ップS13→ステップS20→ステップS39→ステップS52→ス
テップS54→ステップS56→Dルーチンの通常表示処理が
実行される。よって、FTABの内容のみならずF5/4の状態
も変化せず、ノン・オペレーションとなる。
Similarly, when the TAB key MK3 or the rounding specification key MK2 is pressed, step S8 → step S12 → step S13 → step S20 → step S39 → step S52 → step S54 → step S56 → normal display processing of the D routine. Is executed. Therefore, not only the contents of F TAB but also the state of F 5/4 do not change, and it becomes non-operation.

このことは、モード表示指定キーMK1の押下によって確
認することができる。すなわち、モード表示指定キーMK
1が押下されると、ステップS8→ステップS12→ステップ
S13→ステップS20→ステップS21→ステップS22→ステッ
プS23→ステップS24→ステップS26→ステップS28→ステ
ップS29→ステップS30→ステップS32→ステップS34→ス
テップS35→ステップS36→ステップS37→ステップS38→
Aルーチンの処理が実行され、もって第4図のNO.15ス
テップに示す表示が得られる。かかる表示は、第4図の
NO.10ステップにおける表示と同一であり、このことに
より、モード指定に変化のないことが確認される。
This can be confirmed by pressing the mode display designation key MK1. That is, the mode display designation key MK
When 1 is pressed, step S8 → step S12 → step
S13 → step S20 → step S21 → step S22 → step S23 → step S24 → step S26 → step S28 → step S29 → step S30 → step S32 → step S34 → step S35 → step S36 → step S37 → step S38 →
The processing of the A routine is executed, so that the display shown in step NO.15 of FIG. 4 is obtained. Such a display is shown in FIG.
This is the same as the display in step NO.10, which confirms that there is no change in the mode designation.

なお、本実施例ではモード表示を行うために、7セグメ
ントのうちdセグメントのみを点灯させたが、その他の
セグメントを点灯させ、あるいは、小数点表示エレメン
ト,位取り表示エレメント等を用いることも可能であ
る。
In this embodiment, in order to perform the mode display, only the d segment among the 7 segments is turned on, but it is also possible to turn on the other segments or use a decimal point display element, a scale display element and the like. .

また、これまで述べてきた説明は電子式卓上計算機に関
するものであるが、複数の動作モードに応じた種々の機
能を果たすワードプロセッサ,電子タイプライタ等にも
本発明を適用し得ることは勿論である。
Further, although the above description relates to the electronic desk calculator, it is needless to say that the present invention can be applied to a word processor, an electronic typewriter, etc. which perform various functions according to a plurality of operation modes. .

このように本発明の一実施例によれば、同一の表示器を
用いてモード表示と通常表示の切換え表示が可能となる
ので、汎用性ある表示器を用いた廉価な電子機器を実現
することができる。
As described above, according to the embodiment of the present invention, since it is possible to perform the switching display between the mode display and the normal display using the same display device, it is possible to realize an inexpensive electronic device using a versatile display device. You can

なお、本発明を電子式卓上計算機に適用した場合には、
上記発明の効果に加えて、次に列挙する格別の効果を得
ることができる。
When the present invention is applied to an electronic desk calculator,
In addition to the effects of the invention described above, the following special effects can be obtained.

CPUを作動させるためのONキーの作用を併せ持つモ
ード表示指定キーを備えることにより、CPUがオフ状態
の時はONキーとして作動し、他方、CPUがオン状態の時
は表示装置の表示態様をモード表示状態に設定するため
のモード表示指定キーとして作動させることができる。
By providing a mode display designating key that also has the function of an ON key for operating the CPU, it operates as an ON key when the CPU is in the off state, while the mode of the display mode of the display device is operated when the CPU is in the on state. It can be operated as a mode display designation key for setting the display state.

更に、上記項で述べたキーを備えることにより、
従来に比してキーの数をより減少させることができるの
で、廉価で且つ便利な電子式卓上計算機を得ることがで
きる。
Furthermore, by providing the key described in the above section,
Since the number of keys can be reduced more than ever before, an inexpensive and convenient electronic desk calculator can be obtained.

セグメント型の表示素子を用いて、例えば7セグメ
ントの1つであるdセグメントのみを点灯させることに
より、モード表示をなすことができる。
A mode display can be performed by using a segment-type display element to light only the d segment, which is one of the seven segments, for example.

[効果] 以上説明した通り本発明では、モード設定状態を指示す
る機能と電子機器の作動を指示する機能とを持った手動
スイッチと、複数の作動モードの各々を指示するモード
指示スイッチと、前記モードスイッチの指示に応答して
作動モードを記憶するモード記憶手段と、前記手動スイ
ッチの押下に応答して電子機器の作動を指示しかつ前記
モード設定状態にして、前記モード指示スイッチの指示
に応答して前記モード記憶手段に作動モードを記憶する
と共に前記モード記憶手段に記憶された指示された作動
モードを表示記憶手段に記憶しうる状態にさせる第1の
記憶制御手段と、電子機器の作動状態において、前記手
動スイッチの再押下に応答して電子機器の作動状態を維
持して且つ、前記モード設定状態にして前記モード指示
スイッチの新たな指示に応答して前記モード記憶手段の
作動モードを更新記憶すると共に、前記モード記憶手段
の内容を前記表示記憶手段に記憶しうる状態にさせる第
2の記憶制御手段と、前記表示記憶手段の内容を前記表
示手段で表示させる表示制御手段とを備えることによ
り、電子機器を作動状態にするためのスイッチを操作す
ることにより表示手段で作動モードを表示させ、更に、
電子機器の作動状態下において、前述の作動状態にさせ
るスイッチを更に操作することで電子機器に設定した作
動モードを更新するようにすることができる。
[Effect] As described above, according to the present invention, a manual switch having a function of instructing a mode setting state and a function of instructing operation of an electronic device, a mode instruction switch instructing each of a plurality of operation modes, and Mode storage means for storing an operation mode in response to an instruction from the mode switch; and an operation instruction for the electronic device in response to the depression of the manual switch, and a mode setting state, and a response to the instruction from the mode instruction switch. First storage control means for storing the operation mode in the mode storage means and setting the instructed operation mode stored in the mode storage means in the display storage means, and the operation state of the electronic device. In response to the re-depressing of the manual switch, the operation state of the electronic device is maintained, and the mode setting switch is set to the mode setting state. In response to the new instruction, the second storage control means for updating and storing the operation mode of the mode storage means and for setting the contents of the mode storage means into a state in which the contents can be stored in the display storage means; By providing a display control means for displaying the contents of the means on the display means, the operation mode is displayed on the display means by operating a switch for bringing the electronic device into an operating state, and further,
When the electronic device is in the operating state, the operating mode set in the electronic device can be updated by further operating the switch for setting the operating state.

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

第1図は本発明の一実施例である印字装置付電子式卓上
計算機の外観図、 第2図は本実施例に含まれるキーボード部および表示装
置の拡大図、 第3図は本実施例の電気的構成を示すブロック図、 第4図は本実施例を用いたキー操作とその表示内容との
関係を示す図、 第5図(A)および(B)は本実施例を制御するための
手順を示すフローチャートである。 KB…キーボード部、CPU…中央演算処理部、MU…メモリ
部、AC…演算部、RU…固定記憶部、IC,OC…入,出力制
御部、BT…電源部、ACC…電源投入検出部、DISP…表示
装置、PR…印字装置、MK1…モード表示指定キー、MK2…
四捨五入指定キー、MK3…小数点位置指定キー(TABキ
ー)、MK4…紙送り/印字モード指定キー。
FIG. 1 is an external view of an electronic desk calculator with a printer according to an embodiment of the present invention, FIG. 2 is an enlarged view of a keyboard unit and a display device included in this embodiment, and FIG. FIG. 4 is a block diagram showing an electrical configuration, FIG. 4 is a diagram showing a relationship between key operations and display contents thereof according to this embodiment, and FIGS. 5 (A) and 5 (B) are for controlling this embodiment. It is a flowchart which shows a procedure. KB ... Keyboard section, CPU ... Central processing section, MU ... Memory section, AC ... Calculation section, RU ... Fixed storage section, IC, OC ... Input / output control section, BT ... Power supply section, ACC ... Power-on detection section, DISP ... Display device, PR ... Printing device, MK1 ... Mode display designation key, MK2 ...
Rounding specification key, MK3 ... Decimal point position specification key (TAB key), MK4 ... Paper feed / print mode specification key.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】複数の作動モードのいずれかに従って作動
して、表示手段で作動した結果を表示する電子機器にお
いて、 モード設定状態を指示する機能と電子機器の作動を指示
する機能とを持った手動スイッチと、 複数の作動モードの各々を指示するモード指示スイッチ
と、 前記モード指示スイッチの指示に応答して作動モードを
記憶するモード記憶手段と、 前記手動スイッチの押下に応答して電子機器の作動を指
示しかつ前記モード設定状態にして、前記モード指示ス
イッチの指示に応答して前記モード記憶手段に作動モー
ドを記憶すると共に前記モード記憶手段に記憶された指
示された作動モードを表示記憶手段に記憶しうる状態に
させる第1の記憶制御手段と、 電子機器の作動状態において、前記手動スイッチの再押
下に応答して電子機器の作動状態を維持して且つ、前記
モード設定状態にして前記モード指示スイッチの新たな
指示に応答して前記モード記憶手段の作動モードを更新
記憶すると共に、前記モード記憶手段の内容を前記表示
記憶手段に記憶しうる状態にさせる第2の記憶制御手段
と、 前記表示記憶手段の内容を前記表示手段で表示させる表
示制御手段と を備えたことを特徴とする電子機器。
1. An electronic device which operates in accordance with any one of a plurality of operation modes and which displays the result of operation on a display means, has a function of instructing a mode setting state and a function of instructing the operation of the electronic device. A manual switch, a mode instructing switch for instructing each of a plurality of operation modes, a mode storing means for storing an operation mode in response to an instruction from the mode instructing switch, and an electronic device in response to pressing of the manual switch. Instructing the operation and setting in the mode setting state, storing the operation mode in the mode storage means in response to the instruction of the mode instruction switch and displaying the instructed operation mode stored in the mode storage means And a first memory control means for making a state in which the electronic device can be stored, and an electric power in response to the re-depression of the manual switch in the operating state of the electronic device. The operation mode of the mode storage means is updated and stored in response to a new instruction of the mode instruction switch while maintaining the operation state of the device and in the mode setting state, and the contents of the mode storage means are displayed on the display. An electronic device comprising: a second storage control means for making the storage means memorable; and a display control means for displaying the contents of the display storage means on the display means.
JP60015459A 1985-01-31 1985-01-31 Electronics Expired - Lifetime JPH0743695B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP60015459A JPH0743695B2 (en) 1985-01-31 1985-01-31 Electronics
US06/823,352 US4774684A (en) 1985-01-31 1986-01-27 Electronic apparatus with a display means

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60015459A JPH0743695B2 (en) 1985-01-31 1985-01-31 Electronics

Publications (2)

Publication Number Publication Date
JPS61175754A JPS61175754A (en) 1986-08-07
JPH0743695B2 true JPH0743695B2 (en) 1995-05-15

Family

ID=11889379

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60015459A Expired - Lifetime JPH0743695B2 (en) 1985-01-31 1985-01-31 Electronics

Country Status (1)

Country Link
JP (1) JPH0743695B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104423908B (en) * 2013-08-26 2019-04-26 联想(北京)有限公司 Electronic equipment and its display processing method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5776645A (en) * 1980-10-30 1982-05-13 Nec Corp Electronic desk-top calculator
JPS5947662A (en) * 1982-09-10 1984-03-17 Canon Inc Electronic device
JPS6063657A (en) * 1983-09-16 1985-04-12 Sharp Corp Electronic calculator

Also Published As

Publication number Publication date
JPS61175754A (en) 1986-08-07

Similar Documents

Publication Publication Date Title
US5737504A (en) Label printer
JPH08108602A (en) Printing device of tape
GB2156560A (en) Portable electronic memorandum device
JP3266685B2 (en) Printer
JPH0671952A (en) Printing device
JPH0743696B2 (en) Electronics
JPH0743695B2 (en) Electronics
US6593948B1 (en) Character information processor
JPH0743694B2 (en) Electronics
JP3557478B2 (en) Input device
US4774684A (en) Electronic apparatus with a display means
JPS61175756A (en) Electronic device
JPH0373374A (en) Image forming device
JPH0640296B2 (en) Character processor
JP2000231307A (en) Image forming device
JPH0573249A (en) Display controller
JPH0615318Y2 (en) Electronic scheduler
JP2576088B2 (en) Electronic equipment with data storage device
JPH0610434Y2 (en) Small electronic calculator
JPH11102207A (en) Memory relay
JPH0532863Y2 (en)
JPH0373998A (en) Character pattern data generating device
JPH06293160A (en) Terminal printer
JPS62293286A (en) Word processor
JP2000235333A (en) Image forming device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term