JPH0225210B2 - - Google Patents

Info

Publication number
JPH0225210B2
JPH0225210B2 JP1598280A JP1598280A JPH0225210B2 JP H0225210 B2 JPH0225210 B2 JP H0225210B2 JP 1598280 A JP1598280 A JP 1598280A JP 1598280 A JP1598280 A JP 1598280A JP H0225210 B2 JPH0225210 B2 JP H0225210B2
Authority
JP
Japan
Prior art keywords
data
aggregation
memory
vertical
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.)
Expired - Lifetime
Application number
JP1598280A
Other languages
Japanese (ja)
Other versions
JPS56114070A (en
Inventor
Shigeru Matsuyama
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 JP1598280A priority Critical patent/JPS56114070A/en
Publication of JPS56114070A publication Critical patent/JPS56114070A/en
Publication of JPH0225210B2 publication Critical patent/JPH0225210B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Calculators And Similar Devices (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

【発明の詳細な説明】[Detailed description of the invention]

本発明は、マトリクス状に配列した数値の横方
向および縦方向の集計を行ういわゆる縦横集計型
の電子計算機,キヤツシユレジスタ,コンピユー
タなどの電子機器に関し、主たる横方向集計の機
能に対し、簡易に縦方向の集計を行い得るように
したものである。 まず、この種縦横集計型の電子計算機における
集計の機能につき、第1表を参照して説明する。
The present invention relates to electronic devices such as so-called vertical and horizontal aggregation type electronic computers, cash registers, and computers that aggregate numbers arranged in a matrix in the horizontal and vertical directions. This allows vertical aggregation. First, the counting function in this type of vertical and horizontal counting type electronic computer will be explained with reference to Table 1.

【表】 第1表は、ある商店における1月、2月、3月
の月別の商品A,B,Cについての売上げ額が、
商品AについてA1,A2,A3、商品Bについては
B1,B2,B3、商品CについてはC1,C2,C3で
あつて、各商品別の四半期総売上げ額がTA,
TB,TC、月別の総売上げ額がT1,T2,T3で
あり、商品A,B,Cの四半期総売上げ額がTG
であつたことを示すものである。このような集計
データを得るために縦横集計型の電子計算機を用
いて商品別の四半期総売上げ額TA,TB,TCを
求める演算を行うと、それと同時に、月別および
四半期の総売上げ額T1,T2,T3およびTGも得
られる。すなわち、横方向集計の演算を行うと、
それと同時に縦方向集計の演算も行なわれる、と
いう演算機能が縦横集計型の電子計算機によつて
得られることになる。 しかしながら、従来の縦横集計型の電子計算機
において、縦方向の集計結果を求めるには、縦方
向集計印字命令キーを操作して、例えば上述した
月別および四半期の縦方向集計の結果を連続的に
印字紙に印字して出力させる必要があつた。した
がつて、従来のこの種の電子計算機においては印
字紙に印字されてはじめて縦方向集計結果を確認
することができることになり、印字紙がない場合
や印字紙節約のために印字せずに集計の検算を行
いたい場合には、縦方向集計結果の確認ができな
いことになるという欠点があつた。 本発明の目的は、上述した従来の欠点を除去
し、印字紙に印字することなく、簡単な構成で、
表示器による表示あるいは音声出力のみによつて
簡易に縦方向集計結果を、簡単な操作で確認し得
るようにした縦横集計型の電子機器を提供するこ
とにある。 上述の目的を達成するために、本発明電子機器
においては、単一縦方向集計の結果を出力する表
示キーもしくは音声出力キーを備え、それらのキ
ーを操作することにより、縦方向集計用メモリ選
択用のポインタによつて選択した縦方向集計用メ
モリに記憶させた複数個の数値の集計データを表
示装置もしくは音声出力装置に転送して出力させ
るとともに、縦方向集計用メモリ選択用のポイン
タを操作して、出力させる縦方向集計データを順
次に更新させるようにし、したがつて、そのポイ
ンタを連続操作することにより、各縦方向集計用
メモリ素子にそれぞれ記憶させた数値の集計デー
タが順次に連続的に表示装置もしくは音声出力装
置に転送されて出力され、印字紙に印字すること
を要せずに各縦方向集計結果を確認することがで
きる。 以下に図面を参照して本発明を詳細に説明す
る。 本発明電子機器、たとえば電子計算機の一例と
して、電卓の場合の構成例を第1図に示し、その
動作の態様を第2図に示す。 図示の構成例において、キーボードKBは、□0
〜□9の数値キー群N、加算命令キー□+、加算結果
出力キー□=等のフアンクシヨンキー群F、縦方向
集計結果印字命令キーVP、単一縦方向集計結果
表示キーVD、単一縦方向集計結果音声出力キー
VAおよび印字の要否を選択するスイツチPRT
を備えており、そのスイツチPRTは、オンのと
きに“1”となり、オフのときに“0”となる信
号PSをアンドゲートAに供給する。また、制御
ユニツトCPUは、キーボードKBその他の回路か
らの信号を受けて後述する各回路に各種の制御信
号CPRNT,CDSP,CR1,CR2,CM1,CM
2,CM3,CM4,CPNT,CALU,CVC等を
供給するものであり、クロツクパルス発生回路、
遅延回路、ゲート回路、その他の論理回路によつ
て構成した順序制御回路および各部回路を制御す
る制御信号を供給するマイクロ命令群を記憶して
いる読出し専用記憶装置ROMをもつて構成して
ある。アンド回路Aは、制御ユニツトCPUから
の制御信号CPRNTとキーボードKB上のスイツ
チPRTからの信号PSとを入力として、出力信
号CANDを印字装置PRNTに印加し、信号PSが
“1”のときに後述するようにして印字を行わせ
る。さらに、表示装置DISPは、バスラインBを
介して供給される後述の各レジスタ内のデータを
目視し得るように表示する。しかして、それらの
各レジスタR1,R2,M1〜M4は、例えば4
ビツト構成とする直列入力・並列出力レジスタで
あつて、そのうちレジスタR1はキーボードKB
からの入力数値データを格納するためのものであ
り、レジスタR2は加算結果のデータを格納する
ためのものであり、各レジスタM1〜M4は縦方
向集計用メモリ装置として作用する。また、演算
制御ユニツトALUはバスラインBを介して供給
されたデータに対して加減算などの演算処理を施
すものであり、縦方向集計用メモリ選択ポインタ
PNTは縦方向集計用メモリ装置としての各レジ
スタM1〜M4のうちいずれをアクセスするかを
決定するものである。なお、印字装置PRNTお
よび表示装置DISPがバスラインBを介して供給
された上述した各レジスタ内のデータを可視化す
るためにそれぞれ印字紙に印字し、あるいは一時
的に表示することは上述した通じであり、従来周
知の技術により実施し得るものである。また、音
声出力装置VOICEはバスラインBを介して供給
されたデータを音声にして出力するものであつ
て、同様に従来周知の技術により実施することが
できる。 上述した第1図示の本発明実施例の動作を、第
2図に示すキー操作を行つた場合の例について説
明すると、次の通りである。 まず、制御ユニツトCPUは、キーボードKB上
の各キーの操作による信号KBSを受けるととも
に、各部回路の状態を検知して、つぎに列挙する
各種の制御信号を発生させる。 CPRNT:バスラインBを介して供給されたデ
ータを編集して印字装置PRNTに印字紙さ
せる制御信号。 CDSP:バスラインBを介して供給されたデー
タを編集して表示装置DISPに表示させる制
御信号。 CVC:バスラインBを介して供給されたデー
タを編集して音声出力装置VOICEに音声出
力させる制御信号。 CR1:レジスタR1とバスラインBとの間の
データの授受を制御する制御信号。 CR2:レジスタR2とバスラインBとの間の
データの授受を制御する制御信号。 CM1:レジスタM1とバスラインBとの間の
データの授受を制御する制御信号。 CM2:レジスタM2とバスラインBとの間の
データの授受を制御する制御信号。 CM3:レジスタM3とバスラインBとの間の
データの授受を制御する制御信号。 CM4:レジスタM4とバスラインBとの間の
データの授受を制御する制御信号。 CPNT:縦方向集計用メモリ選択ポインタ
PNTとバスラインBとの間のデータの授受
を制御する制御信号。 CALU:演算制御ユニツトALUとバスライン
Bとの間のデータに授受並びにそれらのデー
タの加減算などの演算および検査などを制御
する制御信号。 そこで、先に掲げた第1表における各売上げ額
の数値をつぎのように設定して各種の総売上げ額
TA,TB,TC,T1,T2,T3,TGを求め、そ
れらの演算の経過を順次に一時表示するとともに
印字した後に、印字を行なわずに同じ演算をして
単一縦方向集計結果表示キーVDの操作により、
検算を行う場合の動作例を説明する。 A1=12,A2=15,A3=13 B1=21,B2=18,B3=23 C1= 7,C2= 9,C3=11 まず、キーボードKB上のスイツチPRTをオ
ンに設定して演算の過程が逐一印字される状態に
しておく。ついで、数値キー“1”と“2”とを
順次に操作してA1の数値“12”を入力すると、
キー信号KBSが制御ユニツトCPUに送出される。
制御ユニツトCPUは、レジスタR1に制御信号
CR1を印加しそのデータ“12”をレジスタR1
に格納するとともに、表示装置DISPに制御信号
CDSPを印加してそのデータ“12”を表示装置
DISPに一時表示させる。かかる第1段階の動作
状態を第2図の手順1に示す。なお、第2図には
以下同様にして各手に動作状態を示してある。 つぎに、手順2において、キーボードKB上の
加算命令キー□+を押下すると、キー信号KBSが
制御ユニツトCPUに送出され、制御ユニツト
CPUからの各制御信号CR1,CR2,CALUの
制御のもとにレジスタR1内のデータ“12”とレ
ジスタR2内の初期データ“0”とが加算され、
その加算の結果のデータ“12”がレジスタR2に
格納されるとともに、制御ユニツトCPUからの
制御信号CPRTおよびCALUの制御のもとに縦方
向集計用メモリ選択ポインタPNT内のデータが
判定される。この段階においてはそのポインタ
PNT内のデータが初期値“0”であるので、制
御ユニツトCPUからは制御信号CR1およびCM
1が送出され、それらの制御信号CR1,CM1
の制御のもとに、レジスタR1内のデータ“12”
とレジスタM1内の初期データ“0”とが加算さ
れ、その加算の結果のデータ“12”がレジスタM
1に格納されるとともに、制御ユニツトCPUか
らの制御信号CPRTおよびCALUの制御のもとに
メモリ選択ポインタPNT内の初期データ“0”+
1だけ歩進して、新たなデータ“1”がポインタ
PNTに格納され、さらに、制御ユニツトCPUか
らの制御信号CPRNT,CPNT,CR1の制御の
もとに、第2図の手順2に示すように、“01 12
+”なる印字が行われるとともに、制御ユニツト
CPUからの制御信号CR2,CDSPの制御のもと
にレジスタR2内のデータ“12”が表示装置
DISPに一時表示される。 つぎに、手順3において、キーボードKBにて
A2の数値15□+となるように各キーが押下される
と、上述したと同様の制御が行われて、レジスタ
R1に新たに格納したデータ“15”とレジスタR
2内のこの段階におけるデータ“12”とが加算さ
れ、その加算の結果のデータ“27”が新たにレジ
スタR2に格納されるとともに、メモリ選択ポイ
ンタRNT内のデータがこの段階においては“1”
であるので、レジスタR1内の“15”とレジスタ
M2内の初期データ“0”とが加算され、その加
算の結果のデータ“15”がレジスタM2に格納さ
れ、さらに、上述と同様にしてメモリ選択ポイン
タPNT内のデータがさらに+1だけ歩進されて
新たなデータ“2”がポインタPNTに格納され
るとともに、印字装置PRNTにおいては、第2
図の手順3に示すように、“02 15+”と印字さ
れ、一方、表示装置DISPにおいてはレジスタR
2内のデータ“27”が表示される。 つぎに、手順4において、キーボードKBにて
A3の値13□+となるように各キーが押下されると、
上述したと同様の制御が行われて、レジスタR1
に新たに格納したデータ“13”とレジスタR2内
のこの段階におけるデータ“27”と加算され、そ
の加算の結果のデータ“40”が新たにレジスタR
2に格納されるとともに、メモリ選択ポインタ
PNT内のデータがこの段階においては“2”で
あるので、レジスタR1内のデータ“13”とレジ
スタM3内の初期データ“0”とが加算され、そ
の加算の結果のデータ“13”がレジスタM3に格
納され、さらに、上述と同様にしてメモリ選択ポ
インタPNT内のデータがさらに+1だけ歩進さ
れて新たなデータ“3”がポインタPNTに格納
されるとともに、第2図の手順4に示すように、
印字装置PRNTにおいては“03 13+”と印字さ
れ、一方、表示装置DISPにおいてはレジスタR
2内のデータ“40”が表示される。 つぎに、手順5において、キーボードKBにて
□=キーが押下されると、レジスタR2内のデータ
“40”がレジスタR1に転送されて、レジスタR
2には新たに“0”が格納される。また、メモリ
選択ポインタPNT内のデータがこの段階におい
ては“3”であるので、制御信号CM4,CR1,
CALUの制御のもとに、レジスタR1内のデータ
“40”とレジスタM4内の初期データ“0”と加
算され、その加算の結果のデータ“40”がレジス
タM4に格納されるとともに、第2図の手順5に
示すように、印字装置PRNTにおいては“04 40
=”と印字され、一方、表示装置DISPにおいて
はレジスタR1内のデータ“40”が表示されて、
横方向集計結果の商品別四半期売上げ額TAが求
められ、また、縦方向集計用メモリ選択ポインタ
PNTには改めて初期データ“0”が格納される。 以下、上述したと同様に、手順6〜手順9およ
び手順10〜手順13においても、第2図にそれ
ぞれ示すようにキー操作が行われると、上述した
と同様に処理されて図示の表示および印字が順次
に得られ、□=キーの押下の度に、順次に、横方向
集計結果の商品別四半期売上げ額TBおよびTC
が求められる。 ついで、手順14において、キーボードKBに
おいて縦方向集計結果印字命令キーVPを押下す
ると、制御信号CM1,CM2,CM3,CM4,
CPNT,CALUおよびCPRNTの制御のもとに、
縦方向集計用メモリ装置としてのレジスタM1,
M2,M3,M4内のデータが順次に印字装置
PRNTに転送されて、第2図の手順14に示す
ような印字が行われ、月別の総売上げ額T1,
T2,T3および四半期総売上げ額TGが求められ、
同時に、各レジスタM1,M2,M3,M4には
改めて初期データ“0”が格納される。 つぎに、本発明による電子計算機の新たな機能
としての検算のために、第2図の手順15〜手順
17において、キーボードKB上の印字要否選択
スイツチPRTをオフにして、印字が行われない
状態に設定したうえで、上述した手順1〜手順1
3のキー操作を繰返して行うと、□=を押下する度
毎に、第2図の手順5,手順9,手順13におけ
る印字の結果を検照して手順15,手順16,手
順17に示すような表示が行われ、横方向集計結
果としての商品別四半期売上げ額TA,TB,TC
の検算結果を確認することができる。 ついで、手順18において、キーボードKB上
の単一縦方向集計結果表示キーVDを押下する
と、縦方向集計用メモリ選択ポインタPNT内の
データがこの段階においては“0”であるので、
制御信号CM1,CDSPの制御のもとに、レジス
タM1内のデータ“40”が表示装置DISPに転送
されて、第2図の手順18に示すような表示が行
われ、同時に、メモリ選択ポインタPNT内のデ
ータ“0”が+1だけ歩進されて新たなデータ
“1”がポインタPNTに格納される。さらに、手
順19〜手順21において、単一縦方向集計結果
表示キーVDを繰返して押下すると、レジスタM
2,M3,M4内の各データ“42”“47”,“129”
が順次に表示装置DISPに転送されて、第2図の
手順19〜手順21に示すような表示が順次に行
われ、手順14の段階における印字の結果を検照
して、縦方向集計結果としての月別総売上げ額
T1,T2,T3および四半期総売上げ額TGの検算
結果を確認することができる。 ついで、手順22〜手順25において、キーボ
ードKB上の上述した表示キーVDの替わりに単
一縦方向集計結果音声出力キーVAを順次に押下
すると、上述した表示キーVD押下の場合と同様
にして、各縦方向集計データT1,T2,T3,TG
が、第2図の手順22〜手順25に示すように、
順次に音声出力されるので、上述したと同様に、
縦方向集計結果としての月別総売上げ額および四
半期総売上げ額の検算結果を確認することができ
る。 以上の説明から明らかなように、本発明によれ
ば、単一縦方向集計結果表示キーを押下する度毎
に各縦方向集計用メモリ内のデータが順次に表示
装置に転送されて表示され、また、単一縦方向集
計結果音声出力キーを押下する度毎に各縦方向集
計用メモリ内のデータが順次に音声出力装置に転
送されて音声出力されるので、印字紙のない場合
にも、あるいは、印字紙を使用することなく、簡
単なキー構成でしかも特定キーを繰返して押下す
るという簡単な操作で、副次的な縦方向集計の結
果を確認することができ、また、このように印字
紙を用いないで副次的な縦方向集計結果の検算を
行うことができるので、印字紙を節約することが
できるという利点が得られる。
[Table] Table 1 shows the monthly sales of products A, B, and C in January, February, and March at a store.
For product A A1, A2, A3, for product B
B1, B2, B3, and product C are C1, C2, and C3, and the quarterly total sales amount for each product is TA,
TB, TC, the monthly total sales are T1, T2, T3, and the quarterly total sales of products A, B, C are TG
This indicates that the temperature was high. In order to obtain such aggregated data, when calculating the quarterly total sales amounts TA, TB, and TC for each product using a horizontal and vertical aggregation computer, at the same time, the monthly and quarterly total sales amounts T1, T2 are calculated. , T3 and TG are also obtained. In other words, when performing horizontal aggregation calculations,
At the same time, the vertical and horizontal aggregation type electronic computer has the ability to perform arithmetic operations for vertical aggregation. However, in conventional vertical and horizontal tabulation type electronic computers, in order to obtain the tally results in the vertical direction, the vertical tally printing command key is operated to continuously print out, for example, the monthly and quarterly vertical tally results mentioned above. It was necessary to print it out on paper. Therefore, in conventional electronic computers of this type, it is possible to check the vertical tally results only after they are printed on paper. If you want to check the calculations, there is a drawback that you cannot check the results of vertical aggregation. The purpose of the present invention is to eliminate the above-mentioned conventional drawbacks, and to print with a simple structure without printing on printing paper.
It is an object of the present invention to provide a vertical and horizontal tabulation type electronic device in which vertical tabulation results can be easily confirmed by a simple operation only through display on a display or audio output. In order to achieve the above-mentioned object, the electronic device of the present invention is provided with a display key or an audio output key for outputting the results of a single vertical tally, and by operating these keys, memory selection for vertical tallying can be performed. Transfers and outputs the aggregated data of multiple numbers stored in the memory for vertical aggregation selected by the pointer to the display device or audio output device, and operates the pointer for selecting the memory for vertical aggregation. By sequentially updating the vertical tally data to be output, by continuously operating the pointer, the numerical tally data stored in each vertical tally memory element can be sequentially updated. The results are automatically transferred to a display device or an audio output device and output, and each vertical direction tally result can be confirmed without printing on paper. The present invention will be described in detail below with reference to the drawings. As an example of an electronic device of the present invention, such as an electronic computer, a configuration example of a calculator is shown in FIG. 1, and the mode of operation thereof is shown in FIG. 2. In the illustrated configuration example, the keyboard KB is □0
Numeric key group N of ~□9, function key group F such as addition command key □+, addition result output key □=, vertical tally result print command key VP, single vertical tally result display key VD, single Vertical tally result audio output key
Switch PRT to select VA and printing necessity
The switch PRT supplies the AND gate A with a signal PS which becomes "1" when it is on and "0" when it is off. In addition, the control unit CPU receives signals from the keyboard KB and other circuits and sends various control signals CPRNT, CDSP, CR1, CR2, CM1, CM to each circuit described later.
2. It supplies CM3, CM4, CPNT, CALU, CVC, etc., and includes a clock pulse generation circuit,
It includes a sequential control circuit composed of delay circuits, gate circuits, and other logic circuits, and a read-only storage ROM that stores a group of microinstructions for supplying control signals for controlling each circuit. The AND circuit A inputs the control signal CPRNT from the control unit CPU and the signal PS from the switch PRT on the keyboard KB, and applies an output signal CAND to the printing device PRNT, and when the signal PS is "1", it will be described later. Printing is performed as follows. Furthermore, the display device DISP visually displays data in each register, which will be described later, supplied via bus line B. Therefore, each of these registers R1, R2, M1 to M4 is, for example, 4
It is a serial input/parallel output register with a bit configuration, of which register R1 is the keyboard KB.
The register R2 is used to store the data of the addition result, and each of the registers M1 to M4 functions as a memory device for vertical totalization. In addition, the arithmetic control unit ALU performs arithmetic processing such as addition and subtraction on the data supplied via bus line B, and uses a memory selection pointer for vertical aggregation.
PNT determines which of the registers M1 to M4 serving as a vertical totalization memory device is to be accessed. As described above, the printing device PRNT and the display device DISP each print on printing paper or temporarily display the data in each of the above-mentioned registers supplied via bus line B in order to visualize the data. This can be implemented using conventionally known techniques. Further, the audio output device VOICE outputs data supplied via the bus line B as audio, and can similarly be implemented using conventionally known techniques. The operation of the above-described embodiment of the present invention shown in FIG. 1 will be described below with reference to an example in which the key operations shown in FIG. 2 are performed. First, the control unit CPU receives the signal KBS caused by the operation of each key on the keyboard KB, detects the state of each circuit, and generates the various control signals listed below. CPRNT: A control signal that edits the data supplied via bus line B and causes the printing device PRNT to print paper. CDSP: A control signal that edits the data supplied via bus line B and displays it on the display device DISP. CVC: A control signal that edits the data supplied via bus line B and causes the audio output device VOICE to output audio. CR1: Control signal that controls data exchange between register R1 and bus line B. CR2: Control signal that controls data transfer between register R2 and bus line B. CM1: Control signal that controls data exchange between register M1 and bus line B. CM2: Control signal for controlling data transfer between register M2 and bus line B. CM3: Control signal for controlling data transfer between register M3 and bus line B. CM4: Control signal for controlling data transfer between register M4 and bus line B. CPNT: Memory selection pointer for vertical aggregation
A control signal that controls data exchange between PNT and bus line B. CALU: A control signal that controls data transmission and reception between the arithmetic control unit ALU and bus line B, as well as calculations and inspections such as addition and subtraction of these data. Therefore, the figures for each sales amount in Table 1 listed above are set as follows to calculate the total sales amount of each type.
Calculate TA, TB, TC, T1, T2, T3, TG, temporarily display the progress of those calculations sequentially, print them out, then perform the same calculations without printing and use the single vertical tabulation result display key. By operating VD,
An example of operation when performing calculation will be explained. A1=12, A2=15, A3=13 B1=21, B2=18, B3=23 C1=7, C2=9, C3=11 First, turn on the switch PRT on the keyboard KB and start the calculation process. is printed one by one. Next, input the value "12" for A1 by sequentially operating the numerical keys "1" and "2".
A key signal KBS is sent to the control unit CPU.
The control unit CPU sends a control signal to register R1.
Apply CR1 and transfer the data “12” to register R1
At the same time, the control signal is sent to the display device DISP.
Apply CDSP and display the data “12”
Temporarily display on DISP. The operating state of the first stage is shown in step 1 of FIG. Incidentally, in FIG. 2, the operating states of each hand are similarly shown below. Next, in step 2, when the addition command key □+ on the keyboard KB is pressed, the key signal KBS is sent to the control unit CPU, and the control unit
Under the control of each control signal CR1, CR2, CALU from the CPU, data "12" in register R1 and initial data "0" in register R2 are added.
Data "12" as a result of the addition is stored in the register R2, and the data in the vertical totalization memory selection pointer PNT is determined under the control of control signals CPRT and CALU from the control unit CPU. At this stage, the pointer
Since the data in PNT is the initial value "0", control signals CR1 and CM are sent from the control unit CPU.
1 is sent out, and their control signals CR1, CM1
data “12” in register R1 under the control of
and the initial data “0” in register M1 are added, and the data “12” as a result of the addition is added to register M1.
1, and the initial data in the memory selection pointer PNT is set to “0”+ under the control of the control signals CPRT and CALU from the control unit CPU.
The pointer advances by 1 and the new data “1”
PNT, and further, under the control of control signals CPRNT, CPNT, CR1 from the control unit CPU, as shown in step 2 of FIG.
+” is printed and the control unit
Under the control of control signals CR2 and CDSP from the CPU, data “12” in register R2 is displayed on the display.
Temporarily displayed on DISP. Next, in step 3, use the keyboard KB to
When each key is pressed so that the value of A2 becomes 15□+, the same control as described above is performed, and the newly stored data "15" in register R1 and the register R
Data “12” at this stage in 2 is added, and data “27” as a result of the addition is newly stored in register R2, and the data in memory selection pointer RNT is “1” at this stage.
Therefore, "15" in register R1 and initial data "0" in register M2 are added, data "15" as a result of the addition is stored in register M2, and then the memory is stored in the same manner as described above. The data in the selection pointer PNT is further incremented by +1 and new data "2" is stored in the pointer PNT, and at the same time, in the printing device PRNT, the second
As shown in step 3 of the figure, “02 15+” is printed, while on the display device DISP, register R
Data “27” in 2 is displayed. Next, in step 4, use the keyboard KB to
When each key is pressed so that the value of A3 is 13□+,
The same control as described above is performed, and the register R1
The newly stored data “13” is added to the data “27” at this stage in register R2, and the resultant data “40” is newly stored in register R.
2 and the memory selection pointer
Since the data in PNT is "2" at this stage, the data "13" in register R1 and the initial data "0" in register M3 are added, and the data "13" as a result of the addition is stored in the register. The data in the memory selection pointer PNT is further incremented by +1 in the same way as described above, and new data "3" is stored in the pointer PNT, as shown in step 4 of FIG. like,
“03 13+” is printed on the printer PRNT, while register R is printed on the display device DISP.
Data “40” in 2 is displayed. Next, in step 5, when the □= key is pressed on the keyboard KB, data “40” in register R2 is transferred to register R1, and register R
“0” is newly stored in 2. Also, since the data in the memory selection pointer PNT is "3" at this stage, the control signals CM4, CR1,
Under the control of CALU, data “40” in register R1 and initial data “0” in register M4 are added, and data “40” as a result of the addition is stored in register M4, and the second As shown in step 5 of the figure, in the printing device PRNT, “04 40
=" is printed, and on the other hand, the display device DISP displays the data "40" in register R1,
The quarterly sales amount TA for each product is calculated from the horizontal aggregation results, and the memory selection pointer for vertical aggregation is also displayed.
Initial data “0” is stored in PNT again. Hereinafter, in the same manner as described above, in steps 6 to 9 and steps 10 to 13, when key operations are performed as shown in FIG. are obtained sequentially, and each time the □= key is pressed, the quarterly sales amount TB and TC for each product in the horizontal aggregation results are sequentially obtained.
is required. Next, in step 14, when the vertical tally result print command key VP is pressed on the keyboard KB, the control signals CM1, CM2, CM3, CM4,
Under the control of CPNT, CALU and CPRNT,
Register M1 as a memory device for vertical aggregation;
The data in M2, M3, and M4 are printed sequentially by the printing device.
The data is transferred to the PRNT and printed as shown in step 14 in Figure 2, and the monthly total sales amount T1,
T2, T3 and quarterly total sales amount TG are calculated,
At the same time, initial data "0" is stored anew in each register M1, M2, M3, and M4. Next, for verification as a new function of the computer according to the present invention, in steps 15 to 17 of FIG. 2, the print necessity selection switch PRT on the keyboard KB is turned off so that no printing is performed. After setting the status, follow steps 1 to 1 described above.
If you repeat the key operation in step 3, each time you press □=, the printing results in step 5, step 9, and step 13 in Figure 2 will be checked and shown in step 15, step 16, and step 17. A display like this is performed, and the quarterly sales amount by product as a horizontal aggregation result is displayed as TA, TB, TC.
You can check the calculation results. Next, in step 18, when the single vertical tally result display key VD on the keyboard KB is pressed, the data in the vertical tally memory selection pointer PNT is "0" at this stage, so
Under the control of the control signals CM1 and CDSP, data "40" in the register M1 is transferred to the display device DISP, and a display as shown in step 18 of FIG. 2 is performed, and at the same time, the memory selection pointer PNT The data "0" within is incremented by +1 and new data "1" is stored in the pointer PNT. Furthermore, in steps 19 to 21, if the single vertical aggregation result display key VD is pressed repeatedly, register M
2, each data in M3, M4 “42” “47”, “129”
are sequentially transferred to the display device DISP, and displays as shown in steps 19 to 21 in Figure 2 are performed sequentially, and the printing results in step 14 are checked to display the results as the vertical tally results. Monthly total sales amount of
You can check the calculation results of T1, T2, T3 and quarterly total sales amount TG. Next, in steps 22 to 25, when the single vertical tally result voice output key VA is pressed in sequence instead of the above-mentioned display key VD on the keyboard KB, the same way as in the case of pressing the display key VD described above, Each vertical summary data T1, T2, T3, TG
However, as shown in steps 22 to 25 in FIG.
The audio is output sequentially, so as mentioned above,
You can check the verification results of monthly total sales amount and quarterly total sales amount as vertical aggregation results. As is clear from the above description, according to the present invention, each time a single vertical aggregation result display key is pressed, data in each vertical aggregation memory is sequentially transferred to the display device and displayed. Furthermore, each time the single vertical totalization result voice output key is pressed, the data in each vertical totalization memory is sequentially transferred to the voice output device and output as voice, so even when there is no printing paper, Alternatively, you can check the results of the secondary vertical tally using a simple key configuration and simply pressing a specific key repeatedly without using printing paper. Since the secondary tally results can be verified without using printed paper, there is an advantage that printed paper can be saved.

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

第1図は本発明の一実施例としての電子計算機
の構成例を示すブロツク線図、第2図は同じくそ
の動作の態様の例を示す線図である。 KB…キーボード、N…数値キー、F…フアン
クシヨンキー、VP…印字命令キー、VD…表示
キー、VA…音声出力キー、CPU…制御ユニツ
ト、A…アンドゲート、B…バスライン、
PRNT…印字装置、DISP…表示装置、R1,R
2,M1,M2,M3,M4…レジスタ、PNT
…メモリ選択ポインタ、ALU…演算制御ユニツ
ト、VOICE…音声出力装置。
FIG. 1 is a block diagram showing an example of the configuration of an electronic computer as an embodiment of the present invention, and FIG. 2 is a diagram showing an example of the mode of operation thereof. KB...keyboard, N...numeric key, F...function key, VP...print command key, VD...display key, VA...audio output key, CPU...control unit, A...and gate, B...bus line,
PRNT...Printing device, DISP...Display device, R1,R
2, M1, M2, M3, M4...Register, PNT
...Memory selection pointer, ALU...Arithmetic control unit, VOICE...Voice output device.

Claims (1)

【特許請求の範囲】 1 複数行、複数列のマトリクス状に配列される
複数のデータの行に対応する横方向の集計、列に
対応する縦方向の集計および全データの集計を行
う電子機器であつて、 キーボードと、 該キーボードから入力された数値データもしく
は横方向集計値データをフアンクシヨンキーの押
下ごとに表示し、かつ1データのみを表示する表
示手段と、 縦各列ごとのデータ集計結果および全データ集
計結果をそれぞれ記憶する複数の集計用メモリ
と、 横方向のデータが順次入力されるごとに該デー
タの属する縦列に対応する前記集計用メモリを選
択し、かつ横1行の全データ集計がされたとき前
記全データ集計結果用の集計用メモリを選択する
メモリ選択手段と、 入力される横方向のデータを集計し、かつデー
タが入力されたとき、または横1行の全データ集
計がされたとき、前記メモリ選択手段が選択する
集計用メモリの内容と入力されたデータまたは横
1行の全データ集計結果とを加算し、その結果を
対応する集計用メモリに記憶させる演算手段と、 前記集計用メモリに格納された集計データを出
力形態別に出力指令する特定キーと、 前記特定キーの繰返し押下ごとに前記集計用メ
モリに格納された集計データを順次切り換えて読
み出し、出力する出力手段とを有することを特徴
とする電子機器。 2 特許請求の範囲第1項記載の電子機器におい
て、前記出力手段は前記表示手段とし、前記特定
キーの繰返し押下ごとに前記集計データを順次に
表示させることを特徴とする電子機器。 3 特許請求の範囲第1項記載の電子機器におい
て、前記出力手段は、前記特定キーの繰返し押下
ごとに前記集計データを順次に音声出力する音声
出力手段を有することを特徴とする電子機器。
[Claims] 1. An electronic device that performs horizontal aggregation corresponding to rows of a plurality of data arranged in a matrix of multiple rows and multiple columns, vertical aggregation corresponding to columns, and aggregation of all data. A keyboard, a display means for displaying numerical data or horizontal aggregate value data input from the keyboard each time a function key is pressed, and for displaying only one piece of data, and data aggregate results for each vertical column. and a plurality of aggregation memories each storing all data aggregation results, and each time data in the horizontal direction is input sequentially, the aggregation memory corresponding to the vertical column to which the data belongs is selected, and all the data in one horizontal row are selected. memory selection means for selecting a memory for aggregation for the total data aggregation results when aggregation is performed; calculation means for adding the contents of the aggregation memory selected by the memory selection means and the input data or the total data aggregation result of one horizontal line and storing the result in the corresponding aggregation memory; , a specific key for commanding output of the aggregate data stored in the aggregate memory according to output format; and an output means for sequentially switching, reading, and outputting the aggregate data stored in the aggregate memory each time the specific key is repeatedly pressed. An electronic device characterized by having the following. 2. The electronic device according to claim 1, wherein the output means is the display means, and the total data is sequentially displayed each time the specific key is repeatedly pressed. 3. The electronic device according to claim 1, wherein the output means includes a voice output means that sequentially outputs the total data in voice every time the specific key is repeatedly pressed.
JP1598280A 1980-02-14 1980-02-14 Electronic computer Granted JPS56114070A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1598280A JPS56114070A (en) 1980-02-14 1980-02-14 Electronic computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1598280A JPS56114070A (en) 1980-02-14 1980-02-14 Electronic computer

Publications (2)

Publication Number Publication Date
JPS56114070A JPS56114070A (en) 1981-09-08
JPH0225210B2 true JPH0225210B2 (en) 1990-06-01

Family

ID=11903875

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1598280A Granted JPS56114070A (en) 1980-02-14 1980-02-14 Electronic computer

Country Status (1)

Country Link
JP (1) JPS56114070A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59118045U (en) * 1983-01-26 1984-08-09 カシオ計算機株式会社 data storage device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5236516U (en) * 1975-09-06 1977-03-15
JPS5399729A (en) * 1977-02-10 1978-08-31 Sharp Corp Voice desk calculator
JPS5415557U (en) * 1977-07-05 1979-02-01

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5236516U (en) * 1975-09-06 1977-03-15
JPS5399729A (en) * 1977-02-10 1978-08-31 Sharp Corp Voice desk calculator
JPS5415557U (en) * 1977-07-05 1979-02-01

Also Published As

Publication number Publication date
JPS56114070A (en) 1981-09-08

Similar Documents

Publication Publication Date Title
US3304418A (en) Binary-coded decimal adder with radix correction
JPS5957328A (en) Character processor
JPS6133535A (en) Display method of layout
JPH0225210B2 (en)
JPH0440739B2 (en)
JPS6239452B2 (en)
US3645441A (en) Keyboard for a desk computer
JPS6255193B2 (en)
JPS594056B2 (en) Key input control method
JPS5912670Y2 (en) shopping calculator
JP7192342B2 (en) ELECTRONIC DEVICE, ELECTRONIC DEVICE CONTROL METHOD, AND ELECTRONIC DEVICE CONTROL PROGRAM
JPS5769468A (en) Electronic cash register
JPS6315958Y2 (en)
JPS5882296A (en) Dot matrix display system
JPS5875262A (en) Electronic computer
JPS5892026A (en) Character processor
JPS6339783Y2 (en)
JP2595045B2 (en) Touch panel input device
JPS5943789B2 (en) small computer
JPH021627Y2 (en)
JPH0215359A (en) Electronic computer
JP3684640B2 (en) Vending machine display device
JPS58103057A (en) Electronic calculator
JPS60254223A (en) Electronic device
JPS6023876A (en) Electronic appliance