JPS5911940B2 - Program calculation start device - Google Patents
Program calculation start deviceInfo
- Publication number
- JPS5911940B2 JPS5911940B2 JP51145451A JP14545176A JPS5911940B2 JP S5911940 B2 JPS5911940 B2 JP S5911940B2 JP 51145451 A JP51145451 A JP 51145451A JP 14545176 A JP14545176 A JP 14545176A JP S5911940 B2 JPS5911940 B2 JP S5911940B2
- Authority
- JP
- Japan
- Prior art keywords
- program
- key
- calculation
- instruction
- command
- 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
Links
Landscapes
- Calculators And Similar Devices (AREA)
Description
【発明の詳細な説明】
本発明は電卓等におけるプログラム演算スタート装置に
関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a program operation start device for a calculator or the like.
従来のプログラム計算可能な電卓は、第1図の如く演算
指示キーFK、数値キーTKの他にプログラムの種類(
例えば、ピタゴラスの定理、利率計算等のプログラム内
容)の選択を行うプログラム内容選択キーA−Gを有し
、プログラム計算のスタートは上記選択キーA−Gの押
圧によつて行つていた。As shown in Figure 1, conventional calculators capable of calculating programs have program types (
For example, the computer has program content selection keys A to G for selecting program content such as Pythagorean theorem and interest rate calculation, and program calculations are started by pressing the selection keys A to G.
例えば上記プログラム中に数値入力待機状態を指定する
命令(以下ハルト命令という)があると、プログラム演
算は一旦停止し、数値キーTKによつて数値を導入した
後、再度選択キーを押圧することによつて、続くプログ
ラム演算が実行される。従つて、プログラム内容をキー
Bによつて選択した場合、その選択されたプログラム中
にハルト命令が多数あると、そのたびにキーBを繰り返
えし押圧しなければならない。For example, if there is an instruction in the above program that specifies a numerical input standby state (hereinafter referred to as a Halt instruction), the program operation will be temporarily stopped, a numerical value will be input using the numerical key TK, and then the selection key will be pressed again. Therefore, subsequent program operations are executed. Therefore, when program content is selected using key B, if there are many HART commands in the selected program, key B must be pressed repeatedly each time.
このような方式の電卓においては、選択キーA〜Gがキ
ーボード上の上端部にあるため、キー操作が非常に不便
になる欠点があつた。This type of calculator has the drawback that the selection keys A to G are located at the upper end of the keyboard, making key operations very inconvenient.
このような不都合をなくすため、第1図のキーボード上
に更にスライドスイッチを付加し、このスライドスイッ
チによつて、マニュアル計算及びプログラム計算の区別
を行い、プログラム計算時には演算指示キーの何れかを
プログラム計算スタート指示キーーにする方式が提案さ
れている。In order to eliminate this inconvenience, a slide switch is added to the keyboard shown in Figure 1, and this slide switch is used to distinguish between manual calculation and program calculation. A method has been proposed in which the calculation start instruction key is used.
しかし、この場合は、プログラム計算時とマニュアル計
算時でいちいちスライドスイッチを切換えるわずられし
さがあつた。本発明は上述の欠点を除去するためになさ
れたものである。However, in this case, it was cumbersome to switch the slide switch each time during program calculation and manual calculation. The present invention has been made to eliminate the above-mentioned drawbacks.
以下図面に従つて本発明の一実施例を説明するが、その
概要は次の通り。〇プログラム実行に於てある命◆(p
S命◆と以後呼ぶ)を実行すると特殊モードを指定する
ものとし○このモードにおけるをキーをプログラムスタ
ートキーにする。An embodiment of the present invention will be described below with reference to the drawings, and its outline is as follows. 〇Life in program execution◆(p
Executing S command ◆) specifies a special mode, and the key in this mode is used as the program start key.
そうする事により以降ハルト命令でプログラムを停止し
た時最も操作し易い盆キーでプログラムのスタートを行
なう事ができる。OこのモードはEND命令等により解
除する様にする。By doing so, you can start the program with the tray key, which is the easiest to operate, when you stop the program with the HART command. OThis mode should be canceled by an END command or the like.
尚、最初のプログラムスタート及びPS命令が無い時の
スタートは他の専用キーで行なう。さて、第2図は本発
明装置を実施したプログラム電卓のプロツク図であつて
、FXは×,÷,+,,=,M+,M−,V一等の演算
命令キー、TKは数値キー、Eはエンコーダ、Buはバ
ツフアレジスタ、Dはデコーダ、Fi−Fuはプログラ
ムレジスター選択用フリツプフロツプ、AR,lBR,
CR・・・・・・GRはプログラムレジスターA,〜A
7,bl〜B7はプログラム制御用ゲート回路、01,
02はオアゲート回路、C,,C2はアンドゲート回路
、FPはPS命令記憶用フリツプフロツプSCはステツ
プカウンタ、COは演算制御部、Jはジヤツジ回路であ
る。Note that the initial program start and the start when there is no PS command are performed using other dedicated keys. Now, FIG. 2 is a block diagram of a program calculator implementing the device of the present invention, in which FX is arithmetic command keys such as ×, ÷, +, , =, M+, M-, V, etc., TK is a numeric key, E is an encoder, Bu is a buffer register, D is a decoder, Fi-Fu is a flip-flop for selecting a program register, AR, IBR,
CR...GR is program register A, ~A
7, bl to B7 are program control gate circuits, 01,
02 is an OR gate circuit, C, , C2 are AND gate circuits, FP is a flip-flop for storing PS instructions, SC is a step counter, CO is an arithmetic control unit, and J is a jump circuit.
上記プログラムレジスタAR−GRの選択は第1図の選
択キーA−Gで行う。Selection of the program registers AR-GR is performed using selection keys A-G shown in FIG.
プログラムの書き込みは従来と同様にプログラムモード
(あるいはラーンモード)においてFK,闘TKを介し
てプログラムレジスターAR−GRに書き込まれる。The program is written to the program register AR-GR via FK and TK in the program mode (or learn mode) as in the conventional case.
ここでは特にプログラムの実行について説明を行う。な
お説明は2つの場合に分けて行う。Here, we will especially explain the execution of the program. Note that the explanation will be divided into two cases.
(イ)プログラム演算のスタート指示を演算キー 二F
Kで行う場合(PS命令がプログラムされている時)。(a) Calculation key 2F to instruct the start of program calculation.
When using K (when the PS instruction is programmed).
この場合プログラムレヅスタBRにはピタコラスの定理
を演算するプログラム「PS,H(ハルト),CM,l
,×,M+,1,MR,1,÷,=,END」が記憶さ
れており、このプログラムを実行することによつてV7
町]7一を得ることにする。In this case, the program register BR contains the program "PS, H (Hart), CM, l
,×,M+,1,MR,1,÷,=,END" is stored, and by executing this program, V7
Town] I decided to get 71.
この場合、プログラム実行中は上キーがプログラムスタ
ートキーとなるので、割込み計算(即ち、.演算結果を
データとして入力する計算)が不可能になる。キー操作
及び表示は次の如くなる。In this case, since the up key serves as the program start key while the program is being executed, interrupt calculations (that is, calculations in which calculation results are input as data) are impossible. Key operations and displays are as follows.
動作は次の通り。The operation is as follows.
プログラム指定及びプログラムスタートキーBが押圧さ
れると、マイクロオーダ8が発生しフリツプフロツプF
2がセツトされる。When program designation and program start key B are pressed, micro order 8 is generated and flip-flop F is pressed.
2 is set.
それによつて、アンドゲートA2,b2が開かれて、プ
ログラムレジスタBRの実行可能状態に設定される。P
S命令がバツフア一Buを介して出力される。この は
制御部C。に供給されマイクロオーダ を発生す
る。それによつてフリツプフロツ FPがセツトされる
。プログラムは次のHalt命令で停止しており、第1
のデーターa入力後の日キーの押圧によりアンドゲート
C2を介してステツプカウンタ一がカウントアツプされ
る。プログラムレジスタBRはステツプカウンタ一SC
に同期して右シフトする。HaIt命令がない限り各ス
テツプ毎のプログラム終了後次のステツプに移動するた
めステツプカウンタ一はS信号によつてカウントアツプ
される。上記因キー(プログラム進行キー)の押圧によ
つてプログラムCM,l,X,M+,を連続的に実行す
る。Thereby, AND gates A2, b2 are opened and the program register BR is set to the executable state. P
The S command is output via the buffer Bu. This is control part C. is supplied to generate micro orders. The flip-flop FP is thereby set. The program is stopped at the next Halt command, and the first
When the date key is pressed after inputting the data a, the step counter 1 is counted up via the AND gate C2. Program register BR is step counter SC
Shift to the right in sync with. Unless there is a HaIt command, the step counter is incremented by the S signal in order to move to the next step after completing the program for each step. By pressing the cause key (program progress key), programs CM, 1, X, M+ are executed successively.
第2のデーターbの入力後国キー押圧によつて、X,M
+,1,MR,1,÷,一を実行して、プログラムを終
了する。この時、因キー(演算命令キー0rプログラム
進行キー)を伴つた割込み計算は不能であるので、FP
信号によつてジヤツジ回路Jを制御し、国キーによる通
常の演算制御を禁止する。After inputting the second data b, by pressing the country key,
Execute +,1,MR,1,÷,1 and end the program. At this time, interrupt calculation with the cause key (operation instruction key 0r program progress key) is not possible, so the FP
The signal controls the jersey circuit J, and normal arithmetic control using the country key is prohibited.
つまり国キーはプログラムの進行キーとしてのみ働く(
Ha!t時の)なお、フリツプフロツプFPはプログラ
ムのEND命令により発生されるマイクロオーダ[F]
でりセツトされる。In other words, the country key only serves as a program progression key (
Ha! Note that the flip-flop FP is a micro-order [F] generated by the END instruction of the program.
It will be reset.
ロ)プログラム演算のスタートをプログラム内容選択キ
ーA−Gで行う場合。b) When starting program calculation using program content selection keys A to G.
(PS命令がプログラムされていない時)。プログラム
レジスタARにはV7]石言7?を得るプログラム「H
,CM,l,X,M+,1,H,X,M+,1,MR,
1,÷,=,END」が記憶されているものとする。(When no PS instruction is programmed). Program register AR has V7] stone word 7? The program “H” that obtains
,CM,l,X,M+,1,H,X,M+,1,MR,
1,÷,=,END" is stored.
なお↓キーはスタートキーとして用いられていないから
割込み計算が可能である。Note that interrupt calculation is possible because the ↓ key is not used as a start key.
キー操作及び表示は次の通り。Key operations and displays are as follows.
動作は次の通り。The operation is as follows.
プログラム指定及びプログラムスタートキーAが押圧さ
れると、まずフリツプフロツプF1がセツトされる。When the program designation and program start key A is pressed, the flip-flop F1 is first set.
アンドゲートAl,blが開かれプログラムレジスター
ARが実行可能状態に設定される。今、プログラムレジ
スターAR中にPS命令がないので、フリツプフロツプ
FPはりセツト状態を保持する。(HaIt状態)第1
のデーターaの入力後プログラム実行専用キーAが押圧
されると、オアゲート01,及びアンドゲートC1及び
オアゲート02を介してステツ :プカウンタカ幼ウン
トアツプされ、CM,l,X,M+,1が実行され、途
中結果A2が求められる。次に第2のデーターB,乗算
キー凶,第3のデーターCの入力後の演算命令キー因押
圧により、割込み演算が実行され、b−cが求められる
。この 二時プログラム状態はHaIt状態である。又
、上記乗算を実行すべく押圧された日キーは、フリツプ
フロツプFPがりセツトであるので直接COに伝達され
る。AND gates Al and bl are opened and program register AR is set to an executable state. Since there is no PS instruction in the program register AR now, the flip-flop FP maintains the reset state. (HaIt state) 1st
When the program execution key A is pressed after inputting data a, the step counter is counted up via OR gate 01, AND gate C1, and OR gate 02, and CM, l, X, M+, 1 is executed. An intermediate result A2 is obtained. Next, by pressing the arithmetic command key after inputting the second data B, the multiplication key, and the third data C, an interrupt arithmetic operation is executed and b-c is obtained. This two-time program state is the HaIt state. Also, since the day key pressed to perform the above multiplication is a set on the flip-flop FP, it is directly transmitted to the CO.
次に囚キーを押圧するとステツプカウンタ一がカウント
アツプされ続く命令Xを実行し、以後連続してM+,1
,MR,1,÷,=、を実行してプログラムを実行し、
演算結果V7ワ貰コTτ「ア)5求められる。(プログ
ラム演算終了)なおPS命令がある時には演算命令キー
(国キー)でプログラムスタートを行い、PS命令がな
い時には専用キー(A−G)でプログラムスタートを行
つても差し支えない。Next, when the prisoner key is pressed, the step counter 1 counts up and the next instruction X is executed.
,MR,1,÷,=, to run the program,
Calculation result V7 Wagetko Tτ "A) 5 is obtained. (Program calculation complete) When there is a PS command, start the program with the calculation command key (country key), and when there is no PS command, use the dedicated keys (A-G) There is no problem in starting the program with .
PS命令はキーボード上のキーによつて設定される。叙
上のように本発明のプログラム演算スタート装置は指定
プログラム中にPS命令を書き込んでおくか否かによつ
て、演算指示キーをプログラムスタートキーとして使用
するか否かを決定できるので、プログラムの種類に応じ
て最も効率のよいキー操作を行うことができ、また従来
のように演算指示キーをプログラムスタートキーあるい
は本来の演算指示キーとして使用するためにわざわざス
イツチを切換える煩わしさが全くなくなり、プログラム
操作をスムーズに実行できるなどの利点がある。The PS command is set by a key on the keyboard. As described above, the program operation start device of the present invention can determine whether or not to use the operation instruction key as the program start key depending on whether or not the PS command is written in the specified program. The most efficient key operation can be performed depending on the type, and there is no need to go through the trouble of switching the switch to use the calculation instruction key as the program start key or the original calculation instruction key as in the past. It has the advantage of being able to perform operations smoothly.
第1図はプログラム電卓のキーボードの平面図、第2図
は本発明の一実施例のプロツク図である。FIG. 1 is a plan view of a keyboard of a program calculator, and FIG. 2 is a block diagram of an embodiment of the present invention.
Claims (1)
有する電卓において、プログラム実行中のハルト状態に
おけるプログラムスタート指示機能を前記演算指示キー
に付加するか否かの命令を前記プログラムレジスタに記
憶する手段と、プログラムスタート指示機能を付加され
た前記演算指示キーの操作に応答してプログラム演算を
引き続き実行する制御手段とを具備して成るプログラム
演算スタート装置。1. In a calculator having numeric keys, calculation instruction keys, and a program register, means for storing in the program register an instruction indicating whether or not to add a program start instruction function to the calculation instruction keys in the HART state during program execution; A program calculation start device comprising: control means for successively executing program calculations in response to the operation of the calculation instruction key to which a start instruction function is added.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP51145451A JPS5911940B2 (en) | 1976-11-29 | 1976-11-29 | Program calculation start device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP51145451A JPS5911940B2 (en) | 1976-11-29 | 1976-11-29 | Program calculation start device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS5368048A JPS5368048A (en) | 1978-06-17 |
JPS5911940B2 true JPS5911940B2 (en) | 1984-03-19 |
Family
ID=15385518
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP51145451A Expired JPS5911940B2 (en) | 1976-11-29 | 1976-11-29 | Program calculation start device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS5911940B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6319448A (en) * | 1986-07-07 | 1988-01-27 | ハリ− ウイリアム メイア− | Normally claw gear transmission |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS56114047A (en) * | 1980-02-12 | 1981-09-08 | Sharp Corp | Execution system of electronic computer |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5078136U (en) * | 1973-11-20 | 1975-07-07 |
-
1976
- 1976-11-29 JP JP51145451A patent/JPS5911940B2/en not_active Expired
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6319448A (en) * | 1986-07-07 | 1988-01-27 | ハリ− ウイリアム メイア− | Normally claw gear transmission |
Also Published As
Publication number | Publication date |
---|---|
JPS5368048A (en) | 1978-06-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS60262204A (en) | Programmable controller | |
JP3048182B2 (en) | Portable electronic devices | |
US3806714A (en) | Sequence controller | |
JPS5911940B2 (en) | Program calculation start device | |
JPS592940B2 (en) | Input data correction method for electronic equipment | |
JPS61114831A (en) | System of storing and displaying data on mold of injection molding machine | |
JPH0314120A (en) | Keyboard and mouse incorporated type input device | |
JPH0578055B2 (en) | ||
JPH04178814A (en) | Keyboard input device | |
JPH0228757A (en) | document creation device | |
JPS5943789B2 (en) | small computer | |
JPH0421151Y2 (en) | ||
US4651295A (en) | Electronic desk-top calculator | |
JP2707162B2 (en) | Data processing device | |
JPWO2024034043A5 (en) | ||
JPS6230112Y2 (en) | ||
JPS59142637A (en) | Input and output display device with operation guide | |
JPH0720769Y2 (en) | Small electronic calculator with programming function | |
JPH09265374A (en) | Menu selection processing method | |
JPS623345A (en) | Interruption system | |
JPH0354607A (en) | Program restarting system for automatic operation | |
JPH0537314Y2 (en) | ||
JPS6129071Y2 (en) | ||
JPS60243762A (en) | Data input system | |
JPS605007B2 (en) | Key input method |