JPH02105960A - small electronic calculator - Google Patents
small electronic calculatorInfo
- Publication number
- JPH02105960A JPH02105960A JP25881488A JP25881488A JPH02105960A JP H02105960 A JPH02105960 A JP H02105960A JP 25881488 A JP25881488 A JP 25881488A JP 25881488 A JP25881488 A JP 25881488A JP H02105960 A JPH02105960 A JP H02105960A
- Authority
- JP
- Japan
- Prior art keywords
- calculation
- mode
- buffer
- stored
- key
- 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
Links
Landscapes
- Calculators And Similar Devices (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野コ
この発明は、複数の数式を記憶可能にした小型電子式計
算機に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] This invention relates to a small electronic calculator capable of storing a plurality of mathematical formulas.
[従来の技術]
従来、小型電子式計算機、例えば関数電卓には、四則演
算モード、n進/fL算モード、標準偏差、回帰計算、
Dog、RadSGra、F ixなど各種の演算モー
ドに基づいて作成された数式を複数記憶できるようにし
たものがある。このような電卓では、これら記憶された
数式に基づく演算を実行しようとする場合、マニュアル
により改めて演算モードを指定し直す必要があった。[Prior Art] Conventionally, small electronic calculators, such as scientific calculators, have four arithmetic operation modes, n-ary/fL calculation modes, standard deviation, regression calculation,
There are devices that can store a plurality of formulas created based on various calculation modes, such as Dog, RadSGra, and Fix. In such a calculator, when attempting to perform calculations based on these stored mathematical formulas, it is necessary to manually specify the calculation mode again.
[発明が解決しようとする課題]
ところが、数式を実行するに際して、その都度マニュア
ルにより演算モードを指定するのでは、このための操作
が面倒であるだけでなく、演算モードの指定を誤ると、
誤った演算結果やエラーになってしまうなど、使い勝手
が悪い欠点があった。[Problems to be Solved by the Invention] However, if the calculation mode is manually specified each time a mathematical formula is executed, not only is this operation cumbersome, but if the calculation mode is incorrectly specified,
This method had drawbacks that made it difficult to use, such as incorrect calculation results and errors.
この発明は、上記事情に鑑みてなされたもので、操作を
簡単にできるとともに、モード指定の誤りを皆無にでき
る、使い勝手の改吾を図った小型電子式計算機を提供す
ることを目的とする。The present invention has been made in view of the above circumstances, and it is an object of the present invention to provide a small-sized electronic calculator that is easy to operate, eliminates errors in mode specification, and has improved usability.
[課題を解決するための手段]
この発明は、所定の演算モードに基づいて作成された数
式を、演算モードと数式を対応させて記憶し、これら記
憶された数式を実行する際、数式に対応して記憶された
演算モードに基づいて数式演算を行なうようになってい
る。[Means for Solving the Problems] The present invention stores a mathematical formula created based on a predetermined calculation mode in correspondence with the calculation mode and the mathematical formula, and when executing these stored mathematical formulas, Mathematical calculations are performed based on the calculation mode stored.
[作用]
この結果、記憶されている数式を実行する度に必要とし
ていた、マニュアルによる演算モード指定を省くことが
できるので、このための操作を簡単にでき、しかも、演
算モードの指定誤りに原因する、誤演算やエラーを皆無
にできる。[Effect] As a result, it is possible to eliminate the need to manually specify the calculation mode each time a stored formula is executed. This eliminates all miscalculations and errors.
C実施例] 以下、この発明の一実施例を図面にしたがい説明する。C Example] An embodiment of the present invention will be described below with reference to the drawings.
第1図は、同実施例の回路構成を示すブロック図である
。図において、1はキー入力部で、このキー入力部1は
、上述した四則演算モード、n進演算モード、標準偏差
、回帰計算、Dog。FIG. 1 is a block diagram showing the circuit configuration of the same embodiment. In the figure, 1 is a key input section, and this key input section 1 is used for the above-mentioned four arithmetic operation modes, n-ary operation mode, standard deviation, regression calculation, and Dog.
Rad、Gra、Fixなど各種演算モードのうちの1
つを指定する「演算モード指定」キー1aを始め、「実
行」キー1b1 「呼出し」キー1 c s「解除」キ
ー1d1 「入力モード」キー1eq「実行モード」キ
ー1fなどを有している。One of various calculation modes such as Rad, Gra, Fix, etc.
It has an "operation mode designation" key 1a for designating one, an "execution" key 1b1, a "call" key 1c, a "cancellation" key 1d1, an "input mode" key 1eq, an "execution mode" key 1f, etc.
このキー入力部1からのキー入力データは、制御部2に
与えられる。This key input data from the key input section 1 is given to the control section 2.
制御部2はROMよりなるもので、予め各回路を制御す
るプログラムを記憶している。この場合、制御部2は、
演算用RAM3および数式記憶用RAM4に対して制御
指令を与えるとともに、アドレスデータに基づいてデー
タの書込み/読出しを制御し、また、演算部5に対して
制御指令を与えるとともに、演算用RAM3とのデータ
のやりとりにより数式演算を実行させ、さらに表示部6
に表示データを与えるようにしている。The control unit 2 is made up of a ROM, and stores programs for controlling each circuit in advance. In this case, the control unit 2
It gives control commands to the calculation RAM 3 and formula storage RAM 4, controls writing/reading of data based on address data, gives control commands to the calculation section 5, and controls the communication with the calculation RAM 3. A mathematical calculation is executed by exchanging data, and the display unit 6
I am trying to give display data to .
演算用RAM3はAバッファ31、Bバッファ32、C
バッファ33および演算モードフラグエリア34を自°
シている。ここで、Aバッファ31は、実行数式あるい
は入力数式を記憶するもので、演算モード記憶部31a
を有している。Bバッファ32は、数式記憶用RAMJ
内の参照数式(表示部に表示する数式)を記憶するもの
で、演算モード記憶部32aを有している。Cバッファ
33は、演算結果を記憶するものである。そして、演算
モードフラグエリア34は、複数の演算モードに対応す
るフラグをHし、指定された演算モードに該当するフラ
グがセットされるようになっている。The calculation RAM 3 includes an A buffer 31, a B buffer 32, and a C buffer.
The buffer 33 and calculation mode flag area 34 are
It's happening. Here, the A buffer 31 stores an executed mathematical formula or an input mathematical formula, and is a calculation mode storage section 31a.
have. The B buffer 32 is a RAMJ for storing mathematical formulas.
The reference formula (the formula to be displayed on the display unit) is stored therein, and includes a calculation mode storage unit 32a. The C buffer 33 stores calculation results. In the calculation mode flag area 34, flags corresponding to a plurality of calculation modes are set to H, and a flag corresponding to a designated calculation mode is set.
数式記憶用RAM4は、入力された数式が記憶される数
式記憶エリア41と該入力数式に対応する演算モードを
記憶するモード記憶エリア42を複数組有している。The formula storage RAM 4 has a plurality of sets of a formula storage area 41 for storing input formulas and a mode storage area 42 for storing calculation modes corresponding to the input formulas.
次に、以上のように構成した実施例の動作を説明する。Next, the operation of the embodiment configured as above will be explained.
まず、入力モードの場合、キー入力部1の「入力モード
」キー1eを操作すると第2図に示すフローチャートが
実行される。この場合、ステップA1でキー入力の有無
を判断する。ここで、NOが判断される間は、この状態
が維持される。この状態から、演算モードを指定する「
演算モード指定」キー1aを操作すると、ステップA1
でYESとなり、ステップA2に進む。すると、ここで
「演算モード」と判断され、ステップ八3に進み、「演
算モード指定」キー1aにより指定された複数の演算モ
ードのうちの1つが演算用RAM3の演算モードフラグ
エリア34に書込まれる。First, in the input mode, when the "input mode" key 1e of the key input section 1 is operated, the flowchart shown in FIG. 2 is executed. In this case, in step A1 it is determined whether there is any key input. Here, this state is maintained while the determination is NO. From this state, specify the calculation mode with "
When you operate the "Calculation mode designation" key 1a, step A1
The answer is YES, and the process proceeds to step A2. Then, it is determined that it is the "calculation mode", and the process proceeds to step 83, where one of the plurality of calculation modes specified by the "calculation mode designation" key 1a is written into the calculation mode flag area 34 of the calculation RAM 3. It will be done.
次に、図示しない「数値」キーあるいはrs l nJ
s rXJなどのファンクションキーにより数式を
入力する。この場合、数式の最初のデータを入力すると
、ステップA1でYESとなり、ステップA2に進む。Next, press the "numeric" key (not shown) or rs l nJ
Enter the formula using function keys such as s rXJ. In this case, when the first data of the formula is input, the answer is YES in step A1, and the process proceeds to step A2.
すると、今度は「数値あるいはファンクション」データ
と判断され、ステップA4に進む。ステップA4では、
入力された数式データが数式の最初のものに該当するか
を判断する。ここでは、YESになるので、ステップA
5に進み、演算モードフラグエリア34に書込まれた演
算モードフラグが演算用RAM3のAバッファ31の演
算モード記憶部31aに書込まれ、次いで、ステップA
6に進み、キー入力された数式の最初の数式データはA
バッファ31に書込まれる。以下、続けて「数値」キー
あるいは「sin」、「×」などのファンクションキー
より数式データを入力すると、ステップA1−ステップ
A6の動作が繰返され、キー入力される数式データはA
バッファ3に書込まれるようになる。Then, it is determined that the data is "numeric value or function" data, and the process advances to step A4. In step A4,
Determine whether the input formula data corresponds to the first formula. Here, the answer is YES, so step A
5, the calculation mode flag written in the calculation mode flag area 34 is written to the calculation mode storage section 31a of the A buffer 31 of the calculation RAM 3, and then the process proceeds to step A.
Proceed to step 6, and the first formula data of the key-input formula is A.
The data is written to the buffer 31. Thereafter, if you continue to input mathematical data using the "numeric" key or function keys such as "sin" and "x", the operations of steps A1 to A6 will be repeated, and the mathematical data input by key will be A.
It will now be written to buffer 3.
その後、数式に対するデータ入力が完了した時点で、「
実行」キー1bを操作すると、ステップA2で、今度は
「実行」と判断され、ステップA7に進み、Aバッファ
3に書込まれた数式と演算モードは、数式記憶用RAM
4の最初の数式記憶エリア41とモード記憶エリア42
に対応して記憶されるようになる。Then, when you have finished entering data for the formula, click
When the "execute" key 1b is operated, it is determined in step A2 to "execute", and the process proceeds to step A7, where the formula written in the A buffer 3 and the calculation mode are stored in the formula storage RAM.
4 first formula storage area 41 and mode storage area 42
The information will be stored in accordance with the .
以下、同様な操作によりキー入力される数式は、数式記
憶用RAM4の数式記憶エリア41とモード記憶エリア
42に数式と演算モードを対応させた状態で記憶される
。Hereinafter, mathematical formulas entered by key input through similar operations are stored in the mathematical formula storage area 41 and mode storage area 42 of the mathematical formula storage RAM 4 with the mathematical formulas and calculation modes corresponding to each other.
次に、実行モードの場合、キー入力部1の「実行モード
」キー1fを操作すると第3図に示すフローチャートが
実行される。この場合、ステップB1でキー入力の有無
を判断する。ここで、N。Next, in the case of execution mode, when the "execution mode" key 1f of the key input section 1 is operated, the flowchart shown in FIG. 3 is executed. In this case, in step B1, it is determined whether or not there is a key input. Here, N.
が判断される間は、この状態が維持される。この状態か
ら、「呼出し」キー1dを操作すると、ステップB1で
YESとなり、ステップB2に進む。This state is maintained while the determination is being made. If the "call" key 1d is operated from this state, YES will be obtained in step B1, and the process will proceed to step B2.
すると、「呼出し」が判断され、ステップB3に進み、
数式記憶用RAM4の最初の数式記憶エリア41とモー
ド記憶エリア42の内容が読出され、演算用RAM3の
Bバッファ32に書込まれる。Then, "call" is determined, and the process proceeds to step B3.
The contents of the first formula storage area 41 and mode storage area 42 of the formula storage RAM 4 are read out and written to the B buffer 32 of the calculation RAM 3.
この状態から、ステップA4でBバッファ32の内容が
表示部6に送られ、表示される。From this state, the contents of the B buffer 32 are sent to the display unit 6 and displayed in step A4.
次に、「実行」キー1bをすると、ステップB1でYE
Sとなり、ステップB2に進む。そして、ここで「実行
」と判断されると、ステップB5に進む。ステップB5
は、表示データを記憶しているバッファを判断する。こ
こではBバッファ32に表示データが有るので、ステッ
プB6に進み、Bバッファ32の内容がAバッファ31
に移される。そして、ステップB7に進み、Aバッファ
31の演算モード記憶部31aの演算モードが制御部2
に送られ、ステップB8で、この時の演算モードに基づ
いて数式の演算が実行される。Next, press the "Execute" key 1b, and at step B1, press Y.
The result is S, and the process proceeds to step B2. If it is determined to be "executed" here, the process advances to step B5. Step B5
determines the buffer storing the display data. Here, since there is display data in the B buffer 32, the process advances to step B6, and the contents of the B buffer 32 are transferred to the A buffer 31.
will be moved to Then, the process proceeds to step B7, and the calculation mode of the calculation mode storage section 31a of the A buffer 31 is set to the control section 2.
In step B8, the mathematical expression is calculated based on the calculation mode at this time.
そして、ステップB9で演算結果がCバッファ33に書
込まれ、ステップBIOにおいてCバッファ33の内容
が表示部6に送られ表示される。Then, in step B9, the calculation result is written to the C buffer 33, and in step BIO, the contents of the C buffer 33 are sent to the display section 6 and displayed.
なお、キー入力部1より入力された数式がAバッファ3
1に書込まれ、同Aバッファ31のデータに基づいて表
示部6に表示されている状態で、「実行」キー1bを操
作した場合は、ステップB5でAバッファ31に表示デ
ータ有りと判断されるので、直ちに上述したステップB
7以降の動作が実行されるようになる。また、「実行」
キー1bを操作した時点で、Cバッファ33に表示デー
タが有る場合は、ステップB5でCバッファ33に表示
データ有りと判断されると、ステップB1に戻り、キー
入力待ちの状態にムる。Note that the formula entered from the key input section 1 is stored in the A buffer 3.
1 and is displayed on the display section 6 based on the data in the A buffer 31, if the "execute" key 1b is operated, it is determined in step B5 that there is display data in the A buffer 31. Therefore, immediately proceed to step B mentioned above.
7 and subsequent operations will now be executed. Also, "Run"
If there is display data in the C buffer 33 when the key 1b is operated, it is determined in step B5 that there is display data in the C buffer 33, and the process returns to step B1 to wait for key input.
次に、キー入力部1の「解除」キー1dを操作すると、
ステップB1でYESとなり、ステップB2に進む。そ
して、ここで「解除」と判断されると、ステップB11
に進む。ステップBllは、表示データを記憶している
バッファを判断する。Next, when you operate the "cancel" key 1d of the key input section 1,
YES in step B1, and the process proceeds to step B2. Then, if it is determined to be "cancelled" here, step B11
Proceed to. Step Bll determines the buffer storing the display data.
いま、Aバッファ31に表示データが有ると判断すると
、ステップB12に進み、Aバッファ31の内容をクリ
アし、次いでステップ813で表示部6の表示内容をク
リアするようになる。また、ステップB11において、
Bバッファ32に表示データが白゛ると判断されると、
ステップ81.4に進み、Bバッファ32の内容をクリ
アし、次いでステップB15に進み、Aバッファ31の
データを表示部6に表示するようになる。さらにステッ
プBllにおいて、Cバッファ33に表示データがHる
と判断されると、ステップB16に進み、Cバッファ3
3の内容をクリアし、次いでステップB15に進み、A
バッファ31のデータを表示部6に表示するようになる
。If it is determined that there is display data in the A buffer 31, the process proceeds to step B12, where the contents of the A buffer 31 are cleared, and then, in step 813, the display contents of the display section 6 are cleared. Further, in step B11,
When it is determined that the display data in the B buffer 32 is white,
The process proceeds to step 81.4, where the contents of the B buffer 32 are cleared, and then the process proceeds to step B15, where the data in the A buffer 31 is displayed on the display section 6. Further, in step Bll, if it is determined that the display data in the C buffer 33 is H, the process proceeds to step B16, and the C buffer 3
Clear the contents of 3, then proceed to step B15, and
The data in the buffer 31 is now displayed on the display section 6.
なお、この発明は上記実施例にのみ限定されず、要旨を
変更しない範囲で適宜変形して実施できる。It should be noted that the present invention is not limited to the above-mentioned embodiments, but can be implemented with appropriate modifications without changing the gist.
[発嚇用の効果]
この発明によると、所定の演算モードに基づいて作成さ
れた数式を、演算モードと数式を対応させて記憶し、こ
れら記憶された数式を実行する際、数式に対応して記憶
された演算モードに基づいて数式演算を行なうようにし
ているので、記憶されている数式を実行するに際して、
マニュアルによる演算モード指定を省くことができるよ
うになり、このための操作を簡単にでき、しかも、演算
モードの指定誤りに原因する、誤演算やエラーを皆無に
できるなど、使い勝手の著しい改善を図ることができる
。[Intimidating effect] According to the present invention, a mathematical formula created based on a predetermined calculation mode is stored in correspondence with the calculation mode and the mathematical formula, and when these stored mathematical formulas are executed, a mathematical formula corresponding to the mathematical formula is stored. Since the formula calculation is performed based on the calculation mode stored in the memory, when executing the stored formula,
It is now possible to omit the manual specification of the calculation mode, simplifying the operation, and eliminating miscalculations and errors caused by incorrect specification of the calculation mode, resulting in significant improvements in usability. be able to.
第1図はこの発明の一実施例の回路構成を示すブロック
図、第2図および第3図は同実施例の動作を説明するた
めのフローチャートである。
1・・・キー入力部、1a・・・「演算モード指定」キ
1b・・・「実行」キー 1c・・・「呼出し」キー1
d・・・「解除」キー 1e・・・「入力モード」キー
1f・・・実行モード」キー 2・・・制御部、3・・
・演算用RAM131・・・Aバッファ、32・・・B
バッファ、33・・・Cバッファ、34・・・演算モー
ドフラグエリア、4・・・数式記憶用RAM、41・・
・数式記憶エリア、42・・・モード記憶エリア、5・
・・演算部、6・・・表示部。
出願人代理人 弁理士 鈴江武彦FIG. 1 is a block diagram showing the circuit configuration of an embodiment of the present invention, and FIGS. 2 and 3 are flowcharts for explaining the operation of the embodiment. 1... Key input section, 1a... "Calculation mode specification" key 1b... "Execution" key 1c... "Call" key 1
d..."Release" key 1e..."Input mode" key 1f...Execution mode" key 2...Control unit, 3...
・Arithmetic RAM 131...A buffer, 32...B
Buffer, 33...C buffer, 34...Calculation mode flag area, 4...RAM for formula storage, 41...
・Formula storage area, 42...Mode storage area, 5.
...Arithmetic section, 6...Display section. Applicant's agent Patent attorney Takehiko Suzue
Claims (1)
定手段と、この演算モード指定手段で指定された演算モ
ードに応じた数式を入力する数式入力手段と、上記演算
モード指定手段で指定された演算モードと上記数式入力
手段より入力された数式を対応させて記憶する記憶手段
と、この記憶手段に記憶された数式を実行する際当該数
式に対応して記憶された演算モードに基づいて数式演算
を行なう数式演算実行手段とを具備したことを特徴とす
る小型電子式計算機。a calculation mode specifying means for specifying one of a plurality of calculation modes; a formula input means for inputting a mathematical formula corresponding to the calculation mode specified by the calculation mode specifying means; A storage means for storing a calculation mode in correspondence with a mathematical formula inputted from the mathematical formula input means, and a mathematical formula calculation based on the calculation mode stored in correspondence with the mathematical formula when executing the mathematical formula stored in the storage means. What is claimed is: 1. A small electronic calculator characterized by comprising a mathematical calculation execution means for performing the following.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP25881488A JPH02105960A (en) | 1988-10-14 | 1988-10-14 | small electronic calculator |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP25881488A JPH02105960A (en) | 1988-10-14 | 1988-10-14 | small electronic calculator |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02105960A true JPH02105960A (en) | 1990-04-18 |
Family
ID=17325411
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP25881488A Pending JPH02105960A (en) | 1988-10-14 | 1988-10-14 | small electronic calculator |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02105960A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008234146A (en) * | 2007-03-19 | 2008-10-02 | Casio Comput Co Ltd | Electronic calculator |
-
1988
- 1988-10-14 JP JP25881488A patent/JPH02105960A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008234146A (en) * | 2007-03-19 | 2008-10-02 | Casio Comput Co Ltd | Electronic calculator |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS59123008A (en) | Forming method of part program | |
| JP4992386B2 (en) | Table editing apparatus and program | |
| JPH0431601Y2 (en) | ||
| JPS58163036A (en) | Automatic numbering device | |
| JPH04250555A (en) | Electronic computer | |
| JPH08235124A (en) | Electronic computer | |
| JPS6145550Y2 (en) | ||
| JPS62256104A (en) | Nc data producing device for numerical control | |
| JPS62143171A (en) | electronic scheduler | |
| JPH063468Y2 (en) | Small electronic calculator | |
| JPS59125405A (en) | Automatic computer programming device | |
| JPS61269765A (en) | Small electronic calculator with graph display function | |
| JPS62281007A (en) | Sequence program generating device | |
| JP2943177B2 (en) | Drawing device for XY coordinate axes with scale numerical value | |
| JPS61275959A (en) | Graph display control device and graph display control method | |
| JPS60256867A (en) | Small electronic device with graphical calculation function | |
| JP2526181Y2 (en) | Small electronic calculator | |
| JP2550247Y2 (en) | Electronic scheduler | |
| JPH04205407A (en) | Keyboard | |
| JPH0540734A (en) | Electronic desktop calculator with function of displaying previous input valve | |
| JPH10222471A (en) | Graph drawing apparatus, graph drawing processing method, and recording medium storing graph drawing processing program | |
| JPH0721792B2 (en) | Small electronic calculator with mathematical function | |
| JPH0668744B2 (en) | NCP load module update processing method | |
| JPH04288657A (en) | Electronic calculation device and electronic calculation method | |
| JPS61275960A (en) | Small electronic calculator with graph display function |