JPS6236573B2 - - Google Patents

Info

Publication number
JPS6236573B2
JPS6236573B2 JP55187071A JP18707180A JPS6236573B2 JP S6236573 B2 JPS6236573 B2 JP S6236573B2 JP 55187071 A JP55187071 A JP 55187071A JP 18707180 A JP18707180 A JP 18707180A JP S6236573 B2 JPS6236573 B2 JP S6236573B2
Authority
JP
Japan
Prior art keywords
key
digit
unit
display
input
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
Application number
JP55187071A
Other languages
Japanese (ja)
Other versions
JPS57111627A (en
Inventor
Koichi Hatsuta
Kenichiro Yoneda
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP55187071A priority Critical patent/JPS57111627A/en
Publication of JPS57111627A publication Critical patent/JPS57111627A/en
Publication of JPS6236573B2 publication Critical patent/JPS6236573B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/02Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Calculators And Similar Devices (AREA)
  • Input From Keyboards Or The Like (AREA)

Description

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

本発明は億、万、千等のキー(以下、単位指定
キーと称す。)を備えたキー制御式電子機器に関
するものである。 更に詳しく言えば、本発明は、数値キー、及び
億、万、千等の位取りを表わす単位指定キーを備
え、表示する数値情報が入力される表示レジスタ
を有するキー制御式電子機器であつて、下記の動
作を行うものである。即ち、 単位指定キーの操作前に数値キーを操作する
ことによつて数値情報が表示レジスタの下位桁
から入力される。 前記単位指定キーの操作によつて、前記表示
レジスタの下位桁が該単位指定キーの指定する
単位であることを表示する。 前記単位指定キーの操作後に前記数値キーが
操作されたときに、前記表示レジスタに入力さ
れている数値情報を所定移行させる。 前記移行後に前記表示レジスタの前記数値情
報が表示される桁中の下位桁の次下位桁に、前
記単位指定キーの操作後に操作された数値キー
によつて入力された数値情報を入力する。 前記数値情報の入力された桁より下位各桁
に、当該下位各桁が数値の未入力桁であること
を示す表示データを入力する。 前記数値情報の移行に伴つて、当該数値情報
の表示される桁中の下位桁が前記単位指定キー
の指定する単位であることを表示する。 前記表示データの入力後に前記数値キーが操
作されたことに応答して、前記表示レジスタの
前記表示データの入力されている下位各桁の中
で上位桁から順次数値情報を入力する。 本願発明に係るキー制御式電子機器は、数値キ
ーを操作し、引き続いて単位指定キーを操作した
ときに、前記表示レジスタの下位桁を該単位指定
キーの指定する単位にし、前記単位指定キーの指
定する単位未満の表示は行わないことによつて、
表示の桁数より多桁の計算が行える様にすること
を目的とする。 更に、本願発明に係るキー制御式電子機器は、
前記単位指定キーの操作後に前記数値キーの操作
があると、前記表示レジスタに表示されている数
値の所定桁移行させ、その後、前記表示レジスタ
の当該数値情報の表示されている桁中の下位桁の
次下位桁に、前記単位指定キーの操作後に操作さ
れた数値キーによつて入力された数値を表示する
と共に、該数値情報の表示される桁より下位各桁
につき、当該下位各桁が数値の未入力桁であるこ
とを示す表示を行い、前記表示後に前記数値キー
が操作されると前記下位各桁の中で上位桁から順
次数値表示を行う様にすることを目的とする。 従来、キー入力制御式の電子機器、例えば計算
機等に於ては、例えば、百万等の位取りのための
キー
The present invention relates to a key-controlled electronic device equipped with 100 million, 10,000, 1,000, etc. keys (hereinafter referred to as unit designation keys). More specifically, the present invention is a key-controlled electronic device that is equipped with a numerical key and a unit designation key that indicates a scale such as 100 million, 10,000, 1,000, etc., and has a display register into which numerical information to be displayed is input. It performs the following operations. That is, by operating the numerical keys before operating the unit designation key, numerical information is input from the lower digits of the display register. By operating the unit designation key, it is displayed that the lower digit of the display register is the unit designated by the unit designation key. When the numeric key is operated after the unit designation key is operated, the numeric information input to the display register is moved to a predetermined value. The numerical information input by the numerical key operated after the operation of the unit designation key is input into the next lower digit of the digits in which the numerical information of the display register is displayed after the transition. Display data indicating that each of the lower digits is a non-input digit of the numerical value is input to each lower digit of the input digit of the numerical information. Along with the transition of the numerical information, it is displayed that the lower digit of the digits displayed in the numerical information is the unit specified by the unit designation key. In response to the operation of the numeric key after inputting the display data, numerical information is sequentially input from the upper digits among the lower digits to which the display data has been input in the display register. The key-controlled electronic device according to the present invention sets the lower digit of the display register to the unit specified by the unit specification key when the numerical key is operated and the unit specification key is subsequently operated. By not displaying less than the specified unit,
The purpose is to enable calculations with more digits than the number of digits displayed. Furthermore, the key-controlled electronic device according to the present invention includes:
When the numeric key is operated after the unit designation key is operated, the numeric value displayed in the display register is shifted to a predetermined digit, and then the lower digit of the displayed digit of the numerical information in the display register is moved. In the next lower digit, the numerical value input by the numeric key operated after operating the unit designation key is displayed, and for each digit lower than the digit where the numerical information is displayed, each lower digit is a numerical value. The object of the present invention is to perform a display indicating that the digit is an uninput digit, and when the numerical key is operated after the display, the numerical value is sequentially displayed from the upper digit among the lower digits. Conventionally, in key-input controlled electronic devices such as calculators, keys for digits such as millions are used.

【式】を設けて数値を表示する場合、 当該キーの操作があつた時点で直ちに数値の表示
桁が移行し、移行した数値の表示桁より下位の各
桁には数字0が表示される構成になつていた。
When displaying a numerical value using [Formula], the display digit of the numerical value changes immediately when the relevant key is operated, and the number 0 is displayed in each digit below the displayed digit of the changed numerical value. I was getting used to it.

【表】 百万
しかし、この入力方法は、例えば、表示桁が8
桁の場合、億単位の表示は不可能となつてしま
う。 又、数字「6」の次下位桁に表示されている数
字「0」が、操作者の入力したものか、或は、位
取りのためのキー操作があつた後に自動的に表示
されたものか迷う場合があつて、キー操作上で不
便であつた。 本発明は上記従来の諸欠点を一掃するために成
されたものである。 以下、本発明の一実施例を電卓に採用した場合
について図面を参照して詳しく説明する。 第1図は同上電卓の一例の外観図を示し、図中
1は電卓本体、2は本体に設けられるキーユニツ
トで、このユニツトは「0」〜「9」のテンキー
及び小数点「・」キーからなる数値キー21、
+,×,−,÷,√ ,Mキー等からなるフアンク
シヨンキー22、億、万、千等の位取りを表わす
単位指定キー23、億、万、千等の単位表示シン
ボルを表示させるか否かを選択切換えできる「切
替」キー24、機器の電源ONとクリアーキーC
とを兼ね備えるキー25、電源をOFFするキー
から構成されている。3は表示すべき数値情報も
しくは必要に応じて上記単位表示シンボルを現出
させる、例えばLCD(液晶)等から構成される
表示ユニツトである。 本発明の実施態様を列挙すれば次の様な新規な
電卓等を実現できる。 そのキー操作例と表示との関係を以下に示すと
次の通りである。
[Table] Millions However, with this input method, for example, if the display digit is 8
In the case of digits, it is impossible to display billions. Also, whether the number "0" displayed in the next lower digit after the number "6" was entered by the operator, or whether it was automatically displayed after the key operation for scale. There were times when I got confused and it was inconvenient to use the keys. The present invention has been accomplished in order to eliminate the above-mentioned conventional drawbacks. Hereinafter, a case where an embodiment of the present invention is applied to a calculator will be described in detail with reference to the drawings. Figure 1 shows an external view of an example of the same calculator. In the figure, 1 is the main body of the calculator, and 2 is a key unit provided on the main body. This unit consists of a numeric keypad from "0" to "9" and a decimal point "・" key. Numeric key 21,
Function keys 22 consisting of +, ×, -, ÷, √, M keys, etc. Unit designation key 23 representing scales such as 100 million, 10,000, 1,000, etc. Whether or not to display unit display symbols such as 100,000,000, 10,000, 1,000, etc. ``Switch'' key 24 that allows you to select and switch, device power ON and clear key C
The key 25 includes a key 25 that also functions as a key 25, and a key 25 that turns off the power. Reference numeral 3 denotes a display unit composed of, for example, an LCD (liquid crystal) or the like, which displays the numerical information to be displayed or the unit display symbols as required. By enumerating the embodiments of the present invention, the following novel calculators and the like can be realized. The relationship between the key operation example and the display is as follows.

【表】 即ち、第1図に於て、単位指定キー「万」と表
示ユニツト3に“万”を表示するためのシンボル
を形成し、「万」キーを操作すると、万の桁が固
定されるように構成されており、後述するがもう
少し詳しく述べると、単位キー(「万」キーな
ど)操作後は単位キーに続いて入力される数値は
シフトされないで、そのまま置数されていくよう
になつている。従つて、続く小数点「・」キーの
操作で“万”の桁に続く千、百、十、一の位の桁
には数値“0”以外の数値が置数されないものと
仮定して、表示には自動的に数値“0”が挿入
(入力)・表示され、引続いて小数部の数値が入力
される。
[Table] In other words, in Fig. 1, when the unit designation key "10,000" and the symbol for displaying "10,000" are formed on the display unit 3, and the "10,000" key is operated, the 10,000 digit is fixed. This will be explained later, but to explain in more detail, after operating a unit key (such as the ``10,000'' key), the number entered following the unit key will not be shifted and will be placed as is. It's summery. Therefore, by operating the decimal point "・" key, it is assumed that the thousands, hundreds, tens, and ones digits following the "10,000" digit will not be filled with numbers other than "0". The number "0" is automatically inserted (input) and displayed, and then the decimal part number is entered.

【表】 また、120000000(1億2000万)の様な数値の
場合、「億」キーを設け、「億」キーの操作によ
り、億の桁、万の桁が固定され、続く置数は千万
の桁と百万桁と入力されていく為に末尾の数値
“0”の入力は不要となるように構成したもので
ある。末尾の位取りを示す数値「0」キーの操作
を省略できる様に構成することによつて、キーの
入力ミスを防ぎ、数値“0”キーの操作回数を低
減でき、キー操作の煩雑さをなくす事ができる。
[Table] In addition, in the case of a numerical value such as 120,000,000 (120 million), a "100 million" key is provided, and by operating the "100 million" key, the 100 million digit and the 10,000 digit are fixed, and the following number is set to 1000. The configuration is such that it is not necessary to input the final numeric value "0" because the tens of thousands and millions of digits are input. By configuring the system so that the operation of the numerical value "0" key that indicates the final scale can be omitted, it is possible to prevent key input errors, reduce the number of times the numerical value "0" key is operated, and eliminate the complexity of key operations. I can do things.

【表】 さらに本発明によれば、単位指定キー入力後、
有効な数字が入力されるまで、小文字の零(以
下、スモール“0”と呼ぶ。)を表示することに
よつて、現在のキー入力位置を容易に知ることが
できる様に構成される。
[Table] Furthermore, according to the present invention, after inputting the unit designation key,
By displaying a lowercase zero (hereinafter referred to as "small 0") until a valid number is input, the current key input position can be easily known.

【表】 さらに又、「億」、「万」、「千」等の4桁区切り
の単位キーだけでなく、Billion(10億)キー〓,
Million(100万)キー〓,Thousand(1000)キ
ー〓等の3桁区切りの単位指定キーを設けること
ができる(第1図には図示せず)。上記実施例
は、12’340’000の様な数値を入力する場合を示
している。 上記発明を具体的に実現するための装置及び方
法について以下、更に詳しく詳べる。 第2図は本発明を具体化するための同上電卓の
システムブロツク図である。 図中、2はキーユニツト、3は表示ユニツト、
4は内部動作を行わせるためのクロツク信号を発
生する発振回路、5はインストラクシヨン命令を
発生し、RAM6、演算論理ユニツトALUにて各
種演算を実行するメモリー(例えば、ROM)、6
は読出し書き込みのできるメモリー(例えば、
RAM)で各種データを一時的に保持する。この
データの入力はキーユニツト2を介して行われ
る。7は演算論理ユニツト、8は表示用メモリで
例えばランダム・アクセス・メモリ(RAM)
で、このメモリはRAM6のデータを解読し、
億、万、千等の単位表示シンボルはこの表示用
RAMの1ビツトをセツト、リセツトすることに
より単位表示シンボルの点灯、消灯を行う。9は
デバイダー、10はタイミング信号を発生するタ
イミングロジツク回路で、上記表示用RAM8、
タイミングロジツク回路10、デバイダー9は表
示用信号を発生し、表示体3を構成する例えば
LCD(液晶)と結線されている。 上記RAM6の具体的な配置が第3図に示され
る。 このRAMはX,Y,Z,Vの4本の演算レジ
スタを有し、Xレジスタは表示用レジスタを兼用
すると共にVレジスタの所定領域には億の単位を
記憶し、カウンターとして作用するメモリー領域
iと、万の単位を記憶し、カウンターとして作用
するメモリー領域kを有している。さらにRAM
はメモリーレジスタM及びフラグレジスタFを有
し、フラグレジスタFはキーユニツト2より入力
されたキーコードを一時的に記憶するインプツ
ト・バツフア(B1〜B3)、「億」キー、「万」キー
等の単位キーの操作でセツトされ、0〜9のテン
キー小数点「・」キーの操作でリセツトするフラ
グQを有し、このフラグQは数値キーを押す直前
に単位指定キーが押されているかどうかを判断す
るために設けられる。また、Dフラグは小数点
「・」キーが押された事を判断するフラグ、さら
に「億」フラグ「万」フラグは、それぞれ「億」
キー、「万」キーが押された事を判断するための
フラグである。従つて、RAMは演算レジスタ4
本、メモリーレジスタ1本、フラグレジスタ1本
の計6本、即ち4ビツト×16桁×6本=384ビツ
トのメモリ容量で構成されている。 第4図は数値キー操作後の単位指定キーの操作
を検出し、検出出力に応答してキー入力された表
示すべき数値情報を単位指定キーの単位に相当す
る表示桁数分だけ移行させ、移行された数値情報
の下位桁すべてに数値“0”を挿入して表示させ
るためのフローチヤートを示す。 図中、ジヤツジS1は第3図に示したRAM領域
中、Fフラグレジスタの「億」フラグ又は「万」
フラグがセツトされているか、即ち「億」キー、
「万」キーが押されたかを示すフラグ、S4のジヤ
ツジは数値キーを押す直前に単位指定キーが押さ
れているかどうかを判断する。またS10,S12
S14はそれぞれXレジスタ(第3図)の3桁目、
2桁目、1桁目のコードが後述するように小文字
の零(スモール“0”)を示すコード000|001|
(=13)であるかどうかを判断するジヤツジ回
路、また、ステツプS2,S6,S16はそれぞれXレ
ジスタの内容を1桁又か4桁左シフトさせること
を示す。さらにS3,S7,S11,S13,S15,S17はそ
れぞれ所定の数値NをXレジスタの所定の桁に入
力させることを示す。さらに又S8,S18はスモー
ル“0”のコード000|001|(=13)をXレジス
タの1桁〜3桁目に入力させることを示す。さら
にS9,S19の単位表示処理は後述するようにキー
入力した数値情報を単位指定シンボルと共に自動
的に数値“0”を伴つた形で表示させる処理ルー
チンを示す。このルーチンでは例えば、単位表示
シンボルを表示させるため第3図のRAM配置に
示したi,kのカウンタ領域が用いられる。例え
ば、この4→i,0→kの処理が実行されると、
5桁目に“億”の単位表示シンボルが、1桁目に
“万”の単位表示シンボルが表示される。 ここで、一例を挙げ、フローチヤートに従つて
説明する。
[Table] Furthermore, in addition to the 4-digit unit keys such as "100 million", "10,000", "1000", etc., there are also "Billion" keys,
Unit designation keys for three-digit divisions, such as a Million (one million) key and a Thousand (1000) key, can be provided (not shown in FIG. 1). The above embodiment shows a case where a numerical value such as 12'340'000 is input. The apparatus and method for specifically realizing the above invention will be explained in more detail below. FIG. 2 is a system block diagram of the calculator for embodying the present invention. In the figure, 2 is a key unit, 3 is a display unit,
4 is an oscillation circuit that generates a clock signal for internal operations; 5 is a memory (for example, ROM) that generates instruction commands and executes various operations in RAM 6 and arithmetic logic unit ALU;
is memory that can be read and written (e.g.
(RAM) to temporarily hold various data. This data is entered via the key unit 2. 7 is an arithmetic logic unit, and 8 is a display memory, such as random access memory (RAM).
Then, this memory decodes the data in RAM6,
Unit display symbols such as 100 million, 10,000, 1000, etc. are for this display.
By setting or resetting one bit in RAM, the unit display symbol is turned on or off. 9 is a divider, 10 is a timing logic circuit that generates a timing signal, and the display RAM 8,
The timing logic circuit 10 and the divider 9 generate display signals, and the display unit 3 includes, for example,
It is connected to the LCD (liquid crystal). A specific arrangement of the RAM 6 is shown in FIG. This RAM has four operation registers: X, Y, Z, and V. The X register also serves as a display register, and a predetermined area of the V register is a memory area that stores billions and acts as a counter. It has a memory area k which stores i and the unit of ten thousand and acts as a counter. More RAM
has a memory register M and a flag register F, and the flag register F is an input buffer (B 1 to B 3 ) that temporarily stores the key code input from the key unit 2, a "billion" key, and a "man" key. It has a flag Q that is set by operating the unit keys such as 0 to 9 and reset by operating the decimal point "." It is established to determine the In addition, the D flag is a flag that determines that the decimal point "・" key has been pressed, and the "billion" flag and "10,000" flag are each "billion".
This is a flag to determine that the ``10,000'' key has been pressed. Therefore, RAM is arithmetic register 4
It has a memory capacity of 6 registers, 4 bits x 16 digits x 6 registers = 384 bits. FIG. 4 detects the operation of the unit designation key after the numeric key operation, and in response to the detection output, shifts the numerical information input by the key to be displayed by the number of display digits corresponding to the unit of the unit designation key, A flowchart is shown for inserting and displaying the numerical value "0" in all the lower digits of the transferred numerical information. In the figure, S1 is the "100 million" flag or "10,000" flag in the F flag register in the RAM area shown in FIG.
flag is set, i.e. ``billion'' key,
The flag indicating whether the ``10,000'' key has been pressed, S 4 , determines whether the unit specification key has been pressed immediately before pressing the numeric key. Also, S 10 , S 12 ,
S 14 is the third digit of the X register (Figure 3),
The code 000|001|indicates a lowercase zero (small “0”) as the second and first digit codes will be explained later.
(=13), and steps S 2 , S 6 , and S 16 indicate that the contents of the X register are shifted to the left by one or four digits, respectively. Further, S 3 , S 7 , S 11 , S 13 , S 15 , and S 17 each indicate that a predetermined numerical value N is input into a predetermined digit of the X register. Furthermore, S 8 and S 18 indicate that the small "0" code 000|001| (=13) is input into the first to third digits of the X register. Furthermore, the unit display processing in S 9 and S 19 is a processing routine for automatically displaying numerical information entered by key input together with a unit designation symbol in the form of a numerical value "0", as will be described later. In this routine, for example, the i and k counter areas shown in the RAM arrangement in FIG. 3 are used to display unit display symbols. For example, when this process of 4→i, 0→k is executed,
The unit display symbol for "100 million" is displayed in the fifth digit, and the unit display symbol for "10,000" is displayed in the first digit. Here, an example will be given and explained according to a flowchart.

【表】 まず、数値キー「1」を押すと、初期状態に於
てRAM領域(第3図)の「億」フラグ、「万」フ
ラグはセツトされていない、即ち億≠1,万≠1
であるからステツプS2へ進み、Xレジスタ(第3
図)の内容を1桁左シフトさせる。このシフトと
次に入力させる数値の入力を可能にする。ステツ
プS3では数値Nに対応する“1”がXレジスタの
1桁目に入力される。続いて「億」キーが押され
ると、ステツプS1からS4へと進み、「億」キーの
操作によつてフラグQはセツトする。フラグQは
数値キーを押す直前に単位指定キー、この場合は
「億」キーが押されているかをジヤツジするか
ら、「億」キーに続いて数値キー「2」を押すと
S1→S4→S5へと進み、フラグQをリセツトし、X
レジスタの内容を4桁左シフトする(S6)。した
がつて先に入力した数値“1”は5桁目X5に記
憶される。ステツプS7では入力した数値N=
“2”をXレジスタの4桁目X4に記憶させる。さ
らにステツプS8においては、Xレジスタの1桁目
乃至3桁目(X1〜X3)にスモール“0”を表示さ
せるためのコード000|001|(=13)をXレジス
タに入力する。ステツプS9ではXレジスタのX1
〜X5に記憶された数値情報12000並びに5桁目に
“億”の単位表示シンボルを1桁目に“万”の単
位表示シンボルを表示させるための処理を実行す
る。この場合、“億”を5桁目に表示させるため
の第3図のRAM領域のVレジスタに設けたiカ
ウンタに4→iの処理を実行する。この処理はス
テツプS6にて実行されたXレジスタのシフト回数
分だけiカウンタをカウントアツプさせることに
より達成できる。また、“万”を1桁目に表示さ
せるために同様にVレジスタのkカウンタに0→
kの処理を実行する。このRAMのi,kカウン
タの内容を表示用RAM8(第2図)で解読し、
“億”の5桁目に相当する表示用RAMの1ビツト
をセツトし、“万”の1桁目に相当する表示用
RAMの1ビツトをセツトすることによつて所望
の単位表示シンボルを所定桁に点灯させることが
できるものである。 また前記の場合、数値“2”の後に引き続いて
数値データが入力されると、フラグQはテンキー
又は小数点「・」キーでリセツトされるからS4
らS10へと進み、Xレジスタの3桁目のX3にスモ
ール“0”を表示するためのコードが記憶されて
いるかどうかを判断し、スモール“0”のコード
に代えて入力した数値を入力できる。さらにXレ
ジスタX2,X1についても同様に実行できる。又
XレジスタのX3〜X1にスモール“0”を表示さ
せるためのコードが記憶されていないときは、
S16へと進み、前述と同様にしてS16〜S19の処理
を実行する。 従つて、本発明によれば、“0”を含む数値の
入力の際、位取りを示す単位指定キーの操作によ
つて、末尾の数値“0”の入力を行うための零キ
ーの操作が省略でき、単位指定キー操作後は、数
値の上位桁の位取り(億、万等)が固定される、
換言すれば、単位指定キー操作後は単位指定キー
に続く数値はシフトされないで、そのまま置数し
ていく事ができる方式を採用することによつて、
数値の末尾に“0”が続く場合、「0」キーを何
度も続けて操作する必要がなくなる。 さらに第5図は小数点キー「・」の操作を伴な
う場合のフローチヤートである。ここで一例を挙
げて説明する。
[Table] First, when you press the numeric key "1", the "100 million" flag and "10,000" flag in the RAM area (Figure 3) are not set in the initial state, that is, 100 million ≠ 1, 10,000 ≠ 1.
Therefore, proceed to step S2 and register the X register (third
Shift the contents of (Figure) to the left by one digit. Allows you to input this shift and the next value. At step S3 , "1" corresponding to the numerical value N is input into the first digit of the X register. Subsequently, when the ``100 million'' key is pressed, the process proceeds from step S1 to S4 , and the flag Q is set by the operation of the ``100 million'' key. Flag Q checks whether the unit specification key, in this case the "billion" key, is pressed just before pressing the numeric key, so if you press the "billion" key followed by the numeric key "2"
Proceed to S 1 → S 4 → S 5 , reset flag Q, and
Shift the contents of the register to the left by 4 digits (S 6 ). Therefore, the previously input numerical value "1" is stored in the fifth digit X5 . In step S7 , enter the numerical value N=
Store “2” in the fourth digit of the X register, X4 . Furthermore, in step S8 , a code 000|001|(=13) for displaying a small "0" in the first to third digits ( X1 to X3 ) of the X register is input to the X register. At step S 9 , X 1 in the X register
~Execute processing for displaying the numerical information 12000 stored in X5 , the unit display symbol for "100 million" in the fifth digit, and the unit display symbol for "10,000" in the first digit. In this case, the process 4→i is performed on the i counter provided in the V register of the RAM area in FIG. 3 to display "billion" in the fifth digit. This process can be accomplished by incrementing the i counter by the number of shifts of the X register executed in step S6 . Also, in order to display "10,000" in the first digit, change the k counter of the V register from 0 to
Execute the process k. The contents of the i and k counters in this RAM are decoded by the display RAM 8 (Fig. 2),
Set 1 bit in the display RAM corresponding to the 5th digit of "100,000,000" and set the display RAM bit corresponding to the 1st digit of "10,000".
By setting one bit in the RAM, a desired unit display symbol can be lit at a predetermined digit. In the above case, when numerical data is input after the numerical value "2", the flag Q is reset using the numeric keypad or the decimal point "." It is possible to judge whether the code for displaying a small "0" in the eye X 3 is stored and to input the entered numerical value in place of the small "0" code. Furthermore, the same process can be performed for the X registers X 2 and X 1 as well. Also, if the code for displaying small “0” in X register X 3 to X 1 is not stored,
The process advances to S16 , and the processes of S16 to S19 are executed in the same manner as described above. Therefore, according to the present invention, when inputting a numerical value including "0", the operation of the zero key for inputting the final numerical value "0" is omitted by operating the unit specification key indicating the scale. After pressing the unit specification key, the scale of the upper digits of the numerical value (billion, million, etc.) is fixed.
In other words, by adopting a method that allows the numeric value following the unit specification key to be entered as is without being shifted after the unit specification key is operated,
If a ``0'' continues at the end of a numerical value, there is no need to repeatedly press the ``0'' key. Furthermore, FIG. 5 is a flowchart for a case involving operation of the decimal point key ".". An example will be explained here.

【表】 まず、フラグQで数値キーを押す直前に単位指
定キー(「億」、「万」キー等)が押されたかどう
かを判断し、Qフラグがセツト、即ち「万」キー
を押した直後の1回目のキー操作で小数点「・」
キーを押したときは、Qフラグをリセツト(n2
と共にXレジスタの内容を4桁左シフトさせ
(n3)、小数点「・」キーが押されたことを示すフ
ラグD(第3図のFレジスタのフラグ)をセツト
する。また、フラグQがリセツト、即ち、「万」
キーを押し、小数点「・」キーを押すまでにテン
キーによる置数が行われているときは、Xレジス
タの3桁目〜1桁目がスモール“0”を表示させ
るためのコード000|001|(=13)を記憶してい
るか否かのジヤツジを行い(n4,n6,n8)、記憶
されていればスモール“0”に代えて通常サイズ
の“0”を表示させるコード(例えば0000)を
X3〜X1に記憶させ(n5,n7,n9)、Dフラグをセ
ツトする。 その後のテンキーによる置数は小数点フラグが
セツトしている状態での置数で通常の卓上計算機
と同様に行うことができる。 上述に於て、単位表示の方法は、「万」キーの
押圧によつて、第3図に示したVレジスタのカウ
ンタkに対して、0→kが実行され、1桁目に
“万”のシンボルが表示される。 上述の様にして本発明を採用した電卓等の各種
機器の実現が可能となる。 以上説明した様に本発明によれば、数値キー、
及び億、万、千等の位取りを表わす単位指定キー
を備え、表示する数値情報が入力される表示レジ
スタを有するキー制御式電子機器に於て、 単位指定キーの操作前に操作された数値キーに
よつて入力された数値情報を前記表示レジスタの
下位桁から順次入力する手段と、 前記表示レジスタに数値情報が入力された後に
前記単位指定キーが操作されたことに応答して、
前記表示レジスタの下位桁が前記単位指定キーの
指定する単位であることを表示する表示手段と、 前記単位指定キーの操作後に前記数値キーが操
作されたことに応答して、前記表示レジスタに入
力されている数値情報を所定桁移行させ、該移行
後に前記数値情報が表示される桁中の下位桁の次
下位桁に、前記単位指定キーの操作後に操作され
た数値キーによつて入力された数値情報を入力す
ると共に、該数値情報の入力された桁より下位各
桁に、当該下位各桁が数値の未入力桁であること
を示す表示データを入力する手段と、 前記数値情報の移行に伴つて、当該数値情報が
表示される桁中の下位桁が前記単位指定キーの指
定する単位であることを表示する処理手段と、 前記表示データの入力後に前記数値キーが操作
されたことに応答して、前記表示レジスタの前記
表示データの入力されている下位各桁の中で上位
桁から順次数値情報を入力する手段とを具備する
から、表示の桁数より多桁の計算(表示)が行え
る。例えば、8桁表示で億単位の数値が表示で
き、当該数値計算を実行できる。しかも、単位指
定キー入力後、有効な数字が入力されるまで、数
値が表示されている下位各桁の数値が未入力桁で
あることが表示され、現在のキー入力位置を容易
に知ることができ、キー操作が簡単になつて、操
作能率が向上する。
[Table] First, flag Q is used to determine whether a unit specification key (such as a ``billion'' or ``10,000'' key) was pressed immediately before pressing a numeric key. The decimal point "・" is displayed with the first key operation immediately after.
When the key is pressed, reset the Q flag (n 2 )
At the same time, the contents of the X register are shifted to the left by 4 digits (n 3 ), and flag D (the flag of the F register in FIG. 3) indicating that the decimal point "." key has been pressed is set. Also, the flag Q is reset, that is, "10,000".
If the number has been entered using the numeric keypad before pressing the decimal point "・" key, the code 000|001| is used to display a small "0" in the 3rd to 1st digits of the X register. (=13) is memorized (n 4 , n 6 , n 8 ), and if it is memorized, a code to display a normal size “0” instead of a small “0” (e.g. 0000)
Store in X 3 to X 1 (n 5 , n 7 , n 9 ) and set the D flag. After that, numbers can be entered using the numeric keypad in the same way as on a normal desktop calculator, with the decimal point flag set. In the above, the unit display method is that by pressing the "10,000" key, 0 → k is executed for the counter k of the V register shown in FIG. 3, and "10,000" is displayed in the first digit. symbol is displayed. As described above, it is possible to realize various devices such as calculators that employ the present invention. As explained above, according to the present invention, numerical keys,
In a key-controlled electronic device that is equipped with a unit designation key that represents scale values such as 100 million, 10,000, 1000, etc., and a display register into which numerical information to be displayed is input, the numeric key that is operated before the unit designation key is operated. means for sequentially inputting the numerical information input by the display register from the lower digits; and in response to the unit designation key being operated after the numerical information is input to the display register;
a display means for displaying that the lower digit of the display register is the unit specified by the unit designation key; and input to the display register in response to the operation of the numeric key after the operation of the unit designation key. The numerical information that has been displayed is shifted to a predetermined digit, and after the shift, the numerical information is input to the next lower digit of the lower digit in the displayed digit using the numeric key operated after operating the unit designation key. Means for inputting numerical information and inputting display data indicating that each lower digit is a non-input digit of the numerical value in each lower digit than the input digit of the numerical information; Accordingly, a processing means for displaying that the lower digit of the digit in which the numerical information is displayed is the unit specified by the unit designation key, and a processing means that responds to the operation of the numerical key after inputting the display data. and means for sequentially inputting numerical information from the higher digits among the lower digits inputted in the display data of the display register, so that calculations (displays) of more digits than the number of digits to be displayed can be performed. I can do it. For example, numerical values in billions can be displayed using an 8-digit display, and numerical calculations can be performed. Moreover, after the unit specification key is entered, until a valid number is entered, each lower digit of the displayed number is displayed as an uninput digit, making it easy to know the current key entry position. This makes key operations easier and improves operating efficiency.

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

第1図は本発明を採用した電卓の一例の外観
図、第2図は同上電卓のシステムブロツク図、第
3図は第2図に示したRAMの配置図、第4図及
び第5図は第2図の動作を説明するためのフロー
チヤートである。 図中、1……本体、2……キーユニツト、21
……数値キー、22……単位指定キー、3……表
示ユニツト、4……発振回路、5……ROM、6
……RAM、7……ALU、8……表示用RAM、9
……デバイダー、10……タイミング信号発生回
路、11……I/O。
Figure 1 is an external view of an example of a calculator adopting the present invention, Figure 2 is a system block diagram of the same calculator, Figure 3 is a layout diagram of the RAM shown in Figure 2, and Figures 4 and 5 are 3 is a flowchart for explaining the operation of FIG. 2. In the figure, 1...Main body, 2...Key unit, 21
... Numeric key, 22 ... Unit specification key, 3 ... Display unit, 4 ... Oscillator circuit, 5 ... ROM, 6
...RAM, 7...ALU, 8...Display RAM, 9
... Divider, 10 ... Timing signal generation circuit, 11 ... I/O.

Claims (1)

【特許請求の範囲】 1 数値キー、及び億、万、千等の位取りを表わ
す単位指定キーを備え、表示する数値情報が入力
される表示レジスタを有するキー制御式電子機器
に於て、 単位指定キーの操作前に操作された数値キーに
よつて入力された数値情報を前記表示レジスタの
下位桁から順次入力する手段と、 前記表示レジスタに数値情報が入力された後に
前記単位指定キーが操作されたことに応答して、
前記表示レジスタの下位桁が前記単位指定キーの
指定する単位であることを表示する表示手段と、 前記単位指定キーの操作後に前記数値キーが操
作されたことに応答して、前記表示レジスタに入
力されている数値情報を所定桁移行させ、該移行
後に前記数値情報が表示される桁中の下位桁の次
下位桁に、前記単位指定キーの操作後に操作され
た数値キーによつて入力された数値情報を入力す
ると共に、該数値情報の入力された桁より下位各
桁に、当該下位各桁が数値の未入力桁であること
を示す表示データを入力する手段と、 前記数値情報の移行に伴つて、当該数値情報が
表示される桁中の下位桁が前記単位指定キーの指
定する単位であることを表示する処理手段と、 前記表示データの入力後に前記数値キーが操作
されたことに応答して、前記表示レジスタの前記
表示データの入力されている下位各桁の中で上位
桁から順次数値情報を入力する手段とを具備する
ことを特徴とするキー制御式電子機器。
[Scope of Claims] 1. In a key-controlled electronic device that is equipped with a numerical key and a unit specification key that indicates a scale such as 100 million, 10,000, 1,000, etc., and has a display register into which numerical information to be displayed is input, means for sequentially inputting numerical information input by numerical keys operated before a key is operated, starting from the lower digits of the display register; and after the numerical information is input into the display register, the unit designation key is operated. In response to
a display means for displaying that the lower digit of the display register is the unit specified by the unit designation key; and input to the display register in response to the operation of the numeric key after the operation of the unit designation key. The numerical information that has been displayed is shifted to a predetermined digit, and after the shift, the numerical information is input to the next lower digit of the lower digit in the displayed digit using the numeric key operated after operating the unit designation key. Means for inputting numerical information and inputting display data indicating that each lower digit is a non-input digit of the numerical value in each lower digit than the input digit of the numerical information; Accordingly, a processing means for displaying that the lower digit of the digit in which the numerical information is displayed is the unit specified by the unit designation key, and a processing means that responds to the operation of the numerical key after inputting the display data. and means for sequentially inputting numerical information from the higher digits among the lower digits into which the display data of the display register is input.
JP55187071A 1980-12-27 1980-12-27 Key control type electronic apparatus Granted JPS57111627A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP55187071A JPS57111627A (en) 1980-12-27 1980-12-27 Key control type electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP55187071A JPS57111627A (en) 1980-12-27 1980-12-27 Key control type electronic apparatus

Publications (2)

Publication Number Publication Date
JPS57111627A JPS57111627A (en) 1982-07-12
JPS6236573B2 true JPS6236573B2 (en) 1987-08-07

Family

ID=16199620

Family Applications (1)

Application Number Title Priority Date Filing Date
JP55187071A Granted JPS57111627A (en) 1980-12-27 1980-12-27 Key control type electronic apparatus

Country Status (1)

Country Link
JP (1) JPS57111627A (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5581840U (en) * 1978-12-04 1980-06-05

Also Published As

Publication number Publication date
JPS57111627A (en) 1982-07-12

Similar Documents

Publication Publication Date Title
US4481508A (en) Input device with a reduced number of keys
JPS6236573B2 (en)
EP1059591B1 (en) Electronic calculation apparatus with currency converting function and storage medium storing currency converting calculation display program
JPS6356581B2 (en)
JPS6234352Y2 (en)
JPS5924361A (en) Display system of date
JPH0738995Y2 (en) Small computer
JPH0430071B2 (en)
JPS6245224Y2 (en)
JPH0124660Y2 (en)
JPS642179Y2 (en)
JPH021626Y2 (en)
JPS5911947B2 (en) electronic desk calculator
JPH0445069Y2 (en)
JP2585048Y2 (en) Numeric character input device
KR200342966Y1 (en) Electric calculator
JPS6019030B2 (en) educational electronics
JPH04123125A (en) Electronic computer
JPH0420498B2 (en)
JPH0146893B2 (en)
JPH05150726A (en) Display device
JP3136651B2 (en) Receiver
JPS6030784Y2 (en) Integrated circuit device for segment type display control
JPH044620B2 (en)
JPS6137080Y2 (en)