JPH06348655A - Electronic computer - Google Patents

Electronic computer

Info

Publication number
JPH06348655A
JPH06348655A JP5132220A JP13222093A JPH06348655A JP H06348655 A JPH06348655 A JP H06348655A JP 5132220 A JP5132220 A JP 5132220A JP 13222093 A JP13222093 A JP 13222093A JP H06348655 A JPH06348655 A JP H06348655A
Authority
JP
Japan
Prior art keywords
key
constant
operated
calculation
mode
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.)
Granted
Application number
JP5132220A
Other languages
Japanese (ja)
Other versions
JP3498323B2 (en
Inventor
Hiroaki Yoshizawa
博明 吉澤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP13222093A priority Critical patent/JP3498323B2/en
Publication of JPH06348655A publication Critical patent/JPH06348655A/en
Application granted granted Critical
Publication of JP3498323B2 publication Critical patent/JP3498323B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Calculators And Similar Devices (AREA)

Abstract

PURPOSE:To attain the calculation of a constant even during an arithmetic operation including the parentheses or an arithmetic operation where a calculating order is previously set by carrying out the calculation of the constant based on the arithmetic contents and the numerical value stored in a storage means corresponding to a constant key when this key is operated in the modes other than a setting mode. CONSTITUTION:For instance, the working mode is switched to a setting mode by a setting means even during an operation and then a constant key 34 is operated. Thus the arithmetic contents and the numerical which are designated by an arithmetic key 32 and a numerical key 31 operated before the key 34 are stored in a RAM 4 corresponding to the key 34. Then the setting mode is changed to an arithmetic mode and the key 34 is operated again after execution of the calculation. Thus the arithmetic contents and the numerical are read out of the RAM 4 and a constant is calculated. Therefore the constant can be set even during an arithmetic operation including the parentheses or an arithmetic operation where a calculating sequence is previously set and the calculation is carried out based on the calculated constant.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、定数演算機能を有する
電子式計算機に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic computer having a constant arithmetic function.

【0002】[0002]

【従来技術とその問題点】電子式計算機などでは定数演
算機能を備えたものがあり、その定数演算機能は、数値
を表示させた状態で×、÷、+、−等の演算キーを2回
操作すると入力した数値とそのとき指定した演算内容と
が定数として登録され、その後=キーを操作すると登録
した定数計算が実行されるようになっている。例えば、
数値「20」を入力して×キーを2回操作すると、「×
20」が定数として登録される。この状態で次に数値Y
を入力し、=キーを操作すると「Y×20」の定数演算
が実行される。
2. Description of the Related Art Some electronic calculators and the like have a constant calculation function, and the constant calculation function can be operated by pressing the calculation key such as ×, ÷, +,-twice with the numerical value displayed. When the operation is performed, the input numerical value and the operation content designated at that time are registered as constants, and when the = key is operated thereafter, the registered constant calculation is executed. For example,
If you enter the numerical value "20" and operate the X key twice, "X
20 "is registered as a constant. Next in this state, the value Y
When is input and the = key is operated, the constant operation of “Y × 20” is executed.

【0003】しかしながら、上述した従来の定数演算で
は、定数を登録した後、×、÷、+、−等の演算キーを
操作すると登録が取り消されてしまうので、かっこを含
む演算や、演算順序が決められている演算等の途中では
定数計算が行えないという問題点があった。
However, in the above-mentioned conventional constant arithmetic operation, if the arithmetic keys such as ×, ÷, +, and − are operated after the constant is registered, the registration is canceled. There was a problem that constant calculation could not be performed in the middle of a predetermined calculation.

【0004】本発明の目的は、かっこを含む演算、ある
いは演算順序が決められている演算などの途中において
も定数計算ができる電子式計算機を提供することであ
る。
An object of the present invention is to provide an electronic computer capable of constant calculation even in the middle of an operation including parentheses or an operation in which the order of operations is determined.

【0005】[0005]

【課題を解決するための手段】本発明の電子式計算機
は、演算及び数値キーと、定数キーと、定数の設定モー
ドの設定手段と、演算キー及び数値キーが操作され、か
つ設定モードにおいて定数キーが操作されたとき、演算
キー及び数値キーにより指定される演算内容及び数値を
操作された定数キーに対応させて記憶する記憶手段と、
設定モードでない時に前記定数キーが操作されたとき、
その定数キーに対応させて記憶手段に記憶されている演
算内容及び数値に基づいて定数演算を実行する演算実行
手段とを備える。
The electronic computer according to the present invention comprises a calculation / numerical key, a constant key, a setting means for a constant setting mode, a calculation key and a numerical key, and a constant in the setting mode. Storage means for storing, when the key is operated, the operation contents and numerical values designated by the operation key and the numerical key in association with the operated constant key;
When the constant key is operated when not in the setting mode,
There is provided an operation executing means for executing a constant operation based on the operation content and the numerical value stored in the storage means in association with the constant key.

【0006】[0006]

【作用】本発明では、例えば演算途中においても設定手
段により設定モードに切り換え、定数キーを操作するこ
とで、定数キーを操作する前に操作した演算キー及び数
値キーにより指定される演算内容及び数値が、定数キー
に対応させて記憶手段に記憶される。そして、設定モー
ドから演算モードに切り換えた後、演算を実行して再び
定数キーを操作すると、その定数キーに対応させて記憶
手段に記憶されている演算内容及び数値が読み出され定
数演算が実行される。
In the present invention, for example, even during calculation, the setting mode is switched to the setting mode and the constant key is operated, whereby the calculation content and the numerical value specified by the calculation key and the numerical key operated before the constant key is operated. Are stored in the storage means in association with the constant keys. Then, after switching from the setting mode to the calculation mode, when the calculation is executed and the constant key is operated again, the calculation contents and numerical values stored in the storage means corresponding to the constant key are read out and the constant calculation is executed. To be done.

【0007】従って、かっこを含む演算、あるいは演算
順序が決められている演算などの途中でも定数を設定す
ることができ、その設定した定数による定数計算が可能
となる。
Therefore, it is possible to set a constant even in the middle of an operation including parentheses or an operation in which the order of operations is determined, and it becomes possible to perform constant calculation using the set constant.

【0008】[0008]

【実施例】以下、本発明の実施例を図面を参照しながら
説明する。図1は、実施例の定数計算機能付電子式卓上
電子計算機の回路構成を示すブロック図である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the circuit configuration of an electronic desk-top computer with a constant calculation function according to the embodiment.

【0009】発振回路1は、制御部2の動作の基準とな
るクロック信号を生成する。キー入力部3は、数値キー
31と、×、÷、−、+等の演算キー及びシフトキー等
からなるファクンションキー32と、左かっこキー33
と、右かっこキー35と、定数を設定するとき操作され
るF1 〜F3 キーからなる定数キー34と、モード切り
換え時に操作されるモードキーMと、メモリの内容をク
リアするオールクリアキー(ACキー)とで構成されて
おり、これらのキーの操作信号は制御部2に出力され
る。
The oscillator circuit 1 generates a clock signal which serves as a reference for the operation of the controller 2. The key input unit 3 includes a numerical key 31, a function key 32 including arithmetic keys such as ×, ÷, −, and + and a shift key, and a left parenthesis key 33.
, A right parenthesis key 35, a constant key 34 composed of F 1 to F 3 keys which is operated when setting a constant, a mode key M which is operated when the mode is switched, and an all clear key which clears the contents of the memory ( AC key), and operation signals of these keys are output to the control unit 2.

【0010】RAM4は、キー入力部3から入力された
数値及び演算結果を記憶する表示レジスタXと、演算用
レジスタY、Zと、指定された演算内容及び数値を各定
数キー34に対応させて記憶する定数レジスタf1 〜f
3 と、かっこの数を記憶するレジスタnと、動作モード
に対応する数値を記憶するモードレジスタmと、操作さ
れたファンクションキー32の内容を記憶するレジスタ
lとで構成されている。
The RAM 4 associates the display register X for storing the numerical value and the operation result input from the key input unit 3, the operation registers Y and Z, the specified operation content and the numerical value with each constant key 34. Store constant registers f 1 to f
3 , a register n for storing the number of parentheses, a mode register m for storing a numerical value corresponding to the operation mode, and a register 1 for storing the content of the operated function key 32.

【0011】液晶表示部6は、数値を表示する複数桁の
セグメント表示体からなる数値表示部61と、設定モー
ドのとき表示される「SET」、F1 キーからF3 キー
が操作されて定数の設定が行われたとき表示される「F
1 」、「F2 」、「F3 」、左かっこキー33、右かっ
こキー35または演算キーが操作されたとき表示される
「(、×、÷、+、−」の各文字・記号表示体62とで
構成されている。
[0011] The liquid crystal display unit 6, a numerical display unit 61 composed of a multi-digit segment display member for displaying a numerical value, is operated "SET", F 3 key F 1 keys displayed when the setting mode constants When the setting of “F
1 "," F 2 "," F 3 ", left parenthesis key 33 is displayed when the right parenthesis key 35 or operation key is operated" (, ×, ÷, +, - each character-designation of " And a body 62.

【0012】制御部2はROMを内蔵しており、そのR
OMに格納されている制御プログラムに従ってキー入力
処理、演算処理等を実行し、キー入力部3から入力され
る数値及び演算結果等をRAM4に記憶させると共に、
表示ドライバ5を駆動してそれらのデータを液晶表示部
6に表示させる。
The control unit 2 has a built-in ROM and its R
Key input processing, arithmetic processing, etc. are executed according to the control program stored in the OM, and numerical values and arithmetic results input from the key input unit 3 are stored in the RAM 4, and
The display driver 5 is driven to display the data on the liquid crystal display unit 6.

【0013】次に、以上のような構成の実施例の動作を
図2、図3のフローチャート及び図4〜図9の操作手順
の一例を示す図を参照して説明する。図2は、モードキ
ーが操作されたときの処理内容を示すフローチャートで
ある。先ず、ステップS1でモードレジスタmの値が
「0」、すなわちm=0の演算モードにおいてモードキ
ーが操作されたのか否かを判別する。
Next, the operation of the embodiment having the above configuration will be described with reference to the flowcharts of FIGS. 2 and 3 and the drawings showing an example of the operation procedure of FIGS. 4 to 9. FIG. 2 is a flowchart showing the processing contents when the mode key is operated. First, in step S1, it is determined whether or not the value of the mode register m is "0", that is, the mode key is operated in the calculation mode of m = 0.

【0014】ステップS1の判別でモードレジスタmの
値が「0」の場合には、演算モードにおいてモードキー
Mが操作されたときであり、その場合はステップS2に
進みモードレジスタmに「1」を設定して定数のセット
(設定)モードに切り換える。これにより演算モード
(m=0)からセットモード(m=1)に切り換わるの
で、次のステップS3で表示部6の「SET」の文字・
記号表示体62を点灯表示させてセットモードに切り換
わったことを明示する。
If the value of the mode register m is "0" in the determination in step S1, it means that the mode key M is operated in the arithmetic mode. In that case, the process proceeds to step S2 and "1" is stored in the mode register m. To switch to the constant setting (setting) mode. As a result, the calculation mode (m = 0) is switched to the set mode (m = 1). Therefore, in the next step S3, the characters “SET” on the display unit 6
The symbol display body 62 is lit and displayed to clearly indicate that the mode has been switched to the set mode.

【0015】一方、ステップS1の判別でモードレジス
タmの値が「0」でない場合には、m=1のセットモー
ドにおいてモードキーMが操作された場合であり、その
場合にはステップS4に進みモードレジスタmに「0」
を設定して演算モードに切り換え、「SET」の文字・
記号表示体62を消去状態にする。
On the other hand, if the value of the mode register m is not "0" in the determination of step S1, it means that the mode key M is operated in the set mode of m = 1. In that case, the process proceeds to step S4. "0" in the mode register m
Set to switch to calculation mode, and the characters "SET"
The symbol display body 62 is put in the erased state.

【0016】ステップS3またはステップS4の次に
は、ステップS5で定数レジスタf1に定数が設定され
ているか否かを判別する。定数レジスタf1 に定数が設
定されているときには、次のステップS6で液晶表示部
6の「F1 」の文字・記号表示体62を点灯表示させて
1 キーに定数が設定されていることを明示する。
After step S3 or step S4, it is determined in step S5 whether or not a constant is set in the constant register f 1 . When the constant is set in the constant register f 1 , the character / symbol display 62 of “F 1 ” on the liquid crystal display unit 6 is lit in the next step S6 and the constant is set in the F 1 key. Explicitly.

【0017】同様に、ステップS7で定数レジスタf2
に定数が設定されているか否かを判別し、定数レジスタ
2 に定数が設定されている場合には、次のステップS
8で液晶表示部6の「F2 」の文字・記号表示体62を
点灯表示させてF2 キーに定数が設定されていることを
明示する。
Similarly, in step S7, the constant register f 2
If a constant is set in the constant register f 2 , it is determined whether or not a constant is set in
At 8, the character / symbol display 62 of “F 2 ” on the liquid crystal display unit 6 is lit and displayed to clearly show that the constant is set to the F 2 key.

【0018】さらに、ステップS9で定数レジスタf3
に定数が設定されているか否かを判別する。定数が設定
されているときには、次のステップS10で液晶表示部
6の「F3 」の文字・記号表示体62を点灯表示させ
る。その後、ステップS11で液晶表示部6の数値表示
部61の各セグメントの点灯制御を行ってレジスタXに
記憶されている数値を表示させる。
Further, in step S9, the constant register f 3
It is determined whether or not a constant is set in. When the constant is set, thereby lighting display characters and symbols display body 62 of the "F 3" of the liquid crystal display unit 6 at the next step S10. Then, in step S11, lighting control of each segment of the numerical value display section 61 of the liquid crystal display section 6 is performed to display the numerical value stored in the register X.

【0019】次に、定数キー34の中のF1 キーが操作
された場合の処理内容を図3のフローチャートを参照し
て説明する。先ず、ステップS21でモードレジスタm
の値が「1」、すなわちセットモードにおいてF1 キー
が操作されたのか否かを判別する。この判別でm=1の
ときには、ステップS22に進みシフトキーの操作後に
1 キーが操作されたか否かを判別する。
Next, the processing contents when the F 1 key of the constant keys 34 is operated will be described with reference to the flowchart of FIG. First, in step S21, the mode register m
The value of is "1", that is, it is determined whether or not the F 1 key is operated in the set mode. When m = 1 in this determination, the process proceeds to step S22 and it is determined whether or not the F 1 key is operated after the shift key is operated.

【0020】ステップS22の判別でF1 キーがシフト
キーに続いて操作されたのでなければ、ステップS23
に進みレジスタlに演算内容が、レジスタXに数値が記
憶されているか否かを判別する。
If it is determined in step S22 that the F 1 key has not been operated subsequent to the shift key, step S23
Then, it is determined whether or not the calculation content is stored in the register l and the numerical value is stored in the register X.

【0021】レジスタl及びレジスタXにデータが記憶
されている場合には、ステップS24に進みレジスタl
に記憶されている演算内容及びレジスタXに記憶されて
いる数値を定数レジスタf1 に転送する。すなわち、m
=1のセットモードにおいてF1 キーを操作すると、F
1 キーを操作する前に入力した数値及び演算内容がレジ
スタf1 に転送され、F1 キーに対応する定数として設
定される。これにより、F1 キーに対して定数が設定さ
れたので、次のステップS25で液晶表示部6の
「F1 」の文字・記号表示体62を点灯表示させる。
If the data is stored in the register l and the register X, the process proceeds to step S24 and the register l is registered.
The arithmetic contents stored in the register and the numerical value stored in the register X are transferred to the constant register f 1 . That is, m
When you operate the F 1 key in = 1 of the set mode, F
The numerical value and the operation contents input before operating the 1 key are transferred to the register f 1 and set as a constant corresponding to the F 1 key. As a result, the constant has been set for the F 1 key, and in the next step S25, the character / symbol display 62 of “F 1 ” on the liquid crystal display unit 6 is lit and displayed.

【0022】図4は、F1 キーに定数を設定する場合の
操作手順の一例を示す図である。数値キー31の「5」
と乗算キーの×キーとを順に操作すると、入力した数値
「5」が液晶表示部6の数値表示部61に表示され、乗
算を示す「×」の文字・記号表示体62が点灯表示され
る(図4、(1))。
FIG. 4 is a diagram showing an example of an operation procedure for setting a constant to the F 1 key. Numerical key 31 "5"
When the and key of the multiplication key are operated in order, the input numerical value "5" is displayed on the numerical display part 61 of the liquid crystal display part 6, and the character / symbol display 62 of "x" indicating multiplication is lit and displayed. (Fig. 4, (1)).

【0023】次に左かっこキー33、数値キー31の
「1」、「2」及び加算キーの+キーを順に操作する
と、液晶表示部6のかっこを示す「(」と加算であるこ
とを示す「+」の文字・記号表示体62とが点灯表示さ
れ、数値表示部61に入力した数値「12」が表示され
る(同図(2))。
Next, when the left parenthesis key 33, the numerical key 31 "1" and "2" and the addition key + key are operated in order, "(" indicating the parentheses on the liquid crystal display 6 and addition are indicated. The “+” character / symbol display 62 is lit and displayed, and the input numerical value “12” is displayed on the numerical display unit 61 ((2) in the figure).

【0024】次に左かっこキー33、数値キー31の
「4」、「5」及び加算キーの+キーを順に操作する
と、液晶表示部6のかっこを示す「(」と加算であるこ
とを示す「+」の文字・表示体62とが点灯表示され、
数値表示部61に入力した数値「45」が表示される
(同図(3))。
Next, when the left parenthesis key 33, the numerical key 31 "4" and "5" and the addition key + key are operated in order, "(" indicating the parentheses on the liquid crystal display 6 and addition are indicated. The "+" character / display 62 is lit and displayed,
The input numerical value "45" is displayed on the numerical display portion 61 ((3) in the same figure).

【0025】次に数値キー31の「5」と右かっこキー
35とを順に操作すると、右かっこキー35を操作した
時点でかっこの中の演算が実行され、液晶表示部6のか
っこを示す「(」の文字・記号表示体62が点灯表示さ
れ、数値表示部61にかっこの中の演算結果である「5
0」が表示される(同図(4))。
Next, by operating the numeral key 31 "5" and the right parenthesis key 35 in order, the operation in the parenthesis is executed when the right parenthesis key 35 is operated, and the parentheses "" of the liquid crystal display section 6 are shown. The character / symbol display 62 of () is lit and displayed, and the numerical result display section 61 shows the calculation result in parentheses “5”.
"0" is displayed ((4) in the figure).

【0026】かっこの中の演算結果の「50」とその値
を加算する演算を定数として設定する場合には、先ずモ
ードキーMを操作して演算モードからセットモードに切
り換える。すると、液晶表示部6の「SET」の文字・
記号表示体62が点灯表示されるので、その状態で、F
1 キーを操作すると、そのとき数値表示部61に表示さ
れている数値「50」と、演算内容として加算が定数レ
ジスタf1 に設定される。そして、液晶表示部6の「F
1 」と加算を示す「+」の文字・記号表示体62とが点
灯表示される(図4、(5))。
When setting the calculation for adding the value "50" in parentheses and its value as a constant, first, the mode key M is operated to switch from the calculation mode to the set mode. Then, the characters "SET" on the liquid crystal display 6
Since the symbol display body 62 is lit and displayed, in that state, F
When the 1 key is operated, the numerical value “50” displayed on the numerical display portion 61 at that time and addition as the content of the calculation are set in the constant register f 1 . Then, "F
" 1 " and the "+" character / symbol display 62 indicating addition are lit and displayed (FIG. 4, (5)).

【0027】その後再びモードキーMを操作すると、セ
ットモードから演算モードに切り換わり、液晶表示部6
の「SET」及び「+」の文字・記号表示体62が消去
状態となる(図4、(6))。
After that, when the mode key M is operated again, the set mode is switched to the calculation mode, and the liquid crystal display unit 6
The "SET" and "+" character / symbol display bodies 62 of (4) are erased (FIG. 4, (6)).

【0028】図3に戻り、ステップS22の判別でシフ
トキーの操作後にF1 キーが操作された場合には、ステ
ップS26に進み定数レジスタf1 をクリアする。さら
に、次のステップS27で液晶表示部6の「F1 」の文
字・記号表示体62を消去状態にする。すなわち、m=
1のセットモードにおいてシフトキーを操作した後F 1
キーを操作することで、F1 キーに対して設定されてい
る定数をクリアすることができる。
Returning to FIG. 3, the shift is determined by the determination in step S22.
F after pressing the key1If the key is operated, the
Go to step S26, constant register f1To clear. Furthermore
Then, in the next step S27, "F1Sentence
The character / symbol display 62 is put in the erased state. That is, m =
After operating the shift key in the 1 set mode, press F 1
By operating the key, F1Is set for the key
You can clear the constant.

【0029】また、ステップS21のモードレジスタm
の値が「1」か否かの判別でm≠1の場合には、演算モ
ードにおいてF1 キーが操作されたときであるので、ス
テップS28に進みオールクリアキー(ACキー)の操
作後にF1 キーの操作が行われたか否かを判別する。A
Cキーの操作後にF1 キーが操作された場合には、ステ
ップS29で定数レジスタf1 に登録されている演算内
容及び数値を液晶表示部6へ表示する。すなわち、m=
0の演算モードにおいて、ACキーを操作した後F1
ーを操作することで、F1 キーに対して設定されている
定数を確認することができる。
Further, the mode register m in step S21
If m ≠ 1 when it is determined whether the value of "1" is "1", it means that the F 1 key is operated in the calculation mode. Therefore, the process proceeds to step S28, and after the operation of the all clear key (AC key), F Determine whether or not the 1 key was operated. A
When the F 1 key is operated after the C key is operated, the operation contents and numerical values registered in the constant register f 1 are displayed on the liquid crystal display unit 6 in step S29. That is, m =
At 0 operation mode, by operating the F 1 key after operating the AC key, you can check the constants that are set for the F 1 key.

【0030】ステップS28の判別でACキーの操作後
にF1 キーが操作されたのでなければ、ステップS30
に進み定数レジスタf1 に登録されている数値及び演算
内容に基づいて定数計算を行う。
If it is determined in step S28 that the F 1 key has not been operated after the AC key has been operated, step S30
Then, the constant calculation is performed on the basis of the numerical value and the operation contents registered in the constant register f 1 .

【0031】なお、F2 キー、F3 キーについても上述
したF1 キーと同様な処理が実行され、入力された数値
及び演算内容がそれぞれのキーに対応する定数として定
数レジスタf2 、f3 に設定される。
The same processing as that of the F 1 key described above is executed for the F 2 and F 3 keys, and the input numerical values and calculation contents are constant registers f 2 and f 3 as constants corresponding to the respective keys. Is set to.

【0032】次に、定数の設定、定数の確認、定数計算
及び定数の消去時の操作手順を図5〜図9を参照して説
明する。図5は、y=2x−3の演算を実行するために
定数F1 、F2 としてそれぞれ「×2」、「−3」を設
定する場合の操作手順を示している。定数を設定する場
合には、先ずモードキーMを操作してm=1のセットモ
ードに切り換える。次に「×」キーと数値キー31の
「2」を操作した後、定数キー34の中のF1 キーを操
作する。すると、F1 キーに対応する定数レジスタf1
に定数として「×2」が設定される。
Next, an operation procedure for setting constants, confirming constants, calculating constants and deleting constants will be described with reference to FIGS. FIG. 5 shows an operation procedure for setting “× 2” and “−3” as the constants F 1 and F 2 in order to execute the calculation of y = 2x−3. When setting a constant, the mode key M is first operated to switch to the set mode of m = 1. Next, after operating the "x" key and "2" of the numerical key 31, the F 1 key of the constant keys 34 is operated. Then, the constant register f 1 corresponding to the F 1 key
“× 2” is set as a constant.

【0033】次に、「−」キーと数値キー31の「3」
を操作した後、F2 キーを操作すると、F2 キーに対応
する定数レジスタf2 に定数として「−3」が設定され
る。次に図6は、上記のようにして設定した定数を確認
する場合の操作手順を示している。m=0の演算モード
(COMPモード)においてACキーを操作した後F1
キーを操作すると、そのとき定数レジスタf1 に設定さ
れている定数、この場合「×2」が液晶表示部6に表示
される。さらに、ACキーに続いてF2 キーを操作する
と、そのとき定数レジスタf2 に設定されている定数、
この場合「−3」が表示される。
Next, the "-" key and the numerical key 31 "3"
When the F 2 key is operated after operating, the constant “-3” is set in the constant register f 2 corresponding to the F 2 key. Next, FIG. 6 shows an operation procedure when confirming the constant set as described above. F 1 after operating the AC key in the calculation mode (COMP mode) of m = 0
When the key is operated, the constant set in the constant register f 1 at that time, “× 2” in this case, is displayed on the liquid crystal display unit 6. When the F 2 key is operated after the AC key, the constant set in the constant register f 2 at that time,
In this case, "-3" is displayed.

【0034】図7は、上述した設定操作により定数レジ
スタf1 、f2 に、それぞれ「×2」、「−3」が設定
されているときの定数計算の操作手順を示す図である。
演算モードにおいて、数値キー31の「1」とF1 キー
を操作すると、定数レジスタf1 に設定されている「×
2」が読み出されて「1×2」の定数計算が行われ、計
算結果の「2」が液晶表示部6に表示される。その状態
でF2 キーを操作すると、定数レジスタf2 に設定され
ている「−3」が読み出されて「2−3」の定数計算が
行われ、液晶表示部6に計算結果の「−1」が表示され
る。
[0034] Figure 7, in the constant register f 1, f 2 by setting operation described above, each "× 2", "- 3" is a diagram showing the operating procedure of the constants calculated when set.
In the calculation mode, operating the numeric key 31 "1" and the F 1 key causes "x" set in the constant register f 1 to be changed.
“2” is read out, the constant calculation of “1 × 2” is performed, and the calculation result “2” is displayed on the liquid crystal display unit 6. When operating the F 2 key in this state, is read out "-3" set in the constant register f 2 is carried out constant calculation of "2-3", the liquid crystal display unit 6 calculated result of "- 1 ”is displayed.

【0035】同様に数値キー31の「2」とF1 キーを
操作すると、定数レジスタf1 から「×2」が読み出さ
れて「2×2」の定数計算が行われ、計算結果の「4」
が液晶表示部6に表示される。その状態でF2 キーを操
作すると、定数レジスタf2の「−3」が読み出されて
「4−3」の定数計算が行われ、計算結果の「1」が液
晶表示部6に表示される。
Similarly, when the “2” and F 1 keys of the numerical key 31 are operated, “× 2” is read from the constant register f 1 and the constant of “2 × 2” is calculated. 4 "
Is displayed on the liquid crystal display unit 6. When the F 2 key is operated in that state, “-3” of the constant register f 2 is read out, the constant calculation of “4-3” is performed, and the calculation result “1” is displayed on the liquid crystal display unit 6. It

【0036】本実施例では、演算途中であってもモード
キーMを操作してセットモードに切り換えた後、定数キ
ー34を操作することで、数値及び演算内容を定数キー
34に対応させて定数レジスタfi に記憶させることが
できる。これにより、かっこの中の演算、あるいは優先
順位のある演算などの途中でもいつでも定数計算を実行
できる。
In this embodiment, the mode key M is operated to switch to the set mode even during the calculation, and then the constant key 34 is operated so that the numerical value and the calculation content are made to correspond to the constant key 34 and the constant is changed. It can be stored in the register f i . As a result, the constant calculation can be executed at any time during the operation in the parentheses or the operation with priority.

【0037】図8は定数計算の操作手順の他の例を示す
図である。演算モードにおいて、数値キー31の「1」
とF2 キーを操作すると、定数レジスタf2 から「−
3」が読み出されて「1−3」の定数計算が行われ、計
算結果の「−2」が液晶表示部6に表示され、その状態
で再度F2 キーを操作すると、同様にして「−2−3」
の定数計算が行われ、計算結果の「−5」が液晶表示部
6に表示される。
FIG. 8 is a diagram showing another example of the operation procedure for constant calculation. Numeric key 31 "1" in calculation mode
And F 2 key, the constant register f 2 reads “-
"3" is read out, the constant calculation of "1-3" is performed, the calculation result "-2" is displayed on the liquid crystal display unit 6, and when the F 2 key is operated again in that state, "2" is similarly obtained. -2-3 "
The constant calculation is performed, and the calculation result “−5” is displayed on the liquid crystal display unit 6.

【0038】次に、図9はそれぞれの定数キー34に設
定した定数を取り消す場合の操作手順を示す図である。
セットモードにおいて、シフトキーを操作した後F1
ーを操作すると、定数レジスタf1 のデータがクリアさ
れ、さらに液晶表示部6の「F1 」の文字・記号表示体
62が消去状態となる。また、シフトキーを操作した後
2 キーを操作すると、定数レジスタf2 のデータがク
リアされ、液晶表示部6の「F2 」の文字・記号表示体
62が消去状態となる。
Next, FIG. 9 is a diagram showing an operation procedure for canceling the constant set in each constant key 34.
In the set mode, and operates the F 1 key after operating the shift key, the data of the constant register f 1 is cleared, further characters and symbols display body 62 of the "F 1" of the liquid crystal display unit 6 is an erased state. Moreover, by operating the F 2 key after operating the shift key, the data of the constant register f 2 is cleared, characters and symbols display body 62 of the "F 2" of the liquid crystal display unit 6 is an erased state.

【0039】なお、本発明の定数計算機能は、四則演算
に限らずXY 、X1/Y等の演算、あるいは極座標から直交
座標への変換、直交座標から極座標への変換にも適用で
きる。また、実施例の電子式卓上計算機に限らず演算機
能を有する電子手帳、パソーナルコンピュータ等の電子
機器であっても良い。
The constant calculation function of the present invention can be applied not only to the four arithmetic operations but also to the operations such as X Y , X 1 / Y, etc., or the conversion from polar coordinates to rectangular coordinates or from rectangular coordinates to polar coordinates. Further, the electronic desk calculator of the embodiment is not the only example, and electronic devices such as an electronic notebook and a personal computer having a calculation function may be used.

【0040】[0040]

【発明の効果】本発明によれば、かっこを含む演算、演
算順序の決められている演算等の途中でも定数計算が可
能となる。
According to the present invention, constant calculation can be performed even in the middle of an operation including parentheses, an operation whose operation order is determined, and the like.

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

【図1】実施例の電子式卓上計算機の回路ブロック図で
ある。
FIG. 1 is a circuit block diagram of an electronic desk calculator according to an embodiment.

【図2】モードキー処理のフローチャートである。FIG. 2 is a flowchart of mode key processing.

【図3】F1 キー処理のフローチャートである。FIG. 3 is a flowchart of F 1 key processing.

【図4】定数設定時の操作手順を示す図である。FIG. 4 is a diagram showing an operation procedure when setting a constant.

【図5】定数設定時の操作手順を示す図である。FIG. 5 is a diagram showing an operation procedure when setting a constant.

【図6】定数を確認するときの操作手順を示す図であ
る。
FIG. 6 is a diagram showing an operation procedure when confirming a constant.

【図7】定数計算の操作手順を示す図である。FIG. 7 is a diagram showing an operation procedure for constant calculation.

【図8】定数計算の操作手順を示す図である。FIG. 8 is a diagram showing an operation procedure of constant calculation.

【図9】定数を消去するときの操作手順を示す図であ
る。
FIG. 9 is a diagram showing an operation procedure when deleting a constant.

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

2 制御部 3 キー入力部 4 RAM 31 数値キー 32 ファンクションキー 34 定数キー 2 Control part 3 Key input part 4 RAM 31 Numerical key 32 Function key 34 Constant key

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 演算機能を有する電子式計算機におい
て、 演算及び数値キーと、 定数キーと、 定数の設定モードを設定することのできる設定手段と、 前記演算キー及び数値キーが操作され、かつ設定モード
において定数キーが操作されたとき、該演算キー及び数
値キーにより指定される演算内容及び数値を操作された
定数キーに対応させて記憶する記憶手段と、 設定モードでない時に前記定数キーが操作されたとき、
該定数キーに対応させて前記記憶手段に記憶されている
演算内容及び数値に基づいて定数演算を実行する演算実
行手段とを備えることを特徴とする電子式計算機。
1. An electronic computer having an arithmetic function, including arithmetic and numerical keys, constant keys, setting means for setting a constant setting mode, and the arithmetic keys and numerical keys being operated and set. When the constant key is operated in the mode, storage means for storing the contents of calculation and numerical values designated by the calculation key and the numeric key in correspondence with the operated constant key, and the constant key is operated when not in the setting mode. When
An electronic calculator comprising: an arithmetic execution means for executing a constant arithmetic operation based on the arithmetic contents and numerical values stored in the storage means in association with the constant key.
JP13222093A 1993-06-02 1993-06-02 Electronic calculator and arithmetic processing method Expired - Fee Related JP3498323B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13222093A JP3498323B2 (en) 1993-06-02 1993-06-02 Electronic calculator and arithmetic processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13222093A JP3498323B2 (en) 1993-06-02 1993-06-02 Electronic calculator and arithmetic processing method

Publications (2)

Publication Number Publication Date
JPH06348655A true JPH06348655A (en) 1994-12-22
JP3498323B2 JP3498323B2 (en) 2004-02-16

Family

ID=15076203

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13222093A Expired - Fee Related JP3498323B2 (en) 1993-06-02 1993-06-02 Electronic calculator and arithmetic processing method

Country Status (1)

Country Link
JP (1) JP3498323B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021152981A (en) * 2017-01-19 2021-09-30 カシオ計算機株式会社 Calculator, calculation method and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021152981A (en) * 2017-01-19 2021-09-30 カシオ計算機株式会社 Calculator, calculation method and program

Also Published As

Publication number Publication date
JP3498323B2 (en) 2004-02-16

Similar Documents

Publication Publication Date Title
US5381353A (en) Scientific electronic calculator for performing mathematical operations with predetermined priority
JP3498323B2 (en) Electronic calculator and arithmetic processing method
JPH04235658A (en) Compact electronic computer with graph display function
US5285399A (en) Calculator with easily enterable constant calculation mode
JPH08235124A (en) Electronic computer
JP2743838B2 (en) Input device
JPH06168104A (en) Electronic computer
JP3557635B2 (en) Electronic calculator
JPH08161266A (en) Electronic calculator
JPH04251371A (en) Small-sized electronic computer with graph displaying function
JP2000122979A (en) Calculating device and storage medium
JPS6113623B2 (en)
JPH0610434Y2 (en) Small electronic calculator
JPH0693236B2 (en) Small electronic calculator
JPH0738995Y2 (en) Small computer
JPS6225208B2 (en)
JPH09231176A (en) Electronic computer
JPH0140001Y2 (en)
JPH1011401A (en) Device and method for displaying mathematical expression
JPH09146890A (en) Electronic computer
JPH05233119A (en) Keyboard with operation function and display
JPH0290355A (en) Electronic equipment
JPH064484A (en) Calculator
JPH03160521A (en) Arithmetic unit
JPH05120235A (en) Electronic equipment

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20030708

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20031104

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081205

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081205

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091205

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101205

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101205

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111205

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111205

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121205

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees