JPH01277958A - Electronic desk calculator - Google Patents

Electronic desk calculator

Info

Publication number
JPH01277958A
JPH01277958A JP10860588A JP10860588A JPH01277958A JP H01277958 A JPH01277958 A JP H01277958A JP 10860588 A JP10860588 A JP 10860588A JP 10860588 A JP10860588 A JP 10860588A JP H01277958 A JPH01277958 A JP H01277958A
Authority
JP
Japan
Prior art keywords
decimal point
circuit
control circuit
fraction
display
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
JP10860588A
Other languages
Japanese (ja)
Inventor
Hideki Yagi
秀樹 八木
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP10860588A priority Critical patent/JPH01277958A/en
Publication of JPH01277958A publication Critical patent/JPH01277958A/en
Pending legal-status Critical Current

Links

Landscapes

  • Calculators And Similar Devices (AREA)

Abstract

PURPOSE:To perform display and fraction calculation including a real number by providing a decimal point position circuit where the decimal point position is stored by the indication from an arithmetic control circuit. CONSTITUTION:The signal from a keyboard 11 is converted to data, where number and fraction information is encoded to a binary code, by a key discriminating circuit 12 and this data is sent to a display data register 13 by the write signal from an arithmetic control circuit 16. A decimal point signal is converted to binary coded data indicating the decimal point by the key discriminating circuit 12, and the decimal point position is stored in a decimal point position circuit 14 by the count signal from the arithmetic control circuit 16. Binary coded data is successively stored in the display data register 13 in accordance with key information. A display control circuit 15 receives signals of the register 13 and the circuit 14 to display a fraction accompanied with the decimal point. The circuit 16 receives signals of the register 13 and the circuit 14 to perform arithmetic in accordance with determined procedures.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は電子式卓上計算機、特に分数の形の入力を許す
電子式卓上計算機に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an electronic desktop calculator, and more particularly to an electronic desktop calculator that allows input in the form of fractions.

〔従来の技術〕[Conventional technology]

従来、この種の電子式卓上計算機では、分数において入
力できる数値は整数のみとなっていて、分数の数字中に
小数が含まれて入力されると誤り表示を行なっている。
Conventionally, in this type of electronic desktop calculator, the only numerical values that can be input as fractions are integers, and if a decimal is included in the fraction and is input, an error will be displayed.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の電子式卓上計算機は、小数点を含んだ数
字の加減乗除の機能を有しているが、例えばA+ (B
÷C)をAB4)式で示される数値として直接計算機に
入力しようとするとき、分数は整数のみしか受付ける機
能がないので、数値A。
The conventional electronic desk calculator mentioned above has the function of adding, subtracting, multiplying and dividing numbers including a decimal point.
When trying to input ÷C) directly into a calculator as the numerical value shown by formula AB4), the number A is used because fractions only accept integers.

B、Cが小数点以下の数値を持つ実数値であった分して
ILの形として入力しなければならないという欠点があ
る。
Since B and C are real numbers with numbers below the decimal point, there is a drawback that they must be input in the form of IL.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の電子式卓上計算機は、数字、小数点および分数
指示のキーを備え分数を入力して演算する演算制御回路
を備えた電子式東上計算機において、数字、小数点およ
び分数指示のキーの操作によりそれぞれ数字コード、小
数点コードおよび分数コードを生成するキー判別回路と
、このキー判別手段からの数字コードおよび分数コード
を受けて記憶する表示データレジスタと、前記数字コー
ド、小数点コードおよび分数指示コードを受けた前記演
算制御回路からの指示で小数点位置を記憶する小数点位
置回路と、前記表示データレジスタと小数点位置回路と
の記憶内容から小数点が付随する分数表示を行なう表示
制御回路とを有することにより構成される。
The electronic desktop calculator of the present invention is an electronic Tojo calculator equipped with keys for numbers, a decimal point, and a fraction, and an arithmetic control circuit for inputting and calculating fractions. a key discrimination circuit that generates a numeric code, a decimal point code, and a fractional code; a display data register that receives and stores the numeric code and fractional code from the key discrimination means; and a display data register that receives the numeric code, decimal point code, and fractional instruction code. It is constituted by having a decimal point position circuit that stores the decimal point position according to instructions from the arithmetic control circuit, and a display control circuit that displays a fraction with a decimal point based on the storage contents of the display data register and the decimal point position circuit. .

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

図において11はキーボードであり、数値を入力するた
めの数字、小数点および分数指示キー等が含まれている
。12はキー判別回路で、操作されたキーを判別しその
キーに対応して4ビツトの2進コード化した信号を発生
する。13は表示データレジスタで、数値1分数指示記
号等の2進コード化した情報を記憶するものである。1
4は小数点位置回路で、表示データレジスタ13におい
てどの桁位置に小数点が位置するかを記憶する。15は
表示データレジスタ13と小数点位置回路14とからの
信号により、これらの内容を操作者に理解可能な形で表
示する表示制御回路である。16は演算制御回路で、記
憶されている手順に従い演算処理を行なう。
In the figure, 11 is a keyboard, which includes numbers, decimal point, fraction indication keys, etc. for inputting numerical values. Reference numeral 12 denotes a key discrimination circuit which discriminates the operated key and generates a 4-bit binary encoded signal corresponding to the key. Reference numeral 13 denotes a display data register for storing binary coded information such as numerical values 1 and fraction indication symbols. 1
A decimal point position circuit 4 stores the digit position in which the decimal point is located in the display data register 13. Reference numeral 15 denotes a display control circuit that uses signals from the display data register 13 and the decimal point position circuit 14 to display the contents in a form that is understandable to the operator. 16 is an arithmetic control circuit that performs arithmetic processing according to stored procedures.

第2図は第1図のキーボード11からの人力の一例を示
す手順図で、この例では12−1−を入力するキー操作
におけるステップを示している。数字キー操作に対応す
るのはステップ1,3,5.7で、分数キー操作に対応
するのはステップ2.6で、キー情報は数字情報と同様
にキー判別回路12を介して表示データレジスター3に
2進コードの形で入力される。小数点キー操作に対応す
るのはステップ4で、小数点位置回路14はこのキー操
作以前に表示データレジスター3に入力した桁位置を記
憶する。なお第2図の例においては、小数点キー操作は
1回しかないが、複数の場合は小数点位置を複数個記憶
することとなる。
FIG. 2 is a procedure diagram showing an example of human input from the keyboard 11 of FIG. 1, and this example shows steps in key operation to input 12-1-. Steps 1, 3, and 5.7 correspond to numeric key operations, and step 2.6 corresponds to fractional key operations, and the key information is sent to the display data register via the key discrimination circuit 12 in the same way as the numeric information. 3 in the form of a binary code. Step 4 corresponds to the decimal point key operation, and the decimal point position circuit 14 stores the digit position input to the display data register 3 before this key operation. In the example shown in FIG. 2, the decimal point key is operated only once, but if there are multiple decimal point key operations, a plurality of decimal point positions will be stored.

第3図は第1図の表示データレジスター3および小数点
位置回路14の構成図で、キーボード11からの信号は
キー判別回路12で数字1分数情報が2進コード化した
データに変換され、演算制御回路16からの書込み信号
で表示データレジスタ13に送出される。また小数点信
号はキー判別回路12で小数点を表わす2進コード化し
たデータに変換され、演算制御回路16からのカウント
信号により、桁位置カウンタ14aを経て桁位置レジス
タ14bに送出される。第2図に示した例では桁位置レ
ジスタ14bの右から3桁目に小数点が存在している。
FIG. 3 is a block diagram of the display data register 3 and decimal point position circuit 14 shown in FIG. A write signal from the circuit 16 is sent to the display data register 13. The decimal point signal is converted into binary coded data representing the decimal point by the key discrimination circuit 12, and is sent to the digit position register 14b via the digit position counter 14a in response to a count signal from the arithmetic control circuit 16. In the example shown in FIG. 2, the decimal point is located at the third digit from the right of the digit position register 14b.

なお表示データレジスタ13にはキー情報に対応して4
ビツトの2進コード化したデータが右から順次蓄積され
る。
Note that the display data register 13 has 4 bits corresponding to the key information.
Bit binary coded data is stored sequentially from the right.

そこで表示制御回路15は表示レジスタ13と小数点位
置回路14との信号を受けて小数点が付随する分数表示
を行なう。また演算制御回路16も表示データレジスタ
13と小数点位置回路14との信号を受け、決められた
手順に従って演算を行なう。
Therefore, the display control circuit 15 receives the signals from the display register 13 and the decimal point position circuit 14 and displays a fraction with a decimal point attached thereto. The arithmetic control circuit 16 also receives signals from the display data register 13 and the decimal point position circuit 14, and performs arithmetic operations according to a predetermined procedure.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、入力数字が実数である分
数でも、小数点位置回路を設けることにより、従来不可
能であった実数を含む表示および分数計算ができると云
う効果がある。
As described above, the present invention has the effect that even if the input numbers are real numbers, by providing a decimal point position circuit, display and fraction calculation including real numbers, which was previously impossible, can be performed.

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

第1図は本発明の一実施例のブロック図、第2図は第1
図のキー操作の一例を示す手順図、第3図は第1図の表
示データレジスタおよび小数点位置回路の構成図である
。 11・・・キーボード、12・・・キー判別回路、13
・・・表示データレジスタ、14・・・小数点位置回路
、14a・・・小数点桁位置カウンタ、14b・・・小
数点桁位置レジスタ、15・・・表示制御回路、16・
・・演算制御回路。
FIG. 1 is a block diagram of one embodiment of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention.
FIG. 3 is a procedure diagram showing an example of the key operations shown in the figure, and FIG. 3 is a configuration diagram of the display data register and decimal point position circuit of FIG. 1. 11... Keyboard, 12... Key discrimination circuit, 13
... Display data register, 14... Decimal point position circuit, 14a... Decimal point position counter, 14b... Decimal point position register, 15... Display control circuit, 16.
...Arithmetic control circuit.

Claims (1)

【特許請求の範囲】[Claims] 数字、小数点および分数指示のキーを備え分数を入力し
て演算する演算制御回路を備えた電子式卓上計算機にお
いて、数字、小数点および分数指示のキーの操作により
それぞれ数字コード、小数点コードおよび分数コードを
生成するキー判別回路と、このキー判別手段からの数字
コードおよび分数コードを受けて記憶する表示データレ
ジスタと、前記数字コード、小数点コードおよび分数指
示コードを受けた前記演算制御回路からの指示で小数点
位置を記憶する小数点位置回路と、前記表示データレジ
スタと小数点位置回路との記憶内容から小数点が付随す
る分数表示を行なう表示制御回路とを有することを特徴
とする電子式卓上計算機。
In an electronic desk calculator equipped with keys for numbers, decimal point, and fractions, and equipped with an arithmetic control circuit that inputs and calculates fractions, numerical codes, decimal points, and fraction codes can be read by operating the numbers, decimal point, and fractions keys, respectively. A display data register that receives and stores the numerical code and fractional code from the key determining means, and a decimal point according to instructions from the arithmetic control circuit that receives the numerical code, decimal point code, and fraction instruction code. An electronic desktop calculator comprising: a decimal point position circuit that stores a position; and a display control circuit that displays a fraction with a decimal point based on the contents stored in the display data register and the decimal point position circuit.
JP10860588A 1988-04-28 1988-04-28 Electronic desk calculator Pending JPH01277958A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10860588A JPH01277958A (en) 1988-04-28 1988-04-28 Electronic desk calculator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10860588A JPH01277958A (en) 1988-04-28 1988-04-28 Electronic desk calculator

Publications (1)

Publication Number Publication Date
JPH01277958A true JPH01277958A (en) 1989-11-08

Family

ID=14489037

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10860588A Pending JPH01277958A (en) 1988-04-28 1988-04-28 Electronic desk calculator

Country Status (1)

Country Link
JP (1) JPH01277958A (en)

Similar Documents

Publication Publication Date Title
US4301511A (en) Programmable calculator with a device for controlling the reading of program data
US4064398A (en) Electronic calculator
Lewin et al. Theory and design of digital computer systems
US4410956A (en) Exponential operation device
JPH01277958A (en) Electronic desk calculator
US5285399A (en) Calculator with easily enterable constant calculation mode
JPS594056B2 (en) Key input control method
JPH06168104A (en) Electronic computer
KR200342966Y1 (en) Electric calculator
JPS6321939B2 (en)
JPH0140001Y2 (en)
JPS5943789B2 (en) small computer
JPH021627Y2 (en)
JP3496499B2 (en) Calculation data processing device
JPS61109139A (en) Arithmetic unit
JPS5911947B2 (en) electronic desk calculator
JPS60243742A (en) Calculating device of arc
JPS642179Y2 (en)
JPH01229294A (en) Electronic equipment
JPS6223344B2 (en)
JPS59846B2 (en) Index display method
JPS6127772B2 (en)
JPH0559461B2 (en)
Hartley et al. Data Representation, Number Systems and Arithmetic Processes
JPS598795B2 (en) Electronics