Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2605664B2 - Small electronic calculator - Google Patents
[go: Go Back, main page]

JP2605664B2 - Small electronic calculator - Google Patents

Small electronic calculator

Info

Publication number
JP2605664B2
JP2605664B2 JP61024519A JP2451986A JP2605664B2 JP 2605664 B2 JP2605664 B2 JP 2605664B2 JP 61024519 A JP61024519 A JP 61024519A JP 2451986 A JP2451986 A JP 2451986A JP 2605664 B2 JP2605664 B2 JP 2605664B2
Authority
JP
Japan
Prior art keywords
data
display
address counter
key
displayed
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
JP61024519A
Other languages
Japanese (ja)
Other versions
JPS62182858A (en
Inventor
正 高須
玲 久保
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP61024519A priority Critical patent/JP2605664B2/en
Publication of JPS62182858A publication Critical patent/JPS62182858A/en
Application granted granted Critical
Publication of JP2605664B2 publication Critical patent/JP2605664B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Calculators And Similar Devices (AREA)
  • Digital Computer Display Output (AREA)

Description

【発明の詳細な説明】 [発明の技術分野] 本発明は、スクリーンエディタ機能を有する小型電子
式計算機に関する。
Description: TECHNICAL FIELD The present invention relates to a small electronic computer having a screen editor function.

[従来技術とその問題点] 従来、スクリーンエディタ機能、すなわち、論理行
(連続したデータの行)単位でデータ修正を行なう機能
を有する小型電子式計算機においては、既にデータが表
示されている場所へ新しくデータを入力して演算等を行
なうと、その次の行に演算結果が表示されるが、演算結
果が表示される行に演算結果より長いデータが表示され
ていた場合には、演算結果と重なってしまい、演算結果
が正確に表示されないという問題があった。
[Prior art and its problems] Conventionally, in a small-sized electronic computer having a screen editor function, that is, a function of correcting data in units of logical lines (continuous data lines), it is necessary to go to a place where data is already displayed. When new data is input and calculation is performed, the calculation result is displayed on the next line.If data longer than the calculation result is displayed on the line where the calculation result is displayed, the calculation result is displayed. There is a problem that the calculation results are not displayed correctly due to overlapping.

[発明の目的] 本発明は、複数行の表示が可能な表示部をフルに使用
して演算式および演算結果式を表示でき、演算結果が表
示される行に演算結果より長い表示データが既に表示さ
れている場合でも演算結果データを正しく表示すること
ができる小型電子式計算機を提供することを目的とす
る。
[Object of the Invention] In the present invention, an arithmetic expression and an arithmetic result expression can be displayed by fully using a display unit capable of displaying a plurality of lines, and display data longer than the arithmetic result is already displayed on a line where the arithmetic result is displayed. It is an object of the present invention to provide a small-sized electronic computer capable of correctly displaying calculation result data even when it is displayed.

[発明の実施例] 以下、図面を参照して本発明の一実施例を説明する。
第1図は4行×16桁の表示部を有する小型電子式計算機
に実施した場合について示したものである。同図におい
て、10はキー入力部で、数値キー1、演算キー2、演算
の実行を指示するEXEキー3、スクリーンエディタ機能
を指定するEDITキー4、左右及び上下のカーソル移動を
指示するカーソルキー5a〜5dを備えている。そして、上
記キー入力部10から入力されるデータは、制御部11へ送
られる。この制御部11は、各種制御データを記憶したRO
Mを主体として構成されており、キー入力部10からの入
力データに応じて動作し、各回路部に対する動作制御を
行なう。すなわち、制御部11は、データ記憶部12に対
し、アドレスバスAB1、データバスDB1を介してアドレス
指定及びデータの授受を行ない、また、制御部11は、ED
ITキー4の操作信号をアンド回路13に入力すると共に、
EXEキー3の操作に対する演算命令信号をフリップフロ
ップ14のセット端子S、フリップフロップ15のリセット
端子R及び演算部16に入力し、更にEDITキー4以外のキ
ー入力信号をフリップフロップ14のリセット端子Rに入
力する。そして、上記フリップフロップ14の出力信号が
アンド回路13を介してフリップフロップ15のセット端子
Sに入力され、このフリップフロップ15の出力信号が演
算終了信号として制御部11へ送られる。また、制御部11
は、演算部16との間においてデータバスDB2を介してデ
ータの授受を行なうと共に、キー入力された演算用デー
タをデータバスDB3を介して入力バッファ17に入力す
る。そして、この入力バッファ17に保持されたデータ
は、データバスDB4を介してデータ記憶部12及び表示デ
ータ記憶部18へ送られる。この表示データ記憶部18は、
例えば8行×16桁分の表示データを記憶できる容量を有
しており、その記憶データは必要に応じてデータ判断部
19へ読出され、「ヌル」が否か判断されてその判断結果
が制御部11へ送られる。また、制御部11は、表示データ
記憶部18にクリア命令信号を与えると共に、カーソルキ
ー5a〜5dの操作あるいはデータ入力等に従って行アドレ
スカウンタ21、桁アドレスカウンタ22のカウント制御を
行なう。すなわち、制御部11は、カーソルキー5d(下方
向への移動指示)の操作あるいはデータ入力等により
「+1」信号をオア回路23を介して行アドレスカウンタ
21の「+1」へ入力し、カーソルキー5c(上方向への移
動指示)の操作あるいは処理動作に応じて「−1」信号
をオア回路24を介して行アドレスカウンタ21の「−1」
端子へ入力する。また、制御部11は、カーソルキー5a
(右方向への移動指示)の操作あるいはデータ入力等に
より「+1」信号を桁アドレスカウンタ22の「+1」端
子へ入力し、カーソルキー5b(左方向への移動指示)の
操作による信号を桁アドレスカウンタ22の「−1」端子
に入力する。更に制御部11は、行アドレスカウンタ21及
び桁アドレスカウンタ22に対し、リセット信号を与える
と共にプリセット信号を桁アドレスカウンタ22に与え
る。上記行アドレスカウンタ21は例えば8進のカウンタ
で、カウント値が「3」になった後「+1」信号が入力
されると表示スクロール信号(+)を制御部11に出力
し、カウント値が「0」になった後「−1」信号が入力
されると表示スクロール信号(−)を制御部11に出力す
る。また、桁アドレスカウンタ22は例えば16進カウンタ
で、カウント値が「15」になった後「+1」信号が入力
されると、カウント値を「0」とすると共に行アドレス
カウンタ21にオア回路23を介して「+1」信号を出力
し、カウント値が「0」になった後「−1」信号が入力
されると、カウント値を「15」とすると共に行アドレス
カウンタ21にオア回路24を介して「−1」信号を出力す
る。また、上記桁アドレスカウンタ22は、制御部11から
プリセット信号が与えられるとカウント値が「15」にプ
リセットされる。そして、上記行アドレスカウンタ21及
び桁アドレスカウンタ22のカウント値がアドレス制御部
25へ送られると共に、行アドレスカウンタ21のカウント
値がアドレススタック用メモリ26へ送られる。このアド
レススタック用メモリ26は、制御部11からのスタック命
令により行アドレスカウンタ21のカウント値をスタック
し、制御部11からの読出し命令によりスタックデータを
行アドレスカウンタ21にセットする。このアドレス制御
部25は、行アドレスカウンタ21及び桁アドレスカウンタ
22のカウント値に従って表示データ記憶部18のアドレス
を指定すると共に、そのアドレスデータをカーソル表示
制御部27へ出力する。上記表示データ記憶部18は、アド
レス制御部25のアドレス指定に従ってその記憶データを
キャラクタジェネレータ28へ出力する。このキャラクタ
ジェネレータ28は、表示データ記憶部18からの文字デー
タに応じて文字パターンを発生し、表示バッファ29へ出
力する。この表示バッファ29は、キャラクタジェネレー
タ28からの文字パターンに従って4行×16桁の表示部30
を表示駆動すると共に、カーソル表示制御部27の制御に
従って表示部30にカーソルを表示する。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 shows a case where the present invention is applied to a small electronic calculator having a display unit of 4 rows × 16 columns. In the figure, reference numeral 10 denotes a key input unit, which is a numerical key 1, an operation key 2, an EXE key 3 for instructing execution of an operation, an EDIT key 4 for specifying a screen editor function, and a cursor key for instructing left, right, up and down cursor movement. 5a to 5d are provided. The data input from the key input unit 10 is sent to the control unit 11. The control unit 11 stores an RO that stores various control data.
The main unit M is configured to operate in accordance with input data from the key input unit 10 to control operation of each circuit unit. That is, the control unit 11 performs address designation and data transmission / reception to the data storage unit 12 via the address bus AB1 and the data bus DB1, and the control unit 11
While inputting the operation signal of IT key 4 to AND circuit 13,
An operation command signal for the operation of the EXE key 3 is input to the set terminal S of the flip-flop 14, the reset terminal R of the flip-flop 15 and the operation unit 16, and a key input signal other than the EDIT key 4 is input to the reset terminal R of the flip-flop 14. To enter. The output signal of the flip-flop 14 is input to the set terminal S of the flip-flop 15 via the AND circuit 13, and the output signal of the flip-flop 15 is sent to the control unit 11 as an operation end signal. The control unit 11
Transmits / receives data to / from the operation unit 16 via the data bus DB2, and inputs the operation data input by key to the input buffer 17 via the data bus DB3. Then, the data held in the input buffer 17 is sent to the data storage unit 12 and the display data storage unit 18 via the data bus DB4. This display data storage unit 18
For example, it has a capacity capable of storing display data of 8 rows × 16 digits, and the storage data is stored in a data judgment unit as needed.
19, it is determined whether or not “null” is present, and the determination result is sent to the control unit 11. Further, the control unit 11 supplies a clear command signal to the display data storage unit 18 and controls the count of the row address counter 21 and the digit address counter 22 according to the operation of the cursor keys 5a to 5d or the data input. That is, the control unit 11 sends the “+1” signal to the row address counter via the OR circuit 23 by operating the cursor key 5 d (moving instruction in the downward direction) or inputting data.
In response to the operation or processing of the cursor key 5c (upward movement instruction) or a processing operation, a "-1" signal is input to the "-1" of the row address counter 21 via the OR circuit 24.
Input to terminal. Further, the control unit 11 controls the cursor key 5a.
Input a "+1" signal to the "+1" terminal of the digit address counter 22 by operating (moving instruction to the right) or inputting data, and input a signal by operating the cursor key 5b (moving instruction to the left). Input to the "-1" terminal of the address counter 22. Further, the control unit 11 provides a reset signal to the row address counter 21 and the digit address counter 22 and a preset signal to the digit address counter 22. The row address counter 21 is, for example, an octal counter. When a "+1" signal is input after the count value becomes "3", a display scroll signal (+) is output to the control unit 11, and the count value is " When a “−1” signal is input after the value becomes “0”, a display scroll signal (−) is output to the control unit 11. The digit address counter 22 is, for example, a hexadecimal counter. When a “+1” signal is input after the count value becomes “15”, the count value is set to “0” and the OR circuit 23 is added to the row address counter 21. When the "-1" signal is input after the count value becomes "0", the count value is set to "15" and the OR circuit 24 is connected to the row address counter 21. And outputs a "-1" signal. The count value of the digit address counter 22 is preset to “15” when a preset signal is given from the control unit 11. The count values of the row address counter 21 and the digit address counter 22 are stored in the address control unit.
At the same time, the count value of the row address counter 21 is sent to the address stack memory 26. The address stack memory 26 stacks the count value of the row address counter 21 according to a stack instruction from the control unit 11, and sets stack data in the row address counter 21 according to a read instruction from the control unit 11. The address control unit 25 includes a row address counter 21 and a digit address counter.
The address of the display data storage unit 18 is specified according to the count value of 22, and the address data is output to the cursor display control unit 27. The display data storage section 18 outputs the stored data to the character generator 28 in accordance with the address specification of the address control section 25. The character generator 28 generates a character pattern according to the character data from the display data storage unit 18 and outputs the character pattern to the display buffer 29. This display buffer 29 has a display unit 30 of 4 rows × 16 digits according to the character pattern from the character generator 28.
Is displayed, and a cursor is displayed on the display unit 30 under the control of the cursor display control unit 27.

次に上記実施例の動作を第2図のフローチャートに従
って説明する。今、例えば最初に 10.759÷8 の演算を行ない、その後、EDITキー4を操作して上記の
除算演算を 10.795*8 の乗算演算に修正するものとする。しかして、制御部11
は、最初第2図のステップA1に示すようにキー入力が行
なわれるまで待機状態となっており、キー入力が行なわ
れるとステップA2においてキー判断、すなわち、数値キ
ー1、EXEキー3、EDITキー4、カーソルキー5a〜5dの
何れが操作されたかを判断する。上記のように数値キー
1あるいは演算キー2の操作により演算データ(数式コ
マンド等を含む)が入力されると、ステップA3に進んで
キー入力データを入力バッファ17に入力し、次いでステ
ップA4において入力バッファ17の内容を表示データ記憶
部18に転送する。この表示データ記憶部18に記憶された
データは、キャラクタジェネレータ28に読出され、文字
パターンに変換されて表示バッファ29へ送られ、表示部
30に表示される。そして、制御部11は、ステップA5に示
すように桁アドレスカウンタ22を「+1」した後、ステ
ップA1に戻る。以下、データが入力される毎に同様の動
作が繰返され、上記したように「10.795÷8」のキー入
力操作が行なわれると、第3図(a)に示すように表示
部30において「10.795/8」のデータ表示が行なわれる。
Next, the operation of the above embodiment will be described with reference to the flowchart of FIG. Now, for example, it is assumed that the calculation of 10.759 / 8 is performed first, and then the above-described division calculation is corrected to the multiplication calculation of 10.795 * 8 by operating the EDIT key 4. Then, the control unit 11
Is in a standby state until a key input is performed as shown in step A1 of FIG. 2. When a key input is performed, a key determination is made in step A2, that is, a numerical key 1, an EXE key 3, an EDIT key 4. It is determined which of the cursor keys 5a to 5d has been operated. As described above, when the operation data (including the mathematical formula command) is input by operating the numerical key 1 or the operation key 2, the process proceeds to step A3, where the key input data is input to the input buffer 17, and then the input is performed at step A4. The contents of the buffer 17 are transferred to the display data storage unit 18. The data stored in the display data storage unit 18 is read out by a character generator 28, converted into a character pattern, sent to a display buffer 29, and
Appears on 30. Then, the control unit 11 returns the digit address counter 22 to “+1” as shown in step A5, and then returns to step A1. Thereafter, the same operation is repeated every time data is input. When the key input operation of “10.795 / 8” is performed as described above, “10.795958” is displayed on the display unit 30 as shown in FIG. / 8 "is displayed.

そして、上記演算データを入力した後、EXEキー3を
操作して演算を実行させると、そのキー操作がステップ
A2で判断され、ステップA6に進んで桁アドレスカウンタ
22に「15」をプリセットする。次いでステップA7に進
み、表示データ記憶部18から行アドレスカウンタ21によ
り指定される行の最終桁のデータをデータ判断部19に読
出し、「ヌル」か否かを判断する。この場合、スペース
キーによるスペース表示は、データ有りとして処理す
る。上記のように指定行の最終桁のデータからその行の
データが次の行に連続しているか否かを判断し、その判
断結果を制御部11へ出力する。そして、上記ステップA8
において、表示データ記憶部18から読出したデータが
「ヌル」ではない、つまり、データが連続していると判
断された場合はステップA9において行アドレスカウンタ
21の内容を「+1」した後、ステップA7に戻り、表示デ
ータ記憶部18から次の行の最終桁データをデータ判断部
19に読出して「ヌル」か否かを判断する。以下、同様の
動作を繰返し、論理行(連続したデータの行)を検出す
る。そして、上記ステップA8において、表示データ記憶
部18から読出したデータが「ヌル」であると判断される
と、ステップA10に進む。上記のように演算データ「10.
795/8」を入力した場合は、その行の最終桁は「ヌル」
であるので、直ちにステップA10に進む。このステップA
10では、その時の行アドレスカウンタ21のカウント値を
アドレススタック用メモリ26にスタックする。次いでス
テップA11において行アドレスカウンタ21のカウント値
を「−1」した後、ステップA12に示すように表示デー
タ記憶部18から1行上の行の最終桁データをデータ判断
部19に読出し、ステップA13において「ヌル」か否かを
判断し、「ヌル」でなければステップA11に戻って同様
の動作を繰返す。そして、「ヌル」の行が検出される
と、ステップA14に進んで行アドレスカウンタ21の内容
を「+1」して元の論理行、つまり、「10.795/8」の行
を指定するアドレスに戻す。そして、ステップA15にお
いて行アドレスカウンタ21により指定される表示データ
記憶部18の記憶データ「10.795/8」をデータ記憶部12に
読出す。
After inputting the calculation data, the EXE key 3 is operated to execute the calculation.
Judged in A2, proceed to step A6, digit address counter
Preset “15” to 22. Next, the process proceeds to step A7, where the last digit data of the row specified by the row address counter 21 is read from the display data storage section 18 to the data determination section 19, and it is determined whether or not the data is "null". In this case, the space display using the space key is processed as if there is data. As described above, from the data of the last digit of the designated line, it is determined whether or not the data of the line is continuous to the next line, and the result of the determination is output to the control unit 11. Then, the above step A8
In step A9, if the data read from the display data storage unit 18 is not "null", that is, if it is determined that the data is continuous,
After “+1” is added to the content of 21, the process returns to step A 7, where the last digit data of the next line is read from the display data storage unit 18 by the data judgment unit.
Read to 19 to determine whether it is "null". Hereinafter, the same operation is repeated to detect a logical row (a row of continuous data). If it is determined in step A8 that the data read from the display data storage unit 18 is “null”, the process proceeds to step A10. As described above, the calculation data `` 10.
If you enter "795/8", the last digit of the line is "null"
Therefore, the process immediately proceeds to step A10. This step A
At 10, the count value of the row address counter 21 at that time is stacked in the address stack memory 26. Next, in step A11, the count value of the row address counter 21 is set to "-1". Then, as shown in step A12, the last digit data of the next higher row is read out from the display data storage unit 18 to the data judgment unit 19, and step A13 is executed. Is determined to be "null", and if not "null", the flow returns to step A11 to repeat the same operation. When a "null" row is detected, the process proceeds to step A14, where the content of the row address counter 21 is incremented by "1" to return to the original logical row, that is, the address specifying the "10.795 / 8" row. . Then, in step A15, the storage data “10.795 / 8” in the display data storage unit 18 specified by the row address counter 21 is read out to the data storage unit 12.

その後、制御部11は、ステップA16に示すようにアド
レススタック用メモリ26にスタックしているアドレスデ
ータを行アドレスカウンタ21にセットし、ステップA17
に示すように行アドレスカウンタ21の内容を「+1」し
た後、ステップA18においてフリップフロップ15から出
力される演算終了信号が“1"か“0"かを判断する。演算
終了信号が“0"であれば、ステップA19に進んで桁アド
レスカウンタ22をリセットし、ステップA16に示すよう
に制御部11から演算命令信号を出力し、フリップフロッ
プ14をセットすると共にフリップフロップ15をリセット
し、更に演算部16に演算動作を指令する。また、このと
き制御部11は、データ記憶部12の記憶データを読出して
演算部16に与える。これにより演算部16は、ステップA2
1に示すように演算処理を行ないその演算結果「1.34937
5」をステップA22に示すように制御部11を介してデータ
記憶部12に書込む。そして、ステップA23において、行
アドレスカウンタ21及び桁アドレスカウンタ22のカウン
ト値に基づいてデータ記憶部12の記憶内容、つまり、演
算結果を表示データ記憶部18に書込み、第3図(b)に
示すように演算データ及び演算結果を表示部30に表示す
る。その後、ステップA24に進んで行アドレスカウンタ2
1の内容を「+1」すると共に、ステップA25において桁
アドレスカウンタ22をリセットし、ステップA1に戻る。
この状態では、第3図(b)に示すように演算結果表示
行の次行の先頭桁にカーソルが表示されている。
Thereafter, the control unit 11 sets the address data stacked in the address stack memory 26 in the row address counter 21 as shown in step A16, and
After the content of the row address counter 21 is incremented by "1" as shown in (1), it is determined in step A18 whether the operation end signal output from the flip-flop 15 is "1" or "0". If the operation end signal is "0", the process proceeds to step A19 to reset the digit address counter 22, outputs an operation instruction signal from the control unit 11 as shown in step A16, sets the flip-flop 14, and sets the flip-flop. 15 is reset, and a calculation operation is commanded to the calculation unit 16. At this time, the control unit 11 reads the data stored in the data storage unit 12 and provides the data to the calculation unit 16. As a result, the arithmetic unit 16 performs step A2
Operation processing is performed as shown in 1 and the operation result "1.34937
"5" is written to the data storage unit 12 via the control unit 11 as shown in step A22. Then, in step A23, the contents stored in the data storage unit 12, that is, the calculation result, are written into the display data storage unit 18 based on the count values of the row address counter 21 and the digit address counter 22, and are shown in FIG. 3 (b). Thus, the calculation data and the calculation result are displayed on the display unit 30. Thereafter, the process proceeds to step A24, where the row address counter 2
In step A25, the digit address counter 22 is reset, and the process returns to step A1.
In this state, as shown in FIG. 3 (b), the cursor is displayed at the first digit of the line following the calculation result display line.

しかして、上記の状態において、上記の演算式を修正
するためにEDITキー4を操作すると、ステップA1からキ
ー判断ステップA2を経てステップA26に進み、行アドレ
スカウンタ21及び桁アドレスカウンタ22をリセットし、
ステップA1に戻る。この結果、カーソルが第3図(c)
に示すように第1行目の先頭桁に移動する。また、上記
EDITキー4の操作により制御部11からEDITキー信号が出
力され、フリップフロップ15がセットされ、演算終了信
号が制御部11へ送られる。そして、この状態からカーソ
ルキー5a〜5dを操作してカーソルを修正桁まで移動す
る。カーソルキー5aを操作した場合はステップA27によ
り桁アドレスカウンタ22が「+1」され、カーソルキー
5bを操作した場合はステップA28により桁アドレスカウ
ンタ22が「−1」される。また、カーソルキー5cを操作
した場合はステップA29により行アドレスカウンタ21が
「−1」され、カーソルキー5dを操作した場合はステッ
プA29により行アドレスカウンタ21が「+1」される。
この例では、カーソルキー5aの操作によりカーソルを除
算記号「/」の位置まで移動し、「×」キーを操作して
除算演算を乗算演算に修正する。この結果、表示部30に
おいては第3図(d)に示すように除算記号「/」が乗
算記号「*」に修正表示される。次いでEXEキー3を操
作して「10.795*8」の演算を実行させる。
In the above state, when the EDIT key 4 is operated to correct the above arithmetic expression, the process proceeds from the step A1 to the step A26 via the key judgment step A2 to reset the row address counter 21 and the digit address counter 22. ,
Return to step A1. As a result, the cursor changes to FIG.
Move to the first digit of the first line as shown in FIG. Also,
By operating the EDIT key 4, an EDIT key signal is output from the control unit 11, the flip-flop 15 is set, and an operation end signal is sent to the control unit 11. Then, from this state, the cursor is moved to the correction digit by operating the cursor keys 5a to 5d. When the cursor key 5a is operated, the digit address counter 22 is incremented by 1 in step A27, and
When 5b is operated, the digit address counter 22 is decremented by "-1" in step A28. When the cursor key 5c is operated, the row address counter 21 is set to "-1" at step A29, and when the cursor key 5d is operated, the row address counter 21 is set to "+1" at step A29.
In this example, the cursor is moved to the position of the division symbol "/" by operating the cursor key 5a, and the division operation is corrected to the multiplication operation by operating the "x" key. As a result, the division symbol "/" is corrected and displayed on the display unit 30 as the multiplication symbol "*" as shown in FIG. Next, the EXE key 3 is operated to execute the calculation of "10.795 * 8".

EXEキー3が操作されると、ステップA2においてキー判
断が行なわれ、上記したステップA1〜ステップA17の処
理を実行した後、ステップA18において演算終了信号が
“1"か“0"かを判断する。この時点では上記したように
フリップフロップ15がセットされて演算終了信号が“1"
となっているので、ステップA31に進んで行アドレスカ
ウンタ21のカウント値をアドレススタック用メモリ26に
スタックし、次いでステップA32に示すように行アドレ
スカウンタ21のカウント値に基づいて表示データ記憶部
18の記憶データ(最終桁)をデータ判断部19に読出し、
ステップA33において「ヌル」か否かを判断する。「ヌ
ル」でなければその行のデータが次の行に連続している
場合であるので、ステップA34に進んで表示データ記憶
部18の行アドレスカウンタ21が指定する行をクリアし、
その後、ステップA35で行アドレスカウンタ21の内容
「+1」した後、ステップA32に戻って同様の動作を繰
返す。そして、上記ステップA34、A34の処理後、あるい
はステップA31からステップA32を経てステップA33に進
んだ時、表示データ記憶部18から読出したデータが「ヌ
ル」であると判断されると、ステップA36へ進んで、表
示データ記憶部18の行アドレスカウンタ21により指定さ
れる行のデータをクリアする。この例では、ステップA3
1からステップA32を経てステップA33に進んだ時に表示
データ記憶部18からの読出しデータが「ヌル」であると
判断され、ステップA36において修正前の演算式に対す
る演算結果「1.349375」がクリアされる。次いでステッ
プA37へ進んでアドレススタック用メモリ26にスタック
しているアドレスデータを行アドレスカウンタ21にセッ
トする。その後、ステップA19に戻り、ステップA19〜A2
2の処理により「10.795*8」の乗算を行ない、その演
算結果「86.36」をデータ記憶部12に書込む。そして、
このデータ記憶部12に記憶した演算結果をステップA23
に示すように行アドレスカウンタ21及び桁アドレスカウ
ンタ22のカウント値に基づいて表示データ記憶部18に転
送する。そして、この表示データ記憶部18に記憶された
データがキャラクタジェネレータ28へ送られ、第3図
(e)に示すように修正演算式と共にのその演算結果が
表示部30に表示される。すなわち、演算データ修正前の
演算結果「1.349375」を消去した後に、演算データ修正
後の演算結果「86.36」が正しく表示される。その後、
ステップA24において行アドレスカウンタ21の内容を
「+1」すると共に、ステップA25において桁アドレス
カウンタ22をリセットし、カーソルを第3図(e)に示
すように演算結果表示行の次の行の先頭桁に移動する。
そして、ステップA1に戻り、次のキー入力が行なわれる
まで待機状態となる。以下、同様にして演算データの入
力あるいは演算データの修正並びに演算の表示処理等が
行なわれる。
When the EXE key 3 is operated, key determination is performed in step A2, and after executing the above-described processing in steps A1 to A17, it is determined in step A18 whether the operation end signal is "1" or "0". . At this point, the flip-flop 15 is set as described above, and the operation end signal is set to “1”.
Therefore, the process proceeds to step A31, where the count value of the row address counter 21 is stacked in the address stack memory 26, and then, as shown in step A32, based on the count value of the row address counter 21, the display data storage unit
The stored data (last digit) of 18 is read out to the data judgment unit 19,
In step A33, it is determined whether or not “null” is set. If it is not `` null '', it means that the data of that row is continuous to the next row, so go to step A34 to clear the row specified by the row address counter 21 of the display data storage unit 18,
Then, after the content of the row address counter 21 is incremented by "1" in step A35, the process returns to step A32 and the same operation is repeated. Then, after the processing of the above steps A34 and A34, or when the processing proceeds from step A31 to step A33 via step A32, if it is determined that the data read from the display data storage unit 18 is `` null '', the processing proceeds to step A36. Then, the data of the row specified by the row address counter 21 of the display data storage unit 18 is cleared. In this example, step A3
When the process proceeds from step 1 to step A33 via step A32, it is determined that the read data from the display data storage unit 18 is "null", and in step A36, the operation result "1.349375" for the operation expression before correction is cleared. Next, the process proceeds to step A37, where the address data stacked in the address stack memory 26 is set in the row address counter 21. Thereafter, the process returns to step A19, and steps A19 to A2
The multiplication of “10.795 * 8” is performed by the processing of 2, and the calculation result “86.36” is written in the data storage unit 12. And
The calculation result stored in the data storage unit 12 is stored in step A23.
As shown in (1), the data is transferred to the display data storage unit 18 based on the count values of the row address counter 21 and the digit address counter 22. Then, the data stored in the display data storage unit 18 is sent to the character generator 28, and the calculation result together with the correction calculation expression is displayed on the display unit 30, as shown in FIG. 3 (e). That is, after erasing the operation result “1.349375” before the operation data correction, the operation result “86.36” after the operation data correction is correctly displayed. afterwards,
In step A24, the content of the row address counter 21 is incremented by "1", and in step A25, the digit address counter 22 is reset, and the cursor is moved to the first digit of the next row of the calculation result display row as shown in FIG. Go to
Then, the process returns to step A1, and waits until the next key input is performed. Hereinafter, similarly, input of operation data or correction of operation data, display processing of operation, and the like are performed.

[発明の効果] 本発明によれば、複数行の表示が可能な表示部をフル
に使用して演算式および演算結果式を表示でき、演算結
果が表示される行に演算結果より長い表示データが既に
表示されている場合でも、表示データの重なりを防止し
て演算結果データを正しく表示することができ、演算結
果の読み誤りを無くすることができる。
[Effects of the Invention] According to the present invention, an arithmetic expression and an arithmetic result expression can be displayed by fully using a display unit capable of displaying a plurality of lines, and display data longer than the arithmetic result is displayed on a line where the arithmetic result is displayed. Even if is already displayed, the calculation result data can be correctly displayed by preventing the display data from overlapping, and reading errors of the calculation result can be eliminated.

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

図面は本発明の一実施例を示すもので、第1図は回路構
成を示すブロック図、第2図は動作内容を示すフローチ
ャート、第3図(a)〜(e)はキー入力操作に対する
表示状態の変化を示す図である。 1…数値キー、2…演算キー、3…EXEキー、4…EDIT
キー、5a〜5d…カーソルキー、10…キー入力部、11…制
御部、12…データ記憶部、14、15…フリップフロップ、
16…演算部、17…入力バッファ、18…表示データ記憶
部、19…データ判断部、21…行アドレスカウンタ、22…
桁アドレスカウンタ、25…アドレス制御部、26…アドレ
ススタック用メモリ、27…カーソル表示制御部、28…キ
ャラクタジェネレータ、29…表示バッファ、30…表示
部。
1 shows an embodiment of the present invention. FIG. 1 is a block diagram showing a circuit configuration, FIG. 2 is a flowchart showing operation contents, and FIGS. 3 (a) to 3 (e) show display for key input operation. It is a figure showing a change of a state. 1: Numeric key, 2: Calculation key, 3: EXE key, 4: EDIT
Keys, 5a to 5d: cursor keys, 10: key input unit, 11: control unit, 12: data storage unit, 14, 15: flip-flop,
16 arithmetic unit, 17 input buffer, 18 display data storage unit, 19 data determination unit, 21 row address counter, 22
Digit address counter, 25: address control unit, 26: memory for address stack, 27: cursor display control unit, 28: character generator, 29: display buffer, 30: display unit.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数行の表示が可能な表示部を有する小型
電子式計算機において、 表示された演算式に基づく演算処理を実行する際に上記
演算式がどの行まで表示されているかを検出する演算式
検出手段と、 この手段により検出された行の次の行を演算結果表示行
として指定する指定手段と、 この指定手段により指定された上記演算結果表示行に上
記演算処理の演算結果データを表示する演算結果表示手
段と、 この演算結果表示手段による演算結果データの表示に先
立って、上記演算結果表示行に既に表示されている表示
データがどの行まで表示されているかを検出する表示デ
ータ検出手段と、 上記演算結果表示行から上記表示データ検出手段による
検出された行までの表示データを消去する手段と を具備したことを特徴とする小型電子式計算機。
1. A small electronic computer having a display unit capable of displaying a plurality of lines, wherein, when executing an arithmetic process based on the displayed arithmetic expression, a line to which the arithmetic expression is displayed is detected. Arithmetic expression detecting means, designating means for designating a line next to the line detected by this means as a computation result display row, and computing result data of the computation processing in the computation result display line designated by the designating means Calculation result display means for displaying, and display data detection for detecting up to which line of display data already displayed on the calculation result display line is displayed prior to display of calculation result data by the calculation result display means Means for erasing display data from the calculation result display row to the row detected by the display data detection means. Calculation machine.
JP61024519A 1986-02-06 1986-02-06 Small electronic calculator Expired - Lifetime JP2605664B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61024519A JP2605664B2 (en) 1986-02-06 1986-02-06 Small electronic calculator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61024519A JP2605664B2 (en) 1986-02-06 1986-02-06 Small electronic calculator

Publications (2)

Publication Number Publication Date
JPS62182858A JPS62182858A (en) 1987-08-11
JP2605664B2 true JP2605664B2 (en) 1997-04-30

Family

ID=12140415

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61024519A Expired - Lifetime JP2605664B2 (en) 1986-02-06 1986-02-06 Small electronic calculator

Country Status (1)

Country Link
JP (1) JP2605664B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60186928A (en) * 1984-03-06 1985-09-24 Sharp Corp Display method of miniature electronic computer

Also Published As

Publication number Publication date
JPS62182858A (en) 1987-08-11

Similar Documents

Publication Publication Date Title
US4692858A (en) Visual interface between user and computer system
US4455619A (en) Interactive equipment for computer programming by linkage of labeled block representations of arithmetic/logical subprograms
JPH0727349B2 (en) Multi-window display control method
JPS646475B2 (en)
JP2605664B2 (en) Small electronic calculator
JP2951664B2 (en) Touch panel device
JPS5911932B2 (en) Numerical data input processing method using image display device
JPS62182859A (en) small electronic calculator
JP3029812B2 (en) Operation error recovery method and apparatus, and computer-readable recording medium storing a program for causing a computer to execute the method
JPH063468Y2 (en) Small electronic calculator
JP2874676B2 (en) Single screen multiple input terminal
JPH01255937A (en) How to set execution control conditions
JP2837457B2 (en) Operability improvement method of input prohibited field on online screen
JP2637208B2 (en) Graphic processing system
JPS59125405A (en) Automatic computer programming device
JPS62145414A (en) Data inputting method
JPH08305777A (en) Table data processing device
JPH0512827Y2 (en)
JP2697901B2 (en) Character processor
JPS62203245A (en) Error message output system
JP3940771B2 (en) Calculation method that minimizes input and checking
JPS61211705A (en) Controller of plural devices
JPS6341919A (en) Command processing system
JPH10187851A (en) Table data output device
JPS62164170A (en) Display device that corrects connection of ruled lines

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term