JPH02143362A - Electronic equipment - Google Patents

Electronic equipment

Info

Publication number
JPH02143362A
JPH02143362A JP29619588A JP29619588A JPH02143362A JP H02143362 A JPH02143362 A JP H02143362A JP 29619588 A JP29619588 A JP 29619588A JP 29619588 A JP29619588 A JP 29619588A JP H02143362 A JPH02143362 A JP H02143362A
Authority
JP
Japan
Prior art keywords
data
operands
sum
operand
switch
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
JP29619588A
Other languages
Japanese (ja)
Inventor
Atsushi Yoshitomi
厚 吉富
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP29619588A priority Critical patent/JPH02143362A/en
Publication of JPH02143362A publication Critical patent/JPH02143362A/en
Pending legal-status Critical Current

Links

Landscapes

  • Calculators And Similar Devices (AREA)

Abstract

PURPOSE:To accumulate the sum of either a numeral to be operated or an operand according to request and to output the accumulated result by automatically adding and storing the sum of the data of either the number to be operated or the operand according to the setting of a setting means and outputting the added result at need. CONSTITUTION:When a repeat operation is to be executed, the desired data of either the numeral to be operated or the operands are designated by a data designating switch 4, the data are automatically added, and the sum of the data can be displayed on a display 2. Consequently, compared with a conventional equipment in which the operation can be executed for only one out of the or the operands, in the title equipment, it is unnecessary to execute troublesome information processing such as memory transfer and the exchange of a data input sequence. Further, since a data storing area1 11f can be selected as the storing area of the desired data, unlike a conventional system, no memory area for storing unnecessary data is necessary. Thus, the equipment comes to more efficient, and the composition of the equipment can be simplified and inexpensive.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は電子機器、特に入力した被演算数および演算数
を用い繰り返し所定の演算を実行しその演算に関わるデ
ータを加算して出力する電子機器に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to electronic equipment, particularly electronic equipment that repeatedly performs a predetermined calculation using input operands and operands, adds data related to the calculation, and outputs the resultant data. It concerns equipment.

[従来の技術] 従来、電子式卓上計算機(以下電卓という)などにおい
て、繰り返し演算(たとえば、AX B)を行なって、
その各演算結果の総和をメモリに格納すると同時に、被
演算数(AXBの場合はA)もしくは演算数(AxBの
場合はB)の総和を自動的に所定のメモリに格納し、適
当なキー操作に応じてそのメモリ内容を表示、あるいは
記録出力する電子機器が知られている。
[Prior Art] Conventionally, electronic desktop calculators (hereinafter referred to as calculators) perform repetitive calculations (for example, AX B).
At the same time, the sum of the results of each operation is stored in the memory, and the sum of the operands (A for AXB) or the operands (B for AXB) is automatically stored in the specified memory, and then the appropriate key operation is performed. 2. Description of the Related Art Electronic devices that display or record and output the contents of their memory according to the information are known.

[発明が解決しようとする課題] 上記のような電子機器では、所定メモリに格納するデー
タは、被演算数か演算数のいずれか一方に固定されてい
た。
[Problems to be Solved by the Invention] In the above electronic devices, the data stored in a predetermined memory is fixed to either the operand or the operand.

例えば、ある装置で、メモリに格納すべきデータが被演
算数の総和と演算結果の総和に固定されていたとする。
For example, assume that in a certain device, the data to be stored in memory is fixed to the sum of operands and the sum of operation results.

このような場合、オペレータの得たい総和が演算数のも
のであった場合には、オペレータはその総和を得るため
には演算ごとに演算数を別のメモリを用いて加算してい
かなければならず、作業が複雑になってしまう。これは
オペレータに対する負担にもなる上、別のメモリを用意
しなければならないため、装置のコストアップの原因と
もなる。
In such a case, if the sum that the operator wants to obtain is the number of operands, the operator must add the operands for each operation using a separate memory in order to obtain the sum. This makes the work more complicated. This places a burden on the operator and also causes an increase in the cost of the device since a separate memory must be prepared.

また、演算が積や和の可換な演算である場合には被演算
数と演算数の入力順を逆にすれば所望のデータを加算で
きるが、この場合にはオペレータによる演算類を入れ換
える情報処理が必要である。通常オペレータは書類など
の記載に応じて入力を行なうが、この場合には書類と逆
の順序で人力を行なわなければならなくなることがあり
、オペレータに負担をかけ、誤人力を訪発するという問
題がある。
In addition, if the operation is a commutative operation such as a product or a sum, the desired data can be added by reversing the input order of the operands and the operands, but in this case, information to switch the operators Processing is required. Normally, operators perform input according to the information on documents, etc., but in this case, they may have to perform manual input in the reverse order of the documents, which places a burden on the operator and causes problems such as incorrect input. be.

本発明の課題は、以上の問題を解決し、被演算数あるい
は演算数の和を所望に応じて累積し出力できるようにす
ることにある。
An object of the present invention is to solve the above problems and to enable the sum of operands or operands to be accumulated and output as desired.

[課題を解決するための手段] 以上の課題を解決するために、本発明においては入力し
た被演算数および演算数を用い繰り返し所定の演算を実
行しその演算に関わるデータを加算して出力する電子機
器において、前記被演算数または演算数のいずれかの総
和を格納するための記憶手段と、この記憶手段に被演算
数または演算数のいずれの総和を加算するかを指定する
手段を設け、この指定手段の設定に応じて所定の繰り返
し演算を行なう場合被演算数または演算数のいずれかを
順次前記記憶手段内に累積、格納し所定操作に応じて前
記記憶手段内の総和データを出力する構成を採用した。
[Means for Solving the Problems] In order to solve the above problems, in the present invention, a predetermined calculation is repeatedly performed using input operands and operands, and data related to the calculations are added and output. In an electronic device, a storage means for storing the sum of either the operand or the operand, and a means for specifying which sum of the operand or the operand is to be added to the storage means, When performing a predetermined repeated operation according to the settings of this designation means, either the operands or the operands are accumulated and stored in the storage means, and the summation data in the storage means is output in accordance with a predetermined operation. The configuration was adopted.

[作 用] 以上の構成によれば、指定手段の設定に応じて被演算数
ないし演算数のいずれかのデータの総和を自動的に加算
して記憶させ、必要に応じて出力させることができる。
[Operation] According to the above configuration, the sum of the data of either the operands or the operands can be automatically added and stored according to the setting of the specifying means, and can be output as necessary. .

[実施例] 以下、図面に示す実施例に基づき、本発明の詳細な説明
する。第1図は本発明を採用した電子機器の一例として
電卓の操作面の構造を示している。
[Example] Hereinafter, the present invention will be described in detail based on the example shown in the drawings. FIG. 1 shows the structure of the operating surface of a calculator as an example of an electronic device employing the present invention.

図において符号1で示すものはキーボードで、テンキー
1a、四則計算キーを含むファンクションキー1b、イ
コールキー1cなどからなる。
In the figure, the reference numeral 1 indicates a keyboard, which includes a numeric keypad 1a, function keys 1b including four arithmetic calculation keys, an equal key 1c, and the like.

また、本実施例では、人力した演算について被演算数も
しくは演算数の総和、および演算結果の総和をメモリに
格納するかどうかを決定する格納スイッチ3が設けられ
ている。さらに、この格納スイッチ3がオンされた場合
に、被演算数の総和ないし、演算数の総和のいずれをメ
モリに格納するかを指定するデータ指定スイッチ4が設
けられている。このスイッチ4は、オルタネートスイッ
チにより構成し、その指定状態により上記のいずれかの
データを指定する。
Further, in this embodiment, a storage switch 3 is provided for determining whether or not to store the operands or the sum of the operands and the sum of the calculation results in the memory for the manually performed calculations. Furthermore, a data designation switch 4 is provided which designates which of the sum of operands and the sum of operands is to be stored in the memory when the storage switch 3 is turned on. This switch 4 is constituted by an alternate switch, and specifies any of the above data depending on its specified state.

また、第1図の装!では、データ指定スイッチ4により
指定された被演算数または演算数のいずれかの総和を格
納するための領域(A)および、演算結果の総和を格納
するための領域(B)の2つのメモリ領域が設けられて
おり、これらのメモリ領域の格納データをそれぞれ呼び
出して出力(本実施例の場合表示)させるデータ呼出キ
ー5a、5b(A% B)が設けられている。
Also, the outfit shown in Figure 1! Here, there are two memory areas: an area (A) for storing the sum of operands or operands specified by the data designation switch 4, and an area (B) for storing the sum of the operation results. are provided, and data call keys 5a and 5b (A% B) are provided for respectively calling and outputting (displaying in this embodiment) the data stored in these memory areas.

キーボード1の上部には多数桁表示が可能なLCD、L
EDパネルなどによるデイスプレィ2が設けられている
。デイスプレィ2はテンキー1aおよびファンクション
キー1bからキー人力を行なうことによって、入力した
数値や演算結果などを表示出力できる。
Above the keyboard 1 is an LCD that can display multiple digits.
A display 2 such as an ED panel is provided. The display 2 can display and output input numerical values, calculation results, etc. by manually pressing the keys from the numeric keypad 1a and the function keys 1b.

第2図は第1図の装置の制御系の構造を示している。第
2図において符号1は第1図のキーボードであり、この
キーボードからの人力情報は例えば1チツプのLSIな
どから構成されたCPU11に人力される。
FIG. 2 shows the structure of the control system of the device shown in FIG. In FIG. 2, reference numeral 1 is the keyboard shown in FIG. 1, and human input information from this keyboard is input to a CPU 11, which is comprised of, for example, a one-chip LSI.

特に、キーボード1のデータ指定スイッチ4からの入力
情報は、判別手段12を介して判別され、被演算数もし
くは演算数の総和のどちらをRAM11c内の指定総和
データ格納領域1ff(A)に格納するかが決定される
In particular, input information from the data designation switch 4 of the keyboard 1 is determined via the determination means 12, and either the operand or the sum of the operands is stored in the designated sum data storage area 1ff(A) in the RAM 11c. is determined.

また、CPUIIは後述のプログラムを格納したROM
11b、計算を実行する演算装置11a1およびRAM
11cを有する。
In addition, the CPU II is a ROM that stores the programs described below.
11b, arithmetic unit 11a1 and RAM for performing calculations;
11c.

RAM11cは演算時のワークエリアおよびメモリ使用
時のデータ格納エリアとして用いられるもので、キーボ
ードから人力された被演算数および演算数を一時退避し
ておく退避領域lidおよびlleを有する。
The RAM 11c is used as a work area during calculations and a data storage area when memory is used, and has save areas lid and lle for temporarily saving operands and operands entered manually from the keyboard.

また、RAM11cは格納スイッチ3がオンされた場合
に演算結果の総和を格納するための領域11g、および
データ指定スイッチ4によって指定される被演算数もし
くは演算数の総和を格納するための領域iffを有する
The RAM 11c also has an area 11g for storing the sum of calculation results when the storage switch 3 is turned on, and an area if for storing the operand or the sum of the operands specified by the data designation switch 4. have

デイスプレィ2は、CPUIIにより表示駆動回路13
を介して制御される。
The display 2 is driven by a display drive circuit 13 by the CPU II.
controlled via.

第3図はROM11bに格納されたCPUIIの制御手
順を示している6以下、第3図を参照して第1図の装置
の動作について説明する。
FIG. 3 shows the control procedure of the CPU II stored in the ROM 11b.6 Below, the operation of the apparatus shown in FIG. 1 will be explained with reference to FIG.

ステップS1では、cpuitは表示駆動回路13に表
示すべきデータを転送し、デイスプレィ2に表示させる
。表示内容は、後述の制御により決定される。
In step S1, the cpuit transfers data to be displayed to the display drive circuit 13 and displays it on the display 2. The display contents are determined by control described below.

次に、cpuzはキー人力がなされたかどうかをステッ
プS2で判別し、ここでキー人力が検出されなければス
テップS1に戻る。
Next, cpuz determines in step S2 whether or not a key force has been applied, and if no key force has been detected, the process returns to step S1.

ステップS2でキー人力が行なわれたと判定された場合
はステップS3に進み、キーボード1から人力されたキ
ーがどのような処理をさせるものかを判別する。
If it is determined in step S2 that a key has been pressed manually, the process proceeds to step S3, where it is determined what kind of process is caused by the manually pressed key from the keyboard 1.

例えばファンクションキー1bの1つ(4則演算キーな
ど)の入力が行なわれ、ステップS4の処理と判別され
た場合、前回のループにおいてステップ514の他のキ
ー命令処理ルーチンを介して人力された被演算数データ
を第2図の被演算数退避エリアlidに退避させてステ
ップS1に戻る。
For example, if one of the function keys 1b (four arithmetic operation keys, etc.) is input, and it is determined that the process is to be performed in step S4, the input input is performed manually via the other key command processing routine in step 514 in the previous loop. The operand data is saved in the operand save area lid in FIG. 2, and the process returns to step S1.

また、イコールキーが人力さた場合には、ステップS5
に進み、ステップS14の他のキー命令処理ルーチンを
介して入力された演算数データを第2図のデータ退避領
域lieに退避させる。
Further, if the equal key is pressed manually, step S5
The process proceeds to step S14, in which the arithmetic operation data input through another key command processing routine is saved in the data save area lie shown in FIG.

次にステップS6において、それまでにキーボード1か
ら入力されたデータおよびファンクションに応じた演算
処理(4則演算など)を行ない、その結果を表示駆動回
路13に転送しデイスプレィ2に表示させる。
Next, in step S6, arithmetic processing (four arithmetic operations, etc.) is performed according to the data and functions inputted from the keyboard 1 up to that point, and the results are transferred to the display drive circuit 13 and displayed on the display 2.

続いて、ステップS7において、データ退避領域lid
およびデータ退避領域lieに退避させたデータを格納
領域tif、l1gの内容に加算する。この処理は第4
図に関連して後述する。
Subsequently, in step S7, the data save area lid
Then, the data saved in the data save area lie is added to the contents of the storage areas tif and l1g. This process is the fourth
This will be described later in connection with the figures.

ステップS13ではデータ格納エリアiff、11gに
格納されているデータを人カキ−に応じて表示駆動回路
13に転送しデイスプレィ2に表示させ、ステップS1
に戻る。
In step S13, the data stored in the data storage area iff, 11g is transferred to the display drive circuit 13 according to the person's key and displayed on the display 2, and in step S1
Return to

第4図は第3図のステップS7の処理を詳細に示してい
る。ここではまずステップS8で第1図のデータ格納ス
イッチ3がオンされているかどうかを判別し、データ格
納スイッチ3がオンされていなければ何もせずに第3図
のルーチンに復帰する。ステップS8で、データ格納ス
イッチ3がオンされていればまずステップS6で得た演
算結果をステップS9でデータ格納領域11gの演算結
果データに加算した上、再び同領域に格納する。
FIG. 4 shows the process of step S7 in FIG. 3 in detail. First, in step S8, it is determined whether or not the data storage switch 3 shown in FIG. 1 is turned on. If the data storage switch 3 is not turned on, the process returns to the routine shown in FIG. 3 without doing anything. In step S8, if the data storage switch 3 is turned on, the calculation result obtained in step S6 is first added to the calculation result data in the data storage area 11g in step S9, and then stored in the same area again.

次にステップS10に移行し、判別回路12を介してデ
ータ指定スイッチ4によりデータ格納領域11fに格納
するデータとして被演算数ないし演算数のいずれを指定
しているかを判別し、演算数が指定されている場合には
ステップS11に、また被演算数が指定されている場合
にはステップ312に8行する。
Next, the process moves to step S10, in which the data designation switch 4 determines whether the operand or the operand is designated as data to be stored in the data storage area 11f via the determination circuit 12, and the operand is designated as the data to be stored in the data storage area 11f. If the operand is specified, the process goes to step S11, and if the operand is specified, the process goes to step 312 for eight lines.

ステップSllでは、データ退避領域lieの演算数デ
ータをデータ格納領域11fのデータに加えた上で再び
同領域に格納し、ステップS1に戻る。
In step Sll, the arithmetic operation data in the data save area lie is added to the data in the data storage area 11f and stored in the same area again, and the process returns to step S1.

ステップS12に移行した場合には、データ退避領域l
idの被演算数データをデータ格納領域11fのデータ
に加えた上で再び同領域に格納し、ステップS1に戻る
When proceeding to step S12, the data save area l
The operand data of id is added to the data in the data storage area 11f and stored in the same area again, and the process returns to step S1.

第5図(A)〜(P)は、以上の制御により、データ指
定スイッチ4で被演算数の総和の演算を求める処理が指
定された場合の演算処理の様子を示している。各図の左
側はキーボード1からの入力を、また右側はその時のデ
イスプレィ2の表示状態を示している。なお、第5図の
入力が始まる以前にRAM11c上の各退避領域lid
、11aおよび各格納領域iff、figは不図示のク
リアキーなどによりクリアされているものとする。
FIGS. 5A to 5P show the arithmetic processing when the data designation switch 4 specifies the calculation of the sum of the operands under the above control. The left side of each figure shows the input from the keyboard 1, and the right side shows the display state of the display 2 at that time. Note that before the input shown in FIG. 5 begins, each save area lid on the RAM 11c
, 11a and each storage area iff, fig are assumed to have been cleared using a clear key (not shown) or the like.

まず、第5図(A)で人力された各演算のデータを格納
するために、データ格納スイッチ3をオンにする0次に
、第5図(B)でデータ指定スイッチ4によって被演算
数の総和を記憶するように指定する。
First, in order to store the data of each calculation manually performed in FIG. 5(A), the data storage switch 3 is turned on. Next, in FIG. Specifies to remember the sum.

以下、第5図(C)〜(N)まで乗算が3回(3×2.
9×4.8x6)aり返されている。
Hereinafter, multiplication is performed three times (3×2.
9x4.8x6) a is repeated.

まず第5図(C)で最初の被演算数が入力されると、デ
イスプレィ2にそのデータが表示されるとともに、第2
図のデータ退避領域lidにいったん退避される。
First, when the first operand is input in FIG. 5(C), the data is displayed on the display 2, and the second
The data is temporarily saved in the data save area lid shown in the figure.

次に第5図(D)でファンクションキーの人力、第5図
(E)で演算数人力とその表示およびデータ退避領域l
ieへの退避を行ない、第5図(F)でイコールキーが
押下されると乗算を行なってそれをデイスプレィ2に表
示する。ここでは、データ格納スイッチ3が押下されて
いるので、この演算結果が演算結果総和のためのデータ
格納領域11gに格納される。また、格納データ指定ス
イッチ4が被演算数の総和を格納するように設定されて
いるので、データ退避領域lidにいったん退避してあ
ったデータをデータ格納領域11fのデータに加えた上
でもう一度データ格納領域iifに格納する。
Next, Figure 5 (D) shows the manual input of the function key, and Figure 5 (E) shows the manual input of the calculation number, its display, and the data saving area l.
When the equal key is pressed in FIG. 5(F), multiplication is performed and the result is displayed on the display 2. Here, since the data storage switch 3 is pressed down, the result of this calculation is stored in the data storage area 11g for summation of the calculation results. In addition, since the storage data designation switch 4 is set to store the sum of the operands, the data saved in the data save area lid is added to the data in the data storage area 11f, and then the data is saved again. Store in storage area iif.

以下第5図(G)〜(N)で同様の操作が繰り返され、
各々被演算数の総和と演算結果の総和がそれぞれデータ
格納領域11fとデータ格納領域figに格納される。
Similar operations are repeated in Figures 5 (G) to (N) below.
The total sum of operands and the total sum of operation results are respectively stored in the data storage area 11f and the data storage area fig.

そして、第5図(0)でデータ呼出キー5aが押下され
ると演算結果の総和「90」がデータ格納領域11gか
ら呼び出され、デイスプレィ2に表示される。また、第
5図(P)でデータ呼出キー5bが押下されるとデータ
格納領域1.1 fから被演算数の総和「20」が呼び
出されてデイスプレィ2に表示される。
Then, when the data call key 5a is pressed in FIG. Further, when the data call key 5b is pressed in FIG.

一方、第6図は格納データ指定スイッチ4により演算数
の総和を格納するように指定した場合である。ここでも
、第5図と同じ乗算を3回繰り返す場合を示している。
On the other hand, FIG. 6 shows a case where the storage data designation switch 4 specifies that the sum of the calculation numbers be stored. Here again, a case is shown in which the same multiplication as in FIG. 5 is repeated three times.

第6図(F)、(J)、(N)でイコールキー1cが押
下されると前記同様の演算が行なわれ、それぞれの演算
結果がデイスプレィ2に表示される。
When the equal key 1c is pressed in FIGS. 6(F), (J), and (N), calculations similar to those described above are performed, and the results of each calculation are displayed on the display 2.

ここでは、第6図(B)で演算数の総和を格納するよう
に指定しであるので、データ格納領域11fのデータに
データ退避領域11eのデータを加えた上でもう一度デ
ータ格納領域iffに格納する処理が行なわれる。第6
図(0)のデータ呼出キー5aの押下では第5図と同様
に演算結果の総和「90」が表示されるが、第6図(P
)のデータ呼出キー5bの押下では、演算数の総和「1
2」が表示される。
Here, since we have specified to store the sum of the calculation numbers in FIG. 6(B), we add the data in the data save area 11e to the data in the data storage area 11f and then store it again in the data storage area if. Processing is performed. 6th
When the data call key 5a in Figure (0) is pressed, the sum of calculation results "90" is displayed as in Figure 5, but in Figure 6 (P
), the sum of the operands "1" is pressed.
2" is displayed.

以上の実施例によれば、繰り返し演算を行なう場合、デ
ータ指定スイッチ4により被演算数ないし演算数のいず
れかの所望データを指定して自動的に加算し、その総和
をデイスプレィ2に表示させることができ、従来のよう
に被演算数あるいは演算数の一方のみしか行なえない場
合に比べて、メモリ転送や、データ入力順の交換などの
面倒な情報処理を行なう必要がないという利点がある。
According to the embodiment described above, when performing repeated calculations, the desired data of either the operand or the operand is specified by the data designation switch 4, the data is automatically added, and the total sum is displayed on the display 2. This has the advantage that there is no need to perform troublesome information processing such as memory transfer or exchanging data input order, compared to the conventional case where only one of the operands and the operands can be performed.

また、データ格納領域iffを所望のデータの記憶領域
として選択できるから、従来方式のように必要のないデ
ータを記憶するメモリ領域を必要とせず、効率的であり
、装置の構成を簡単安価にで包るという利点もある。
In addition, since the data storage area iff can be selected as the storage area for desired data, there is no need for a memory area to store unnecessary data as in the conventional method, which is efficient and allows the configuration of the device to be simple and inexpensive. It also has the advantage of being wrapped.

以上では乗算のみについて説明したが、これは他の四則
演算に用いることが可能で、それ以外の演算、たとえば
、関数演算などについても同様の技術を実施することが
できる。
Although only multiplication has been described above, it can be used for the other four arithmetic operations, and similar techniques can be implemented for other operations, such as functional operations.

また、前記実施例では、データ格納スイッチ3とデータ
指定スイッチ4を別々に設けたが、これは1つのスイッ
チで兼用してもよい。
Further, in the embodiment described above, the data storage switch 3 and the data designation switch 4 are provided separately, but a single switch may also be used.

たとえば、第7図に示すように、格納制御およびデータ
指定制御のためのスイッチ14を3つの設定位置を有す
るスライドスイッチなどから構成し、そのスライダ14
aの設定状態を1つのオフ状態と2つのオン状態の3つ
の状態のいずれかに制御できるようにしておくことが考
えられる。
For example, as shown in FIG. 7, the switch 14 for storage control and data designation control is constructed from a slide switch having three setting positions.
It is conceivable that the setting state of a can be controlled to one of three states: one off state and two on states.

そして、スイッチ14の、この2つのオン状態を、それ
ぞれ被演算数の総和を格納するか、演算数の総和を格納
するかの制御に割り当てておけばよい。
These two ON states of the switch 14 may be assigned to control whether the sum of the operands or the sum of the operands is stored, respectively.

すなわち、第7図のスイッチ14のオフ状態では、デー
タ格納エリアiff、figに何も格納しないように制
御を行なう。
That is, when the switch 14 in FIG. 7 is in the off state, control is performed so that nothing is stored in the data storage areas if and fig.

また、スイッチ14の第1のオン状態(ONl)では、
データ格納領域11fに演算結果総和データを、また、
データ格納領域11gに被演算数総和データを格納する
ように制御を行なう。
Further, in the first on state (ONl) of the switch 14,
The calculation result summation data is stored in the data storage area 11f, and
Control is performed to store operand sum data in the data storage area 11g.

さらに、第2のオン状態(OH2)ではまたデータ格納
領域11fに演算結果総和データを、また、データ格納
領域11gに演算数総和データを格納するよう制御を行
なう。
Furthermore, in the second ON state (OH2), control is performed to store calculation result sum data in the data storage area 11f and calculation number sum data in the data storage area 11g.

また、第1の実施例ではオルタネート式のデータ指定ス
イッチ4により、データ格納領域11gに格納するデー
タを指定したが、これはモーメンタリ−式のキースイッ
チによっても実現可能である。その場合、第8図に示す
データ指定スイッチI5はトグル動作を行なうもので、
押下ごとにメモリ格納データとして被演算数、ないし演
算数を設定する。この設定状態はデイスプレィ2の表示
灯2a(あるいは表示記号など)により識別できるよう
にしておく。
Further, in the first embodiment, the data to be stored in the data storage area 11g is designated by the alternate type data designation switch 4, but this can also be realized by a momentary type key switch. In that case, the data designation switch I5 shown in FIG. 8 performs a toggle operation,
Each time the button is pressed, the operand or operand is set as memory storage data. This setting state can be identified by an indicator light 2a (or a display symbol, etc.) on the display 2.

このように、スイッチの制御方式は任意であり、上記以
外にも公知の各種の制御方式を利用できるのはいうまで
もない。
In this way, the control method for the switch is arbitrary, and it goes without saying that various known control methods other than those described above can be used.

また、以上では電卓の実施例を示したが、上記の構成は
少なくとも繰り返し演算と演算結果の出力が可能な各種
の電子機器に通用できるのはいうまでもない。
Moreover, although the embodiment of a calculator has been described above, it goes without saying that the above-described configuration is applicable to various electronic devices capable of at least repeating calculations and outputting calculation results.

[発明の効果] 以上から明らかなように、本発明によれば、人力した被
演算数および演算数を用い繰り返し所定の演算を実行し
その演算に関わるデータを加算して出力する電子機器に
おいて、前記被演算数または演算数のいずれかの総和を
格納するための記憶手段と、この記憶手段に被演算数ま
たは演算数のいずれの総和を加算するかを指定する手段
を設け、この指定手段の設定に応じて所定の繰り返し演
算を行なう場合被演算数または演算数のいずれかを順次
前記記憶手段内に累積、格納し所定操作に応じて前記記
憶手段内の総和データを出力する構成を採用しているの
で、指定手段の設定に応じて被演算数ないし演算数のい
ずれかのデータの総和を自動的に加算して記憶させ、必
要に応じて出力させることができ、従来のように自動加
算できるデータが固定された装置に比してオペレータの
操作を簡略化し、また、必要以上のメモリ領域を削除で
きるから、装置の操作性を向上させ、またその製造コス
トを低減できるという優れた効果がある。
[Effects of the Invention] As is clear from the above, according to the present invention, in an electronic device that repeatedly performs a predetermined operation using manually-generated operands and operands, adds and outputs data related to the operation, A storage means for storing the sum of either the operands or the operands, and a means for specifying which sum of the operands or the operands is to be added to the storage means, the specifying means When performing predetermined repeated calculations according to settings, either the operands or the operands are sequentially accumulated and stored in the storage means, and the total sum data in the storage means is output in response to a predetermined operation. Therefore, depending on the setting of the specifying means, the sum of data for either operands or operands can be automatically added and stored, and output as necessary. This simplifies operator operations compared to devices with fixed data, and eliminates unnecessary memory areas, which has the advantage of improving device operability and reducing manufacturing costs. be.

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

第1図は本発明を採用した電子機器の操作面を示した説
明図、第2図は第1図の装置の制御系のブロック図、第
3図は第2図のCPUの制御手順を示したフローチャー
ト図、第4図は第3図の格納処理ルーチンのフローチャ
ート図、第5図(A)〜(P)および第6図(A)〜(
P)は第1図の装置の動作および表示状態を示した説明
図、第7図は本発明による第2の実施例におけるスイッ
チの構造を示した説明図、第8図は第3の実施例による
データ指定スイッチおよびデイスプレィの構成を示した
説明図である。 1・・・キーボード      2・・・デイスプレィ
3・・・データ格納スイッチ 4・・・データ指定スイッチ 5a、5b・・・データ呼出キー 11・・・CPU 11b・・・ROM       tic・・・RAM
11d、Ile・・・データ退避領域 11f、jig・・・データ格納領域 12・・・判別回路 13・・・表示駆動回路 特許出願人 キャノ′株式会社 −−〜〜、代理人  
9”1i″ ”° i ” (6に−−−、,7 メ七り羽Hメ3−理070−今−−トn第4図 FF ○N1 N2 PtJリスイー、千濤遣ノ1化−恥 第7図 2テ;スワブし4 2a b、tY−灯 prJうスイ、7午配ひテ゛Aスデ口4えり印B第8図
Fig. 1 is an explanatory diagram showing the operation surface of an electronic device adopting the present invention, Fig. 2 is a block diagram of the control system of the device shown in Fig. 1, and Fig. 3 shows the control procedure of the CPU shown in Fig. 2. FIG. 4 is a flowchart of the storage processing routine of FIG. 3, FIGS. 5(A) to (P), and FIGS.
P) is an explanatory diagram showing the operation and display state of the device in FIG. 1, FIG. 7 is an explanatory diagram showing the structure of the switch in the second embodiment of the present invention, and FIG. 8 is an explanatory diagram showing the third embodiment. FIG. 2 is an explanatory diagram showing the configuration of a data designation switch and a display according to the present invention. 1...Keyboard 2...Display 3...Data storage switch 4...Data designation switch 5a, 5b...Data recall key 11...CPU 11b...ROM tic...RAM
11d, Ile...Data save area 11f, jig...Data storage area 12...Discrimination circuit 13...Display drive circuit Patent applicant Cano' Co., Ltd. --~~, Agent
9”1i” ”° i” (6---,,7 Me Shichiriba H Me3-Re070-Now--Tn Figure 4FF ○N1 N2 PtJ Lisii, Sentou-Ken no 1- Shame Fig. 7 2 Te; Swab 4 2 a b, tY-light prJ sui, 7 o'clock dispense te ゛A Sde opening 4 E-mark B Fig. 8

Claims (1)

【特許請求の範囲】[Claims] 1)入力した被演算数および演算数を用い繰り返し所定
の演算を実行しその演算に関わるデータを加算して出力
する電子機器において、前記被演算数または演算数のい
ずれかの総和を格納するための記憶手段と、この記憶手
段に被演算数または演算数のいずれの総和を加算するか
を指定する手段を設け、この指定手段の設定に応じて所
定の繰り返し演算を行なう場合被演算数または演算数の
いずれかを順次前記記憶手段内に累積、格納し所定操作
に応じて前記記憶手段内の総和データを出力することを
特徴とする電子機器。
1) In an electronic device that repeatedly executes a predetermined operation using input operands and operands and adds and outputs data related to the operation, for storing the sum of either the operand or the operand. and a means for specifying whether the sum of the operands or the operands is to be added to the memory means, and when performing a predetermined repeated operation according to the setting of this specifying means, the operands or the operation An electronic device characterized in that any one of the numbers is accumulated and stored in the storage means in sequence, and the total sum data in the storage means is outputted in accordance with a predetermined operation.
JP29619588A 1988-11-25 1988-11-25 Electronic equipment Pending JPH02143362A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29619588A JPH02143362A (en) 1988-11-25 1988-11-25 Electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29619588A JPH02143362A (en) 1988-11-25 1988-11-25 Electronic equipment

Publications (1)

Publication Number Publication Date
JPH02143362A true JPH02143362A (en) 1990-06-01

Family

ID=17830406

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29619588A Pending JPH02143362A (en) 1988-11-25 1988-11-25 Electronic equipment

Country Status (1)

Country Link
JP (1) JPH02143362A (en)

Similar Documents

Publication Publication Date Title
JPH0792739B2 (en) Floating point data normalization method
JPH02143362A (en) Electronic equipment
US5260886A (en) Default denominator for fraction entry and display
JPH01230160A (en) Electronic equipment
JP2000315195A (en) Electronic calculation device with currency conversion function and storage medium storing currency converting calculation display program
JP2744793B2 (en) Electronics
JP2951685B2 (en) Fixed-point arithmetic unit
JPS5911947B2 (en) electronic desk calculator
JPH0275053A (en) Electronic computer
JPH04297948A (en) Display device for electronic calculator
JPH04250555A (en) Electronic computer
JPS63316891A (en) Display device with multiwindow display function
JPH05120235A (en) Electronic equipment
JPS6019030B2 (en) educational electronics
JPS6033480Y2 (en) calculation display device
JPH08329016A (en) Color display device
JPS6386039A (en) Display device for simulation result
JPS6290720A (en) Menu displaying device
JPS61256462A (en) Input device for information processor
JPH08221365A (en) Personal portable terminal equipment
JPH03260856A (en) Electronic equipment with consumption tax calculating function
JPH01140366A (en) Electronic calculator
JPH07230428A (en) Electronic computer
JPS5878249A (en) Electronic apparatus
JPH0192811A (en) Teaching device for robot