JP2002063144A - Electronic desk computer - Google Patents

Electronic desk computer

Info

Publication number
JP2002063144A
JP2002063144A JP2001227123A JP2001227123A JP2002063144A JP 2002063144 A JP2002063144 A JP 2002063144A JP 2001227123 A JP2001227123 A JP 2001227123A JP 2001227123 A JP2001227123 A JP 2001227123A JP 2002063144 A JP2002063144 A JP 2002063144A
Authority
JP
Japan
Prior art keywords
counter
value
key
display
register
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2001227123A
Other languages
Japanese (ja)
Inventor
Shuji Kaya
周治 加悦
Eiji Maruo
英司 丸尾
Yoshio Oba
美穂 大場
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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2001227123A priority Critical patent/JP2002063144A/en
Publication of JP2002063144A publication Critical patent/JP2002063144A/en
Pending legal-status Critical Current

Links

Landscapes

  • Calculators And Similar Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an electronic desk computer, capable of easily knowing the present calculating position from display counts, even in the case of the calculating position being lost in the middle of calculation. SOLUTION: This electronic desk computer is provided with the function for inputting a formula and for executing the arithmetic operation of the inputted formula, for adding or subtracting the arithmetic result to a memory, for calling a value stored in the memory, and for using the called out value as a value in the formula in a format based on a register. At adding and subtracting of the arithmetic result of the formula to the memory, the value of a counter for the arithmetic number of times is added simultaneously with a counter for the memory; and at executing of the arithmetic operation using the value of the memory in the formula in the format based on the register, the value of the counter of the memory is added simultaneously with the counter for the arithmetic number of times.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、カウンタ機能、検
算機能、または状態表示機能を有する電子卓上計算機に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic desk calculator having a counter function, a check function, or a status display function.

【0002】[0002]

【従来の技術】特開昭50−11496号公報および特
開昭57−136270号公報には、カウンタ機能を有
する計算機が示されている。従来の計算機に備えられた
カウンタは、演算子キーが押された回数をカウントする
ことにより、置数の数である計数を数えていた。また、
演算結果をクリアするキーにより、カウンタに格納され
ていた値もクリアされた。
2. Description of the Related Art Japanese Patent Application Laid-Open Nos. 50-11496 and 57-136270 show computers having a counter function. A counter provided in a conventional computer counts the number of digits by counting the number of times an operator key is pressed. Also,
The value stored in the counter was also cleared by the key to clear the operation result.

【0003】[0003]

【発明が解決しようとする課題】特開昭50−1149
6号公報および特開昭57−136270号公報に示さ
れているカウンタは、基本的には加算式で演算を行う計
算機において、計数のカウントを行うことを前提として
いる。数式通り方式で演算を行う計算機でのカウント
や、特殊な演算キーに対するカウント動作については、
上記公報には示されていない。
Problems to be Solved by the Invention
The counters disclosed in Japanese Unexamined Patent Application Publication No. 6 and JP-A-57-136270 are based on the premise that counting is basically performed by a computer that performs an operation by an addition formula. For counting in a computer that performs calculations according to the formula and counting operation for special calculation keys,
It is not shown in the above publication.

【0004】従来技術においては、演算子キーが入力さ
れた時点でカウント動作を行うので、そのカウンタの値
は置数中の値が何番目であるのかではなく何番目の項目
まで演算が行われたかになっている。このため、ユーザ
は、現在入力中の項目を見失った場合、置数途中か否か
により項目を検索する方法が異なった。置数途中なら、
カウンタの値に1を加えた項目を探し、演算子入力直後
ならカウンタの値通りの項目を探さねばならないという
問題があった。
In the prior art, a counting operation is performed when an operator key is input, so that the value of the counter is calculated not to what number in the numerical value but to what item. It is hard. For this reason, when the user loses track of the currently input item, the method of searching for the item differs depending on whether or not the input is in progress. If you are in the middle of the number,
There is a problem in that an item obtained by adding 1 to the counter value must be searched, and immediately after the operator input, an item having the counter value must be searched.

【0005】さらに、従来技術においては、クリアキー
によって演算結果をクリアする場合、カウンタの値もク
リアしていた。また、数式通り電卓で、演算実行後に、
別の演算を実行すると、クリアキーの操作の有無に関わ
らず、カウンタの値がクリアされないという問題があっ
た。
In the prior art, when the operation result is cleared by the clear key, the value of the counter is also cleared. Also, after performing the calculation with the calculator as in the formula,
When another operation is performed, there is a problem that the counter value is not cleared regardless of whether the clear key is operated.

【0006】従来技術においては、演算子キーの押され
た回数をカウントするので、数式通り電卓で演算子キー
を押し換えて訂正すると、実際に演算を行った回数と演
算子キーを押した回数が異なりカウンタの値が正しくな
くなるという問題があった。
In the prior art, the number of times the operator key is pressed is counted, so if the operator presses the operator key and corrects it according to a mathematical formula, the number of actual operations and the number of times the operator key is pressed are calculated. However, there is a problem that the counter value becomes incorrect.

【0007】従来技術においては、定数計算のように計
算内容の入力に省略が有る場合でも実際の演算子キーの
入力回数に対応してカウント動作を行うので、計算の行
われる回数とカウンタの値が合わなくなるという問題が
あった。
In the prior art, the counting operation is performed in accordance with the actual number of times of input of the operator key, even when the input of the calculation content is omitted as in the case of constant calculation. There was a problem that did not fit.

【0008】税計算キー等の複数の結果を持ち、キーを
押す度に交互に結果を交換して示すキーの実行回数をカ
ウントする場合、このキーを何回も押すとキーが押され
た回数だけカウントされ計算回数とカウンタの値が合わ
なくなるという問題があった。
[0008] When counting the number of times of execution of a key having a plurality of results such as a tax calculation key and alternately exchanging the result each time the key is pressed, if this key is pressed many times, the number of times the key is pressed However, there is a problem that the number of calculations does not match the value of the counter.

【0009】従来技術においては、メモリ用のカウンタ
は[M+],[M−]キーの押された回数をカウントし
ていたが、式を入力して[M+]キーで式の実行とその
結果のメモリヘの加算を同時に行う場合でもメモリ用の
カウンタは1増えるだけであり、実際の計算回数とカウ
ンタの値が合わなくなるという問題があった。
In the prior art, the counter for the memory counts the number of times the [M +] and [M-] keys are pressed. However, after inputting the expression, execution of the expression with the [M +] key and the result are executed. Even if the addition to the memory is performed at the same time, the counter for the memory only increases by one, and the actual number of calculations does not match the value of the counter.

【0010】従来技術においては、メモリ等からの呼び
出し値であってもカウント数は1つ増えるだけなので、
複雑な式をメモリを用いて計算する時、メモリヘ複数回
の加減算が行われていても呼び出し値が1つしかカウン
トされず、実際の計算回数とカウンタの値が合わなくな
るという問題があった。
In the prior art, the count value is increased by one even if it is a call value from a memory or the like.
When a complicated expression is calculated using a memory, only one call value is counted even if a plurality of additions and subtractions are performed in the memory, and there is a problem that the actual number of calculations does not match the value of the counter.

【0011】特開昭57−150056号公報および特
開平02−15359号公報には、複数の表示値をユー
ザが比較する計算機が示されている。このため、ユーザ
が計算結果と比較値とを比較しなければならないという
問題があった。
JP-A-57-150056 and JP-A-02-15359 disclose a computer in which a user compares a plurality of display values. Therefore, there is a problem that the user has to compare the calculation result with the comparison value.

【0012】従来技術においては、置数途中であるのか
演算子入力後なのかを示すような状態表示が無かったの
で、どの項目を入力中かを見失いカウンタの値を手がか
りに探す時、どこまで入力したのか分からなくなるとい
う問題があった。
In the prior art, there is no status display indicating whether the number is in the middle or after the operator input. Therefore, when searching for the counter value as a clue by losing track of which item is being input, the maximum input There was a problem that you did not know what you did.

【0013】本発明は、上記問題を鑑みてなされたもの
である。その目的とするところは、計算途中で計算位置
が分からなくなった場合であっても、表示カウントから
現在の計算位置を容易に知ることができ、比較対象と演
算結果とを自動的に比較し、演算子が入力されたか否か
を表示する電子卓上計算機を提供することにある。
The present invention has been made in view of the above problems. The purpose is that even if the calculation position is lost during the calculation, the current calculation position can be easily known from the display count, and the comparison target and the calculation result are automatically compared. An object of the present invention is to provide an electronic desk calculator for displaying whether or not an operator has been input.

【0014】[0014]

【課題を解決するための手段】本発明の電子卓上計算機
は、式を入力し、その入力された式の演算を行い、その
演算結果をメモリに加減算でき、メモリに格納している
値を呼び出し、この呼び出した値を置数に準ずる形で式
の中の値として使用できる機能を備える電子卓上計算機
であって、前記演算を行った式の結果を前記メモリに加
減算するときに、演算回数用カウンタの値をメモリ用の
カウンタと同時に加算し、前記メモリの値を置数に準ず
る形で式の中で用いた演算を行うときに、前記メモリの
カウンタの値を演算回数用カウンタと同時に加算する、
そのことによって、上記目的を達成することができる。
SUMMARY OF THE INVENTION An electronic desk calculator according to the present invention is capable of inputting an expression, performing an operation on the input expression, adding / subtracting the operation result to / from a memory, and recalling a value stored in the memory. An electronic desk calculator having a function of using the called value as a value in an expression in a form similar to a numeral, wherein when adding / subtracting the result of the expression that performed the operation to / from the memory, When the value of the counter is added simultaneously with the counter for the memory, and the value of the memory is used in the expression in a form similar to the set number, the value of the counter of the memory is added simultaneously with the counter for the number of calculations. Do
Thereby, the above object can be achieved.

【0015】[0015]

【発明の実施の形態】(実施の形態1)図1は、本発明
の電子卓上計算機の外観の一例を示している。実施の形
態1の電子卓上計算機は、表示器2と、キーボード3
と、制御器11と、ROM12と、RAM13とを備え
ている。
(Embodiment 1) FIG. 1 shows an example of the appearance of an electronic desk calculator according to the present invention. The electronic desk calculator according to the first embodiment includes a display 2 and a keyboard 3
, A controller 11, a ROM 12, and a RAM 13.

【0016】表示器2には、置数、および演算結果と、
カウンタの値とが表示される。表示器2は、液晶表示装
置であってもよい。
The display 2 has a numeral, a calculation result,
The counter value is displayed. The display 2 may be a liquid crystal display device.

【0017】キーボード3は、置数を行うための数値キ
ーと、小数点キーと、演算子キーと、[=]等の計算結
果キーとを備えている。
The keyboard 3 is provided with numerical keys for performing numerical input, a decimal point key, an operator key, and calculation result keys such as [=].

【0018】図1の電子卓上計算機の構成の一例を図2
に示す。
FIG. 2 shows an example of the configuration of the electronic desk calculator shown in FIG.
Shown in

【0019】キーボード3の中のあるキーが押される
と、あるキーに対応する信号が制御器11に出力され
る。
When a key on the keyboard 3 is pressed, a signal corresponding to the key is output to the controller 11.

【0020】制御器11は、キーボード3からの信号を
受け取り、キーボード3の中のどのキーが押されたかを
判断する。 制御器11は、四則演算等を含む計算処
理、表示カウンタ13cの計数処理、および計算結果の
表示処理などを行う。
The controller 11 receives a signal from the keyboard 3 and determines which key in the keyboard 3 has been pressed. The controller 11 performs a calculation process including four arithmetic operations, a counting process of the display counter 13c, a display process of a calculation result, and the like.

【0021】ROM12は、上述した処理を行うための
プログラム、およびコンピュータグラフィクを行うため
のプログラムなどを記憶している。
The ROM 12 stores a program for performing the above-described processing, a program for performing computer graphics, and the like.

【0022】RAM13は、演算子レジスタと、表示カ
ウンタ13cとを含んでいる。
The RAM 13 includes an operator register and a display counter 13c.

【0023】本発明の電子卓上計算機の動作の一例を図
3を用いて説明する。図3は、表示器2の表示画面の遷
移と、キーボード3により入力されたデータとの関係と
を示している。
An example of the operation of the electronic desk calculator according to the present invention will be described with reference to FIG. FIG. 3 shows the transition of the display screen of the display 2 and the relationship between the data input by the keyboard 3.

【0024】表示画面S1は、表示器2の初期画面であ
る。本明細書では、カウンタ部に00が表示され、数値
部に0が表示される画面を初期画面と呼ぶ。電源スイッ
チが投入される場合や、クリアキー[C]が押された場
合などの場合に、表示器2は初期画面になる。
The display screen S 1 is an initial screen of the display 2. In the present specification, a screen in which 00 is displayed in the counter section and 0 is displayed in the numerical section is referred to as an initial screen. When the power switch is turned on or when the clear key [C] is pressed, the display 2 is set to the initial screen.

【0025】表示画面S2は、置数123の先頭部1が
入力された場合の画面を示している。置数の先頭部1が
入力されると、カウンタ部には01が表示され、数値部
には1が表示される。表示画面S3は、置数123の入
力が終了した場合の画面を示している。数値部には12
3が表示されるが、カウンタ部に表示される値は変化し
ない。
The display screen S2 shows a screen when the leading part 1 of the numeral 123 is input. When the leading part 1 of the numerical value is input, 01 is displayed in the counter part and 1 is displayed in the numerical part. The display screen S3 shows a screen when the input of the number 123 is completed. 12 in the numeric part
Although 3 is displayed, the value displayed on the counter section does not change.

【0026】表示画面S4は、演算子として、[+]が
入力された場合の画面を示している。このことにより、
数値部およびカウンタ部に表示される値は変化しない。
表示画面S5は、被演算数として、置数456の入力が
終了した場合の画面を示している。このことにより、カ
ウンタ部には02が表示され、数値部には456が表示
される。
The display screen S4 shows a screen when [+] is input as an operator. This allows
The values displayed in the numerical value part and the counter part do not change.
The display screen S5 shows a screen when the input of the numeral 456 as the operand is completed. As a result, 02 is displayed on the counter portion and 456 is displayed on the numerical value portion.

【0027】表示画面S6は、演算結果を求めるために
計算結果キー[=]の入力が終了した場合の画面を示し
ている。数値部には、演算結果を示す579が表示さ
れ、カウンタ部に表示される値は変化しない。
The display screen S6 shows a screen when the input of the calculation result key [=] for obtaining the calculation result is completed. 579 indicating the calculation result is displayed in the numerical value portion, and the value displayed in the counter portion does not change.

【0028】表示画面S7は、上述した演算に続き、置
数987の先頭部9の入力が終了した場合の画面を示し
ている。このことにより、カウンタ部には01が表示さ
れ、数値部には9が表示される。表示画面S8は、置数
987が入力され、[−]の入力が終了した場合の画面
を示している。
The display screen S7 is a screen displayed when the input of the leading part 9 of the numeral 987 is completed following the above-described calculation. As a result, 01 is displayed on the counter section and 9 is displayed on the numerical value section. The display screen S8 shows a screen when the numeral 987 is input and the input of [-] is completed.

【0029】表示画面S9は、置数654が入力され、
[=]の入力が終了した場合の画面を示している。カウ
ンタ部には02が表示され、数値部には計算結果である
333が表示される。数値部には333が表示される
が、カウンタ部に表示される値は変化しない。
On the display screen S9, the number 654 is inputted,
The screen when input of [=] is completed is shown. 02 is displayed in the counter section, and 333 which is the calculation result is displayed in the numerical section. Although 333 is displayed in the numerical value part, the value displayed in the counter part does not change.

【0030】表示画面S10は、数値部に333が表示
されたまま、[+]が押された場合の画面を示してい
る。このことにより、数値部およびカウンタ部に表示さ
れる値は変化しない。
The display screen S10 shows a screen when [+] is pressed while 333 is displayed in the numerical value part. As a result, the values displayed on the numerical value part and the counter part do not change.

【0031】表示画面S11には、置数321が入力さ
れ、[=]の入力が終了した場合の画面を示している。
カウンタ部には03が表示され、数値部には計算結果で
ある654が表示される。
The display screen S11 shows a screen when the numeral 321 is input and the input of [=] is completed.
03 is displayed in the counter section, and 654 as a calculation result is displayed in the numerical section.

【0032】本発明の電子卓上計算機の表示器2が、上
述した表示画面S1から表示画面S11を表示する場合
における本発明の電子卓上計算機の動作を、図4を用い
て説明する。図4は、本発明の電子卓上計算機の状態遷
移の一例を示している。
The operation of the electronic desk calculator of the present invention when the display 2 of the electronic desk calculator of the present invention displays the display screen S11 from the display screen S1 will be described with reference to FIG. FIG. 4 shows an example of a state transition of the electronic desk calculator of the present invention.

【0033】ユーザが、電源スイッチをオン状態にす
る、またはクリア[C]を押すことにより、本発明の電
子卓上計算機は初期状態に設定される。
When the user turns on the power switch or presses clear [C], the electronic desk calculator of the present invention is set to the initial state.

【0034】数値キーが押されると、その数値キーに対
応する信号が生成される。制御器11は、数値キーによ
って生成された信号を受け取る。その生成された信号に
応答して、初期状態20は、パス40を通り置数状態2
1に遷移する。このことにより、制御器11が表示カウ
ンタ13cに保持されている値を1つ増加させる。具体
的には、制御器11が表示カウンタ13cの値を呼出
し、表示カウンタ13cの値を1つ増加させ、増加させ
た値を表示カウンタ13cに格納する。また、このよう
な遷移に応答して、制御器11が、数値キーによって生
成された信号を表示器2に出力する。表示器2の数値部
は、数値キーによって生成された信号に基づいて、数値
キーに対応する数字を表示する。また、表示器2のカウ
ンタ部には、表示カウンタ13cに格納されている値が
表示される。
When a numeric key is pressed, a signal corresponding to the numeric key is generated. The controller 11 receives the signal generated by the numeric key. In response to the generated signal, initial state 20 passes through path 40 and sets state 2
Transitions to 1. As a result, the controller 11 increases the value held in the display counter 13c by one. Specifically, the controller 11 calls the value of the display counter 13c, increases the value of the display counter 13c by one, and stores the increased value in the display counter 13c. Further, in response to such a transition, the controller 11 outputs a signal generated by the numerical keys to the display 2. The numeric portion of the display 2 displays a number corresponding to the numeric key based on a signal generated by the numeric key. The value stored in the display counter 13c is displayed on the counter section of the display device 2.

【0035】数値キーが押されると、上述したように制
御器11は、数値キーによって生成された信号を受け取
る。その生成された信号に応答して、置数状態21は、
パス41を通り置数状態21に遷移する。このことによ
り、制御器11が数値キーによって生成された信号を表
示器2に出力する。表示器2の数値部には、その信号に
基づいて、数値キーに対応する数字がさらに表示され
る。なお、表示カウンタ13cは、それ自身が保持して
いる値を維持しているため、表示器2のカウンタ部に表
示されている値は変化しない。
When a numeric key is pressed, the controller 11 receives a signal generated by the numeric key, as described above. In response to the generated signal, the numeral state 21 is:
The state transits to the number state 21 through the path 41. As a result, the controller 11 outputs a signal generated by the numerical keys to the display 2. In the numerical portion of the display 2, a number corresponding to the numerical key is further displayed based on the signal. Since the display counter 13c maintains the value held by itself, the value displayed on the counter unit of the display 2 does not change.

【0036】2項演算子キーが押されると、その2項演
算子キーに対応する信号が生成される。制御器11は、
2項演算子によって生成された信号を受け取る。その生
成された信号に応答して、置数状態21は、パス42を
通り2項演算状態22に遷移する。また、2項演算状態
22において表示器2に表示される値は、置数状態21
において表示器2に表示された値と同じである。なお、
表示カウンタ13cは、それ自身が保持している値を維
持する。
When a binary operator key is pressed, a signal corresponding to the binary operator key is generated. The controller 11
Receive the signal generated by the binary operator. In response to the generated signal, the numeral state 21 transits to the binary operation state 22 via the path 42. The value displayed on the display 2 in the binary operation state 22 is the numeral state 21
Is the same as the value displayed on the display 2. In addition,
The display counter 13c maintains a value held by itself.

【0037】数値キーが押されると、上述したように制
御器11は、数値キーによって生成された信号を受け取
る。その生成された信号に応答して、2項演算状態22
は、パス43を通り置数状態21に遷移する。このこと
により、制御器11が、表示カウンタ13cに保持され
ている値を1つ増加させ、数値キーによって生成された
信号を表示器2に出力する。表示器2は、数値キーによ
って生成された信号に基づいて、数値キーに対応する数
字を数値部に表示する。また、表示器2のカウンタ部に
は、表示カウンタ13cに格納されている値が表示され
る。
When the numeric key is pressed, the controller 11 receives the signal generated by the numeric key, as described above. In response to the generated signal, the binary operation state 22
Transits to the number state 21 through the path 43. As a result, the controller 11 increases the value held in the display counter 13c by one, and outputs a signal generated by the numerical keys to the display 2. The display 2 displays a number corresponding to the numeric key on a numeric portion based on a signal generated by the numeric key. The value stored in the display counter 13c is displayed on the counter section of the display device 2.

【0038】計算結果キー[=]が押されると、その計
算結果キー[=]に対応する信号が生成される。制御器
11は、計算結果キー[=]によって生成された信号を
受け取る。その生成された信号に応答して、置数状態2
1は、パス44を通り演算終了状態23に遷移する。こ
のことにより、2項演算子キーが押される前に入力され
た置数と、その2項演算子キーが押された後の置数と
が、その2項演算子の関係に基づいて、演算される。演
算された結果は、表示器2の数値部に表示される。な
お、表示カウンタ13cは、それ自身が保持している値
を維持している。表示器2のカウンタ部には、表示カウ
ンタ13cに格納されている値、つまり1が表示され
る。
When the calculation result key [=] is pressed, a signal corresponding to the calculation result key [=] is generated. The controller 11 receives a signal generated by the calculation result key [=]. In response to the generated signal, the number state 2
1 changes to the operation end state 23 through the path 44. As a result, the numeric value input before the binary operator key is pressed and the numeric value after the binary operator key is pressed are calculated based on the relation of the binary operator. Is done. The calculated result is displayed on the numerical value section of the display device 2. The display counter 13c maintains the value held by itself. The value stored in the display counter 13c, that is, 1 is displayed on the counter section of the display device 2.

【0039】数値キーが押されると、上述したように制
御器11は、数値キーによって生成された信号を受け取
る。その生成された信号に応答して、演算終了状態23
は、パス45を通り置数状態21に遷移する。このこと
により、制御器11が、表示カウンタ13cをクリア
し、さらに表示カウンタ13cに保持されている値を1
つ増加させ、数値キーによって生成された信号を表示器
2に出力する。表示器2は、数値キーによって生成され
た信号に基づいて、数値キーに対応する数字を数値部に
表示する。また、表示器2のカウンタ部には、表示カウ
ンタ13cに格納されている値が表示される。
When the numeric key is pressed, the controller 11 receives the signal generated by the numeric key as described above. In response to the generated signal, the operation end state 23
Transits to the number state 21 through the path 45. As a result, the controller 11 clears the display counter 13c and further sets the value held in the display counter 13c to 1
And outputs the signal generated by the numerical keys to the display 2. The display 2 displays a number corresponding to the numeric key on a numeric portion based on a signal generated by the numeric key. The value stored in the display counter 13c is displayed on the counter section of the display device 2.

【0040】2項演算子キーが押されると、その2項演
算子キーに対応する信号が生成される。制御器11は、
2項演算子によって生成された信号を受け取る。その生
成された信号に応答して、演算終了状態23は、パス4
6を通り2項演算状態22に遷移する。このことによ
り、表示カウンタ13cは、それ自身が保持している値
を維持する。また、2項演算状態22において表示器2
に表示される値は、演算終了状態23において表示器2
に表示された値と同じである。この後、2項演算状態2
2が他の状態に遷移することは、上述した状態遷移と同
じであるため、説明を省略する。
When a binary operator key is pressed, a signal corresponding to the binary operator key is generated. The controller 11
Receive the signal generated by the binary operator. In response to the generated signal, the operation end state 23 indicates that the path 4
The state transits to the binomial operation state 22 through 6. As a result, the display counter 13c maintains the value held by itself. In the binary operation state 22, the display 2
Are displayed on the display 2 in the operation end state 23.
Is the same as the value displayed in. After this, binary operation state 2
The transition of 2 to another state is the same as the above-described state transition, and thus the description is omitted.

【0041】次に、任意の2項演算状態22で2項演算
子キーが押された場合における、本発明の電子卓上計算
機の表示画面の遷移の一例を図5を用いて説明する。図
5は、本発明の電子卓上計算機の表示画面の状態遷移を
表している。
Next, an example of the transition of the display screen of the electronic desk calculator of the present invention when the binary operator key is pressed in an arbitrary binary arithmetic state 22 will be described with reference to FIG. FIG. 5 shows a state transition of the display screen of the electronic desk calculator according to the present invention.

【0042】表示画面S21は、表示器2の初期画面で
ある。表示画面S22は、置数123の入力が終了した
場合の画面を示している。数値部には、123が表示さ
れる。カウンタ部には、01が表示される。
The display screen S21 is an initial screen of the display device 2. The display screen S22 shows a screen when the input of the number 123 is completed. 123 is displayed in the numerical value part. 01 is displayed on the counter section.

【0043】表示画面S23は、演算子として、[+]
が入力された場合の画面を示している。このことによ
り、数値部およびカウンタ部に表示される値は変化しな
い。表示画面S24は、演算子として、[−]が入力さ
れた場合の画面を示している。このことにより、数値部
およびカウンタ部に表示される値は変化しない。電子卓
上計算機は、演算子として、[+]ではなく[−]が入
力されたと判断する。
The display screen S23 displays [+] as an operator.
Shows a screen in the case where is input. As a result, the values displayed on the numerical value part and the counter part do not change. The display screen S24 shows a screen when [-] is input as an operator. As a result, the values displayed on the numerical value part and the counter part do not change. The electronic desk calculator determines that [-] is input as an operator instead of [+].

【0044】表示画面S25は、被演算数として、置数
10の入力が終了した場合の画面を示している。このこ
とにより、カウンタ部には02が表示され、数値部には
10が表示される。
The display screen S25 shows a screen when the input of the numeral 10 as the operand is completed. As a result, 02 is displayed on the counter portion and 10 is displayed on the numerical value portion.

【0045】表示画面S26は、演算結果を求めるため
に計算結果キー[=]の入力が終了した場合の画面を示
している。数値部には、演算結果を示す113が表示さ
れ、カウンタ部に表示される値は変化しない。
The display screen S26 shows the screen when the input of the calculation result key [=] for obtaining the calculation result is completed. 113 indicating the calculation result is displayed in the numerical value part, and the value displayed in the counter part does not change.

【0046】図6は、表示画面が表示画面S21から表
示画面S26に遷移する場合を含む本発明の電子卓上計
算機の状態遷移を表している。図6に示す状態およびパ
スが、図4に示す状態およびパスと同じものについて
は、同じ番号を付し、説明を省略する。
FIG. 6 shows the state transition of the electronic desk calculator of the present invention including the case where the display screen transitions from the display screen S21 to the display screen S26. The states and paths shown in FIG. 6 that are the same as the states and paths shown in FIG. 4 are assigned the same numbers, and descriptions thereof are omitted.

【0047】本発明の制御器11の状態が2項演算状態
22であり、2項演算子キーが押された場合について以
下に述べる。
The case where the state of the controller 11 of the present invention is the binary operation state 22 and the binary operator key is pressed will be described below.

【0048】例えば、上述したように、置数状態または
演算終了状態で、2項演算子キーが押されると、本発明
の制御器11の状態は、2項演算状態に遷移する。
For example, as described above, when the binary operator key is pressed in the numeric state or the operation end state, the state of the controller 11 of the present invention changes to the binary operation state.

【0049】さらに、2項演算状態で、2項演算子キー
が押されると、その2項演算子キーによって生成された
信号に応答して、制御器11の状態は、パス47を通り
2項演算状態22に遷移する。
Further, when the binary operator key is pressed in the binary operation state, the state of the controller 11 passes through the path 47 and returns to the binary state in response to the signal generated by the binary operator key. The state transits to the operation state 22.

【0050】2項演算状態22において表示器2に表示
される値は、遷移まえの2項演算状態22の表示器2に
表示されている値と同じである。制御器11には、後で
押された2項演算子キーに対応する2項演算子データが
入力される。つまり、2項演算状態22から置数状態2
1に遷移する直前に、押された2項演算子キーに対応す
る2項演算子データが制御器11に入力される。
The value displayed on the display 2 in the binary operation state 22 is the same as the value displayed on the display 2 in the binary operation state 22 before the transition. Binary operator data corresponding to a binary operator key pressed later is input to the controller 11. That is, from the binary operation state 22 to the numeral state 2
Immediately before the transition to 1, binary operator data corresponding to the pressed binary operator key is input to the controller 11.

【0051】表示カウンタ13cは、それ自身が保持し
ている値を維持する。
The display counter 13c maintains the value held by itself.

【0052】次に、任意の置数状態21で、表示画面S
34は[C・CE]が押された場合における、本発明の
電子卓上計算機の表示画面の遷移の一例を図7を用いて
説明する。図7は、本発明の電子卓上計算機の表示画面
の状態遷移を示している。
Next, in an arbitrary number state 21, the display screen S
Reference numeral 34 denotes an example of transition of the display screen of the electronic desk calculator according to the present invention when [C · CE] is pressed, with reference to FIG. FIG. 7 shows the state transition of the display screen of the electronic desk calculator of the present invention.

【0053】表示画面S31は、表示器2の初期画面で
ある。表示画面S22は、演算数として置数123の入
力が終了した場合の画面を示している。数値部には、1
23が表示される。カウンタ部には、01が表示され
る。
The display screen S31 is an initial screen of the display device 2. The display screen S22 shows a screen when the input of the numeral 123 as the number of operations is completed. 1 in the numeric part
23 is displayed. 01 is displayed on the counter section.

【0054】表示画面S33は、演算子として、[+]
が入力された場合の画面を示している。このことによ
り、数値部およびカウンタ部に表示される値は変化しな
い。表示画面S34は、被演算数として置数456の入
力が終了した場合の画面を示している。数値部には、4
56が表示される。カウンタ部には、02が表示され
る。
The display screen S33 displays [+] as an operator.
Shows a screen in the case where is input. As a result, the values displayed on the numerical value part and the counter part do not change. The display screen S34 shows a screen when the input of the numeral 456 as the operand is completed. 4 in the numeric part
56 is displayed. 02 is displayed on the counter section.

【0055】表示画面S35は、クリアキー[C・C
E]の入力が終了した場合の画面を示している。このこ
とにより、すでに入力された置数456および演算子
[+]が制御器11から消去される。制御器11には、
置数123だけが記憶されている。このため、数値部に
は、123が表示され、カウンタ部には、01が表示さ
れる。
The display screen S35 shows the clear key [CC].
E] shows the screen when the input is completed. As a result, the previously entered numeral 456 and operator [+] are deleted from the controller 11. The controller 11 includes
Only the numeral 123 is stored. Therefore, 123 is displayed in the numerical value portion, and 01 is displayed in the counter portion.

【0056】表示画面S36は、演算子として、[×]
が入力された場合の画面を示している。このことによ
り、数値部およびカウンタ部に表示される値は変化しな
い。
The display screen S36 displays [×] as an operator.
Shows a screen in the case where is input. As a result, the values displayed on the numerical value part and the counter part do not change.

【0057】表示画面S37は、新しい被演算数として
置数4の入力が終了した場合の画面を示している。数値
部には、4が表示される。カウンタ部には、2が表示さ
れる。
The display screen S37 shows a screen when the input of the numeral 4 as a new operand is completed. 4 is displayed in the numerical part. 2 is displayed on the counter section.

【0058】表示画面S38は、演算結果を求めるため
の計算結果キー[=]の入力が終了した場合の画面を示
している。数値部には、演算結果を示す492が表示さ
れ、カウンタ部に表示される値は変化しない。
The display screen S38 shows the screen when the input of the calculation result key [=] for obtaining the calculation result is completed. 492 indicating the calculation result is displayed in the numerical value portion, and the value displayed in the counter portion does not change.

【0059】図8は、表示画面が表示画面S31から表
示画面S38に遷移する場合を含む本発明の電子卓上計
算機の状態遷移を表している。図8に示す状態およびパ
スが、図4に示す状態およびパスと同じものについて
は、同じ番号を付し、説明を省略する。
FIG. 8 shows the state transition of the electronic desk calculator of the present invention including the case where the display screen transitions from the display screen S31 to the display screen S38. The states and paths shown in FIG. 8 that are the same as the states and paths shown in FIG. 4 are given the same numbers, and descriptions thereof are omitted.

【0060】本発明の制御器11の状態が置数状態21
であり、クリアキー[C・CE]が押された場合につい
て以下に述べる。
The state of the controller 11 of the present invention is a numeral state 21
The case where the clear key [C · CE] is pressed will be described below.

【0061】クリアキー[C・CE]が押されると、そ
のクリアキー[C・CE]に対応する信号が生成され
る。制御器11は、クリアキー[C・CE]によって生
成された信号を受け取る。その生成された信号に応答し
て、置数状態21は、パス47を通り数値クリア状態2
4に遷移する。このことにより、数値クリア状態24に
遷移する直前に入力された置数、または数値クリア状態
24に遷移する直前に入力された置数および演算子がク
リアされる。入力された置数がクリアされるため、表示
カウンタ13cに格納されている値は、置数状態21で
表示カウンタ13cに格納されている値より1つ減算さ
れた値であり、その値が表示器2のカウンタ部に表示さ
れる。
When the clear key [C.CE] is pressed, a signal corresponding to the clear key [C.CE] is generated. The controller 11 receives the signal generated by the clear key [C · CE]. In response to the generated signal, the numeral state 21 goes through the path 47 and the numerical value clear state 2
Transition to 4. As a result, the numerical value input immediately before the transition to the numerical value clear state 24 or the numerical value and the operator input immediately before the transition to the numerical value clear state 24 are cleared. Since the input numerical value is cleared, the value stored in the display counter 13c is a value obtained by subtracting one from the value stored in the display counter 13c in the numerical value state 21, and the value is displayed. Is displayed on the counter section of the container 2.

【0062】数値キーが押されると、数値キーによって
生成された信号に応答して、数値クリア状態24は、パ
ス48を通り数値状態21に遷移する。後の遷移は、図
4の遷移と同じであるため、説明を省略する。
When the numeric key is pressed, the numeric clear state 24 transits to the numeric state 21 via the path 48 in response to a signal generated by the numeric key. The subsequent transition is the same as the transition in FIG.

【0063】図21は、数値キー[0]〜[9]および
[・]が押された場合のカウンタの動作の一例を示すフ
ローチャートである。
FIG. 21 is a flowchart showing an example of the operation of the counter when the numeric keys [0] to [9] and [•] are pressed.

【0064】ステップN1で、制御器11が上記数値キ
ーが押される直前に、置数キーが押されたか否かを判断
する。上記数値キーが押される直前に、置数キーが押さ
れた場合であれば、この処理を終了する。この場合、す
でに、表示カウンタ13cには1が加算されている。
At step N1, the controller 11 determines whether or not the numeric key has been pressed immediately before the numeric key is pressed. If the numeric key is pressed immediately before the numerical key is pressed, the process is terminated. In this case, 1 has already been added to the display counter 13c.

【0065】ステップN2では、制御器11は、上記数
値キーが押される直前に、準置数キー[RM]が押され
たか否かを判断する。上記数値キーが押される直前に、
準置数キー[RM]が押された場合には、制御器11
は、内部カウンタ13dに格納されている値を表示カウ
ンタ13cに格納する。そうでない場合には、ステップ
N3に進む。なお、本発明の電子卓上計算機が準置数キ
ー[RM]を備えていない場合には、無条件にステップ
N3に進む。
In step N2, the controller 11 determines whether or not the numeric key [RM] has been pressed immediately before the numeric key is pressed. Immediately before the numeric key is pressed,
When the numeric key [RM] is pressed, the controller 11
Stores the value stored in the internal counter 13d in the display counter 13c. If not, the process proceeds to step N3. If the electronic desk calculator of the present invention does not include the semi-numerical key [RM], the process unconditionally proceeds to step N3.

【0066】ステップN3では、制御器11は、上記数
値キーが押される直前に、平方根等の単項演算子キーが
押されたか否かを判断する。上記数値キーが押される直
前に、平方根等の単項演算子キーが押された場合には、
ステップN4に進み、制御器11は、内部カウンタ13
dに格納されている値を表示カウンタ13cに格納す
る。そうでない場合には、ステップN5に進む。なお、
本発明の電子卓上計算機が平方根等の単項演算子キーを
備えていない場合には、無条件にステップN5に進む。
In step N3, the controller 11 determines whether or not a unary operator key such as a square root is pressed immediately before the numeric key is pressed. If a unary operator key such as a square root is pressed immediately before the numeric key is pressed,
Proceeding to step N4, the controller 11 sets the internal counter 13
The value stored in d is stored in the display counter 13c. Otherwise, the process proceeds to Step N5. In addition,
If the electronic desk calculator of the present invention does not have a unary operator key such as a square root, the process unconditionally proceeds to step N5.

【0067】ステップN5では、制御器11は、上記数
値キーが押される直前に、四則演算子などの2項演算子
が押されたか否かを判断する。上記数値キーが押される
直前に、四則演算子などの2項演算子が押された場合に
は、ステップN7に進み、そうでないなら、ステップN
6に進む。
In step N5, the controller 11 determines whether a binary operator such as an arithmetic operator has been pressed immediately before the numeric key is pressed. Immediately before the numeric key is pressed, if a binary operator such as an arithmetic operator is pressed, the process proceeds to step N7; otherwise, the process proceeds to step N7.
Proceed to 6.

【0068】ステップN6では、制御器11は、0を表
示カウンタ13cに格納する。
At step N6, the controller 11 stores 0 in the display counter 13c.

【0069】ステップN7では、制御器11は、表示カ
ウンタ13cの値を1つ増加させる。
At step N7, the controller 11 increases the value of the display counter 13c by one.

【0070】図23は、2項演算子キー[+]、[×]
等が入力された場合のカウンタの動作の一例を示すフロ
ーチャートである。
FIG. 23 shows binary operator keys [+], [×]
9 is a flowchart illustrating an example of the operation of the counter when the user inputs the information.

【0071】ステップN21では、制御器11が、2項
演算子キーが押される直前に、2項演算子キーが押され
たか否かを判断する。2項演算子キーが押される直前
に、2項演算子キーが押されている場合には、この処理
を終了する。
At step N21, the controller 11 determines whether or not the binary operator key has been pressed immediately before the binary operator key is pressed. If the binary operator key has been pressed immediately before the binary operator key is pressed, this process ends.

【0072】2項演算子キーが押される直前に、2項演
算子キーが押されている場合とは、例えば、本当はキー
[−]を押さなければならないところで、キー[+]を
押してしまった場合などである。この場合、カウンタに
関する処理はすでに行われているため、カウンタ処理を
終了する。2項演算子キーが押される直前に、2項演算
子キーが押されていない場合には、ステップN22に進
む。
The case where the binary operator key is pressed immediately before the binary operator key is pressed means, for example, that the key [+] is pressed where the key [-] must be pressed. For example. In this case, the counter processing has already been performed, so the counter processing ends. If the binary operator key has not been pressed immediately before the binary operator key is pressed, the process proceeds to step N22.

【0073】ステップN22では、制御器11が、2項
演算子キーが押される直前に、単項演算子キーが押され
たか否かを判断する。2項演算子キーが押される直前
に、単項演算子キーが押された場合には、ステップN2
3に進む。そうでない場合には、ステップN4に進む。
In step N22, immediately before the binary operator key is pressed, the controller 11 determines whether or not the unary operator key is pressed. If the unary operator key is pressed immediately before the binary operator key is pressed, step N2
Proceed to 3. Otherwise, the process proceeds to step N4.

【0074】ステップN23では、制御器11が表示カ
ウンタ13cの値を1つ増加させ、ステップN24に進
む。
At step N23, the controller 11 increments the value of the display counter 13c by one, and proceeds to step N24.

【0075】ステップN24では、制御器11が表示カ
ウンタ13cの値を内部カウンタ13dに格納する。
At step N24, the controller 11 stores the value of the display counter 13c in the internal counter 13d.

【0076】なお、演算実行直後であれば、ステップN
21の前に、表示カウンタ13cをクリアし、1つ増加
させるステップN20を追加してもよい。
If the operation has just been performed, step N
Before Step 21, a step N20 of clearing the display counter 13c and increasing the display counter 13c by one may be added.

【0077】図26は、クリアキー[C・CE]が入力
された場合のカウンタの動作の一例を示すフローチャー
トである。クリアキー[C・CE]が押されると、クリ
アキー[C・CE]が押される前に入力した置数をクリ
アし、演算子キーが押された直後の状態に戻る。
FIG. 26 is a flowchart showing an example of the operation of the counter when the clear key [C · CE] is input. When the clear key [C · CE] is pressed, the input number is cleared before the clear key [C · CE] is pressed, and the state returns to the state immediately after the operator key is pressed.

【0078】ステップN51では、制御器11が、クリ
アキー[C・CE]が押される前に、演算子が押された
か否かを判断する。クリアキー[C・CE]が押される
前に、演算子が押された場合には、ステップN52に進
む。そうでない場合には、ステップN53に進む。
At step N51, the controller 11 determines whether or not the operator has been pressed before the clear key [C · CE] is pressed. If the operator is pressed before the clear key [C · CE] is pressed, the process proceeds to step N52. If not, the process proceeds to step N53.

【0079】ステップN53では、制御器11が、クリ
アキー[C・CE]が押される前に、数値キーが押され
たか否かを判断する。クリアキー[C・CE]が押され
る前に、数値キーが押された場合には、ステップN54
に進む。そうでない場合には、ステップN53に進む。
At step N53, the controller 11 determines whether or not the numeric key has been pressed before the clear key [C · CE] has been pressed. If the numeric key is pressed before the clear key [C · CE] is pressed, step N54
Proceed to. If not, the process proceeds to step N53.

【0080】ステップN53では、制御器11が、表示
カウンタ13cに0を格納する。
At step N53, the controller 11 stores 0 in the display counter 13c.

【0081】ステップN54では、制御器11が、内部
カウンタ13dの値を表示カウンタ13cに格納する。
At step N54, the controller 11 stores the value of the internal counter 13d in the display counter 13c.

【0082】ステップN55では、制御器11は、この
後演算子の訂正のために、演算子キーを押し換えても、
表示カウン夕13cを1つ増加しないように、フラグ等
を演算子キーが押された直後と同等の状態にする。
In step N55, the controller 11 subsequently changes the operator key to correct the operator,
In order not to increase the display counter 13c by one, a flag or the like is set to the same state as immediately after the operator key is pressed.

【0083】(実施の形態2)実施の形態2の電子卓上
計算機1は、表示器2と、キーボード3と、 制御器1
1と、ROM12と、RAM13とを備えている。
(Embodiment 2) An electronic desk calculator 1 according to Embodiment 2 comprises a display 2, a keyboard 3, and a controller 1.
1, a ROM 12, and a RAM 13.

【0084】表示器2には、置数および演算結果と、表
示カウンタ13cの値とが表示される。表示器2は、液
晶表示装置であってもよい。
The display 2 displays the numbers and the calculation results and the value of the display counter 13c. The display 2 may be a liquid crystal display device.

【0085】キーボード3は、置数を行うための数値キ
ーと、小数点キーと、演算子キーと、[=]等の計算結
果キーとを備えている。キーボード3の中のあるキーが
押されると、あるキーに対応する信号が制御器11に出
力される。
The keyboard 3 is provided with numerical keys for performing numerical input, decimal point keys, operator keys, and calculation result keys such as [=]. When a certain key on the keyboard 3 is pressed, a signal corresponding to the certain key is output to the controller 11.

【0086】制御器11は、キーボード3からの信号を
受け取り、キーボード3の中のどのキーが押されたかを
判断する。 制御器11は、四則演算等を含む計算処理
と、表示カウンタ13cおよび内部カウンタ13dの計
数処理と、結果の表示処理とを行う。
The controller 11 receives a signal from the keyboard 3 and determines which key in the keyboard 3 has been pressed. The controller 11 performs calculation processing including four arithmetic operations, counting processing of the display counter 13c and the internal counter 13d, and display processing of the result.

【0087】ROM12は、上述した処理を行うための
プログラム、およびコンピュータグラフィクを行うため
のプログラムなどを記憶している。
The ROM 12 stores a program for performing the above-described processing, a program for performing computer graphics, and the like.

【0088】RAM13は、Xレジスタ13aと、Yレ
ジスタ13bと、表示カウンタ13cと、内部カウンタ
13dと、演算子レジスタ13fと、その他動作に必要
なワークエリアとを含んでいる。
The RAM 13 includes an X register 13a, a Y register 13b, a display counter 13c, an internal counter 13d, an operator register 13f, and other work areas required for operations.

【0089】Xレジスタ13aには、置数の値および演
算結果等の値が格納される。 Xレジスタ13aに格納
されている値は、表示器2の数値部に表示される。演算
子レジスタ13fには、演算子キー(+、−、×、÷な
ど)によって入力された演算子が格納されている。
The X register 13a stores the value of the numerical value and the value of the operation result and the like. The value stored in the X register 13a is displayed in the numerical value section of the display 2. The operator register 13f stores an operator input by an operator key (+,-, ×, ÷, etc.).

【0090】実施の形態2の電子卓上計算機の動作の一
例を図9を用いて説明する。図9は、実施の形態2の表
示器2の表示画面の遷移と、各レジスタに格納されてい
る値の遷移と、各カウンタに格納されている値の遷移と
の関係を示している。
An example of the operation of the electronic desk calculator according to the second embodiment will be described with reference to FIG. FIG. 9 shows the relationship between the transition of the display screen of the display 2 according to the second embodiment, the transition of the value stored in each register, and the transition of the value stored in each counter.

【0091】表示画面S41は、表示器2の初期画面で
ある。この場合、 Xレジスタ13aと、演算子レジス
タ13fと、Yレジスタ13bと、表示カウンタ13c
と、内部カウンタ13dとに格納されている値は、それ
ぞれ0である。なお、演算子レジスタ13fに格納され
ている値は、任意の値であってもよい。
[0091] The display screen S41 is an initial screen of the display device 2. In this case, an X register 13a, an operator register 13f, a Y register 13b, and a display counter 13c
And the values stored in the internal counter 13d are 0, respectively. Note that the value stored in the operator register 13f may be an arbitrary value.

【0092】表示画面S42は、置数123の先頭部1
が入力された場合の画面を示している。置数の先頭部1
が入力されると、カウンタ部には01が表示され、数値
部には1が表示される。Xレジスタ13aには、1が格
納され、表示カウンタ13cには、1が格納される。演
算子レジスタ13fと、Yレジスタ13bと、内部カウ
ンタ13dとは前の値、すなわち0を維持する。
[0092] The display screen S42 displays the first part 1 of the numeral 123.
Shows a screen in the case where is input. The first part of the number
Is input, 01 is displayed in the counter portion, and 1 is displayed in the numerical value portion. The X register 13a stores 1 and the display counter 13c stores 1. The operator register 13f, the Y register 13b, and the internal counter 13d maintain the previous value, that is, 0.

【0093】表示画面S43は、置数123の入力が終
了した場合の画面を示している。数値部には123が表
示されるが、カウンタ部に表示される値は変化しない。
Xレジスタ13aには、123が格納される。表示カ
ウンタ13cは1を維持し、演算子レジスタ13fと、
Yレジスタ13bと、内部カウンタ13dとは前の値、
すなわち0を維持する。
The display screen S43 shows a screen when the input of the numeral 123 is completed. Although 123 is displayed in the numerical value section, the value displayed in the counter section does not change.
123 is stored in the X register 13a. The display counter 13c maintains 1, and the operator register 13f and
The Y register 13b and the internal counter 13d have the previous value,
That is, 0 is maintained.

【0094】表示画面S44は、演算子として、[×]
が入力された場合の画面を示している。この場合、 Y
レジスタ13bには、Xレジスタ13aに格納されてい
た値123が格納され、 Xレジスタ13aは123を
維持する。また、数値部およびカウンタ部に表示される
値は変化しない。 表示カウンタ13cは1を維持す
る。演算子レジスタ13fには、×が格納される。演算
子が入力されたため、内部カウンタ13dには、1が格
納される。
The display screen S44 displays [×] as an operator.
Shows a screen in the case where is input. In this case, Y
The value 123 stored in the X register 13a is stored in the register 13b, and the X register 13a maintains the value 123. Further, the values displayed on the numerical value part and the counter part do not change. The display counter 13c maintains 1. X is stored in the operator register 13f. Since the operator is input, 1 is stored in the internal counter 13d.

【0095】表示画面S45は、被演算数として、置数
4の入力が終了した場合の画面を示している。この場
合、カウンタ部には02が表示され、数値部には4が表
示される。この場合、Xレジスタ13aには、4が格納
される。表示カウンタ13cには、2が格納される。Y
レジスタ13bと、演算子レジスタ13fと、内部カウ
ンタ13dとは前の値を維持する。
[0095] The display screen S45 shows a screen when the input of the numeral 4 as the operand is completed. In this case, 02 is displayed on the counter section and 4 is displayed on the numerical value section. In this case, 4 is stored in the X register 13a. 2 is stored in the display counter 13c. Y
The register 13b, the operator register 13f, and the internal counter 13d maintain the previous values.

【0096】表示画面S46は、演算子として、[×]
が入力された場合の画面を示している。この場合、数値
部には、演算結果を示す値492が表示される。カウン
タ部に表示される値は変化しない。Xレジスタ13aに
は、演算結果を示す値492が格納され、内部カウンタ
13dには、2が格納される。Yレジスタ13bは前の
値123を維持し、表示カウンタ13cは前の値2を維
持する。演算子レジスタ13fは、前の値×を維持す
る。
The display screen S46 displays [×]
Shows a screen in the case where is input. In this case, a value 492 indicating the calculation result is displayed in the numerical value part. The value displayed on the counter does not change. A value 492 indicating the operation result is stored in the X register 13a, and 2 is stored in the internal counter 13d. The Y register 13b maintains the previous value 123, and the display counter 13c maintains the previous value 2. The operator register 13f maintains the previous value x.

【0097】表示画面S47は、被演算数として、置数
5の入力が終了した場合の画面を示している。この場
合、カウンタ部には03が表示され、数値部には5が表
示される。Yレジスタ13bには、Xレジスタ13aに
格納されていた値492が格納され、Xレジスタ13a
には、5が格納される。表示カウンタ13cには、3が
格納される。演算子レジスタ13fと、内部カウンタ1
3dとは前の値を維持する。
The display screen S47 shows a screen when the input of the numeral 5 as the operand is completed. In this case, 03 is displayed on the counter section, and 5 is displayed on the numerical value section. The value 492 stored in the X register 13a is stored in the Y register 13b.
Is stored as 5. 3 is stored in the display counter 13c. Operator register 13f and internal counter 1
3d maintains the previous value.

【0098】表示画面S48は、演算結果を求めるため
に計算結果キー[=]の入力が終了した場合の画面を示
している。数値部には、演算結果を示す2460が表示
され、カウンタ部に表示される値は変化しない。この場
合、Xレジスタ13aには、演算結果を示す値2460
が格納され、内部カウンタ13dには、3が格納され
る。Yレジスタ13bは前の値492を維持し、表示カ
ウンタ13cは前の値3を維持する。演算子レジスタ1
3fは、前の値×を維持する。
The display screen S48 shows the screen when the input of the calculation result key [=] for obtaining the calculation result is completed. 2460 indicating the calculation result is displayed in the numerical value part, and the value displayed in the counter part does not change. In this case, the value 2460 indicating the operation result is stored in the X register 13a.
Is stored, and 3 is stored in the internal counter 13d. The Y register 13b maintains the previous value 492, and the display counter 13c maintains the previous value 3. Operator register 1
3f maintains the previous value x.

【0099】表示画面S49は、上述した演算に続き、
被演算数として、置数10の入力が終了した場合の画面
を示している。この場合、カウンタ部には01が表示さ
れ、数値部には10が表示される。Xレジスタ13aに
は、10が格納され、表示カウンタ13cには、1が格
納される。 Yレジスタ13bは前の値492を維持
し、内部カウンタ13dは前の値3を維持し、演算子レ
ジスタ13fは前の値×を維持する。
The display screen S49 is displayed following the above-described calculation.
The screen when the input of the numeral 10 as the operand is completed is shown. In this case, 01 is displayed on the counter portion and 10 is displayed on the numerical value portion. The X register 13a stores 10 and the display counter 13c stores 1. The Y register 13b maintains the previous value 492, the internal counter 13d maintains the previous value 3, and the operator register 13f maintains the previous value x.

【0100】表示画面S50は、演算結果を求めるため
に計算結果キー[=]の入力が終了した場合の画面を示
している。数値部には、演算結果を示す4920が表示
され、カウンタ部には、03が表示される。この場合、
Xレジスタ13aには、演算結果を示す値4920が格
納され、内部カウンタ13dは、前の値3を維持してい
る。表示カウンタ13cには、内部カウンタ13dに格
納されている値を格納する。Yレジスタ13bは前の値
492を維持し、演算子レジスタ13fは、前の値×を
維持する。
The display screen S50 shows a screen when the input of the calculation result key [=] for obtaining the calculation result is completed. 4920 indicating the calculation result is displayed in the numerical value portion, and 03 is displayed in the counter portion. in this case,
A value 4920 indicating the operation result is stored in the X register 13a, and the internal counter 13d maintains the previous value of 3. The value stored in the internal counter 13d is stored in the display counter 13c. The Y register 13b maintains the previous value 492, and the operator register 13f maintains the previous value x.

【0101】本発明の電子卓上計算機の表示器2が、上
述した表示画面S41から表示画面S50を表示する場
合を含む本発明の電子卓上計算機の動作を、図10を用
いて説明する。図10は、本発明の電子卓上計算機の状
態遷移の一例を示している。
The operation of the electronic desk calculator of the present invention including the case where the display 2 of the electronic desk calculator of the present invention displays the display screen S50 from the display screen S41 described above will be described with reference to FIG. FIG. 10 shows an example of the state transition of the electronic desk calculator of the present invention.

【0102】ユーザが、電源スイッチをオン状態にす
る、またはクリア[C]を押すことにより、本発明の電
子卓上計算機は初期状態に設定される。Xレジスタ13
aと、演算子レジスタ13fと、Yレジスタ13bと、
表示カウンタ13cと、内部カウンタ13dとに格納さ
れている値は、それぞれ0である。なお、演算子レジス
タ13fおよびYレジスタ13bに格納される値は、0
以外の任意の値であってもよい。
When the user turns on the power switch or presses clear [C], the electronic desk calculator of the present invention is set to the initial state. X register 13
a, an operator register 13f, a Y register 13b,
The values stored in the display counter 13c and the internal counter 13d are 0, respectively. The values stored in the operator register 13f and the Y register 13b are 0
It may be any value other than.

【0103】数値キーが押されると、その数値キーに対
応する信号が生成される。制御器11は、数値キーによ
って生成された信号を受け取る。その生成された信号に
応答して、初期状態60は、パス80を通り置数状態6
1に遷移する。このことにより、制御器11が表示カウ
ンタ13cに保持されている値を1つ増加させる。具体
的には、制御器11が表示カウンタ13cの値を呼び出
し、表示カウンタ13cの値を1つ増加させ、増加させ
た値を表示カウンタ13cに格納する。制御器11は、
数値キーに対応する数値をXレジスタ13aに格納す
る。また、このような遷移に応答して、表示器2の数値
部は、Xレジスタ13aに格納されている値を表示す
る。また、表示器2のカウンタ部には、表示カウンタ1
3cに格納されている値が表示される。演算子レジスタ
13fと、Yレジスタ13bと、内部カウンタ13dと
は、状態が遷移する前、すなわち0を維持する。
When a numeric key is pressed, a signal corresponding to the numeric key is generated. The controller 11 receives the signal generated by the numeric key. In response to the generated signal, the initial state 60 passes through the path 80 and the number state 6
Transitions to 1. As a result, the controller 11 increases the value held in the display counter 13c by one. Specifically, the controller 11 calls the value of the display counter 13c, increases the value of the display counter 13c by one, and stores the increased value in the display counter 13c. The controller 11
The numerical value corresponding to the numerical key is stored in the X register 13a. Further, in response to such a transition, the numerical value portion of the display 2 displays the value stored in the X register 13a. The display unit 1 includes a display counter 1
The value stored in 3c is displayed. The operator register 13f, the Y register 13b, and the internal counter 13d maintain 0 before the state transition, that is, 0.

【0104】数値キーが押されると、上述したように制
御器11は、数値キーによって生成された信号を受け取
る。その生成された信号に応答して、置数状態61は、
パス81を通り置数状態61に遷移する。制御器11が
Xレジスタ13aに格納されている値を呼び出し、呼び
出した値を10倍する。さらに、制御器11は、10倍
した値と数値キーに対応する数置とを加算し、加算した
値をXレジスタ13aに格納する。表示器2の数値部
は、Xレジスタ13aに格納されている値を表示する。
表示器2は、表示カウンタ13cに格納されている値を
表示する。演算子レジスタ13fと、Yレジスタ13b
と、内部カウンタ13dとは、状態が遷移する前の値を
維持する。
When the numeric key is pressed, the controller 11 receives the signal generated by the numeric key as described above. In response to the generated signal, the numeric state 61
The state transits to the number state 61 through the path 81. The controller 11 calls the value stored in the X register 13a and multiplies the called value by ten. Further, the controller 11 adds the multiplied value by 10 and the numeral corresponding to the numerical key, and stores the added value in the X register 13a. The numerical part of the display 2 displays the value stored in the X register 13a.
The display 2 displays the value stored in the display counter 13c. Operator register 13f and Y register 13b
And the internal counter 13d maintain the value before the state transition.

【0105】2項演算子キーが押されると、その2項演
算子キーに対応する信号が生成される。制御器11は、
2項演算子によって生成された信号を受け取る。その生
成された信号に応答して、置数状態61は、パス82を
通り2項演算状態62に遷移する。このことにより、制
御器11は、2項演算子キーに対応する演算子を演算子
レジスタに格納し、Xレジスタ13aに格納されている
値を呼び出し、呼び出した値をYレジスタ13bに格納
する。また、2項演算状態62において表示器2に表示
される値は、置数状態61において表示器2に表示され
た値と同じである。Xレジスタ13a、および表示カウ
ンタ13cは状態が遷移する前の値を維持する。制御器
11は2項演算子キーが押されたことを検知すると、制
御器11が内部カウンタ13dに保持されている値を1
つ増加させる。具体的には、制御器11が内部カウンタ
13dの値を呼び出し、内部カウンタ13dの値を1つ
増加させ、増加させた値を内部カウンタ13dに格納す
る。
When a binary operator key is pressed, a signal corresponding to the binary operator key is generated. The controller 11
Receive the signal generated by the binary operator. In response to the generated signal, the numeral state 61 transits to the binary operation state 62 via the path 82. Thus, the controller 11 stores the operator corresponding to the binary operator key in the operator register, calls the value stored in the X register 13a, and stores the called value in the Y register 13b. The value displayed on the display 2 in the binary operation state 62 is the same as the value displayed on the display 2 in the numeral state 61. The X register 13a and the display counter 13c maintain the values before the state transition. When the controller 11 detects that the binary operator key has been pressed, the controller 11 sets the value held in the internal counter 13 d to 1.
One. Specifically, the controller 11 calls the value of the internal counter 13d, increases the value of the internal counter 13d by one, and stores the increased value in the internal counter 13d.

【0106】数値キーが押されると、上述したように制
御器11は、数値キーによって生成された信号を受け取
る。その生成された信号に応答して、2項演算状態62
は、パス83を通り置数状態61に遷移する。このこと
により、制御器11が、表示カウンタ13cに保持され
ている値を1つ増加させ、表示器2は、表示カウンタ1
3cの値を表示する。制御器11は、数値キーに対応す
る数値をXレジスタ13aに格納する。表示器2は、X
レジスタ13aの値を表示する。演算子レジスタ13f
と、Yレジスタ13bと、内部カウンタ13dとは、状
態が遷移する前の値を維持する。
When the numeric key is pressed, the controller 11 receives the signal generated by the numeric key as described above. In response to the generated signal, the binary operation state 62
Transits to the number state 61 through the path 83. As a result, the controller 11 increases the value held in the display counter 13c by one, and the display 2
Display the value of 3c. The controller 11 stores a numerical value corresponding to the numerical key in the X register 13a. The display 2 has X
The value of the register 13a is displayed. Operator register 13f
, The Y register 13b, and the internal counter 13d maintain the values before the state transition.

【0107】計算結果キー[=]が押されると、その計
算結果キー[=]に対応する信号が生成される。制御器
11は、計算結果キー[=]によって生成された信号を
受け取る。その生成された信号に応答して、置数状態6
1は、パス84を通り演算終了状態63に遷移する。こ
のことにより、2項演算子キーが押される前に入力され
た置数と、その2項演算子キーが押された後の置数と
が、その2項演算子の関係に基づいて、演算される。演
算された結果は、表示器2の数値部に表示される。制御
器11が計算結果キー[=]が押されたことを検知する
と、制御器11が内部カウンタ13dに保持されている
値を1つ増加させる。なお、制御器11が、表示カウン
タ13cに格納されている値を呼び出し、呼び出した値
を内部カウンタ13dに格納してもよい。また、表示カ
ウンタ13cは、状態が遷移する前の値を維持してい
る。表示器2は、Xレジスタ13aの値および表示カウ
ンタ13cの値を表示する。なお、演算子レジスタ13
fと、Yレジスタ13bと、表示カウンタ13cとは、
状態が遷移する前の値を維持する。
When the calculation result key [=] is pressed, a signal corresponding to the calculation result key [=] is generated. The controller 11 receives a signal generated by the calculation result key [=]. In response to the generated signal, the number state 6
1 changes to the operation end state 63 through the path 84. As a result, the numeric value input before the binary operator key is pressed and the numeric value after the binary operator key is pressed are calculated based on the relation of the binary operator. Is done. The calculated result is displayed on the numerical value section of the display device 2. When the controller 11 detects that the calculation result key [=] has been pressed, the controller 11 increases the value held in the internal counter 13d by one. Note that the controller 11 may call the value stored in the display counter 13c and store the called value in the internal counter 13d. Further, the display counter 13c maintains the value before the state transition. The display 2 displays the value of the X register 13a and the value of the display counter 13c. The operator register 13
f, the Y register 13b, and the display counter 13c,
Maintain the value before the state transition.

【0108】数値キーが押されると、上述したように制
御器11は、数値キーによって生成された信号を受け取
る。その生成された信号に応答して、演算終了状態63
は、パス87を通り置数状態64に遷移する。このこと
により、制御器11が、表示カウンタ13cをクリア
し、さらに表示カウンタ13cに保持されている値を1
つ増加させる。制御器11は、押された数値キーに対応
する値をXレジスタ13aに格納する。Yレジスタ13
b、内部カウンタ13d、および演算子レジスタ13f
は状態が遷移する前の値を維持する。
When a numeric key is pressed, the controller 11 receives a signal generated by the numeric key as described above. In response to the generated signal, an operation end state 63
Transits to the number state 64 through the path 87. As a result, the controller 11 clears the display counter 13c and further sets the value held in the display counter 13c to 1
One. The controller 11 stores a value corresponding to the pressed numeric key in the X register 13a. Y register 13
b, internal counter 13d, and operator register 13f
Maintains the value before the state transition.

【0109】計算結果キー[=]が押されると、その計
算結果キー[=]に対応する信号が生成される。制御器
11は、計算結果キー[=]によって生成された信号を
受け取る。その生成された信号に応答して、置数状態6
4は、パス89を通り演算終了状態63に遷移する。こ
のことにより、Xレジスタ13aに格納されている値
と、Yレジスタ13bに格納されている値が、演算子レ
ジスタに格納されている演算子の関係に基づいて、演算
される。制御器11は、演算された結果をXレジスタ1
3aに格納する。さらに、制御器11は、内部カウンタ
13dの値を呼び出し、呼び出した値を表示カウンタ1
3cに格納する。表示器2は、Xレジスタ13aの値お
よび表示レジスタの値を表示する。なお、Yレジスタ1
3b、演算子レジスタ、および内部レジスタは、状態が
遷移する前の値を維持している。
When the calculation result key [=] is pressed, a signal corresponding to the calculation result key [=] is generated. The controller 11 receives a signal generated by the calculation result key [=]. In response to the generated signal, the number state 6
4 transitions to the operation end state 63 through the path 89. As a result, the value stored in the X register 13a and the value stored in the Y register 13b are calculated based on the relationship between the operators stored in the operator registers. The controller 11 stores the calculated result in the X register 1
3a. Further, the controller 11 calls the value of the internal counter 13d and displays the called value on the display counter 1.
3c. The display 2 displays the value of the X register 13a and the value of the display register. Note that the Y register 1
3b, the operator register, and the internal register maintain the values before the state transition.

【0110】また、置数状態64で数値キーが押される
と、置数状態64は、パス88を通り置数状態64に遷
移する。このような遷移による各レジスタおよび各カウ
ンタの変化は、置数状態61がパス81を通り置数状態
61に遷移した場合の各レジスタおよび各カウンタの変
化と同じであるため、説明を省略する。
When the numeric key is pressed in the numeral state 64, the numeral state 64 transits to the numeral state 64 via the path 88. The change of each register and each counter due to such a transition is the same as the change of each register and each counter when the number state 61 transits to the number state 61 through the path 81, and thus the description is omitted.

【0111】また、置数状態64で2項演算子キーが押
されると、置数状態64は、パス90を通り2項演算子
状態62に遷移する。このことにより、制御器11は、
2項演算子キーに対応する演算子を演算子レジスタに格
納する。2項演算状態62において表示器2に表示され
る値は、置数状態64において表示器2に表示された値
と同じである。Xレジスタ13a、および表示カウンタ
13cは状態が遷移する前の値を維持する。制御器11
は2項演算子キーが押されたことを検知すると、制御器
11は、内部カウンタ13dに保持されている値を1つ
増加させ、Xレジスタ13aに格納されている値を呼び
出し、呼び出した値をYレジスタ13bに格納する。
When the binary operator key is pressed in the numeral state 64, the numeral state 64 transits to the binary operator state 62 via the path 90. Thus, the controller 11
The operator corresponding to the binary operator key is stored in the operator register. The value displayed on the display 2 in the binary operation state 62 is the same as the value displayed on the display 2 in the numeral state 64. The X register 13a and the display counter 13c maintain the values before the state transition. Controller 11
When the controller 11 detects that the binary operator key is pressed, the controller 11 increments the value held in the internal counter 13d by one, calls the value stored in the X register 13a, and calls the called value Is stored in the Y register 13b.

【0112】また、演算終了状態63で2項演算子キー
が押されると、演算終了状態63は、パス86を通り2
項演算状態62に遷移する。このことにより、制御器1
1は、2項演算子キーに対応する演算子を演算子レジス
タに格納する。2項演算状態62において表示器2に表
示される値は、演算終了状態63において表示器2に表
示された値と同じである。Xレジスタ13a、表示カウ
ンタ13c、およびYレジスタ13bは状態が遷移する
前の値を維持する。制御器11は2項演算子キーが押さ
れたことを検知すると、制御器11が内部カウンタ13
dに保持されている値を1つ増加させる。
When the binary operator key is pressed in the operation end state 63, the operation end state 63
The state transits to the term operation state 62. This allows the controller 1
1 stores the operator corresponding to the binary operator key in the operator register. The value displayed on the display 2 in the binomial calculation state 62 is the same as the value displayed on the display 2 in the calculation end state 63. The X register 13a, the display counter 13c, and the Y register 13b maintain the values before the state transition. When the controller 11 detects that the binary operator key is pressed, the controller 11 sets the internal counter 13
Increment the value held in d by one.

【0113】図25は、計算結果キー[=][%]等が
入力された場合のカウンタの動作の一例を示すフローチ
ャートである。
FIG. 25 is a flowchart showing an example of the operation of the counter when a calculation result key [=] [%] or the like is input.

【0114】ステップN41では、制御器11が、計算
結果キーが押される前に、数値キーが押されたか否かを
判断する。計算結果キーが押される直前に、数値キーが
押された場合には、ステップN43に進む。そうでない
場合には、ステップN42に進む。
At step N41, the controller 11 determines whether or not the numerical key is pressed before the calculation result key is pressed. If the numeric key is pressed immediately before the calculation result key is pressed, the process proceeds to step N43. Otherwise, the process proceeds to step N42.

【0115】ステップN42では、制御器11は、省略
された置数または直前の計算結果キーのカウントを行う
ため、表示カウンタ13cを1つ増加させる。
In step N42, the controller 11 increments the display counter 13c by one in order to count the omitted numeric value or the immediately preceding calculation result key.

【0116】ステップN43では、制御器11が、計算
結果キーが押される前に、2項演算子キーが押されたか
否かを判断する。計算結果キーが押される前に、2項演
算子キーが押された場合には、ステップN44に進む。
そうでない場合には、ステップN45に進む。
At step N43, the controller 11 determines whether or not the binary operator key is pressed before the calculation result key is pressed. If the binary operator key is pressed before the calculation result key is pressed, the process proceeds to step N44.
Otherwise, the process proceeds to step N45.

【0117】ステップN44では、表示器2に表示され
ているカウント数を実際のカウント数として確定するた
め、制御器11は、表示カウンタ13cの値を内部カウ
ンタ13dに格納する。
In step N44, the controller 11 stores the value of the display counter 13c in the internal counter 13d to determine the count displayed on the display 2 as the actual count.

【0118】ステップN45では、制御器11は、演算
数を保持しておく定数計算であるか否かを判断する。演
算数を保持しておく定数計算である場合、ステップN4
7に進む。そうでない場合には、ステップN6に進む。
In step N45, the controller 11 determines whether or not the calculation is a constant calculation for holding the number of operations. If the calculation is a constant calculation that holds the number of operations, step N4
Go to 7. Otherwise, the process proceeds to Step N6.

【0119】ステップN46では、制御器11は、内部
カウンタ13dの値を表示カウンタ13cに格納する。
At Step N46, the controller 11 stores the value of the internal counter 13d in the display counter 13c.

【0120】ステップN47では、制御器11は、表示
カウンタ13cに2を格納する。このことは、”置数、
保持されている演算子、保持されている演算数”と式を
入力したのと同等の定数計算を行うことを意味する。
At step N47, the controller 11 stores 2 in the display counter 13c. This means "numerals,
This means that a constant calculation equivalent to inputting an expression of "retained operator, retained operation number" is performed.

【0121】なお、演算実行直後であれば、ステップN
41の前に、表示カウンタ13cをクリアし、1つ増加
させるステップN40を追加してもよい。
If the operation has just been performed, step N
Before step 41, a step N40 of clearing the display counter 13c and increasing the counter by one may be added.

【0122】(実施の形態3)実施の形態3の電子卓上
計算機1は、表示器2と、キーボード3と、制御器11
と、ROM12と、RAM13とを備えている。
(Embodiment 3) An electronic desk calculator 1 according to Embodiment 3 includes a display 2, a keyboard 3, and a controller 11
, A ROM 12, and a RAM 13.

【0123】表示器2には、置数および演算結果と、表
示カウンタ13cの値とが表示される。表示器2は、液
晶表示装置であってもよい。
The display 2 displays the numbers and the calculation results and the value of the display counter 13c. The display 2 may be a liquid crystal display device.

【0124】キーボード3は、置数を行うための数値キ
ーと、小数点キーと、演算子キーと、[=]等の計算結
果キーと、税込み金額および税額を求める場合に押され
るキー[税込]を備えている。
The keyboard 3 includes a numeric key for performing a numeric input, a decimal point key, an operator key, a calculation result key such as [=], and a key [tax included] which is pressed when obtaining the tax-inclusive amount and the tax amount. It has.

【0125】キーボード3の中のあるキーが押される
と、あるキーに対応する信号が制御器11に出力され
る。制御器11は、キーボード3からの信号を受け取
り、キーボード3の中のどのキーが押されたかを判断す
る。制御器11は、四則演算等を含む計算処理、表示カ
ウンタ13cおよび内部カウンタ13dの計数処理、検
算時の比較処理、および結果の表示処理などを行う。
When a key on the keyboard 3 is pressed, a signal corresponding to the key is output to the controller 11. The controller 11 receives a signal from the keyboard 3 and determines which key in the keyboard 3 has been pressed. The controller 11 performs calculation processing including four arithmetic operations, counting processing of the display counter 13c and the internal counter 13d, comparison processing at the time of verification, display processing of results, and the like.

【0126】ROM12は、上述した処理を行うための
プログラム、およびコンピュータグラフィクを行うため
のプログラムなどを記憶している。
The ROM 12 stores a program for performing the above-described processing, a program for performing computer graphics, and the like.

【0127】RAM13は、演算子キー(+、−、×、
÷など)に対応する演算子を格納する演算子レジスタ1
3fと、表示カウンタ13cとを備えている。
The RAM 13 stores operator keys (+,-, ×,
Operator register 1 for storing the operator corresponding to (÷)
3f and a display counter 13c.

【0128】なお、 実施の形態3のRAM13は、実
施の形態2のRAM13と同様にXレジスタ13a、Y
レジスタ13b、および内部カウンタ13dを備えてい
てもよい。
The RAM 13 according to the third embodiment has the same X registers 13a and Y as the RAM 13 according to the second embodiment.
A register 13b and an internal counter 13d may be provided.

【0129】実施の形態3の電子卓上計算機の動作の一
例を図11を用いて説明する。図11は、実施の形態3
の表示器2の表示画面の遷移と、キーボード3により入
力されたデータとの関係とを示している。
An example of the operation of the electronic desk calculator according to the third embodiment will be described with reference to FIG. FIG. 11 shows Embodiment 3
5 shows the transition of the display screen of the display 2 and the relationship with the data input by the keyboard 3.

【0130】表示画面S51は、表示器2の初期画面で
ある。カウンタ部に00が表示され、数値部に0が表示
される。
The display screen S51 is an initial screen of the display 2. 00 is displayed in the counter section and 0 is displayed in the numerical section.

【0131】表示画面S52は、置数100が入力さ
れ、キー[税込]が押された後の表示画面を示してい
る。表示画面には、置数100に対する税込額103が
数値部に表示され、カウンタ部には、01が表示され
る。
[0131] The display screen S52 shows the display screen after the numeral 100 is input and the key [tax] is pressed. On the display screen, the tax-included amount 103 with respect to the numeral 100 is displayed in the numerical value portion, and 01 is displayed in the counter portion.

【0132】表示画面S53は、さらに、キー[税込]
が押された後の表示画面を示している。表示画面には、
置数100に対する税額3が数値部に表示され、カウン
タ部には、02が表示される。
The display screen S53 further displays a key [tax included].
9 shows the display screen after is pressed. On the display screen,
The tax amount 3 with respect to the numeral 100 is displayed in the numerical portion, and 02 is displayed in the counter portion.

【0133】表示画面S54は、さらに、キー[税込]
が押された後の表示画面を示している。表示画面には、
置数100に対する税込額103が数値部に表示され、
カウンタ部には、01が表示される。
The display screen S54 further includes a key [tax included].
9 shows the display screen after is pressed. On the display screen,
The tax-included amount 103 for the number of entries 100 is displayed in the numerical part,
01 is displayed on the counter section.

【0134】本発明の電子卓上計算機の表示器2が、上
述した表示画面S51から表示画面S54を表示する場
合を含む本発明の電子卓上計算機の動作を、図12を用
いて説明する。図12は、本発明の電子卓上計算機の状
態遷移の一例を示している。
The operation of the electronic desk calculator of the present invention including the case where the display 2 of the electronic desk calculator of the present invention displays the display screen S54 from the display screen S51 will be described with reference to FIG. FIG. 12 shows an example of the state transition of the electronic desk calculator of the present invention.

【0135】ユーザが、電源スイッチをオン状態にす
る、またはクリア[C]を押すことにより、本発明の電
子卓上計算機は初期状態に設定される。
When the user turns on the power switch or presses clear [C], the electronic desk calculator of the present invention is set to the initial state.

【0136】数値キーが押されると、その数値キーに対
応する信号が生成される。制御器11は、数値キーによ
って生成された信号を受け取る。その生成された信号に
応答して、初期状態60は、パス80を通り置数状態6
1に遷移する。このことにより、制御器11が表示カウ
ンタ13cに保持されている値を1つ増加させる。具体
的には、制御器11が表示カウンタ13cの値を呼び出
し、表示カウンタ13cの値を1つ増加させ、増加させ
た値を表示カウンタ13cに格納する。また、このよう
な遷移に応答して、制御器11は、数値キーによって生
成された信号を表示器2に出力する。表示器2の数値部
は、数値キーによって生成された信号に基づいて、数値
キーに対応する数字を表示する。また、表示器2のカウ
ンタ部には、表示カウンタ13cに格納されている値が
表示される。
When a numeric key is pressed, a signal corresponding to the numeric key is generated. The controller 11 receives the signal generated by the numeric key. In response to the generated signal, the initial state 60 passes through the path 80 and the number state 6
Transitions to 1. As a result, the controller 11 increases the value held in the display counter 13c by one. Specifically, the controller 11 calls the value of the display counter 13c, increases the value of the display counter 13c by one, and stores the increased value in the display counter 13c. Further, in response to such a transition, the controller 11 outputs a signal generated by the numerical keys to the display 2. The numeric portion of the display 2 displays a number corresponding to the numeric key based on a signal generated by the numeric key. The value stored in the display counter 13c is displayed on the counter section of the display device 2.

【0137】数値キーが押されると、上述したように制
御器11は、数値キーによって生成された信号を受け取
る。その生成された信号に応答して、置数状態61は、
パス81を通り置数状態61に遷移する。このことによ
り、制御器11が数値キーによって生成された信号を表
示器2に出力する。表示器2の数値部には、その信号に
基づいて、数値キーに対応する数字がさらに表示され
る。なお、表示カウンタ13cは、それ自身が保持して
いる値を維持しているため、表示器2のカウンタ部に表
示されている値は変化しない。
When the numeric key is pressed, the controller 11 receives the signal generated by the numeric key as described above. In response to the generated signal, the numeric state 61
The state transits to the number state 61 through the path 81. As a result, the controller 11 outputs a signal generated by the numerical keys to the display 2. In the numerical portion of the display 2, a number corresponding to the numerical key is further displayed based on the signal. Since the display counter 13c maintains the value held by itself, the value displayed on the counter unit of the display 2 does not change.

【0138】キー[税込]が押されると、そのキー[税
込]に対応する信号が生成される。制御器11は、キー
[税込]によって生成された信号を受け取る。その生成
された信号に応答して、置数状態61は、パス91を通
り税込状態65に遷移する。このことにより、制御器1
1は、数値キーにより入力された置数に対する税込額お
よび税額を演算する。具体的には、制御器11は、税込
額を求めるために、数値キーにより入力された置数を
1.03倍する。制御器11は、税額を求めるために、
数値キーにより入力された置数を0.03倍する。制御
器11は、上記演算結果を保持する。次に、制御器11
は、1を表示カウンタ13cに格納する。表示器2は、
1.03倍した値と、表示カウンタ13cに格納されて
いる値を表示する。
When a key [tax included] is pressed, a signal corresponding to the key [tax included] is generated. The controller 11 receives the signal generated by the key [tax included]. In response to the generated signal, the numeral state 61 transits to the tax-inclusive state 65 through the path 91. This allows the controller 1
1 calculates the tax-included amount and the tax amount for the number entered by the numerical keys. Specifically, the controller 11 multiplies the number input by the numerical keys by 1.03 in order to obtain the tax included amount. The controller 11 calculates the tax amount by:
Multiply the input number by the numerical keys by 0.03. The controller 11 holds the calculation result. Next, the controller 11
Stores 1 in the display counter 13c. Display 2
The value multiplied by 1.03 and the value stored in the display counter 13c are displayed.

【0139】さらに、キー[税込]が押されると、上述
したように、そのキー[税込]に対応する信号に応答し
て、税込状態65は、パス92を通り税額状態66に遷
移する。このことにより、制御器11は、2を表示カウ
ンタ13cに格納する。表示器2は、すでに計算され
た、置数を0.03倍した値と、表示カウンタ13cに
格納されている値を表示する。
Further, when the key [tax included] is pressed, the tax included state 65 transits to the tax amount state 66 through the path 92 in response to the signal corresponding to the key [tax included] as described above. As a result, the controller 11 stores 2 in the display counter 13c. The display 2 displays the already calculated value obtained by multiplying the set number by 0.03 and the value stored in the display counter 13c.

【0140】さらに、キー[税込]が押されると、上述
したように、そのキー[税込]に対応する信号に応答し
て、税額状態66は、パス93を通り税込状態65に遷
移する。このことにより、制御器11は、1を表示カウ
ンタ13cに格納する。表示器2は、すでに計算され
た、置数を1.03倍した値と、表示カウンタ13cに
格納されている値とを表示する。
Further, when the key [tax included] is pressed, the tax amount state 66 transits to the tax included state 65 through the path 93 in response to the signal corresponding to the key [tax included] as described above. As a result, the controller 11 stores 1 in the display counter 13c. The display 2 displays the value calculated by multiplying the set number by 1.03 and the value stored in the display counter 13c.

【0141】[税込]を交互に押すことにより、税額と
税込額とを交互に表示器2の数値部に表示することがで
きる。
By pressing [tax included] alternately, the tax amount and the tax included amount can be alternately displayed on the numerical value portion of the display 2.

【0142】なお、 実施の形態3のRAM13が、 X
レジスタ13a、Yレジスタ13b、および内部カウン
タ13dを備えている場合には、実施の形態3の電子卓
上計算機は、実施の形態2の電子卓上計算機と同様に動
作する。
Note that the RAM 13 of the third embodiment is
If the electronic desk calculator of the third embodiment has the register 13a, the Y register 13b, and the internal counter 13d, it operates in the same manner as the electronic desk calculator of the second embodiment.

【0143】実施の形態3の電子卓上計算機が内部カウ
ンタ13dさらに備えている場合の動作を以下に説明す
る。図28は、キー[税込]等の同一キーが入力された
場合のカウンタの動作の一例を示すフローチャートであ
る。
The operation in the case where the electronic desk calculator of the third embodiment further includes the internal counter 13d will be described below. FIG. 28 is a flowchart showing an example of the operation of the counter when the same key such as the key [tax included] is input.

【0144】ステップN71では、制御器11が、表示
器2に表示されている値が最初の計算結果であるか否か
を判断する。表示器2に表示されている値が最初の計算
結果である場合には、ステップN72に進む。そうでな
い場合には、ステップN73に進む。
At step N71, the controller 11 determines whether or not the value displayed on the display 2 is the first calculation result. If the value displayed on the display 2 is the first calculation result, the process proceeds to step N72. Otherwise, the process proceeds to step N73.

【0145】ステップN72では、制御器11が、表示
カウンタ13cをこの演算子キーが押される以前の状態
に戻す。電子卓上計算機が内部カウンタ13dを有する
場合には、制御器11が、内部カウンタ13dの値を表
示カウンタ13cに格納してもよい。また、キー[税
込]によって表示される値が2つである場合には、制御
器11が、表示カウンタ13cの値から2を引いてもよ
い。
At step N72, the controller 11 returns the display counter 13c to the state before the operator key was pressed. When the electronic desk calculator has the internal counter 13d, the controller 11 may store the value of the internal counter 13d in the display counter 13c. When two values are displayed by the key [tax included], the controller 11 may subtract 2 from the value of the display counter 13c.

【0146】ステップN73では、後述する図24に示
すステップN31〜ステップN33が行われる。
At step N73, steps N31 to N33 shown in FIG. 24 to be described later are performed.

【0147】なお、演算実行直後であれば、ステップN
71の前に、表示カウンタ13cをクリアし、1つ増加
させるステップN70を追加してもよい。
If the operation has just been performed, step N
Before step 71, a step N70 of clearing the display counter 13c and increasing the counter by one may be added.

【0148】(実施の形態4)実施の形態4の電子卓上
計算機1は、表示器2と、キーボード3と、制御器11
と、ROM12と、RAM13とを備えている。
(Embodiment 4) The electronic desk calculator 1 of the embodiment 4 comprises a display 2, a keyboard 3, and a controller 11.
, A ROM 12, and a RAM 13.

【0149】表示器2には、置数および演算結果と、表
示カウンタ13cの値とが表示される。表示器2は、液
晶表示装置であってもよい。
[0149] The display 2 displays the numbers and the calculation results and the value of the display counter 13c. The display 2 may be a liquid crystal display device.

【0150】キーボード3は、置数を行うための数値キ
ーと、小数点キーと、演算子キーと、[=]等の計算結
果キーと、税込み金額および税額を求める場合に押され
るキー[税込]を備えている。
The keyboard 3 includes a numeric key for performing a numeric input, a decimal point key, an operator key, a calculation result key such as [=], and a key [tax included] which is depressed when obtaining the tax-inclusive amount and the tax amount. It has.

【0151】キーボード3の中のあるキーが押される
と、あるキーに対応する信号が制御器11に出力され
る。制御器11は、キーボード3からの信号を受け取
り、キーボード3の中のどのキーが押されたかを判断す
る。制御器11は、四則演算等を含む計算処理、表示カ
ウンタ13cおよび内部カウンタ13dの計数処理、検
算時の比較処理、および結果の表示処理などを行う。
When a key on the keyboard 3 is pressed, a signal corresponding to the key is output to the controller 11. The controller 11 receives a signal from the keyboard 3 and determines which key in the keyboard 3 has been pressed. The controller 11 performs calculation processing including four arithmetic operations, counting processing of the display counter 13c and the internal counter 13d, comparison processing at the time of verification, display processing of results, and the like.

【0152】ROM12は、上述した処理を行うための
プログラム、およびコンピュータグラフィクを行うため
のプログラムなどを記憶している。
The ROM 12 stores a program for performing the above-described processing, a program for performing computer graphics, and the like.

【0153】RAM13は、演算子キー(+、−、×、
÷など)に対応する演算子を格納する演算子レジスタ1
3fと、置数の数を記憶する表示カウンタ13cとを備
えている。
The RAM 13 stores operator keys (+,-, ×,
Operator register 1 for storing the operator corresponding to (÷)
3f and a display counter 13c for storing the number of digits.

【0154】なお、 実施の形態4のRAM13は、実
施の形態2のRAM13と同様にXレジスタ13a、Y
レジスタ13b、および内部カウンタ13dを備えてい
てもよい。
It should be noted that the RAM 13 of the fourth embodiment is similar to the RAM 13 of the second embodiment in that the X registers 13a and Y
A register 13b and an internal counter 13d may be provided.

【0155】実施の形態4の電子卓上計算機の動作の一
例を図13を用いて説明する。図13は、実施の形態4
の表示器2の表示画面の遷移と、キーボード3により入
力されたデータとの関係とを示している。
An example of the operation of the electronic desk calculator according to the fourth embodiment will be described with reference to FIG. FIG. 13 shows Embodiment 4.
5 shows the transition of the display screen of the display 2 and the relationship with the data input by the keyboard 3.

【0156】表示画面S55は、表示器2の初期画面で
ある。カウンタ部に00が表示され、数値部に0が表示
される。
The display screen S55 is an initial screen of the display 2. 00 is displayed in the counter section and 0 is displayed in the numerical section.

【0157】表示画面S56は、置数100が入力さ
れ、キー[税込]が押された後の表示画面を示してい
る。表示画面には、置数100に対する税込額103が
数値部に表示され、カウンタ部には、01が表示され
る。
The display screen S56 shows the display screen after the numeral 100 is input and the key [tax] is pressed. On the display screen, the tax-included amount 103 with respect to the numeral 100 is displayed in the numerical value portion, and 01 is displayed in the counter portion.

【0158】表示画面S57は、さらに、キー[税込]
が押された後の表示画面を示している。表示画面には、
置数100に対する税額3が数値部に表示され、カウン
タ部には、01が表示される。
The display screen S57 further displays a key [tax included].
9 shows the display screen after is pressed. On the display screen,
The tax amount 3 for the numeral 100 is displayed in the numerical value part, and 01 is displayed in the counter part.

【0159】表示画面S58は、さらに、キー[税込]
が押された後の表示画面を示している。表示画面には、
置数100に対する税込額103が数値部に表示され、
カウンタ部には、01が表示される。
The display screen S58 further displays a key [tax included].
9 shows the display screen after is pressed. On the display screen,
The tax-included amount 103 for the number of entries 100 is displayed in the numerical part,
01 is displayed on the counter section.

【0160】本発明の電子卓上計算機の表示器2が、上
述した表示画面S55から表示画面S58を表示する場
合を含む本発明の電子卓上計算機の動作を、図14を用
いて説明する。図14は、本発明の電子卓上計算機の状
態遷移の一例を示している。
The operation of the electronic desk calculator of the present invention including the case where the display 2 of the electronic desk calculator of the present invention displays the display screen S58 from the above-described display screen S55 will be described with reference to FIG. FIG. 14 shows an example of a state transition of the electronic desk calculator of the present invention.

【0161】ユーザが、電源スイッチをオン状態にす
る、またはクリア[C]を押すことにより、本発明の電
子卓上計算機は初期状態に設定される。
When the user turns on the power switch or presses clear [C], the electronic desk calculator of the present invention is set to the initial state.

【0162】数値キーが押されると、その数値キーに対
応する信号が生成される。制御器11は、数値キーによ
って生成された信号を受け取る。その生成された信号に
応答して、初期状態60は、パス80を通り置数状態6
1に遷移する。このことにより、制御器11が表示カウ
ンタ13cに保持されている値を1つ増加させる。具体
的には、制御器11は表示カウンタ13cの値を呼び出
し、表示カウンタ13cの値を1つ増加させ、増加させ
た値を表示カウンタ13cに格納する。また、このよう
な遷移に応答して、制御器11は、数値キーによって生
成された信号を表示器2に出力する。表示器2の数値部
は、数値キーによって生成された信号に基づいて、数値
キーに対応する数字を表示する。また、表示器2のカウ
ンタ部には、表示カウンタ13cに格納されている値が
表示される。
When a numeric key is pressed, a signal corresponding to the numeric key is generated. The controller 11 receives the signal generated by the numeric key. In response to the generated signal, the initial state 60 passes through the path 80 and the number state 6
Transitions to 1. As a result, the controller 11 increases the value held in the display counter 13c by one. Specifically, the controller 11 calls the value of the display counter 13c, increases the value of the display counter 13c by one, and stores the increased value in the display counter 13c. Further, in response to such a transition, the controller 11 outputs a signal generated by the numerical keys to the display 2. The numeric portion of the display 2 displays a number corresponding to the numeric key based on a signal generated by the numeric key. The value stored in the display counter 13c is displayed on the counter section of the display device 2.

【0163】数値キーが押されると、上述したように制
御器11は、数値キーによって生成された信号を受け取
る。その生成された信号に応答して、置数状態61は、
パス81を通り置数状態61に遷移する。このことによ
り、制御器11は数値キーによって生成された信号を表
示器2に出力する。表示器2の数値部には、その信号に
基づいて、数値キーに対応する数字がさらに表示され
る。なお、表示カウンタ13cは、それ自身が保持して
いる値を維持しているため、表示器2のカウンタ部に表
示されている値は変化しない。
When a numeric key is pressed, the controller 11 receives a signal generated by the numeric key as described above. In response to the generated signal, the numeric state 61
The state transits to the number state 61 through the path 81. As a result, the controller 11 outputs a signal generated by the numerical keys to the display 2. In the numerical portion of the display 2, a number corresponding to the numerical key is further displayed based on the signal. Since the display counter 13c maintains the value held by itself, the value displayed on the counter unit of the display 2 does not change.

【0164】キー[税込]が押されると、そのキー[税
込]に対応する信号が生成される。制御器11は、キー
[税込]によって生成された信号を受け取る。その生成
された信号に応答して、置数状態61は、パス100を
通り税込状態67に遷移する。このことにより、制御器
11は、数値キーにより入力された置数に対する税込額
および税額を演算する。具体的には、制御器11は、税
込額を求めるために、数値キーにより入力された置数を
1.03倍する。制御器11は、税額を求めるために、
数値キーにより入力された置数を0.03倍する。制御
器11は、上記演算結果を保持する。次に、制御器11
は、1を表示カウンタ13cに格納する。表示器2は、
1.03倍した値と、表示カウンタ13cに格納されて
いる値を表示する。
When a key [tax included] is pressed, a signal corresponding to the key [tax included] is generated. The controller 11 receives the signal generated by the key [tax included]. In response to the generated signal, the numeral state 61 transits to the tax included state 67 through the path 100. In this way, the controller 11 calculates the tax-included amount and the tax amount for the number entered by the numerical keys. Specifically, the controller 11 multiplies the number input by the numerical keys by 1.03 in order to obtain the tax included amount. The controller 11 calculates the tax amount by:
Multiply the input number by the numerical keys by 0.03. The controller 11 holds the calculation result. Next, the controller 11
Stores 1 in the display counter 13c. Display 2
The value multiplied by 1.03 and the value stored in the display counter 13c are displayed.

【0165】さらに、キー[税込]が押されると、上述
したように、そのキー[税込]に対応する信号に応答し
て、税込状態67は、パス101を通り税額状態68に
遷移する。このことにより、制御器11は、1を表示カ
ウンタ13cに格納する。表示器2は、すでに計算され
た、置数を0.03倍した値と、表示カウンタ13cに
格納されている値とを表示する。
Further, when the key [tax included] is pressed, the tax included state 67 transits to the tax amount state 68 through the path 101 in response to the signal corresponding to the key [tax included] as described above. As a result, the controller 11 stores 1 in the display counter 13c. The display 2 displays the already calculated value obtained by multiplying the number by 0.03 and the value stored in the display counter 13c.

【0166】さらに、キー[税込]が押されると、上述
したように、そのキー[税込]に対応する信号に応答し
て、税額状態68は、パス102を通り税込状態65に
遷移する。このことにより、制御器11は、1を表示カ
ウンタ13cに格納する。表示器2は、すでに計算され
た、置数を1.03倍した値と、表示カウンタ13cに
格納されている値とを表示する。なお、1が表示カウン
タ13cに格納される代わりに、表示カウンタ13cの
値が維持されてもよい。
Further, when the key [tax included] is pressed, the tax amount state 68 transits to the tax included state 65 through the path 102 in response to the signal corresponding to the key [tax included] as described above. As a result, the controller 11 stores 1 in the display counter 13c. The display 2 displays the value calculated by multiplying the set number by 1.03 and the value stored in the display counter 13c. Instead of storing 1 in the display counter 13c, the value of the display counter 13c may be maintained.

【0167】なお、 実施の形態4のRAM13が、 X
レジスタ13a、Yレジスタ13b、および内部カウン
タ13dを備えている場合には、実施の形態4の電子卓
上計算機は、実施の形態2の電子卓上計算機と同様に動
作する。
Note that the RAM 13 of the fourth embodiment is
If the electronic desk calculator of the fourth embodiment has the register 13a, the Y register 13b, and the internal counter 13d, it operates in the same manner as the electronic desk calculator of the second embodiment.

【0168】[税込]を交互に押すことにより、税額と
税込額とを交互に表示器2の数値部に表示することがで
きる。
By alternately pressing [Tax Included], the tax amount and the tax included amount can be alternately displayed on the numerical portion of the display 2.

【0169】図29は、キー[税込]等の同一キーが入
力された場合のカウンタの動作の一例を示すフローチャ
ートである。
FIG. 29 is a flowchart showing an example of the operation of the counter when the same key such as the key [tax] is input.

【0170】ステップN81では、制御器11がキー
[税込]が押されたか否かを判断する。制御器11がキ
ー[税込]が押された場合には、この処理を終了する。
そうでない場合には、ステップN82に進む。
At step N81, controller 11 determines whether or not a key [tax included] has been pressed. When the controller 11 presses the key [tax included], the process ends.
Otherwise, the process proceeds to step N82.

【0171】ステップN82では、後述する図24に示
すステップN31〜ステップN33が行われる。その
後、この処理を終了する。
At step N82, steps N31 to N33 shown in FIG. 24 to be described later are performed. After that, this processing ends.

【0172】なお、演算実行直後であれば、ステップN
81の前に、表示カウンタ13cをクリアし、1つ増加
させるステップN80を追加してもよい。
If the operation has just been performed, step N
Before step 81, a step N80 of clearing the display counter 13c and increasing the counter by one may be added.

【0173】(実施の形態5)実施の形態5の電子卓上
計算機1は、表示器2と、キーボード3と、制御器11
と、ROM12と、RAM13とを備えている。
(Embodiment 5) An electronic desk calculator 1 according to Embodiment 5 includes a display 2, a keyboard 3, and a controller 11.
, A ROM 12, and a RAM 13.

【0174】表示器2には、置数および演算結果と、表
示カウンタ13cの値とが表示される。表示器2は、液
晶表示装置であってもよい。
The display 2 displays the numbers and the calculation results and the value of the display counter 13c. The display 2 may be a liquid crystal display device.

【0175】キーボード3は、置数を行うための数値キ
ーと、小数点キーと、演算子キーと、[=]、[M+]
および[M−]等の計算結果キーと、メモリに格納され
ている値を呼び出す準置数キー[RM]を備えている。
The keyboard 3 includes a numeric key for performing a numeric input, a decimal point key, an operator key, [=], [M +]
And a calculation result key such as [M-] and a numeric key [RM] for calling a value stored in the memory.

【0176】キーボード3の中のあるキーが押される
と、あるキーに対応する信号が制御器11に出力され
る。制御器11は、キーボード3からの信号を受け取
り、キーボード3の中のどのキーが押されたかを判断す
る。 制御器11は、四則演算等を含む計算処理、表示
カウンタ13cおよび内部カウンタ13dの計数処理、
検算時の比較処理、および結果の表示処理などを行う。
When a key on the keyboard 3 is pressed, a signal corresponding to the key is output to the controller 11. The controller 11 receives a signal from the keyboard 3 and determines which key in the keyboard 3 has been pressed. The controller 11 performs calculation processing including four arithmetic operations, counting processing of the display counter 13c and the internal counter 13d,
It performs comparison processing at the time of verification, display processing of results, and the like.

【0177】ROM12は、上述した処理を行うための
プログラム、およびコンピュータグラフィクを行うため
のプログラムなどを記憶している。
The ROM 12 stores a program for performing the above-described processing, a program for performing computer graphics, and the like.

【0178】RAM13は、Xレジスタ13aと、Yレ
ジスタ13bと、演算子レジスタと、表示カウンタ13
cと、内部カウンタ13dと、メモリカウンタ13e
と、その他の作業に必要なワーク領域を備えている。
The RAM 13 has an X register 13a, a Y register 13b, an operator register, a display counter 13
c, an internal counter 13d, and a memory counter 13e.
And a work area necessary for other work.

【0179】実施の形態5の電子卓上計算機の動作の一
例を図15を用いて説明する。図15は、実施の形態5
の表示器2の表示画面の遷移と、内部カウンタ13dお
よびメモリカウンタ13eに格納されている値の遷移と
の関係を示している。
An example of the operation of the electronic desk calculator according to the fifth embodiment will be described with reference to FIG. FIG. 15 shows Embodiment 5
2 shows the relationship between the transition of the display screen of the display 2 and the transition of the values stored in the internal counter 13d and the memory counter 13e.

【0180】表示画面S61は、表示器2の初期画面で
ある。この場合、カウンタ部には、00が表示され、数
値部には0が表示される。また、表示カウンタ13cお
よびメモリカウンタ13eには、共に0が格納される。
The display screen S61 is the initial screen of the display 2. In this case, 00 is displayed on the counter portion, and 0 is displayed on the numerical value portion. Further, 0 is stored in both the display counter 13c and the memory counter 13e.

【0181】表示画面S62は、置数2の入力が終了し
た場合の画面を示している。置数2が入力されると、カ
ウンタ部には01が表示され、数値部には2が表示され
る。また、表示カウンタ13cには、1が格納され、メ
モリカウンタ13eは、0を維持する。
The display screen S62 shows the screen when the input of the numeral 2 is completed. When the numeral 2 is input, 01 is displayed on the counter portion and 2 is displayed on the numerical value portion. The display counter 13c stores 1 and the memory counter 13e maintains 0.

【0182】表示画面S63は、演算子として、[×]
が入力された場合の画面を示している。この場合、数値
部およびカウンタ部に表示される値は変化しない。表示
カウンタ13cおよびメモリカウンタ13eは、格納さ
れている値を維持する。
The display screen S63 displays [×] as an operator.
Shows a screen in the case where is input. In this case, the values displayed on the numerical value part and the counter part do not change. The display counter 13c and the memory counter 13e maintain stored values.

【0183】表示画面S64は、置数3の入力が終了し
た場合の画面を示している。この場合、カウンタ部には
02が表示され、数値部には3が表示される。表示カウ
ンタ13cには、2が格納され、メモリカウンタ13e
は、0を維持する。
The display screen S64 shows the screen when the input of the numeral 3 is completed. In this case, 02 is displayed in the counter section, and 3 is displayed in the numerical section. The display counter 13c stores 2 and the memory counter 13e
Maintain 0.

【0184】表示画面S65は、計算結果キー[M+]
が入力された場合の画面を示している。この場合、カウ
ンタ部には02が表示され、数値部には2×3の演算結
果である6が表示される。また、表示器2は、メモリに
数値が格納されていることを示すシンボルMも表示す
る。表示カウンタ13cは、2を維持する。メモリカウ
ンタ13eには、表示カウンタ13cに格納されている
値2が格納される。
The display screen S65 displays the calculation result key [M +]
Shows a screen in the case where is input. In this case, 02 is displayed on the counter section, and 6 which is a 2 × 3 calculation result is displayed on the numerical section. The display 2 also displays a symbol M indicating that a numerical value is stored in the memory. The display counter 13c maintains 2. The value 2 stored in the display counter 13c is stored in the memory counter 13e.

【0185】表示画面S66は、準置数キー[RM]が
入力された場合の画面を示している。この場合、メモリ
セルに格納されている値が数値部に表示される。また、
表示器2は、メモリに数値が格納されていることを示す
シンボルMも表示する。
The display screen S66 shows a screen when the numeric key [RM] is input. In this case, the value stored in the memory cell is displayed in the numerical part. Also,
The display 2 also displays a symbol M indicating that a numerical value is stored in the memory.

【0186】表示カウンタ13cには、メモリカウンタ
13eに格納されている値2が格納される。メモリカウ
ンタ13eは、2を維持する。
The value 2 stored in the memory counter 13e is stored in the display counter 13c. The memory counter 13e maintains 2.

【0187】表示画面S67は、演算子として、[×]
が入力された場合の画面を示している。この場合、数値
部およびカウンタ部に表示される値は変化しない。メモ
リに数値が格納されていることを示すシンボルMも表示
される。表示カウンタ13cおよびメモリカウンタ13
eは、格納されている値を維持する。
The display screen S67 displays [×]
Shows a screen in the case where is input. In this case, the values displayed on the numerical value part and the counter part do not change. A symbol M indicating that a numerical value is stored in the memory is also displayed. Display counter 13c and memory counter 13
e maintains the stored value.

【0188】表示画面S68は、置数3の入力が終了し
た場合の画面を示している。この場合、カウンタ部には
03が表示され、数値部には3が表示される。メモリに
数値が格納されていることを示すシンボルMも表示され
る。表示カウンタ13cには、3が格納され、メモリカ
ウンタ13eは、2を維持する。
The display screen S68 shows the screen when the input of the numeral 3 is completed. In this case, 03 is displayed in the counter section, and 3 is displayed in the numerical section. A symbol M indicating that a numerical value is stored in the memory is also displayed. The display counter 13c stores 3, and the memory counter 13e maintains 2.

【0189】表示画面S69は、演算結果キー[=]が
入力された場合の画面を示している。この場合、数値部
およびカウンタ部に表示される値は変化しない。メモリ
に数値が格納されていることを示すシンボルMも表示さ
れる。表示カウンタ13cおよびメモリカウンタ13e
は、格納されている値を維持する。数値部には、6×3
を演算した結果である値18が表示され、カウンタ部に
は、表示カウンタ13cに格納されている値が表示され
る。
The display screen S69 shows a screen when the operation result key [=] is input. In this case, the values displayed on the numerical value part and the counter part do not change. A symbol M indicating that a numerical value is stored in the memory is also displayed. Display counter 13c and memory counter 13e
Keeps the stored value. The numerical part is 6 × 3
Is displayed, and the value stored in the display counter 13c is displayed on the counter section.

【0190】表示画面S70は、準置数キー[RM]が
入力された場合の画面を示している。この場合、メモリ
セルに格納されている値6が数値部に表示される。ま
た、表示器2は、メモリに数値が格納されていることを
示すシンボルMも表示する。
The display screen S70 shows the screen when the numeric key [RM] is input. In this case, the value 6 stored in the memory cell is displayed in the numerical value part. The display 2 also displays a symbol M indicating that a numerical value is stored in the memory.

【0191】表示カウンタ13cには、メモリカウンタ
13eに格納されている値2が格納され、表示カウンタ
13cに格納されている値が数値部に表示される。メモ
リカウンタ13eは、2を維持する。
The value 2 stored in the memory counter 13e is stored in the display counter 13c, and the value stored in the display counter 13c is displayed in the numerical value part. The memory counter 13e maintains 2.

【0192】表示画面S71は、置数の一部2が入力さ
れた場合の画面を示している。表示カウンタ13cに
は、1が格納され、メモリカウンタ13eは、2を維持
する。数値部には、置数の一部2が表示され、表示カウ
ンタ13cには、01が表示される。
The display screen S71 shows a screen when a part 2 of the number is input. The display counter 13c stores 1 and the memory counter 13e maintains 2. The numerical part displays a part 2 of the numerical value, and the display counter 13c displays 01.

【0193】計算結果キー[M+]および[M−]と、
準置数キー[RM]とが押された場合を含む電子卓上計
算機の動作を図16を用いて説明する。なお、図16に
示す状態およびパスが、図10に示す状態およびパスと
同じものには、同じ番号を付し、説明を省略する。
Calculation result keys [M +] and [M-]
The operation of the electronic desk calculator including the case where the numeric key [RM] is pressed will be described with reference to FIG. Note that the states and paths shown in FIG. 16 that are the same as the states and paths shown in FIG. 10 are given the same numbers, and descriptions thereof are omitted.

【0194】計算結果キー[M+]または[M−]が押
されると、その計算結果キー[M+]または[M−]に
対応する信号が生成される。制御器11は、計算結果キ
ー[M+]または[M−]によって生成された信号を受
け取る。その生成された信号に応答して、置数状態61
および演算終了状態63は、パス110および111の
それぞれを通りメモリ状態69に遷移する。このことに
より、制御器11は、Xレジスタ13aに格納されてい
る値と、表示カウンタ13cに格納されている値とをワ
ークエリアに格納する。
When the calculation result key [M +] or [M-] is pressed, a signal corresponding to the calculation result key [M +] or [M-] is generated. The controller 11 receives the signal generated by the calculation result key [M +] or [M-]. In response to the generated signal, the number state 61
And the operation end state 63 transits to the memory state 69 through each of the paths 110 and 111. Thereby, the controller 11 stores the value stored in the X register 13a and the value stored in the display counter 13c in the work area.

【0195】準置数キー[RM]が押されると、準置数
キー[RM]に対応する信号が生成される。制御器11
は、準置数キー[RM]によって生成された信号を受け
取る。その生成された信号に応答して、各状態は、 R
M状態70に遷移する。このことにより、制御器11
は、ワークエリアに格納されているそれぞれの値をXレ
ジスタ13aと表示カウンタ13cとに格納する。
When the numeric key [RM] is pressed, a signal corresponding to the numeric key [RM] is generated. Controller 11
Receives the signal generated by the semi-numerical key [RM]. In response to the generated signal, each state has R
Transition to the M state 70 is made. This allows the controller 11
Stores the respective values stored in the work area in the X register 13a and the display counter 13c.

【0196】また、数値キーが押されると、その数値キ
ーに対応する信号が生成される。制御器11は、数値キ
ーによって生成された信号を受け取る。その生成された
信号に応答して、メモリ状態69およびRM状態70
は、パス112および114のそれぞれを通り置数状態
61に遷移する。制御器11は、数値キーに対応する数
値をXレジスタ13aに格納し、表示カウンタ13cを
0クリアし、表示カウンタ13cに格納されている値を
1つ増加させる。
When a numeric key is pressed, a signal corresponding to the numeric key is generated. The controller 11 receives the signal generated by the numeric key. In response to the generated signal, memory state 69 and RM state 70
Transitions to the number state 61 through each of the paths 112 and 114. The controller 11 stores the numerical value corresponding to the numerical key in the X register 13a, clears the display counter 13c to 0, and increases the value stored in the display counter 13c by one.

【0197】また、演算子キーが押されると、その演算
子キーに対応する信号が生成される。制御器11は、演
算子キーによって生成された信号を受け取る。その生成
された信号に応答して、メモリ状態69およびRM状態
70は、パス113および115のそれぞれを通り演算
状態62に遷移する。制御器11は、数値キーに対応す
る数値をXレジスタ13aに格納し、表示カウンタ13
cを0クリアし、表示カウンタ13cに格納されている
値を1つ増加させる。制御器11は、演算子キーに対応
する演算子を演算子レジスタに格納する。Xレジスタ1
3a、Yレジスタ13b、表示レジスタは、それぞれに
格納されている値を維持する。
When an operator key is pressed, a signal corresponding to the operator key is generated. Controller 11 receives the signal generated by the operator key. In response to the generated signal, the memory state 69 and the RM state 70 transition to the operation state 62 through paths 113 and 115, respectively. The controller 11 stores the numerical value corresponding to the numerical key in the X register 13a,
c is cleared to 0, and the value stored in the display counter 13c is increased by one. The controller 11 stores the operator corresponding to the operator key in the operator register. X register 1
3a, the Y register 13b, and the display register maintain the values stored therein.

【0198】図22は、準置数キー[RM]が押された
後、数値キー[0]〜[9]および[・]が押された場
合のカウンタの動作の一例を示すフローチャートであ
る。
FIG. 22 is a flowchart showing an example of the operation of the counter when the numeric keys [0] to [9] and [•] are pressed after the numeric key [RM] is pressed.

【0199】ステップN11では、制御器11が、上記
数値キーが押される直前に、置数キーが押されたか否か
を判断する。上記数値キーが押される直前に、置数キー
が押された場合であれば、ステップN14に進む。そう
でない場合には、ステップN12に進む。
At step N11, the controller 11 determines whether or not the numeric key has been pressed immediately before the numeric key is pressed. If the numeric key is pressed immediately before the numerical key is pressed, the process proceeds to step N14. Otherwise, the process proceeds to step N12.

【0200】ステップN12〜ステップN16は、図2
1のステップN2〜ステップN6と同じであるため、説
明を省略する。
Steps N12 to N16 are the same as those in FIG.
Since these steps are the same as Steps N2 to N6 of Step 1, the description is omitted.

【0201】ステップN7では、制御器11が、メモリ
に対して行われた計算回数を現在計算している計算回数
の中に入れるため、表示カウンタ13cの値と内部カウ
ンタ13dの値とを加算し、加算した値を表示カウンタ
13cに格納する。
At step N7, the controller 11 adds the value of the display counter 13c and the value of the internal counter 13d in order to include the number of calculations performed on the memory in the number of calculations currently being performed. Is stored in the display counter 13c.

【0202】図27は、メモリキー[M+]、[M−]
等が入力された場合のカウンタの動作の一例を示すフロ
ーチャートである。
FIG. 27 shows memory keys [M +] and [M-]
9 is a flowchart illustrating an example of the operation of the counter when the user inputs the information.

【0203】ステップN61では、制御器11は、メモ
リキーが押される直前に、2項演算子キーが押されたか
否かを判断する。メモリキーが押される直前に、2項演
算子キーが押された場合には、ステップN63に進む。
そうでない場合には、ステップN63に進む。例えば、
メモリキーが押される直前に、2項演算子キーが押され
た場合とは、[2][×][M+]と入力されるような
場合である。
At step N61, immediately before the memory key is pressed, the controller 11 determines whether or not the binary operator key is pressed. If the binary operator key is pressed immediately before the memory key is pressed, the process proceeds to step N63.
If not, the process proceeds to step N63. For example,
The case where the binary operator key is pressed immediately before the memory key is pressed is a case where [2] [×] [M +] is input.

【0204】ステップN62では、制御器11は、メモ
リキーが押される直前に、単項演算子キーが押されたか
否かを判断する。メモリキーが押される直前に、単項演
算子キーが押された場合には、ステップN63に進む。
そうでない場合には、ステップN64に進む。例えば、
メモリキーが押される直前に、単項演算子キーが押され
た場合とは、[2][√」[M+]と入力されるような
場合である。
At step N62, immediately before the memory key is pressed, the controller 11 determines whether or not the unary operator key has been pressed. If the unary operator key is pressed immediately before the memory key is pressed, the process proceeds to step N63.
If not, the process proceeds to step N64. For example,
The case where the unary operator key is pressed immediately before the memory key is pressed is a case where [2] [√] [M +] is input.

【0205】ステップN63では、制御器11が表示カ
ウンタ13cの値を1つ増加させ、ステップN64に進
む。
At step N63, the controller 11 increments the value of the display counter 13c by one, and proceeds to step N64.

【0206】ステップN64では、制御器11は、既に
何か演算子が入力されているか否かを判断する。既に何
か演算子が入力されている場合には、ステップN65に
進む。そうでない場合には、ステップN66に進む。
At step N64, controller 11 determines whether or not any operator has already been input. If any operator has been input, the process proceeds to step N65. If not, the process proceeds to step N66.

【0207】ステップN65では、制御器11は、表示
カウンタ13cの値を内部カウンタ13dに格納する。
At Step N65, the controller 11 stores the value of the display counter 13c in the internal counter 13d.

【0208】ステップN66では、制御器11は、メモ
リカウンタ13eの値と、表示カウンタ13cの値とを
加算し、加算した値を表示カウンタ13cに格納する。
At step N66, the controller 11 adds the value of the memory counter 13e and the value of the display counter 13c, and stores the added value in the display counter 13c.

【0209】なお、演算実行直後であれば、ステップN
51の前に、表示カウンタ13cをクリアし、1つ増加
させるステップN50を追加してもよい。
If the operation has just been performed, step N
Before step 51, a step N50 of clearing the display counter 13c and increasing the counter by one may be added.

【0210】(実施の形態6)実施の形態6の電子卓上
計算機1は、表示器2と、キーボード3と、制御器11
と、ROM12と、RAM13とを備えている。実施の
形態5の表示器2、キーボード3、ROM12、および
RAM13の構成は、実施の形態2の対応する構成と同
じであるので説明を省略する。
(Embodiment 6) An electronic desk calculator 1 according to Embodiment 6 includes a display 2, a keyboard 3, and a controller 11.
, A ROM 12, and a RAM 13. The configurations of the display 2, the keyboard 3, the ROM 12, and the RAM 13 of the fifth embodiment are the same as the corresponding configurations of the second embodiment, and a description thereof will be omitted.

【0211】実施の形態6の電子卓上計算機の動作の一
例を図17を用いて説明する。図17は、実施の形態6
の表示器2の表示画面の遷移と、内部カウンタ13dお
よびメモリカウンタ13eに格納されている値の遷移と
の関係を示している。
An example of the operation of the electronic desk calculator according to the sixth embodiment will be described with reference to FIG. FIG. 17 shows Embodiment 6
2 shows the relationship between the transition of the display screen of the display 2 and the transition of the values stored in the internal counter 13d and the memory counter 13e.

【0212】表示画面S81は、表示器2の初期画面で
ある。この場合、 Xレジスタ13aと、演算子レジス
タ13fと、Yレジスタ13bと、表示カウンタ13c
と、内部カウンタ13dとに格納されている値は、それ
ぞれ0である。なお、演算子レジスタ13fおよびYレ
ジスタ13bに格納されている値は、任意の値であって
もよい。
The display screen S81 is an initial screen of the display 2. In this case, an X register 13a, an operator register 13f, a Y register 13b, and a display counter 13c
And the values stored in the internal counter 13d are 0, respectively. Note that the values stored in the operator register 13f and the Y register 13b may be arbitrary values.

【0213】表示画面S82は、置数16の入力が終了
した場合の画面を示している。置数16が入力される
と、カウンタ部には01が表示され、数値部には16が
表示される。Xレジスタ13aには、16が格納され、
表示カウンタ13cには、1が格納される。演算子レジ
スタ13fと、Yレジスタ13bと、内部カウンタ13
dとは、前の値、すなわち0を維持する。
[0213] The display screen S82 shows a screen when the input of the numeral 16 is completed. When the numeral 16 is input, 01 is displayed on the counter portion and 16 is displayed on the numerical value portion. 16 is stored in the X register 13a,
1 is stored in the display counter 13c. Operator register 13f, Y register 13b, internal counter 13
d maintains the previous value, that is, 0.

【0214】表示画面S83は、演算子として、[√]
が入力された場合の画面を示している。この場合、 X
レジスタ13aには、16の平方根である4が格納さ
れ、表示部には、4が表示される。カウンタ部に表示さ
れる値は変化しない。演算子レジスタ13fと、Yレジ
スタ13bと、内部カウンタ13dとは、前の値、すな
わち0を維持する。
[0214] The display screen S83 displays [演算 子] as an operator.
Shows a screen in the case where is input. In this case, X
4 which is the square root of 16 is stored in the register 13a, and 4 is displayed on the display unit. The value displayed on the counter does not change. The operator register 13f, the Y register 13b, and the internal counter 13d maintain the previous value, that is, 0.

【0215】表示画面S84は、演算子として、[√]
が入力された場合の画面を示している。この場合、 X
レジスタ13aには、4の平方根である2が格納され、
表示部には、2が表示される。カウンタ部には、2が表
示される。演算子レジスタ13fと、Yレジスタ13b
と、内部カウンタ13dとは、前の値、すなわち0を維
持する。
The display screen S84 displays [√] as an operator.
Shows a screen in the case where is input. In this case, X
The register 13a stores the square root of 4, 2;
2 is displayed on the display unit. 2 is displayed on the counter section. Operator register 13f and Y register 13b
And the internal counter 13d maintain the previous value, that is, 0.

【0216】表示画面S85は、置数3の入力が終了し
た場合の画面を示している。置数3が入力されると、カ
ウンタ部には01が表示され、数値部には3が表示され
る。Xレジスタ13aには、3が格納され、表示カウン
タ13cには、1が格納される。演算子レジスタ13f
と、Yレジスタ13bと、内部カウンタ13dとは、前
の値、すなわち0を維持する。
[0216] The display screen S85 shows the screen when the input of the numeral 3 is completed. When the numeral 3 is input, 01 is displayed on the counter portion and 3 is displayed on the numerical value portion. The X register 13a stores 3 and the display counter 13c stores 1. Operator register 13f
, The Y register 13b, and the internal counter 13d maintain the previous value, that is, 0.

【0217】表示画面S86は、演算子として、[+]
が入力された場合の画面を示している。この場合、数値
部およびカウンタ部に表示される値は変化しない。Yレ
ジスタ13bには、 Xレジスタ13aに格納されてい
る値が格納され、Xレジスタ13aは、3を維持する。
演算子レジスタには、演算子キー[+]に対応する演算
子が格納される。内部レジスタには、1が格納される。
The display screen S86 displays [+] as an operator.
Shows a screen in the case where is input. In this case, the values displayed on the numerical value part and the counter part do not change. The value stored in the X register 13a is stored in the Y register 13b, and 3 is maintained in the X register 13a.
The operator corresponding to the operator key [+] is stored in the operator register. 1 is stored in the internal register.

【0218】表示画面S87は、置数100の入力が終
了した場合の画面を示している。この場合、表示カウン
タ13cには2が格納され、カウンタ部には02が表示
される。Xレジスタ13aには、103が格納され、数
値部には、103が表示される。演算子レジスタ13f
と、Yレジスタ13bと、内部カウンタ13dとは、前
の値、を維持する。
[0219] The display screen S87 shows a screen when the input of the numeral 100 is completed. In this case, 2 is stored in the display counter 13c, and 02 is displayed in the counter section. 103 is stored in the X register 13a, and 103 is displayed in the numerical value part. Operator register 13f
, The Y register 13b, and the internal counter 13d maintain the previous values.

【0219】表示画面S88は、演算子として、[√]
が入力された場合の画面を示している。この場合、 X
レジスタ13aには、103の平方根である10.14
・・・が格納され、表示部には、10.14・・・が表
示される。カウンタ部に表示される値は変化しない。
演算子レジスタ13fと、Yレジスタ13bと、内部カ
ウンタ13dとは、前の値を維持する。
The display screen S88 displays [演算 子] as an operator.
Shows a screen in the case where is input. In this case, X
The register 13a has 10.14 which is the square root of 103.
Are stored, and 10.14... Are displayed on the display unit. The value displayed on the counter does not change.
The operator register 13f, the Y register 13b, and the internal counter 13d maintain the previous values.

【0220】表示画面S89は、演算子として、[√]
が入力された場合の画面を示している。この場合、 X
レジスタ13aには、10.14・・・の平方根である
3.18・・・が格納され、表示部には、3.18・・
・が表示される。表示カウンタ13cには3が格納さ
れ、カウンタ部には3が表示される。演算子レジスタ1
3fと、Yレジスタ13bと、内部カウンタ13dと
は、前の値を維持する。
The display screen S89 displays [√] as an operator.
Shows a screen in the case where is input. In this case, X
.. Which is the square root of 10.14... Is stored in the register 13a, and 3.18.
・ Is displayed. 3 is stored in the display counter 13c, and 3 is displayed in the counter section. Operator register 1
3f, the Y register 13b, and the internal counter 13d maintain the previous values.

【0221】表示画面S90は、クリアキー[C・C
E]が入力された場合の画面を示している。Xレジスタ
13aには、Yレジスタ13bに格納されている値3が
格納され、数値部には、3が表示される。表示カウンタ
13cには、1が格納され、カウンタ部には、1が表示
される。Yレジスタ13bおよび内部レジスタは、前の
値を維持する。
The display screen S90 shows the clear key [CC].
[E] is shown on the screen. The value 3 stored in the Y register 13b is stored in the X register 13a, and 3 is displayed in the numerical value part. 1 is stored in the display counter 13c, and 1 is displayed in the counter section. The Y register 13b and the internal register maintain the previous values.

【0222】単項演算子キーが押された場合を含む電子
卓上計算機の動作を図18を用いて説明する。なお、図
18に示す状態およびパスが、図10に示す状態および
パスと同じものには、同じ番号を付し、説明を省略す
る。
The operation of the electronic desk calculator including the case where the unary operator key is pressed will be described with reference to FIG. Note that the states and paths shown in FIG. 18 that are the same as the states and paths shown in FIG. 10 are given the same numbers, and descriptions thereof will be omitted.

【0223】単項演算子キー[√]が押されると、単項
演算子キー[√]に対応する信号が生成される。制御器
11は、単項演算子キー[√]によって生成された信号
を受け取る。その生成された信号に応答して、置数状態
61および演算終了状態63は、パス120および12
3のそれぞれを通り単項演算状態71に遷移する。この
ことにより、制御器11は、Xレジスタ13aに格納さ
れている値の平方根を演算し、演算結果をXレジスタ1
3aに格納する。表示レジスタと、演算子レジスタ13
fと、Yレジスタ13bと、内部カウンタ13dとは、
状態が遷移する前の値を維持する。
When the unary operator key [√] is pressed, a signal corresponding to the unary operator key [√] is generated. Controller 11 receives the signal generated by the unary operator key [$]. In response to the generated signal, the numerical state 61 and the operation end state 63 are changed to the paths 120 and 12.
3 to the unary operation state 71. As a result, the controller 11 calculates the square root of the value stored in the X register 13a, and stores the calculation result in the X register 1a.
3a. Display register and operator register 13
f, the Y register 13b, and the internal counter 13d
Maintain the value before the state transition.

【0224】単項演算子キー[√]が押されると、上述
したように、単項演算子キー[√]によって生成された
信号に応答して、単項演算状態71は、パス121を通
り単項演算状態71に遷移する。このことにより、制御
器11は、Xレジスタ13aに格納されている値の平方
根を演算し、演算結果をXレジスタ13aに格納する。
また、制御部11は、表示カウンタ13cに格納されて
いる値を1つ増加させる。表示器2は、 Xレジスタ1
3aおよび表示カウンタ13cに格納されている値を表
示する。演算子レジスタ13fと、Yレジスタ13b
と、内部カウンタ13dとは、状態が遷移する前の値を
維持する。
When the unary operator key [√] is pressed, the unary operation state 71 passes through the path 121 and returns to the unary operation state in response to the signal generated by the unary operator key [√], as described above. It transits to 71. As a result, the controller 11 calculates the square root of the value stored in the X register 13a, and stores the calculation result in the X register 13a.
Further, the control unit 11 increases the value stored in the display counter 13c by one. Display 2 is X register 1
3a and the value stored in the display counter 13c are displayed. Operator register 13f and Y register 13b
And the internal counter 13d maintain the value before the state transition.

【0225】また、クリアキー[C・CE]が押される
と、クリアキー[C・CE]に対応する信号が生成され
る。制御器11は、クリアキー[C・CE]によって生
成された信号を受け取る。その生成された信号に応答し
て、単項演算状態71は、パス125を通りクリア状態
72に遷移する。このことにより、制御器11は、Yレ
ジスタ13bに格納されている値をXレジスタ13aに
格納する。制御器11は、表示カウンタ13cを0クリ
アし、表示カウンタ13cの値を1つ増加させる。演算
子レジスタ13fと、内部カウンタ13dとは、状態が
遷移する前の値を維持する。
When clear key [C.CE] is pressed, a signal corresponding to clear key [C.CE] is generated. The controller 11 receives the signal generated by the clear key [C · CE]. In response to the generated signal, the unary operation state 71 transits to the clear state 72 via the path 125. Thus, the controller 11 stores the value stored in the Y register 13b in the X register 13a. The controller 11 clears the display counter 13c to 0 and increases the value of the display counter 13c by one. The operator register 13f and the internal counter 13d maintain the values before the state transition.

【0226】また、数値キーが押されると、その数値キ
ーに対応する信号が生成される。制御器11は、数値キ
ーによって生成された信号を受け取る。その生成された
信号に応答して、単項演算状態71およびクリア状態7
2は、パス122および126のそれぞれを通り演算状
態62に遷移する。制御器11は、数値キーに対応する
数値をXレジスタ13aに格納し、表示カウンタ13c
を0クリアし、表示カウンタ13cに格納されている値
を1つ増加させる。演算子レジスタ13fと、Yレジス
タ13bと、内部カウンタ13dとは、状態が遷移する
前の値を維持する。
When a numeric key is pressed, a signal corresponding to the numeric key is generated. The controller 11 receives the signal generated by the numeric key. In response to the generated signal, the unary operation state 71 and the clear state 7
2 transitions to the operation state 62 through each of the paths 122 and 126. The controller 11 stores the numeric value corresponding to the numeric key in the X register 13a, and
Is cleared to 0, and the value stored in the display counter 13c is increased by one. The operator register 13f, the Y register 13b, and the internal counter 13d maintain the values before the state transition.

【0227】また、演算子キーが押されると、その演算
子キーに対応する信号が生成される。制御器11は、演
算子キーによって生成された信号を受け取る。その生成
された信号に応答して、単項演算状態71およびクリア
状態72は、パス124および127のそれぞれを通り
演算状態62に遷移する。制御器11は、数値キーに対
応する数値をXレジスタ13aに格納し、表示カウンタ
13cを0クリアし、表示カウンタ13cに格納されて
いる値を1つ増加させる。制御器11は、演算子キーに
対応する演算子を演算子レジスタに格納する。Xレジス
タ13a、Yレジスタ13b、表示レジスタ、および内
部レジスタは、それぞれに格納されている値を維持す
る。
When the operator key is pressed, a signal corresponding to the operator key is generated. Controller 11 receives the signal generated by the operator key. In response to the generated signal, the unary operation state 71 and the clear state 72 transition to the operation state 62 through paths 124 and 127, respectively. The controller 11 stores the numerical value corresponding to the numerical key in the X register 13a, clears the display counter 13c to 0, and increases the value stored in the display counter 13c by one. The controller 11 stores the operator corresponding to the operator key in the operator register. The X register 13a, the Y register 13b, the display register, and the internal register maintain the values stored therein.

【0228】図24は、単項演算子キー[√]等が入力
された場合のカウンタの動作の一例を示すフローチャー
トである。
FIG. 24 is a flowchart showing an example of the operation of the counter when the unary operator key [√] or the like is input.

【0229】ステップN31では、制御器11が、単項
演算子キーが押される直前に、2項演算子キーが押され
たか否かを判断する。単項演算子キーが押される直前
に、2項演算子キーが押された場合には、ステップN3
3に進み、そうでないならば、ステップN32に進む。
例えば、単項演算子キーが押される直前に、2項演算子
キーが押された場合とは、[2][+][√」と入力さ
れた場合などがある。
At step N31, the controller 11 determines whether or not the binary operator key has been pressed immediately before the unary operator key is pressed. If the binary operator key is pressed immediately before the unary operator key is pressed, step N3
Go to Step 3; otherwise, go to Step N32.
For example, the case where the binary operator key is pressed immediately before the unary operator key is pressed includes a case where [2] [+] [√] is input.

【0230】ステップN32では、制御器11が、単項
演算子キーが押される直前に、単項演算子キーが押され
たか否かを判断する。単項演算子キーが押される直前
に、単項演算子キーが押された場合には、ステップN3
3に進む。そうでないなら、この処理を終了する。例え
ば、単項演算子キーが押される直前に、単項演算子キー
が押された場合とは、[2][√][√」と入力された
場合などがある。
In step N32, immediately before the unary operator key is pressed, the controller 11 determines whether or not the unary operator key has been pressed. If the unary operator key is pressed immediately before the unary operator key is pressed, step N3
Proceed to 3. If not, the process ends. For example, the case where the unary operator key is pressed immediately before the unary operator key is pressed includes the case where [2] [√] [√] is input.

【0231】ステップN34では、制御器11が、表示
カウンタ13cの値を1つ増加させる。
At Step N34, the controller 11 increases the value of the display counter 13c by one.

【0232】なお、演算実行直後であれば、ステップN
31の前に、表示カウンタ13cをクリアし、1つ増加
させるステップN30を追加してもよい。
Note that immediately after the execution of the operation, step N
Before step 31, a step N30 of clearing the display counter 13c and increasing the counter by one may be added.

【0233】上述した実施の形態1〜実施の形態6は、
以下に示す機能を有していてもよい。図19は、本発明
の電子卓上計算機の表示画面の状態の遷移を表してい
る。
The first to sixth embodiments described above are
It may have the following functions. FIG. 19 shows the transition of the state of the display screen of the electronic desk calculator of the present invention.

【0234】表示画面S101は、初期画面を示してい
る。表示の数値部には、0が表示され、カウンタ部に
は、00が表示される。後述するシンボルは点灯してい
ない。
The display screen S101 shows an initial screen. 0 is displayed in the numerical value portion of the display, and 00 is displayed in the counter portion. Symbols described later are not lit.

【0235】表示画面S102は、置数123の入力が
終了した後の画面を示している。なお、シンボルは点灯
していない。
The display screen S102 shows the screen after the input of the number 123 is completed. Note that the symbol is not lit.

【0236】表示画面S103は、演算子キー[+]の
入力が終了した後の画面を示している。この場合、演算
子キーが押された直後であることを示すシンボルが点灯
する。なお、次に演算子キー以外の任意のキーが入力さ
れると上記シンボルは消灯する。
The display screen S103 shows the screen after the input of the operator key [+] is completed. In this case, a symbol indicating that the operator key has just been pressed is lit. The symbol goes out when any key other than the operator key is input next time.

【0237】表示画面S104は、置数の先頭部4の入
力が終了した後の画面を示している。なお、シンボルは
消灯する。このことにより、置数中であることが理解で
きる。
[0237] The display screen S104 shows the screen after the input of the leading part 4 of the numerical value is completed. The symbol goes out. From this, it can be understood that the number is being set.

【0238】表示画面S105は、置数の残りの部分5
6と[=]との入力が終了した後の画面を示している。
なお、シンボルは消灯したままである。
The display screen S105 shows the remaining part 5
6 shows a screen after input of 6 and [=] is completed.
Note that the symbol remains off.

【0239】このように、演算子キーが押された場合シ
ンボルが表示されるため、演算子キーが押されたか否か
をユーザは知ることができる。
As described above, since the symbol is displayed when the operator key is pressed, the user can know whether or not the operator key has been pressed.

【0240】図20は、演算子キーが押された直後か否
かを示すシンボルの点灯、消灯を制御するフローチャー
トである。
FIG. 20 is a flow chart for controlling the lighting and extinguishing of the symbol indicating whether or not the operator key has just been pressed.

【0241】ステップN101では、制御器11は、状
態フラグ13gのフラグにより演算子キーの押された直
後であるか否かを判断する。状態フラグ13gのフラグ
が立っている場合には、ステップN2に進み、そうでな
い場合には、ステップN3に進む。
In step N101, the controller 11 determines whether or not the operator key has just been pressed, based on the state flag 13g. If the state flag 13g is on, the process proceeds to step N2; otherwise, the process proceeds to step N3.

【0242】ステップN102では、制御器11が表示
器2に、演算子キーの押された直後であることを示すシ
ンボルを点灯させる。
At step N102, the controller 11 causes the display 2 to light a symbol indicating that the operator key has just been pressed.

【0243】ステップN103では、制御器11が表示
器2に、演算子キーの押された直後であることを示すシ
ンボルを消灯させる。
At step N103, the controller 11 causes the display 2 to turn off the symbol indicating that the operator key has just been pressed.

【0244】(実施の形態7)実施の形態7の電子卓上
計算機1は、表示器2と、キーボード3と、スイッチ4
と、制御器11と、ROM12と、RAM13とを備え
ている。
(Embodiment 7) The electronic desk calculator 1 according to the embodiment 7 includes a display 2, a keyboard 3, and a switch 4.
, A controller 11, a ROM 12, and a RAM 13.

【0245】表示器2には、置数および演算結果と、表
示カウンタ13cの値と、検算結果が正しいことを示す
検算用シンボルと、検算状態、および累計計算状態など
の電子卓上計算機の状態を示す状態表示シンボルとのう
ちの少なくとも1つが表示される。表示器2は、液晶表
示装置であってもよい。
The display 2 displays the numbers and the operation results, the value of the display counter 13c, a verification symbol indicating that the verification result is correct, and the state of the electronic desk calculator such as the verification state and the total calculation state. At least one of the indicated status display symbols is displayed. The display 2 may be a liquid crystal display device.

【0246】キーボード3は、置数を行うための数値キ
ーと、小数点キーと、演算子キーと、[=]、[M+]
および[M−]等の計算結果キーと、検算レジスタ内容
を表示するために使用されるキー[PRE]とを備えて
いる。なお、本発明の電子卓上計算機は、キー[PR
E]の代わりに検算/累計計算を兼用するキー[GT/
PRE]を備えていてもよい。
The keyboard 3 includes a numeric key for performing a numeric input, a decimal point key, an operator key, [=], [M +]
And [M-], and a key [PRE] used to display the contents of the verification register. Note that the electronic desk calculator of the present invention uses the key [PR
E] instead of the key [GT /
PRE].

【0247】スイッチ4は、本発明の電子卓上計算機が
検算機能を有している場合、検算機能を使用するか否か
を選択する選択スイッチと、計算結果の丸め位置を指定
するTABスイッチと、計算結果の丸める方法、例え
ば、切り上げ、切り下げ、および四捨五入などを選択す
るラウンドスイッチと、電源スイッチを備えている。本
発明の電子卓上計算機が検算機能および累計計算機能を
有している場合には、検算機能および累計計算機能を少
なくとも1つ使用することができる選択スイッチを備え
ていてもよい。
When the electronic desk calculator of the present invention has a check function, a switch 4 selects whether or not to use the check function, a TAB switch which specifies a rounding position of the calculation result, A round switch for selecting a method of rounding a calculation result, for example, rounding up, rounding down, rounding, and the like, and a power switch are provided. When the electronic desk calculator of the present invention has a check function and a cumulative calculation function, it may include a selection switch that can use at least one of the check function and the cumulative calculation function.

【0248】キーボード3の中のあるキーが押される
と、あるキーに対応する信号が制御器11に出力され
る。
When a key on the keyboard 3 is pressed, a signal corresponding to the key is output to the controller 11.

【0249】制御器11は、キーボード3からの信号を
受け取り、キーボード3の中のどのキーが押されたかを
判断する。 制御器11は、四則演算等を含む計算処
理、カウンタの計数処理、検算時の比較処理、および結
果の表示処理などを行う。
Controller 11 receives a signal from keyboard 3 and determines which key in keyboard 3 has been pressed. The controller 11 performs a calculation process including four arithmetic operations, a counter counting process, a comparison process at the time of verification, a result display process, and the like.

【0250】ROM12は、上述した処理を行うための
プログラム、およびコンピュータグラフィクを行うため
のプログラムなどを記憶している。
The ROM 12 stores a program for performing the above-described processing, a program for performing computer graphics, and the like.

【0251】RAM13は、レジスタ、カウンタ、フラ
グ、およびその他動作に必要なワークエリア13lを含
んでいる。
The RAM 13 includes registers, counters, flags, and other work areas 131 necessary for operations.

【0252】実施の形態7の電子卓上計算機のRAM1
3は、 レジスタとして、Xレジスタ13aと、 Yレジ
スタ13bと、演算子レジスタ13fと、累計計算/検
算レジスタ13hとを含んでいる。Xレジスタ13aに
は、置数の値および演算結果等の値が格納される。 X
レジスタ13aに格納されている値が、表示器2によっ
て表示される。
RAM1 of electronic desk calculator of the seventh embodiment
Reference numeral 3 includes, as registers, an X register 13a, a Y register 13b, an operator register 13f, and a cumulative calculation / verification register 13h. The X register 13a stores a value of a numerical value and a value such as a calculation result. X
The value stored in the register 13a is displayed on the display 2.

【0253】実施の形態7の電子卓上計算機のRAM1
3は、 フラグとして、状態フラグ13gと、検算フラ
グ13iと、検算後フラグ13jとを含んでいる。
RAM1 of electronic desk calculator of the seventh embodiment
3 includes a status flag 13g, a check flag 13i, and a post-check flag 13j as flags.

【0254】状態フラグ13gには、以下の状態が格納
されている。状態フラグ13gに格納されている値は、
置数が行われた状態、演算子キーが押されて計算が行わ
れる前の状態、または演算子キーなどが押されて計算が
行われた後、つまり演算が実行された後の状態を示す。
また、状態フラグ13gは、シンボル点灯制御用に使用
されてもよい。
The following state is stored in the state flag 13g. The value stored in the status flag 13g is
Indicates the state where a numeric value has been entered, the state before the calculation is performed by pressing the operator key, or the state after the calculation is performed by pressing the operator key etc., that is, the state after the operation is performed .
Further, the state flag 13g may be used for symbol lighting control.

【0255】検算フラグ13iには、累計計算/検算レ
ジスタ13hに検算するための比較値が記憶されている
か否かを示すための値が格納されている。検算フラグ1
3iには、検算/累計計算レジスタが、検算するために
必要な比較値、またはメモリとして累計計算の途中経過
の値のどちらが格納されているかを示す値が格納され
る。
The verification flag 13i stores a value indicating whether or not a comparison value for verification is stored in the cumulative calculation / verification register 13h. Check flag 1
In the register 3i, a value indicating which of the comparison value required for the verification and the value in the middle of the cumulative calculation as the memory is stored in the verification / accumulation calculation register is stored.

【0256】実施の形態7の電子卓上計算機のRAM1
3は、 カウンタとして、表示カウンタ13cと、内部
カウンタ13dと、メモリカウンタ13eと、検算カウ
ンタ13kとを含んでいる。
RAM1 of electronic desk calculator of the seventh embodiment
3 includes a display counter 13c, an internal counter 13d, a memory counter 13e, and a verification counter 13k as counters.

【0257】本発明の電子卓上計算機の動作の一例を図
30を用いて説明する。
An example of the operation of the electronic desk calculator according to the present invention will be described with reference to FIG.

【0258】表示画面S201は、初期画面を示してい
る。数値部には、00が表示され、カウンタ部には、0
が表示される。
Display screen S201 shows the initial screen. 00 is displayed in the numerical value part, and 0 is displayed in the counter part.
Is displayed.

【0259】表示画面S202は、検算モードを選択す
るために、スイッチをVの位置に合わし、1[+]2
[+]3[=]を演算した値6を表示する。累計計算/
検算レジスタ13hに比較する値が格納されていないた
め、Vシンボルは点灯しない。その後、演算した結果
は、累計計算/検算レジスタ13hに格納される。
In the display screen S202, in order to select the verification mode, the switch is set to the position of V and 1 [+] 2
The value 6 obtained by calculating [+] 3 [=] is displayed. Cumulative calculation /
Since the value to be compared is not stored in the verification register 13h, the V symbol is not turned on. Thereafter, the result of the operation is stored in the cumulative calculation / verification register 13h.

【0260】表示画面S203には、1[+]2[+]
3[=]を演算した値6が表示される。前回演算した結
果(累計計算/検算レジスタ13hに格納されている
値)と、今回演算した結果とが合致するため、計算結果
が合っていることを示すVシンボルが点灯する。
The display screen S203 includes 1 [+] 2 [+]
The value 6 obtained by calculating 3 [=] is displayed. Since the result of the previous calculation (the value stored in the cumulative calculation / verification register 13h) matches the result of the current calculation, a V symbol indicating that the calculation result is correct is lit.

【0261】表示画面S204には、今度は1[+]2
[+]4[=]を演算した値7が表示されている。な
お、Vシンボルは、1が押されたときに消灯する。つま
り、Vシンボルが点灯しているときに、何かキーが押さ
れると、Vシンボルは消灯する。
In the display screen S204, 1 [+] 2
A value 7 obtained by calculating [+] 4 [=] is displayed. The V symbol is turned off when 1 is pressed. That is, if any key is pressed while the V symbol is on, the V symbol goes off.

【0262】表示画面S205は、非検算モードを選択
するために、スイッチを・の位置に合わし、2[+]3
[=]を演算した値5を示している。前回演算した結果
(累計計算/検算レジスタ13hに格納される値)と、
今回演算した結果とが合致しないため、計算結果が合っ
ていることを示すVシンボルが点灯しない。
In the display screen S205, in order to select the non-verification mode, the switch is set to the position of ".
The value 5 obtained by calculating [=] is shown. The result of the previous operation (the value stored in the cumulative calculation / verification register 13h) and
Since the result calculated this time does not match, the V symbol indicating that the calculation result matches does not light.

【0263】表示画面S206は、検算モードを選択す
るために、スイッチをVの位置に合わし、1[+]2
[+]4[=]を演算した値7を表示する。検算モード
で前回演算した結果と、今回演算した結果とが合致する
ため、計算結果が合っていることを示すVシンボルが点
灯する。
In the display screen S206, in order to select the check mode, the switch is set to the position of V, and 1 [+] 2
A value 7 obtained by calculating [+] 4 [=] is displayed. Since the result calculated last time in the check mode matches the result calculated this time, the V symbol indicating that the calculation result is correct is lit.

【0264】表示画面S207は、35[÷][PR
E][=]を演算した値5を示している。キー[PR
E]は、検算モードで累計計算/検算レジスタ13hに
前回保存された演算結果を読み出すキーである。キー
[PRE]を押すことにより、前回保存された演算結果
を使用することができる。
[0264] The display screen S207 displays 35 [÷] [PR
E] [=] indicates a value 5 calculated. Key [PR
E] is a key for reading out the calculation result previously stored in the total calculation / verification register 13h in the verification mode. By pressing the key [PRE], the previously saved operation result can be used.

【0265】表示画面S208は、累計計算モードを選
択するために、スイッチをGTの位置に合わし、2
[×]3[=]を演算した値6を示している。演算した
結果が累計計算/検算レジスタ13h に加算され、G
シンボルが点灯する。
On the display screen S208, in order to select the total calculation mode, set the switch to the GT position and
A value 6 obtained by calculating [×] 3 [=] is shown. The result of the operation is added to the total calculation / verification register 13h, and G
The symbol lights up.

【0266】表示画面S209には、キー[C]および
キー[GT]を押すことにより、累計計算/検算レジス
タ13h に格納されている値が表示される。なお、累
計計算/検算レジスタ13hには、累計計算モードで加
算された値が格納される。
By pressing the key [C] and the key [GT] on the display screen S209, the value stored in the cumulative calculation / verification register 13h is displayed. The value added in the cumulative calculation mode is stored in the cumulative calculation / verification register 13h.

【0267】表示画面S210は、検算モードを選択す
るために、スイッチをVの位置に合わし、5[×]78
9[=]を演算した値3945を示している。上述した
演算が実行されると、累計計算/検算レジスタ13hに
検算に使用するための値が格納されるため、Gシンボル
は消灯する。
In the display screen S210, the switch is set to the position V in order to select the verification mode, and 5 [×] 78
A value 3945 obtained by calculating 9 [=] is shown. When the above-described calculation is performed, the value used for the verification is stored in the cumulative calculation / verification register 13h, so that the G symbol is turned off.

【0268】表示画面S211は、5[×]89[=]
を演算した値445を示している。累計計算/検算レジ
スタ13hに格納されている値と、演算した結果とが異
なるめ、Vシンボルは点灯しない。
The display screen S211 shows 5 [×] 89 [=]
Is calculated 445. Since the value stored in the total calculation / verification register 13h is different from the calculated result, the V symbol does not light.

【0269】表示画面S212は、検算モードで前回保
存された計算結果を示している。キー[PRE]を押し
たことにより、表示器2に表示される。なお、表示器2
に表示される値は、表示画面S211に示された値では
なく、表示画面S210に示された値である。
[0269] The display screen S212 shows the calculation results previously stored in the check mode. When the key [PRE] is pressed, it is displayed on the display 2. Display 2
Are not the values shown on the display screen S211 but the values shown on the display screen S210.

【0270】キー[PRE]をもう一度押すことによ
り、表示画面S213には、表示画面S210に示され
た値が表示される。つまり、キー[PRE]を押すごと
に表示画面S210に示された値と、表示画面S211
に表示された値とを交互に表示することができる。
By pressing key [PRE] again, the value shown on display screen S210 is displayed on display screen S213. That is, every time the key [PRE] is pressed, the value shown on the display screen S210 and the value displayed on the display screen S211 are displayed.
Can be displayed alternately with the value displayed in.

【0271】表示画面S214は、5[×]89[=]
を演算した値445を示している。演算した値445
と、表示画面S211に表示された値とが合致するた
め、計算結果が合っていることを示すVシンボルが点灯
する。
The display screen S214 is 5 [×] 89 [=]
Is calculated 445. The calculated value 445
And the value displayed on the display screen S211 match, so the V symbol indicating that the calculation result matches is lit.

【0272】表示画面S215は、非検算モードを選択
するために、スイッチを・の位置に合わし、123
[×]4[×]5[=]を演算した値2460を示して
いる。この場合、演算した値2460は、累計計算/検
算レジスタ13hに格納されない。
In the display screen S215, in order to select the non-verification mode, the switch is set to the position of.
A value 2460 obtained by calculating [×] 4 [×] 5 [=] is shown. In this case, the calculated value 2460 is not stored in the cumulative calculation / verification register 13h.

【0273】表示画面S216は、キー[PRE]押し
たときの画面を示している。
Display screen S216 shows a screen when key [PRE] is pressed.

【0274】表示画面S217は、検算モードを選択す
るために、スイッチをVの位置に合わし、123[×]
4[×]5[=]を演算した値2460を示している。
演算した値2460と表示画面S216に示された値と
が合致しているのでVシンボルが点灯する。
In the display screen S217, in order to select the check mode, the switch is set to the position of V, and 123 [×]
A value 2460 obtained by calculating 4 [×] 5 [=] is shown.
Since the calculated value 2460 matches the value shown on the display screen S216, the V symbol is turned on.

【0275】表示画面S218は、123[×]20
[=]を演算した値2460を示している。演算した値
2460と、表示画面S216に示された値とが合致し
ているが、カウンタの値が異なるため、Vシンボルは点
灯しない。
[0275] The display screen S218 is 123 [x] 20
A value 2460 obtained by calculating [=] is shown. Although the calculated value 2460 matches the value shown on the display screen S216, the V symbol does not light because the counter value is different.

【0276】本発明の電子卓上計算機の表示器2が、上
述した表示画面S201から表示画面S218を表示す
る場合における本発明の電子卓上計算機の動作を、図3
1〜図34を用いて説明する。図31〜図34は、本発
明の電子卓上計算機のフローチャートの一例を示してい
る。
The operation of the electronic desk calculator of the present invention when the display 2 of the electronic desk calculator of the present invention displays the display screen S218 from the display screen S201 described above is shown in FIG.
This will be described with reference to FIGS. FIGS. 31 to 34 show an example of a flowchart of the electronic desk calculator of the present invention.

【0277】図31は、計算結果を求めるために、計算
結果キー[=]、[%]等が押された場合のフローチャ
ートを示している。本発明の電子卓上計算機は、検算モ
ードまたは累計計算モードなどによって処理が異なる。
FIG. 31 shows a flowchart in the case where the calculation result keys [=], [%], etc. are pressed to obtain the calculation result. The processing of the electronic desk calculator of the present invention differs depending on the verification mode, the total calculation mode, and the like.

【0278】ステップN101では、制御器11が、ス
イッチの位置が累計計算モードを示す位置にあるか否か
を判断する。スイッチの位置が累計計算モードを示す位
置にある場合には、ステップN107ヘ進む。スイッチ
の位置が累計計算モードを示す位置にない場合には、ス
テップN102へ進む。
At step N101, the controller 11 determines whether or not the switch position is at a position indicating the cumulative calculation mode. If the switch position is at the position indicating the cumulative calculation mode, the process proceeds to step N107. If the switch position is not at the position indicating the cumulative calculation mode, the process proceeds to step N102.

【0279】ステップN102では、制御器11が、ス
イッチの位置が検算モードを示す位置にあるか否かを判
断する。スイッチの位置が検算モードを示す位置にある
場合には、ステップN103ヘ進む。スイッチの位置が
検算モードを示す位置にない場合には、処理を終了す
る。
At step N102, the controller 11 determines whether or not the switch position is at the position indicating the verification mode. If the switch is located at the position indicating the verification mode, the process proceeds to step N103. If the switch position is not at the position indicating the verification mode, the process ends.

【0280】ステップN103では、制御器11は、検
算をするために必要な比較値が累計計算/検算レジスタ
13hに格納されているか否かを調べるために、検算フ
ラグ13iが立っているか否かを判断する。検算フラグ
13iが立っている場合には、ステップN104に進
み、検算フラグ13iが立っていない場合には、処理を
終了する。なお、制御器11は、検算をするために必要
な比較値を累計計算/検算レジスタ13hに格納する
と、累計計算/検算レジスタ13hのフラグを立てる。
また、検算フラグ13iが立っていない場合として、初
めて行われた演算などの場合がある。
At step N103, the controller 11 checks whether or not the verification flag 13i is on in order to check whether or not the comparison value required for the verification is stored in the cumulative calculation / verification register 13h. to decide. If the check flag 13i is set, the process proceeds to step N104. If the check flag 13i is not set, the process ends. The controller 11 sets the flag of the accumulation calculation / verification register 13h when the comparison value necessary for the verification is stored in the accumulation calculation / verification register 13h.
In addition, as the case where the check flag 13i is not set, there is a case where the calculation is performed for the first time.

【0281】ステップN104では、制御器11は、X
レジスタ13aに格納されている演算結果と、累計計算
/検算レジスタ13hに格納されている計算結果を比較
する。Xレジスタ13aに格納されている演算結果と、
累計計算/検算レジスタ13hに格納されている計算結
果とが一致する場合には、ステップN105へ進み、一
致しない場合には、ステップN106ヘ進む。
At Step N104, the controller 11 sets X
The calculation result stored in the register 13a is compared with the calculation result stored in the cumulative calculation / verification register 13h. An operation result stored in the X register 13a;
If the calculation result stored in the cumulative calculation / verification register 13h matches, the process proceeds to step N105, and if not, the process proceeds to step N106.

【0282】ステップN105では、制御器11は、検
算結果が一致したこと示す信号を表示器2に出力し、表
示器2は、その信号に応じて検算シンボルVを点灯す
る。
At step N105, the controller 11 outputs to the display 2 a signal indicating that the verification results match, and the display 2 lights the verification symbol V according to the signal.

【0283】ステップN106では、次に任意のキーが
押されると、制御器11は、計算結果を累計計算/検算
レジスタ13hに転送するために検算後フラグ13jの
フラグを立てる。
In step N106, when any key is pressed next, the controller 11 sets the post-verification flag 13j to transfer the calculation result to the total calculation / verification register 13h.

【0284】なお、検算後フラグ13jを使用しない場
合には、制御器11は、Xレジスタ13aの計算結果を
累計計算/検算レジスタ13hに格納してもよい。ま
た、制御器11は、演算回数カウンタ13cの値を検算
カウンタ13kに同時に格納してもよい。
When the post-verification flag 13j is not used, the controller 11 may store the calculation result of the X register 13a in the cumulative calculation / verification register 13h. Further, the controller 11 may simultaneously store the value of the calculation counter 13c in the verification counter 13k.

【0285】ステップN107では、制御器11は、検
算/累計計算メモリ13hに検算用の比較値が格納され
ているのか否かを調べるために、検算/累計計算フラグ
13iのフラグが立っているか否かを判断する。検算/
累計計算フラグ13iのフラグが立っている場合には、
ステップN108に進む。検算/累計計算フラグ13i
のフラグが立っていない場合には、ステップN110に
進む。
At step N107, the controller 11 checks whether or not the flag of the verification / accumulation calculation flag 13i is on in order to check whether or not the comparison value for verification is stored in the verification / accumulation calculation memory 13h. Judge. verification of accounts/
When the flag of the cumulative calculation flag 13i is set,
Proceed to step N108. Checking / Cumulative calculation flag 13i
If the flag is not set, the process proceeds to step N110.

【0286】なお、比較するために保存されている検算
結果と、累計計算において累計した結果とを同じ領域に
格納しない場合には、ステップN107〜ステップN1
09を実行せず、ステップN110に進めばよい。
If the verification result stored for comparison and the total result in the total calculation are not stored in the same area, steps N107 to N1 are performed.
09 may not be executed and the process may proceed to step N110.

【0287】ステップN108では、制御器11は、検
算/累計計算メモリ13hに格納されている値をクリア
するために、0を検算/累計計算メモリ13hに格納す
る。
At step N108, the controller 11 stores 0 in the verification / accumulation calculation memory 13h in order to clear the value stored in the verification / accumulation calculation memory 13h.

【0288】ステップN109では、制御器11は、検
算/累計計算メモリ13hに検算用の比較値が格納され
ていないため、検算/累計計算フラグ13iをリセット
する。
At step N109, the controller 11 resets the verification / accumulation calculation flag 13i because no comparison value for verification is stored in the verification / accumulation calculation memory 13h.

【0289】ステップN110では、演算結果が検算/
累計計算メモリ13hに累計される。この累計動作は、
従来と同じてあるため説明を省略する。
At step N110, the calculation result is
It is accumulated in the accumulation memory 13h. This cumulative operation is
Description is omitted because it is the same as the conventional one.

【0290】なお、検算/累計計算フラグ13iによっ
て、検算/累計計算メモリに検算用の比較値が格納され
ている場合には、制御器11は、累計計算シンボルVを
点灯しないようにしてもよい。
When the comparison / accumulation calculation flag 13i stores a comparison value for verification in the verification / accumulation calculation memory, the controller 11 may not turn on the accumulation calculation symbol V. .

【0291】図32は、キー[PRE](あるいはキー
[PRE/GT])が押された場合のフローチャートを
示している。
FIG. 32 shows a flowchart when the key [PRE] (or the key [PRE / GT]) is pressed.

【0292】ステップN121では、検算シンボルが点
灯している場合、制御器11は、任意のキーが押される
と、検算シンボルVを消灯すること示す信号を表示器2
に出力する。表示器2は、その信号に応じて検算シンボ
ルVを消灯する。なお、任意のキーが押されると、制御
器11は、累計計算/検算レジスタ13hに格納してい
る演算結果を消去する。押されたキーが数値キーであれ
ば、制御器11は、数値キーに対応する数字を表示器2
に表示させる。
At step N121, when the verification symbol is lit, the controller 11 displays a signal indicating that the verification symbol V is turned off when any key is pressed.
Output to The display 2 turns off the verification symbol V according to the signal. When an arbitrary key is pressed, the controller 11 deletes the operation result stored in the cumulative calculation / verification register 13h. If the pressed key is a numerical key, the controller 11 displays a number corresponding to the numerical key on the display 2.
To be displayed.

【0293】ステップN122では、制御器11は、検
算後フラグ13jのフラグが立っているのか否かを判断
する。検算後フラグ13jのフラグが立っている場合に
は、ステップN123へ進む。検算後フラグ13jのフ
ラグが立っているということは、ステップN121で任
意のキーが押される直前には、検算が行われていたこと
を示す。検算後フラグ13jのフラグが立っていない場
合には、処理を終了する。
At step N122, the controller 11 determines whether or not the post-verification flag 13j is on. If the post-verification flag 13j is on, the process proceeds to step N123. The fact that the post-verification flag 13j is set indicates that the verification has been performed immediately before any key is pressed in step N121. If the post-verification flag 13j is not set, the process ends.

【0294】ステップN123では、制御器11は、X
レジスタ13aに格納されている値を累計計算/検算レ
ジスタ13hに格納する。
At Step N123, the controller 11
The value stored in the register 13a is stored in the cumulative calculation / verification register 13h.

【0295】ステップN124では、累計計算/検算レ
ジスタ13hに検算用の比較値が格納されていることを
示すため、制御器11は、検算フラグ13iのフラグを
立てる。
In step N124, the controller 11 sets the check flag 13i to indicate that the comparison value for check is stored in the cumulative calculation / check register 13h.

【0296】ステップN125では、後に押されるキー
により、表示器2に表示されている値を累計計算/検算
レジスタ13hに格納することを避けるために、制御器
11は、検算後フラグ13jのフラグを下げる。
In step N125, the controller 11 sets the flag of the post-verification flag 13j to avoid storing the value displayed on the display unit 2 in the cumulative calculation / verification register 13h by a key pressed later. Lower.

【0297】なお、検算直後に計算結果を累計計算/検
算レジスタ13hに格納する場合には、制御器11は、
ステップN122〜ステップN125の処理を行わな
い。
When the calculation result is stored in the cumulative calculation / verification register 13h immediately after the verification, the controller 11
Steps N122 to N125 are not performed.

【0298】図33は、キー[PRE]が押された場合
のフローチャートである。
FIG. 33 is a flowchart when the key [PRE] is pressed.

【0299】ステップN131では、制御器11が、ス
イッチの位置が検算モードを示す位置にあるか否かを判
断する。スイッチの位置が検算モードを示す位置にある
場合には、ステップN132ヘ進む。スイッチの位置が
検算モードを示す位置にない場合には、ステップN11
34へ進む。なお、本発明の電子卓上計算機が、前回演
算した結果を呼び出すリコール機能を有し、スイッチの
位置が検算モードを示す位置にない場合には、ステップ
N134に進む。
At step N131, controller 11 determines whether or not the switch is at the position indicating the verification mode. If the switch is in the position indicating the verification mode, the process proceeds to step N132. If the switch position is not at the position indicating the verification mode, step N11
Proceed to 34. If the electronic desk calculator of the present invention has a recall function for calling the result of the previous calculation, and the switch is not at the position indicating the verification mode, the process proceeds to step N134.

【0300】ステップN132では、制御器11が、検
算後フラグ13jのフラグが立っているか否かを判断す
る。検算後フラグ13jのフラグが立っている場合に
は、ステップN133に進み、立っていない場合には、
ステップN134に進む。なお、検算後フラグ13jの
フラグが立っていることは、計算結果キーが押され検算
が実行された直後であることを示している。
At step N132, the controller 11 determines whether or not the post-verification flag 13j is on. If the post-verification flag 13j is on, the process proceeds to step N133; otherwise, the process proceeds to step N133.
Proceed to step N134. The fact that the post-verification flag 13j is set indicates that immediately after the calculation result key is pressed and the verification is executed.

【0301】ステップN133では、制御器11は、表
示器2に累計計算/検算レジスタ13hに格納されてい
る演算結果を表示させ、累計計算/検算レジスタ13h
に格納されている値と、Xレジスタ13aに格納されて
いる値とを入れ換える。
At step N133, the controller 11 causes the display 2 to display the operation result stored in the total calculation / verification register 13h, and the total calculation / verification register 13h
Is exchanged with the value stored in the X register 13a.

【0302】ステップN134では、累計計算/検算レ
ジスタ13hのリコール値あるいは累計計算の値を表示
器2に表示するため、制御器11は、累計計算/検算レ
ジスタ13hのリコール値あるいは累計計算の値をXレ
ジスタ13aに格納する。
At step N134, the controller 11 displays the recall value of the total calculation / verification register 13h or the value of the total calculation on the display unit 2 so that the controller 11 displays the recall value or the total value of the total calculation / verification register 13h. Store in X register 13a.

【0303】なお、制御器11は、検算用カウンタ13
kの値を演算回数カウンタ13cに格納する処理を行っ
てもよい。
It should be noted that the controller 11 is provided with a check counter 13
A process of storing the value of k in the number-of-operations counter 13c may be performed.

【0304】また、本発明の電子卓上計算機が、キー
[PRE]およびキー[GT]の代わりに、キー[PR
E]およびキー[GT]を兼用するキー[PRE/G
T]を有している場合には、キー[PRE/GT]を押
すことにより、上述した処理を行うことができる。
Also, the electronic desk calculator of the present invention uses the key [PR] instead of the key [PRE] and the key [GT].
E] and the key [PRE / G
T], the above processing can be performed by pressing the key [PRE / GT].

【0305】図34はキー[PRE]の処理のフローチ
ャートである。
FIG. 34 is a flowchart of the processing of the key [PRE].

【0306】ステップN141では、制御器11は、ス
イッチの位置が検算モードを示す位置にあるか否かを判
断する。スイッチの位置が検算モードを示す位置にある
場合には、ステップN142に進む。スイッチの位置が
検算モードを示す位置にない場合には、表示器2に表示
されている値を検算値として保存する処理を行うため、
ステップN146に進む。
At step N141, the controller 11 determines whether or not the switch position is at the position indicating the verification mode. If the switch is located at the position indicating the verification mode, the process proceeds to step N142. When the position of the switch is not at the position indicating the verification mode, a process of storing the value displayed on the display 2 as a verification value is performed.
Proceed to step N146.

【0307】ステップN142では、制御器11は、検
算フラグ13iのフラグが立っているのか否かを判断す
る。フラグが立っている場合には、ステップN143に
進む。フラグが立っていない場合には、この処理を終了
する。なぜなら、累計計算/検算レジスタ13hに前の
演算結果が保持されていないのでこれを表示しても意味
がないからである。
In step N142, the controller 11 determines whether the check flag 13i is on. When the flag is set, the process proceeds to Step N143. If the flag is not set, this processing ends. This is because the previous calculation result is not stored in the cumulative calculation / verification register 13h, and it is meaningless to display it.

【0308】ステップN143〜ステップN145の処
理は、図36に示すステップN132〜ステップN13
4の処理と同じであるので、説明を省略する。
The processing in steps N143 to N145 is performed in steps N132 to N13 shown in FIG.
4, the description is omitted.

【0309】ステップN146では、表示器2に表示さ
れている値を累計計算/検算レジスタ13hに格納する
ため、制御器11は、Xレジスタ13aに格納されてい
る値を累計計算/検算レジスタ13hに格納する。な
お、本発明の電子卓上計算機は、ステップN146およ
びステップN147の処理のみ行うキーを設けてもよ
い。
In step N146, the controller 11 stores the value displayed on the display 2 in the cumulative calculation / verification register 13h, so that the controller 11 stores the value stored in the X register 13a in the cumulative calculation / verification register 13h. Store. In addition, the electronic desk calculator of the present invention may be provided with a key that performs only the processing of step N146 and step N147.

【0310】ステップN147では、制御器11は、累
計計算/検算レジスタ13hに、検算に用いられる比較
値が格納されていることを示すフラグを検算フラグ13
iで立てる。
In step N147, the controller 11 sets the flag indicating that the comparison value used for the verification is stored in the accumulation calculation / verification register 13h in the verification flag 13
Stand with i.

【0311】[0311]

【発明の効果】本発明の電子卓上計算機は、表示カウン
タ13cを備えているため、計算途中で計算位置が分か
らなくなった場合であっても、表示カウントから現在の
計算位置を容易に知ることができる。複数の式の計算を
連続で行う場合、数値を入力することにより、表示カウ
ンタ13cの値が1になるため、クリアキーが必要な
い。このため、操作性が向上する。本発明の電子卓上計
算機では、演算実行キーが押されたか否かに関係なく、
表示カウンタ13cの値が増加される。演算途中に操作
を間違った部分について訂正を行った場合でも、表示カ
ウンタ13cは正しい数を保つことができる。定数計算
機能を利用して一部のキー入力を省略させても、表示カ
ウンタ13cは、省略した回数を加算した正しい数を保
つことができる。幾つかの値を循環させて表示するよう
な特殊な演算子キーに対してもキーを押した回数に関わ
らずカウンタは正しい演算回数を保つことができる。メ
モリ計算を交えて計算を行うときであっても、メモリに
記憶されている値を呼び出すときに、メモリに記憶され
ている値の計数も呼び出すことができる。演算の途中で
その演算とは関係しない余計な操作を行って演算の続き
を行ってもカウンタは正しい演算回数を保つのでカウン
タの実用性が向上する。
Since the electronic desk calculator of the present invention includes the display counter 13c, even if the calculation position is lost during the calculation, the current calculation position can be easily known from the display count. it can. When a plurality of formulas are calculated successively, the value of the display counter 13c becomes 1 by inputting a numerical value, so that a clear key is not required. Therefore, the operability is improved. In the electronic desk calculator of the present invention, regardless of whether the operation execution key is pressed,
The value of the display counter 13c is increased. The display counter 13c can keep the correct number even when an incorrect operation is corrected during the calculation. Even if some key inputs are omitted using the constant calculation function, the display counter 13c can keep the correct number obtained by adding the omitted number. The counter can maintain the correct number of operations regardless of the number of times the key is pressed, even for special operator keys such as displaying several values in a circular manner. Even when the calculation is performed together with the memory calculation, when the value stored in the memory is called, the counting of the value stored in the memory can be called. Even if an extra operation unrelated to the operation is performed in the middle of the operation and the continuation of the operation is performed, the counter maintains the correct number of operations, thereby improving the practicality of the counter.

【0312】本発明の電子卓上計算機が、比較対象と演
算結果とを比較するため、ユーザーが目視で比較するの
に比べて間違いが起こりにくく、比較結果を得るまでに
要する時間も早い。検算機能とリコール機能の両方を備
えた機器を実現する時に必要なRAM、ROMの容量等
の部品点数が削減できる。検算機能と累計計算機能の両
方を備えた機器を実現する時に必要なRAM、ROMの
容量、キー数等の部品点数が削減できる。検算において
結果が違っていた時に前の結果を実際に確認でき検算機
能の実用性が向上する。また数値表示部が一つのままで
良いので旧来の検算機能に対して、部品点数が少なくて
済む。検算において結果が違っていた時に前の結果と今
回の結果の何れに対しても自由に行き来でき、次の計算
にどちらを使用するかを選択できるので検算機能の実用
性が向上する。検算には使用できない計算の結果や、検
算モードにするのを忘れて計算した、最初から結果が分
かっている場合など本来の検算から外れた値も検算に使
用できるようになり検算機能の実用性が向上する。検算
機能において値の呼び出しと入力の両方を備えた機器を
実現する時に必要なキー数が1つで済み部品点数が削減
できる。検算機能において結果の数値のみを比較するよ
り厳密な比較ができる検算機能の実用性が向上する。
[0312] Since the electronic desk calculator of the present invention compares the comparison target with the calculation result, errors are less likely to occur than when the user performs the visual comparison, and the time required to obtain the comparison result is short. It is possible to reduce the number of components such as RAM and ROM capacity required when realizing a device having both the check function and the recall function. It is possible to reduce the number of components such as RAM and ROM capacities and the number of keys required for realizing a device having both the check function and the cumulative calculation function. When the result is different in the verification, the previous result can be actually confirmed, and the practicality of the verification function is improved. Also, since only one numerical value display unit is required, the number of parts can be reduced with respect to the conventional check function. When the result is different in the check, it is possible to freely switch between the previous result and the present result, and it is possible to select which to use for the next calculation, so that the practicality of the check function is improved. The results of calculations that cannot be used for checking, or values that deviate from the original checking, such as when the user forgot to enter the checking mode and the results are known from the beginning, can be used for checking, making the checking function practical. Is improved. In order to realize a device having both a value calling and an input in the reconciliation function, only one key is required and the number of parts can be reduced. Practicality of the check function which can perform a stricter comparison than comparing only the numerical value of the result in the check function is improved.

【0313】伝票計算等で計算途中で計算位置が分から
なくなった場合でも表示から現在どこまで入力していた
かを容易に知ることができ操作性が向上する。
Even if the calculation position is lost during the calculation of a slip or the like during the calculation, it is easy to know from the display how far the input has been made and the operability is improved.

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

【図1】本発明の実施例の電子卓上計算機の外観図であ
る。
FIG. 1 is an external view of an electronic desk calculator according to an embodiment of the present invention.

【図2】本発明の電子卓上計算機のブロック図の一例で
ある。
FIG. 2 is an example of a block diagram of an electronic desk calculator of the present invention.

【図3】実施の形態1の表示画面の一例である。FIG. 3 is an example of a display screen of the first embodiment.

【図4】実施の形態1の状態遷移図の一例である。FIG. 4 is an example of a state transition diagram of the first embodiment.

【図5】実施の形態1の表示画面の一例である。FIG. 5 is an example of a display screen of the first embodiment.

【図6】実施の形態1の状態遷移図の一例である。FIG. 6 is an example of a state transition diagram of the first embodiment.

【図7】実施の形態1の表示画面の一例である。FIG. 7 is an example of a display screen of the first embodiment.

【図8】実施の形態1の状態遷移図の一例である。FIG. 8 is an example of a state transition diagram of the first embodiment.

【図9】実施の形態2の表示画面の一例である。FIG. 9 is an example of a display screen according to the second embodiment.

【図10】実施の形態2の状態遷移図の一例である。FIG. 10 is an example of a state transition diagram of the second embodiment.

【図11】実施の形態3の表示画面の一例である。FIG. 11 is an example of a display screen according to the third embodiment.

【図12】実施の形態3の状態遷移図の一例である。FIG. 12 is an example of a state transition diagram of the third embodiment.

【図13】実施の形態4の表示画面の一例である。FIG. 13 is an example of a display screen of the fourth embodiment.

【図14】実施の形態4の状態遷移図の一例である。FIG. 14 is an example of a state transition diagram of the fourth embodiment.

【図15】実施の形態5の表示画面の一例である。FIG. 15 is an example of a display screen according to the fifth embodiment.

【図16】実施の形態5の状態遷移図の一例である。FIG. 16 is an example of a state transition diagram of the fifth embodiment.

【図17】実施の形態6の表示画面の一例である。FIG. 17 is an example of a display screen of the sixth embodiment.

【図18】実施の形態5の状態遷移図の一例である。FIG. 18 is an example of a state transition diagram of the fifth embodiment.

【図19】本発明の電子卓上計算機の表示画面の一例で
ある。
FIG. 19 is an example of a display screen of the electronic desk calculator of the present invention.

【図20】本発明の電子卓上計算機の状態遷移図の一例
である。
FIG. 20 is an example of a state transition diagram of the electronic desk calculator of the present invention.

【図21】本発明の電子卓上計算機のフローチャートの
一例である。
FIG. 21 is an example of a flowchart of the electronic desk calculator of the present invention.

【図22】本発明の電子卓上計算機のフローチャートの
一例である。
FIG. 22 is an example of a flowchart of the electronic desk calculator of the present invention.

【図23】本発明の電子卓上計算機のフローチャートの
一例である。
FIG. 23 is an example of a flowchart of the electronic desk calculator of the present invention.

【図24】本発明の電子卓上計算機のフローチャートの
一例である。
FIG. 24 is an example of a flowchart of the electronic desk calculator of the present invention.

【図25】本発明の電子卓上計算機のフローチャートの
一例である。
FIG. 25 is an example of a flowchart of the electronic desk calculator of the present invention.

【図26】本発明の電子卓上計算機のフローチャートの
一例である。
FIG. 26 is an example of a flowchart of the electronic desk calculator of the present invention.

【図27】本発明の電子卓上計算機のフローチャートの
一例である。
FIG. 27 is an example of a flowchart of the electronic desk calculator of the present invention.

【図28】本発明の電子卓上計算機のフローチャートの
一例である。
FIG. 28 is an example of a flowchart of the electronic desk calculator of the present invention.

【図29】本発明の電子卓上計算機のフローチャートの
一例である。
FIG. 29 is an example of a flowchart of the electronic desk calculator of the present invention.

【図30】実施の形態7の表示画面の一例である。FIG. 30 is an example of a display screen of the seventh embodiment.

【図31】実施の形態7の状態遷移図の一例である。FIG. 31 is an example of a state transition diagram of the seventh embodiment.

【図32】本発明の電子卓上計算機のフローチャートの
一例である。
FIG. 32 is an example of a flowchart of the electronic desk calculator of the present invention.

【図33】本発明の電子卓上計算機のフローチャートの
一例である。
FIG. 33 is an example of a flowchart of the electronic desk calculator of the present invention.

【図34】本発明の電子卓上計算機のフローチャートの
一例である。
FIG. 34 is an example of a flowchart of the electronic desk calculator of the present invention.

【符号の説明】[Explanation of symbols]

1 電子卓上計算機 2 表示器 3 キーボード 4 スイッチ 11 制御器 12 ROM 13 RAM DESCRIPTION OF SYMBOLS 1 Electronic desk calculator 2 Display 3 Keyboard 4 Switch 11 Controller 12 ROM 13 RAM

───────────────────────────────────────────────────── フロントページの続き (72)発明者 大場 美穂 大阪府大阪市阿倍野区長池町22番22号 シ ャープ株式会社内 Fターム(参考) 5B019 HE07 HE08 HE18  ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Miho Ohba 22-22 Nagaikecho, Abeno-ku, Osaka-shi, Osaka F-term (reference) 5B019 HE07 HE08 HE18

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 式を入力し、その入力された式の演算を
行い、その演算結果をメモリに加減算でき、メモリに格
納している値を呼び出し、この呼び出した値を置数に準
ずる形で式の中の値として使用できる機能を備える電子
卓上計算機であって、 前記演算を行った式の結果を前記メモリに加減算すると
きに、演算回数用カウンタの値をメモリ用のカウンタと
同時に加算し、 前記メモリの値を置数に準ずる形で式の中で用いた演算
を行うときに、前記メモリのカウンタの値を演算回数用
カウンタと同時に加算する電子卓上計算機。
An expression is input, an operation of the input expression is performed, the operation result can be added to or subtracted from a memory, a value stored in a memory is called, and the called value is converted in accordance with a numeral. An electronic desk calculator having a function that can be used as a value in an expression, wherein when adding / subtracting the result of the expression that performed the operation to / from the memory, the value of the number-of-operations counter is added simultaneously with the counter for the memory. An electronic desk calculator which adds a value of a counter of the memory simultaneously with a counter of the number of operations when performing an operation using a value of the memory in a formula according to a numerical value.
JP2001227123A 2001-07-27 2001-07-27 Electronic desk computer Pending JP2002063144A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001227123A JP2002063144A (en) 2001-07-27 2001-07-27 Electronic desk computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001227123A JP2002063144A (en) 2001-07-27 2001-07-27 Electronic desk computer

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP05065696A Division JP3344641B2 (en) 1996-03-07 1996-03-07 Electronic desk calculator

Publications (1)

Publication Number Publication Date
JP2002063144A true JP2002063144A (en) 2002-02-28

Family

ID=19059830

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001227123A Pending JP2002063144A (en) 2001-07-27 2001-07-27 Electronic desk computer

Country Status (1)

Country Link
JP (1) JP2002063144A (en)

Similar Documents

Publication Publication Date Title
US6760477B2 (en) Method and apparatus for entering data strings including Hangul (Korean) and ASCII characters
JP3344641B2 (en) Electronic desk calculator
JP2008293403A (en) Character input device, portable terminal and character input program
US8214413B2 (en) Electronic calculator with a formula display function
JP3140916B2 (en) Formula input device
JP4961792B2 (en) Formula editing apparatus and formula editing program
KR20010107388A (en) Mobile Telecommunication
US8671125B2 (en) Electronic calculator and computer-readable medium
JP2002099516A (en) Electronic desk-top calculator
JP2002063144A (en) Electronic desk computer
JP2002055962A (en) Electronic desktop calculator
US6300934B1 (en) Method and apparatus for entering Hangul (Korean) characters
JP2010108243A (en) Keyboard input device
JPH10187622A (en) Tax calculator and tax calculating method
JP3969301B2 (en) Graph display control device and graph display control program
JP2004046297A (en) Shopping computer and shopping calculation program
JP2023045848A (en) Calculator and calculation program
JP2022115562A (en) Computing machine and calculation program
KR100606758B1 (en) apparatus and method for inputting text in a mobile communication terminal
JP2003150563A (en) Calculator and calculation processing program
JPH07319822A (en) Minicomputer with checking function
JP2022096864A (en) Computer and calculation program
JPH09231176A (en) Electronic computer
JPH09259086A (en) Electronic computer
KR100531853B1 (en) Telephone number searching method for mobile communication terminal

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040406