JPH01158556A - Device for setting operational mode of electronic calculator - Google Patents

Device for setting operational mode of electronic calculator

Info

Publication number
JPH01158556A
JPH01158556A JP31955187A JP31955187A JPH01158556A JP H01158556 A JPH01158556 A JP H01158556A JP 31955187 A JP31955187 A JP 31955187A JP 31955187 A JP31955187 A JP 31955187A JP H01158556 A JPH01158556 A JP H01158556A
Authority
JP
Japan
Prior art keywords
mode
calculation
mode setting
calculation mode
operational mode
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.)
Granted
Application number
JP31955187A
Other languages
Japanese (ja)
Other versions
JPH0616278B2 (en
Inventor
Michiaki Kuno
道明 久野
Megumi Fukuzaki
恵 福崎
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 JP62319551A priority Critical patent/JPH0616278B2/en
Publication of JPH01158556A publication Critical patent/JPH01158556A/en
Publication of JPH0616278B2 publication Critical patent/JPH0616278B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B29WORKING OF PLASTICS; WORKING OF SUBSTANCES IN A PLASTIC STATE IN GENERAL
    • B29CSHAPING OR JOINING OF PLASTICS; SHAPING OF MATERIAL IN A PLASTIC STATE, NOT OTHERWISE PROVIDED FOR; AFTER-TREATMENT OF THE SHAPED PRODUCTS, e.g. REPAIRING
    • B29C66/00General aspects of processes or apparatus for joining preformed parts
    • B29C66/40General aspects of joining substantially flat articles, e.g. plates, sheets or web-like materials; Making flat seams in tubular or hollow articles; Joining single elements to substantially flat surfaces
    • B29C66/41Joining substantially flat articles ; Making flat seams in tubular or hollow articles
    • B29C66/43Joining a relatively small portion of the surface of said articles
    • B29C66/431Joining the articles to themselves
    • B29C66/4312Joining the articles to themselves for making flat seams in tubular or hollow articles, e.g. transversal seams
    • B29C66/43121Closing the ends of tubular or hollow single articles, e.g. closing the ends of bags
    • B29C66/43123Closing the ends of squeeze tubes, e.g. for toothpaste or cosmetics
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B29WORKING OF PLASTICS; WORKING OF SUBSTANCES IN A PLASTIC STATE IN GENERAL
    • B29CSHAPING OR JOINING OF PLASTICS; SHAPING OF MATERIAL IN A PLASTIC STATE, NOT OTHERWISE PROVIDED FOR; AFTER-TREATMENT OF THE SHAPED PRODUCTS, e.g. REPAIRING
    • B29C65/00Joining or sealing of preformed parts, e.g. welding of plastics materials; Apparatus therefor
    • B29C65/02Joining or sealing of preformed parts, e.g. welding of plastics materials; Apparatus therefor by heating, with or without pressure
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B29WORKING OF PLASTICS; WORKING OF SUBSTANCES IN A PLASTIC STATE IN GENERAL
    • B29CSHAPING OR JOINING OF PLASTICS; SHAPING OF MATERIAL IN A PLASTIC STATE, NOT OTHERWISE PROVIDED FOR; AFTER-TREATMENT OF THE SHAPED PRODUCTS, e.g. REPAIRING
    • B29C65/00Joining or sealing of preformed parts, e.g. welding of plastics materials; Apparatus therefor
    • B29C65/78Means for handling the parts to be joined, e.g. for making containers or hollow articles, e.g. means for handling sheets, plates, web-like materials, tubular articles, hollow articles or elements to be joined therewith; Means for discharging the joined articles from the joining apparatus
    • B29C65/7802Positioning the parts to be joined, e.g. aligning, indexing or centring
    • B29C65/7838Positioning the parts to be joined, e.g. aligning, indexing or centring from the inside, e.g. of tubular or hollow articles
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B29WORKING OF PLASTICS; WORKING OF SUBSTANCES IN A PLASTIC STATE IN GENERAL
    • B29CSHAPING OR JOINING OF PLASTICS; SHAPING OF MATERIAL IN A PLASTIC STATE, NOT OTHERWISE PROVIDED FOR; AFTER-TREATMENT OF THE SHAPED PRODUCTS, e.g. REPAIRING
    • B29C66/00General aspects of processes or apparatus for joining preformed parts
    • B29C66/01General aspects dealing with the joint area or with the area to be joined
    • B29C66/05Particular design of joint configurations
    • B29C66/10Particular design of joint configurations particular design of the joint cross-sections
    • B29C66/11Joint cross-sections comprising a single joint-segment, i.e. one of the parts to be joined comprising a single joint-segment in the joint cross-section
    • B29C66/112Single lapped joints
    • B29C66/1122Single lap to lap joints, i.e. overlap joints
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B29WORKING OF PLASTICS; WORKING OF SUBSTANCES IN A PLASTIC STATE IN GENERAL
    • B29LINDEXING SCHEME ASSOCIATED WITH SUBCLASS B29C, RELATING TO PARTICULAR ARTICLES
    • B29L2023/00Tubular articles
    • B29L2023/20Flexible squeeze tubes, e.g. for cosmetics

Abstract

PURPOSE:To easily and quickly know a changed operational mode with an operator by printing the changed operational mode to a printing part every time by a mode changing means. CONSTITUTION:A mode changing means 1 changes an operational mode into the operational mode inputted from a mode setting switch 3 according to a decoded operational mode setting command only when the operational mode given in an operational program in advance and an operational mode setting indicating means 6c indicate that the operational mode setting command is not practiced. Thus, the operational mode setting indicating means 6c comes to indicate a condition which the operational mode setting command is practiced. Besides, a mode printing command means 1 makes a printing part 5 print the operational mode changed every time when the operational mode is changed by the mode changing means 1, and an operator can know the changed operational mode easily.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は、数値や関数の計算の他テレビジョンの番組予
約等にも用いられるプログラム付卓上電子計算機の演算
モード設定装置に関する。
DETAILED DESCRIPTION OF THE INVENTION <Field of Industrial Application> The present invention relates to an arithmetic mode setting device for a desktop electronic computer with a program, which is used not only to calculate numerical values and functions but also to reserve television programs.

〈従来の技術〉 一般に、プログラム付卓上電子計算機は、L(Lear
n)モードにおいてキー入力部から入力されろ英数字と
ファンクションからなる簡易言語で記述された演算プロ
グラムを記憶部に記憶し、A(Auto)モードにおい
て上記演算プログラムを読み出して、これに従って演算
処理部で自動的に演算を行ない、演算結果を表示部や印
字部に出力するものである。従来、上記演算プログラム
中には、例えば有効桁数の指定、計算結果の切上、切捨
、四捨五入の指定、累計計算の指定などの演算モードの
設定あるいは変更を行なうためのモード設定命令が書き
込まれている。そして、このモード設定命令を読み取っ
たCPUは、モード設定命令中に予め与えられた演算モ
ードあるいはキー入力部の英数字キーまたは特別の演算
モード設定のための専用のモード設定スイッチから入力
される演算モードに演算モードを設定、変更し、設定、
変更された演算モードで以降の演算を実行する。
<Prior art> In general, a desk computer with a program is L (Lear).
n) In the A (Auto) mode, an arithmetic program written in a simple language consisting of alphanumeric characters and functions that is input from the key input unit is stored in the storage unit, and in the A (Auto) mode, the arithmetic program is read out and the arithmetic processing unit It automatically performs calculations and outputs the calculation results to the display or print section. Traditionally, mode setting instructions have been written in the above calculation programs to set or change the calculation mode, such as specifying the number of significant digits, rounding up, rounding down, or rounding off calculation results, and specifying cumulative calculation. It is. After reading this mode setting command, the CPU selects the calculation mode given in advance in the mode setting command or the calculation input from the alphanumeric keys of the key input unit or the dedicated mode setting switch for setting a special calculation mode. Set, change, and set the calculation mode in the mode.
Perform subsequent calculations in the changed calculation mode.

〈発明が解決しようとする問題点〉 ところが、上記従来の卓上電子計算機は、演算プログラ
ム実行時に設定、変更された演算モードを印字部等に出
力する構造になっていないため、操作者は、どのような
演算モードが初期設定され、それがどのような演算モー
ドに変更されたかを直接知ることができず、印字部から
出力される計算結果たる数値の羅列のみではその計算の
基礎となった有効桁数や切捨等の演算モードが判らない
という欠点がある。また、上記従来の卓上電子計算機は
、専用のモード設定スイッチによって設定された演算モ
ードを演算プログラム中に書き込む構造になっていない
ため、モード設定命令のたびにCPUが上記モード設定
スイッチの状態を読み取らねばならず、処理能率が悪い
うえ、モード設定スイッチの誤操作が直接演算に影響す
るという欠点がある。
<Problems to be Solved by the Invention> However, the above-mentioned conventional desktop electronic computers are not structured to output the calculation mode set or changed to the printing section etc. when the calculation program is executed. It is not possible to directly know what calculation mode it has been changed to, and it is not possible to directly know what calculation mode it has been changed to. The disadvantage is that the calculation mode, such as the number of digits and rounding down, cannot be determined. In addition, the above-mentioned conventional desktop computer does not have a structure in which the arithmetic mode set by a dedicated mode setting switch is written into the arithmetic program, so the CPU does not read the state of the mode setting switch each time a mode setting command is issued. This method has disadvantages in that processing efficiency is low, and incorrect operation of the mode setting switch directly affects calculations.

そこで、本発明の目的は、卓上電子計算機が演算プログ
ラムを実行しているとき、モード設定命令が実行される
度にモード設定状態を印字して、操作者に知らせること
ができるととらに、専用のモード設定スイッチから入力
される演算モードを演算プログラム中に取り込むことが
できろ卓上電子計算機の演算モード設定装置を提供する
ことである。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to print a mode setting state each time a mode setting command is executed when a desktop electronic computer is executing an arithmetic program, and to notify the operator of the mode setting state. An object of the present invention is to provide an arithmetic mode setting device for a desktop electronic computer that can incorporate an arithmetic mode input from a mode setting switch into an arithmetic program.

く問題点を解決するための手段〉 上記目的を達成するため、本発明の演算モード設定装置
は、キー入力部、記憶部、演算処理部1表示部および印
字部を宵するプログラム付卓上電子計算機において、上
記キー入力部から入力され、記憶部に格納された演算プ
ログラム中の演算モード設定命令を解読するモード設定
命令解読手段と、上記演算モード設定命令が実行された
状態を示す演算モード設定指示手段と、演算モード設定
のためのモード設定スイッチと、上記モード設定命令解
読手段が解読した演算モード設定命令に従って、予め演
算プログラム中に与えられた演算モードに演算モードを
変更するとともに、演算モード設定指示手段が演算モー
ド設定命令が実行されていないことを示す場合に限り上
記モード設定スイッチから入力されろ演算モードに演算
モードを変更するモード変更手段と、このモード変更手
段によって変更された演算モードをその都度上記印字部
に印字させるモード印字指令手段を備えたことを特徴と
する。
Means for Solving the Problems> In order to achieve the above object, the arithmetic mode setting device of the present invention is a desktop electronic computer with a program that includes a key input section, a storage section, a display section of the arithmetic processing section 1, and a printing section. , mode setting command decoding means for decoding a calculation mode setting command input from the key input unit and in the calculation program stored in the storage unit; and a calculation mode setting instruction indicating a state in which the calculation mode setting command is executed. a mode setting switch for setting an arithmetic mode; and a mode setting switch for setting an arithmetic mode; and a mode setting switch for setting an arithmetic mode; mode changing means for changing the calculation mode to a calculation mode that is input from the mode setting switch only when the instruction means indicates that the calculation mode setting command is not being executed; The present invention is characterized by comprising a mode printing command means for causing the printing section to print each time.

く作用〉 卓上電子計算機が、記憶部に格納された演算プログラム
を読み出して実行するとき、演算モード設定装置のモー
ド設定命令解読手段は、上記演算プログラム中の演算モ
ード設定命令を解読する。
Function> When the desktop electronic computer reads out and executes the arithmetic program stored in the storage section, the mode setting instruction decoding means of the arithmetic mode setting device decodes the arithmetic mode setting instruction in the arithmetic program.

モード変更手段は、解読された上記演算モード設定命令
に従って、演算プログラム中に予め与えられだ演算モー
ドあるいは演算モード設定指示手段が演算モード設定命
令が実行されていないことを示す場合に限りモード設定
スイッチから入力されろ演算モードに演算モードを変更
し、これによって演算モード設定指示手段は、演算モー
ド設定命令が実行された状態を示すようになる。従って
、その後演算プログラム中で演算モード設定命令が再び
現われるまでは、上記モード設定スイッチからいかなる
演算モードが入力されようとも、演算モードは変更され
ない。また、モード印字指令手段は、上記モード変更手
段によって演算モードが変更される度に変更された演算
モードを印字部に印字させ、これによって操作者は、変
更された演算モードを容易に知ることができる。
The mode changing means switches the mode setting switch only when the calculation mode given in advance in the calculation program or the calculation mode setting instruction means indicates that the calculation mode setting command is not being executed, according to the decoded calculation mode setting command. The calculation mode is changed to the calculation mode inputted from , and thereby the calculation mode setting instruction means comes to indicate the state in which the calculation mode setting instruction has been executed. Therefore, no matter what calculation mode is input from the mode setting switch, the calculation mode will not be changed until the calculation mode setting command appears again in the calculation program. Further, the mode printing command means causes the printing section to print the changed calculation mode each time the calculation mode is changed by the mode changing means, so that the operator can easily know the changed calculation mode. can.

〈実施例〉 以下、本発明を図示の実施例により詳細に説明する。<Example> Hereinafter, the present invention will be explained in detail with reference to illustrated embodiments.

第1図は本発明の演算モード設定装置を備えた卓上電子
計算機の一実施例を示す概略ブロック図であり、lは計
算機全体をプログラムに従って制御するとともに演算を
行なう演算処理部としてのCPU、2は演算や演算プロ
グラムに必要な英数字およびファンクションを入力する
ためのキーボード、3は特別の専用演算モード設定のた
めのモード設定スイッチ、4は上記キーボード2から入
力されたデータや演算結果を画面に表示するCRT、5
は上記データや演算結果を記録紙に印字するプリンタ、
6は上記キーボード2から入力された演算プログラムを
格納するプログラムエリア6a。
FIG. 1 is a schematic block diagram showing an embodiment of a desktop electronic computer equipped with an arithmetic mode setting device of the present invention, in which l represents a CPU as an arithmetic processing unit that controls the entire computer according to a program and performs arithmetic operations; is a keyboard for inputting alphanumeric characters and functions required for calculations and calculation programs; 3 is a mode setting switch for setting a special dedicated calculation mode; 4 is a screen for displaying data and calculation results input from keyboard 2 above. CRT to display, 5
is a printer that prints the above data and calculation results on recording paper,
Reference numeral 6 denotes a program area 6a for storing the calculation program inputted from the keyboard 2.

CPUIの演算中に必要なデータを格納する演算レジス
タ6bおよび演算モード設定命令が実行されたか否かを
1.0で示す演算モード設定指示手段としてのモード設
定フラッグ6cを備える記憶部としてのRAM、7は固
定的な制御および演算のプログラムや定数を記憶するR
OMである。
A RAM as a storage unit including an arithmetic register 6b for storing data necessary during CPU operation, and a mode setting flag 6c as an arithmetic mode setting instruction means that indicates with 1.0 whether or not an arithmetic mode setting instruction has been executed; 7 is R for storing fixed control and calculation programs and constants.
It's OM.

上記キーボード2には、計算機の処理を、RAM6のプ
ログラムエリア6aに英数字とファンクションからなる
簡易言語で記述される演算プログラムをキーボード2を
介して書き込むI、モードと、読み出した上記演算プロ
グラムに従ってCPUIで演算を実行するAモードとに
切換える図示しない処理モードスイッチを設けている。
The above-mentioned keyboard 2 has an I mode in which a calculation program written in a simple language consisting of alphanumeric characters and functions is written in the program area 6a of the RAM 6 to carry out the processing of the computer, and a CPU input mode according to the above-mentioned calculation program that has been read out. A processing mode switch (not shown) is provided for switching to mode A in which calculations are executed.

上記CPU1には、演算プログラム中の演算モード設定
命令を解読するモード設定命令解読手段と、このモード
設定命令解読手段が解読した演算モード設定命令に従っ
て、演算プログラム中に予め与えられた演算モードに演
算モードを変更するとと乙に、上記モード設定フラッグ
6cが“0”の場合に限り上記モード設定スイッチ3ま
たはキーボード2から入力される演算モードに演算モー
ドを変更し、モード変更後上記モード設定フラッグ6c
を“ビにセットするモード変更手段と、このモード変更
手段によって変更された演算モードをその都度プリンタ
5に一定の書式で印字させるモード印字指令手段を設け
ている。
The CPU 1 includes a mode setting command decoding means for decoding the calculation mode setting command in the calculation program, and a calculation mode set in advance in the calculation program according to the calculation mode setting command decoded by the mode setting command decoding means. When the mode is changed, the calculation mode is changed to the calculation mode input from the mode setting switch 3 or the keyboard 2 only when the mode setting flag 6c is "0", and after the mode change, the calculation mode is changed to the calculation mode input from the mode setting switch 3 or the keyboard 2.
There are provided a mode changing means for setting the mode to "BI" and a mode printing command means for causing the printer 5 to print the calculation mode changed by the mode changing means in a fixed format each time.

第2図は、演算プログラム中に書き込まれ、上記モード
設定命令解読手段とモード印字指令手段を介してプリン
タ5に印字出力された演算モード例を示している。図中
の各プログラム行は、フィナンシャル計算に先立って初
期設定された演算モードを示しており、1行目は、「2
」がタブ指定を。
FIG. 2 shows an example of the calculation mode written in the calculation program and printed out to the printer 5 via the mode setting command decoding means and the mode printing command means. Each program line in the figure shows the calculation mode that is initialized prior to financial calculation, and the first line is "2".
” specifies the tab.

「↓」が切り捨てモードを、rA+Jがアディング+モ
ードを夫々示し、計算結果の少数点2桁以下を切り捨て
てその累計を求めることを表わし、2行目は、r365
Jが365日モードの日数計算を、「lΣ」が被乗数の
累計を夫々示し、365日モードで販売個数計等を求め
ることを表わし、3行目のrGTJはグランドトータル
即ち売上総計を求めることを表わしている。
"↓" indicates the truncation mode, and rA+J indicates the adding+mode, indicating that the calculation result is rounded down to two digits below the decimal point to calculate the cumulative total, and the second line is r365
J indicates the calculation of the number of days in 365-day mode, "lΣ" indicates the cumulative total of the multiplicand, and indicates that the total number of sales etc. is calculated in 365-day mode, and rGTJ on the third line indicates that the grand total, that is, the total sales amount, is calculated. It represents.

上記構成の演算モード設定装置を備えた卓上電子計算機
の動作について、第3図のフローチャートを参照しつつ
次に述べる。
The operation of the desktop electronic computer equipped with the arithmetic mode setting device configured as described above will now be described with reference to the flowchart shown in FIG.

いま、処理モードスイッチがAモードに切換えられ、演
算プログラムの実行が開始されると、CPUIは、まず
ステップStで、RAM6のモード設定フラッグ6cを
“0”にリセットし、次にステップS2で、プログラム
格納エリア6aに格納されているプログラムを行毎に読
み出す。そして、ステップS3で、読み出した行か最終
行か否かを判断し、最終行と判断ずればステップS19
に進んでプログラムの実行を終了する一方、最終行でな
いと判断すれば、ステップS4に進む。ステップS4で
、CPUIのモード設定命令解読手段は、読み出した演
算プログラムの各行が、演算モード設定命令であるか否
かを判別し、肯と判別すればCPU1はステップ86〜
S8のモード変更処理に進む一方、否と判別すればステ
ップS9に進んでその行が入力待ち命令であるか否かを
判断する。
Now, when the processing mode switch is switched to A mode and execution of the calculation program is started, the CPU first resets the mode setting flag 6c of the RAM 6 to "0" in step St, and then in step S2, The program stored in the program storage area 6a is read line by line. Then, in step S3, it is determined whether the read line is the last line or not, and if it is determined to be the last line, step S19
If it is determined that the line is not the last line, the process proceeds to step S4. In step S4, the mode setting command decoding means of the CPU determines whether each line of the read calculation program is a calculation mode setting command.
The process proceeds to the mode change process in S8, while if the determination is negative, the process proceeds to step S9, where it is determined whether or not the line is an input wait command.

上記モード変更処理において、CPUIのモード変更手
段は、ステップS6で、演算プログラム中に予め与えら
れ、上記モード設定命令解読手段により解読された演算
モードに演算モードを変更するとともに、ステップS8
でモード設定フラッグ6cを“ビにセットする一方、モ
ード印字指令手段は、ステップS7で、変更された演算
モードをプリンタ5に印字せしめた後、ステップS2に
戻る。
In the mode changing process, the mode changing means of the CPU changes the arithmetic mode to the arithmetic mode given in advance in the arithmetic program and decoded by the mode setting command decoding means in step S6, and in step S8
While setting the mode setting flag 6c to "BI", the mode printing command means causes the printer 5 to print the changed calculation mode in step S7, and then returns to step S2.

一方、ステップS9で入力待ち命令と判断ずれば、ステ
ップSIO〜S15のキー入力ループに進み、そうでな
いと判断すれば、ステップS16に進んで演算処理を実
行した後、ステップSI7に進む。上記キー入力ループ
において、CPUIは、ステップSIOの入力待ち状態
から、ステップSllでキー入力ありと判断すると、ス
テップSI2でそのキー入力が演算モード設定のための
ものか否かを判断する。そして、演算モード設定のため
のものなら、ステップS+3に進んでモード設定フラッ
グが“ビか否かを調べ、“ビなら2回目以降のモード変
更なのでモード変更不可と判断してステップSllに戻
り、“0”なら最初のモード変更なのでモード変更可と
判断し、ステップSI4に進んでモード変更手段をして
上記キー入力に基づく演算モードの変更および前述と同
じく変更された演算モードの印字出力とモード設定フラ
ッグの“1”へのセットを行なわしめる。また、上記キ
ー入力が、演算モード設定のためのものでないなら、ス
テップSI5に進んで数値人ツノ等の入力処理を行なっ
た後、キー入力ループを抜けてステップS+7に進む。
On the other hand, if it is determined in step S9 that it is an input wait command, the process proceeds to a key input loop of steps SIO to S15, and if it is determined otherwise, the process proceeds to step S16 to execute arithmetic processing, and then proceeds to step SI7. In the key input loop, if the CPU determines that there is a key input in step Sll from the input waiting state in step SIO, it determines in step SI2 whether the key input is for setting the calculation mode. If the purpose is to set the calculation mode, the process proceeds to step S+3 to check whether the mode setting flag is "BI", and if it is "BI", it is determined that the mode cannot be changed since it is the second or subsequent mode change, and the process returns to step Sll. If it is "0", it is the first mode change, so it is determined that the mode can be changed, and the process proceeds to step SI4, where the mode change means is used to change the calculation mode based on the above key input, and print out the changed calculation mode and mode in the same manner as described above. The setting flag is set to "1". If the key input is not for setting the calculation mode, the process proceeds to step SI5 to perform input processing such as numeric human horns, and then exits the key input loop and proceeds to step S+7.

最後に、ステップSI7で、モード設定フラッグ6cが
“ビであるか否かが判断され、“ビならモード変更はも
はや不可なので次のプログラム行を読み出すステップS
2に戻り、“0”ならモード変更は可なのでステップS
18に進み、残されたモード設定手段としてのモード設
定スイッチ3の状態が読まれ、これに応じてモード変更
手段によって演算モードが設定されるとともに、前述と
同じくモード設定フラッグ6cの“ビへのセットおよび
モード印字指令手段によるプリンタ5への演算モードの
印字出力が行なわれた後、ステップS2に戻る。
Finally, in step SI7, it is determined whether the mode setting flag 6c is "BI", and if "BI", it is no longer possible to change the mode, so step S reads the next program line.
Return to step 2, and if it is “0”, the mode can be changed, so go to step S.
18, the state of the mode setting switch 3 as the remaining mode setting means is read, and the mode changing means sets the calculation mode accordingly, and the mode setting flag 6c is set to "BI" as described above. After the set and mode print command means prints out the calculation mode to the printer 5, the process returns to step S2.

このように、本発明の演算モード設定装置によれば、演
算プログラム中の演算モード設定命令によって、プログ
ラム中に予め与えられた演算モードあるいはキー入力や
モード設定スイッチで与えられる演算モードに演算モー
ドが変更される度に、変更された演算モードを印字部に
出力するので、従来と異なり操作者は変更された演算モ
ードを容易かつ迅速に知ることができ、演算結果をより
良く理解することができろ。また、上述のように一旦演
算モードが設定、変更されると、演算プログラム中で演
算モード設定命令が再び現われるまでは、キーボードや
モード設定スイッチからいかなる演算モードが入力され
ようとも演算モードは変更されないので、従来不可能だ
ったモード設定スイッチから演算プログラム中への演算
モードの書き込みが実現できろとと乙に、英数キーやモ
ード設定スイッチの誤操作により演算プログラムが狂う
虞れもなくなる。
As described above, according to the calculation mode setting device of the present invention, the calculation mode is set by the calculation mode setting instruction in the calculation program to the calculation mode given in advance in the program or the calculation mode given by key input or mode setting switch. Each time a change is made, the changed calculation mode is output to the print section, so unlike conventional methods, the operator can easily and quickly know the changed calculation mode and can better understand the calculation results. reactor. Additionally, once the calculation mode is set or changed as described above, the calculation mode will not be changed regardless of what calculation mode is input from the keyboard or mode setting switch until the calculation mode setting command appears again in the calculation program. Therefore, it is possible to write the calculation mode into the calculation program from the mode setting switch, which was previously impossible, and there is no need to worry about the calculation program going awry due to erroneous operation of the alphanumeric keys or mode setting switch.

なお、本発明の演算プログラム中の演算モード設定命令
は、第2図に示す実施例のフィナンノヤル計算のものに
限られない。また、本発明の演算モード設定装置が、数
値や関数計算のための卓上電子計算機に限らず、ビデオ
テープレコーダの番組予約装置や電子レンジのメニュー
予約装置にも通用できることはいうまでもない。
Note that the calculation mode setting command in the calculation program of the present invention is not limited to the one for the financial calculation of the embodiment shown in FIG. Furthermore, it goes without saying that the calculation mode setting device of the present invention is applicable not only to desktop electronic computers for numerical and functional calculations, but also to program reservation devices for video tape recorders and menu reservation devices for microwave ovens.

〈発明の効果〉 以上の説明で明らかなように、本発明の演算モード設定
装置は、キー入力部、記憶部、演算処理部。
<Effects of the Invention> As is clear from the above description, the calculation mode setting device of the present invention includes a key input section, a storage section, and a calculation processing section.

表示部および印字部を有するプログラム付卓上市子計算
機において、キー入力部から入力され、記憶部に格納さ
れた演算プログラム中の演算モード設定命令をモード設
定命令解読手段で解読し、解読されたモード設定命令に
従ってモード変更手段によって、予め演算プログラム中
に与えられた演算モードあるいは演算モード設定指示手
段力箋演算モード設定命令が実行されていないことを示
す場合に限りモード設定スイッチから入力される演算モ
ードに演算モードを変更し、変更された演算モードをそ
の都度モード印字指令手段によって印字部に印字させる
ようにしているので、操作者は変更された演算モードを
容易かつ迅速に知ることができ、印字出力されろ演算結
果を従来より良く理解することができるとともに、モー
ド設定スイッチから演算プログラム中への演算モードの
書き込みが可能になるうえ、英数キーやモード設定スイ
ッチの誤操作で演算プログラムが狂う虞れらなくなる。
In a desktop calculator with a program having a display section and a printing section, an operation mode setting command input from the key input section and stored in the storage section is decoded by a mode setting command decoding means, and the decoded mode is set. A calculation mode that is input from the mode setting switch only when the calculation mode given in advance in the calculation program or calculation mode setting instruction means by the mode change means according to the setting command indicates that the writing calculation mode setting command is not being executed. The operation mode is changed each time the operation mode is changed, and the changed operation mode is printed on the printing section by the mode print command means each time, so the operator can easily and quickly know the changed operation mode, and the operator can easily and quickly know the changed operation mode. It is possible to understand the output calculation results better than before, and it is also possible to write the calculation mode into the calculation program from the mode setting switch, and there is no risk of the calculation program going awry due to incorrect operation of the alphanumeric keys or mode setting switch. will not be able to do so.

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

第1図は本発明の演算モード設定装置を備えた卓上電子
計算機の一実施例を示す概略ブロック図、第2図はプリ
ンタに印字出力された演算モード設定命令を示す図、第
3図は上記電子計算機の動作の流れを示すフローヂャー
トである。 1・・・CPU、 2・・・キーボード、3・・・モー
ド設定スイッチ、4・・・CRT。 5・・・プリンタ、6・・・r(AM。 6a・・・プログラム格納エリア、 6c・・・モード設定フラッグ。 特 許 出 願 人  シャープ株式会社代 理 人 
弁理士  前出 葆 ほか2名第1LA
Fig. 1 is a schematic block diagram showing an embodiment of a desktop computer equipped with the arithmetic mode setting device of the present invention, Fig. 2 is a diagram showing an arithmetic mode setting command printed out on a printer, and Fig. 3 is the above It is a flowchart showing the flow of operation of an electronic computer. 1...CPU, 2...Keyboard, 3...Mode setting switch, 4...CRT. 5...Printer, 6...r(AM) 6a...Program storage area, 6c...Mode setting flag. Patent applicant: Sharp Corporation Agent
Patent attorney Maeda Hao and 2 others 1st LA

Claims (1)

【特許請求の範囲】[Claims] (1)キー入力部から入力される英数字とファンクショ
ンからなる演算プログラムを記憶部に格納し、これを必
要に応じて読み出して演算処理部で演算し、演算結果や
キー入力データを表示部および印字部に出力する卓上電
子計算機において、上記演算プログラム中の演算モード
設定命令を解読するモード設定命令解読手段と、上記演
算モード設定命令が実行された状態を示す演算モード設
定指示手段と、演算モード設定のためのモード設定スイ
ッチと、上記モード設定命令解読手段が解読した演算モ
ード設定命令に従って、予め演算プログラム中に与えら
れた演算モードに演算モードを変更するとともに、演算
モード設定指示手段が演算モード設定命令が実行されて
いないことを示す場合に限り上記モード設定スイッチか
ら入力される演算モードに演算モードを変更するモード
変更手段と、このモード変更手段によって変更された演
算モードをその都度上記印字部に印字させるモード印字
指令手段を備えたことを特徴とする卓上電子計算機の演
算モード設定装置。
(1) A computation program consisting of alphanumeric characters and functions input from the key input section is stored in the storage section, read out as necessary and computed by the arithmetic processing section, and the computation results and key input data are displayed on the display section. In a desktop electronic computer outputting to a printing section, mode setting command decoding means for decoding the calculation mode setting command in the calculation program, calculation mode setting instruction means for indicating the state in which the calculation mode setting command is executed, and calculation mode According to the mode setting switch for setting and the calculation mode setting command decoded by the mode setting command decoding means, the calculation mode is changed to the calculation mode given in advance in the calculation program, and the calculation mode setting instruction means changes to the calculation mode. a mode changing means for changing the calculation mode to the calculation mode input from the mode setting switch only when it indicates that the setting command is not being executed, and a mode changing means for changing the calculation mode to the calculation mode input from the mode setting switch; 1. An arithmetic mode setting device for a desktop electronic computer, characterized in that it is equipped with a mode printing command means for printing.
JP62319551A 1987-12-15 1987-12-15 Calculation mode setting device for desktop computer Expired - Lifetime JPH0616278B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62319551A JPH0616278B2 (en) 1987-12-15 1987-12-15 Calculation mode setting device for desktop computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62319551A JPH0616278B2 (en) 1987-12-15 1987-12-15 Calculation mode setting device for desktop computer

Publications (2)

Publication Number Publication Date
JPH01158556A true JPH01158556A (en) 1989-06-21
JPH0616278B2 JPH0616278B2 (en) 1994-03-02

Family

ID=18111519

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62319551A Expired - Lifetime JPH0616278B2 (en) 1987-12-15 1987-12-15 Calculation mode setting device for desktop computer

Country Status (1)

Country Link
JP (1) JPH0616278B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008234146A (en) * 2007-03-19 2008-10-02 Casio Comput Co Ltd Electronic calculator
JP2011129138A (en) * 2011-01-12 2011-06-30 Casio Computer Co Ltd Electronic calculator
JP2017124581A (en) * 2016-01-15 2017-07-20 カシオ計算機株式会社 Calculation data printer and program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5414135A (en) * 1977-07-04 1979-02-02 Sharp Corp Computer with printer
JPS5835657A (en) * 1981-08-28 1983-03-02 Canon Inc Calculator with program function
JPS6181360U (en) * 1984-10-31 1986-05-30

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5414135A (en) * 1977-07-04 1979-02-02 Sharp Corp Computer with printer
JPS5835657A (en) * 1981-08-28 1983-03-02 Canon Inc Calculator with program function
JPS6181360U (en) * 1984-10-31 1986-05-30

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008234146A (en) * 2007-03-19 2008-10-02 Casio Comput Co Ltd Electronic calculator
JP2011129138A (en) * 2011-01-12 2011-06-30 Casio Computer Co Ltd Electronic calculator
JP2017124581A (en) * 2016-01-15 2017-07-20 カシオ計算機株式会社 Calculation data printer and program

Also Published As

Publication number Publication date
JPH0616278B2 (en) 1994-03-02

Similar Documents

Publication Publication Date Title
US4852057A (en) Algebraic expression manipulation method and implementation for an electronic data processing apparatus
JPH0570175B2 (en)
JPH01158556A (en) Device for setting operational mode of electronic calculator
EP0352065B1 (en) Text editing device
JPH04256117A (en) Information processor
JP3498323B2 (en) Electronic calculator and arithmetic processing method
JP2705690B2 (en) Display control device
JPH06168104A (en) Electronic computer
JPS6113623B2 (en)
JPH0567977B2 (en)
US4651295A (en) Electronic desk-top calculator
JPH11134304A (en) Graph display device and method therefor and recording medium for recording graph display program
JPH0435955Y2 (en)
JPS6243227B2 (en)
JPH0555248U (en) Small electronic calculator
JPS61204765A (en) Layout displaying system
JPH01158557A (en) System for correcting operational program of electronic calculator
JPS62127923A (en) Data processor
JPH10222472A (en) Device, method for electronic calculation and recording medium recording calculating processing program
JPS63111567A (en) Document processor
JPH0214728B2 (en)
JPS60132270A (en) Word processor
JPS62210572A (en) Documentation device
JPS6221151B2 (en)
JPS6119054B2 (en)

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term