JPS5818654B2 - Arithmetic device based on key operations according to mathematical formulas - Google Patents

Arithmetic device based on key operations according to mathematical formulas

Info

Publication number
JPS5818654B2
JPS5818654B2 JP49083059A JP8305974A JPS5818654B2 JP S5818654 B2 JPS5818654 B2 JP S5818654B2 JP 49083059 A JP49083059 A JP 49083059A JP 8305974 A JP8305974 A JP 8305974A JP S5818654 B2 JPS5818654 B2 JP S5818654B2
Authority
JP
Japan
Prior art keywords
register
key
signal
gate
stored
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP49083059A
Other languages
Japanese (ja)
Other versions
JPS51132049A (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP49083059A priority Critical patent/JPS5818654B2/en
Publication of JPS51132049A publication Critical patent/JPS51132049A/en
Publication of JPS5818654B2 publication Critical patent/JPS5818654B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Calculators And Similar Devices (AREA)

Description

【発明の詳細な説明】 本発明は括弧を含む数式の順序に直接従ってキー操作を
行なえる演算装置に関し、特に右括弧キーを押したとき
括弧内の演算結果が表示される演算装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an arithmetic device that allows key operations to be performed directly in accordance with the order of mathematical expressions that include parentheses, and more particularly to an arithmetic device that displays the results of calculations within the parentheses when the right parenthesis key is pressed.

四則演算キーを有する電子式卓上計算機等における演算
のキー操作方式は第1図A、Bの方式、1〜3に示すも
のか従来性なわれていた。
Key operation methods for calculations in electronic desktop calculators and the like having four arithmetic operation keys have been conventional, such as the methods shown in FIGS. 1A and 1B and 1 to 3.

方式1は(+・−)キー口、(−・−)キー冒司を有し
完全数式通りではない。
Method 1 has (+/-) key entry and (-/-) key entry, and is not completely mathematically correct.

方式2,3は括弧を含む数式の場合、完全数式通りに行
なえない。
Methods 2 and 3 cannot be performed exactly according to the formula if the formula includes parentheses.

本発明は第1図A、Bの本発明方式の欄に示す如く数式
に直接従ったキー操作で演算処理を行なえる如く構成し
、かつ第1図Bの如く括弧キーを含む数式に好適なもの
である。
The present invention is constructed so that arithmetic processing can be performed by key operations that directly follow a mathematical formula, as shown in the columns of the method of the present invention in FIGS. It is something.

ここで本発明に用いる用語の簡単な説明を付しておく。Here, a brief explanation of terms used in the present invention will be given.

加減乗除、べき乗を各々+1 1 * S / 3↑で
表わし、演算子(operator″)!:呼ぶ第2,
3図は本発明計算装置の第1の実施例を示すブロック図
にして、1は数値データ及び命令;を入力するためのキ
ーボードで数式に従ってそのまま各キーを押下していく
だけで演算実行が可能である。
Addition, subtraction, multiplication, division, and exponentiation are each expressed as +1 1 * S / 3↑, and the second,
Figure 3 is a block diagram showing the first embodiment of the computing device of the present invention, and 1 is a keyboard for inputting numerical data and instructions; calculations can be executed simply by pressing each key according to a mathematical formula. be.

このキーボードは数値デークキ−巨司〜El、小数点キ
ー口、四則演算命令キーEl、−B、E]、括弧キー[
薯・■・等号キー日・ゞ< き乗+1(例えば23を演
算する場合2゜G、3 のように使用する)、表示
レジスタ(例えばAcc)、表示レジスタクリアキーE
]全レジスタオールクリアキー[等を主として具備して
いる。
This keyboard has a numerical data key - Koshi ~ El, a decimal point key, four arithmetic operation command keys El, -B, E], a parenthesis key [
薯・■・Equal sign key date・ゞ< multiplication + 1 (for example, when calculating 23, use 2゜G, 3), display register (for example, Acc), display register clear key E
] All register all clear key [ etc. are mainly provided.

2は通常のエンコーダにしてキーボード1からのキー信
号をコード化して演算装置に入力せしめる。
Reference numeral 2 denotes an ordinary encoder for encoding key signals from the keyboard 1 and inputting the encoded signals to the arithmetic unit.

特に演算子である閑、目1口。−[Z]キーの場合は第
5図示の如くコード化して順位を付しておく。
Especially the operator Kan, Me 1 Kuchi. - In the case of the [Z] key, it is coded and ranked as shown in Figure 5.

3は左右両方向シフト可能なレジスタTRで、前記演算
子がコード化されて押下した順序に格納される。
3 is a register TR that can be shifted in both left and right directions, and the operators are coded and stored in the order in which they are pressed.

このコード信号の順位とは例えば第5図に示すように、
譜か第1位、×、÷か第2位、+、−か第3位、C,(
、=が第4位という具合に各々実行優先順位が定められ
る。
The order of this code signal is, for example, as shown in FIG.
Score or 1st place, ×, ÷ or 2nd place, +, - or 3rd place, C, (
, = is ranked fourth, and so on.

4は比較判別回路にして第3図示の如くレジスタTRの
LSD桁の格納内容を判別して演算実行順序の選択を行
ない制御部5へ伝える。
Reference numeral 4 denotes a comparison/discrimination circuit which discriminates the contents stored in the LSD digit of the register TR as shown in FIG.

この詳細は第3図に開示している。The details are disclosed in FIG.

制御部5はキーボード1からのデータ及び命令により各
種制御を行なう。
The control unit 5 performs various controls based on data and commands from the keyboard 1.

6はレジスタ7.8及び9間の四則演算の制御を行なう
回路である。
6 is a circuit for controlling four arithmetic operations between registers 7, 8 and 9;

10〜14は被演算数、演算数を一時貯え、各種数式を
数式通りのキー操作で実行するための数値用レジスタ群
である。
Numerical registers 10 to 14 are used to temporarily store operands and arithmetic numbers, and to execute various mathematical formulas by key operations according to the mathematical formulas.

A1〜A9はデータ移動、A10〜AI9はLSDの内
容判別を制御するためのアントゲ−h、01〜05はオ
アゲート、■1〜■7はインパーク、Ml 、M2は
たとえば関数計算、定数乗算などのための通常のメモリ
ーレジスタである。
A1 to A9 are for data movement, A10 to AI9 are for controlling the LSD content determination, 01 to 05 are for or gates, ■1 to ■7 are for impark, Ml and M2 are for example, function calculation, constant multiplication, etc. is a normal memory register for.

全数式A、+BXC−の演算を数式に直接従ったキー操
作(第1図Aの数式A十BXC二の本発明方式欄図示)
で実行させる場合の作動を第2,3図の回路図、第4図
のフローチャート、第5図のコード及び順位表、第6図
Aの各キー押下後の各レジスタの最終内容の推移表で説
明する。
All formulas A and +BXC- are operated by key operations directly according to the formula (as illustrated in the method column of the present invention for formulas A and BXC2 in Figure 1A).
The circuit diagrams in Figures 2 and 3, the flowchart in Figure 4, the code and ranking table in Figure 5, and the transition table of the final contents of each register after each key is pressed in Figure 6 explain.

今クリアキー−を押下して第4図a図示の如く全レジス
タがクリアされたものとし、数値データAをキーボード
1の数値キ一群から入力させるとレジスタACCに格納
される。
It is now assumed that all registers are cleared by pressing the clear key as shown in FIG.

この状態は第6図BのステップA行に示される。This state is shown in step A line of FIG. 6B.

次にロキーを押下すると第4図すに示す処理を制御部5
で行なう。
Next, when the key is pressed, the control unit 5 executes the process shown in FIG.
Let's do it.

すなわちレジスタTRの最下位桁(LSD)に格納され
ているコード信号の内容により具体的処理方法が異なり
、LSDの内容がコード信号0でないならば処理1に進
みコード信号Oならば処理2に判別回路4で判別されて
各各進む。
In other words, the specific processing method differs depending on the content of the code signal stored in the least significant digit (LSD) of the register TR; if the content of the LSD is not the code signal 0, proceed to process 1, and if the code signal is O, proceed to process 2. It is determined by circuit 4 and each step proceeds.

今の場合全レジスタかクリアされた直後で、LSDの内
容は第5図に定められたクリアキーElのコード信号O
であるから処理2に進む。
In this case, immediately after all registers have been cleared, the contents of the LSD are the code signal O of the clear key El defined in Figure 5.
Therefore, proceed to process 2.

すなわち第3図においてレジスタTRのLSDの内容を
ダイオードマトリックス回路で成る判別回路4で判別り
、LSDの内容Oより判別出力線Oに出力か生じ、アン
ドゲートA15を開くことにより処理2の実行命令か制
御部5に出される。
That is, in FIG. 3, the contents of the LSD in the register TR are determined by the discriminating circuit 4 made up of a diode matrix circuit, an output is generated from the contents O of the LSD to the discriminating output line O, and an execution command for process 2 is issued by opening the AND gate A15. or is sent to the control section 5.

処理2は第4図Jに示す如くレジスタACCの内容をア
ンドゲートA1を開いてレジスタSR1に移動させ、S
R1の内容をアントゲ゛−1−A3を開いてレジスタS
R2に移動させ、アントゲ−1−A5゜A7.A9.・
・・・・・、を開いてレジスタSR2→SR3→SR4
→SR5と各レジスタのテ゛−タ内容を移動させる。
In process 2, as shown in FIG. 4J, the contents of register ACC are moved to register SR1 by opening AND gate A1, and S
Open ant game-1-A3 and save the contents of R1 to register S.
Move to R2, Antoge-1-A5°A7. A9.・
...Open register SR2 → SR3 → SR4
→Move the data contents of SR5 and each register.

このデータ移動命令は制御部5の出力端子P−Dより発
生される。
This data movement command is generated from the output terminal PD of the control section 5.

このようにデータ1語単位でレジスタ間を移動させる処
理を以下PUSHDOWNと呼称する。
The process of moving data between registers in units of one word is hereinafter referred to as PUSHDOWN.

処理2のブツシュダウンか終ったら、レジスタTRを1
桁左シフトさせて、それが終ったらリターンするから第
4図すに戻り、処理2の次の処理すなわちレジスタTR
のLSDに第5図で定められたロキーのコード信号1を
格納して停止する。
After the bushdown of process 2 is completed, set register TR to 1.
Shift the digits to the left, and when that is finished, return to Figure 4 and proceed to the next process of process 2, that is, register TR.
The Lokey code signal 1 defined in FIG.

したがってこの状態の各レジスタの格納内容は第6図A
のステラプロ]行に示す如く、レジスタA c cにデ
ータAルジスタTRのLSDにコード信号1、レジスタ
SR1にデータAか格納された状態となる。
Therefore, the contents stored in each register in this state are shown in Figure 6A.
As shown in the STELLA PRO] line, the code signal 1 is stored in the LSD of the data A register TR in the register AC, and the data A is stored in the register SR1.

次にデータBをキーボード1の数値キ一群から入力させ
ると、レジスタAcc の格納内容AがBに書き換えら
れ、第6図Bのステ718行に示す如くなる。
Next, when data B is inputted from the group of numeric keys on the keyboard 1, the content A stored in the register Acc is rewritten to B, as shown in step 718 line of FIG. 6B.

この段階では次に入力される命令キーか+s s X
s÷、I のどれか分らないので、未だ演算は実行さ
れず、したかってA+Bの加算演算は行なわない。
At this stage, the next command key to be input is +s s
Since it is not known whether s÷ or I, the operation is not executed yet, so the addition operation of A+B is not performed.

次に四暑キーが押下されると第4図dの処理を制御部5
で行なう。
Next, when the 4-heat key is pressed, the control unit 5 executes the process shown in FIG.
Let's do it.

すなわちレジスタTRのLSDの内容がコード信号2よ
り太きいならば処理1へ進み、2より小さいならば処理
2へ判別回路4で判別されて各々進むが、今の場合レジ
スタTRのLSDには先に押されたロキーのコード信号
1が格納されており、2より小さい場合に相当するから
第3図のアンドゲートA18か開き処理2へ進む。
That is, if the content of the LSD in register TR is thicker than code signal 2, the process proceeds to process 1, and if it is smaller than 2, the process proceeds to process 2. Since the code signal 1 of the pressed key is stored, and this corresponds to a case smaller than 2, the process proceeds to AND gate A18 or opening process 2 in FIG.

処理2は第4図jに示され、前作動と同様に数値データ
B、Aのブツシュダウン処理及びレジスタTRの1桁左
シフトを制御部5の制御により終えたら第4図dにリタ
ーンし、レジスタTRのLSDに第5図で定められた■
キーのコード信号3を格納して停止する。
Processing 2 is shown in FIG. 4j, and after finishing the bushing down of numerical data B and A and shifting the register TR by one digit to the left under the control of the control unit 5, the process returns to FIG. ■ As defined in Figure 5 for TR's LSD
Stores the key code signal 3 and stops.

この段階では第6図AのステップX行に示す如くレジス
タAcc にはデータBルジスタTRのLSDにコード
信号3、LSD+1桁にコード信号1、レジスタSR1
にデータB1 レジスタS’R2にデータBが格納され
た状態となる。
At this stage, as shown in step X line of FIG.
Data B1 is stored in register S'R2.

データCの置数ではレジスタAccの前の格納内容Bを
Cに書き換えるだけで何らデータ移動は起らないし、ま
たどの種の演算もこの段階でも実行しない。
In the case of setting the data C, the previous stored content B of the register Acc is simply rewritten to C, and no data movement occurs, and no calculations of any kind are performed at this stage.

次に結果算出命令キー■を押下すると第4図りに示す処
理を制御部5で行なう。
Next, when the result calculation command key ■ is pressed, the control section 5 performs the processing shown in the fourth diagram.

すなわちまず■キー押下の場合と同様に、レジスタTR
のL S D内に格納されたコード信号がOであるか否
かの判別を行なう。
In other words, first, as in the case of pressing the ■ key, the register TR is
It is determined whether or not the code signal stored in the LSD of is O.

今の場合第6図BステップC行に示す如くレジスタTR
のL S Dにはト■キーのコード信号3か格納されて
いるから轟然Oではなく、第3図のアンドゲートA10
が開いて処理1に進む。
In this case, as shown in FIG. 6, step B, line C, the register TR
Since the code signal 3 of the key is stored in the LSD of
opens and proceeds to process 1.

処理1は第4図Rに示す如き処理を制御部5、演算実行
回路6及びレジスタ群にて行なう。
In process 1, the process shown in FIG. 4R is performed by the control section 5, the arithmetic execution circuit 6, and the register group.

今しジスクTRのLSDは3であるからTRLSD=3
の判別部のYes に進み、レジスタSRIとレジス
タAccの各々の格納デ゛−り同士(今の場合B吉C’
)の乗算演算を演算実行回路6にて制御部5の制御によ
り実行し、算出結果である積(BXC)をレジスタAc
cに格納する。
Now, the LSD of Jisk TR is 3, so TRLSD=3
Proceeds to Yes in the determination part of , and compares the storage locations of register SRI and register Acc (in this case B, C'
) is executed in the operation execution circuit 6 under the control of the control unit 5, and the product (BXC) that is the calculation result is stored in the register Ac.
Store in c.

かかる乗算演算またはその他加減除算等の演算実行は周
知の一般技術例えばUSP3302183 のFig
IAに記載されているPROCESSORIO及びA
RITI(METICUNIT 22等で容易に行なう
こさができる。
The execution of such multiplication operations or other operations such as addition, subtraction, and division can be carried out using well-known general techniques, such as the FIG.
PROCESSORIO and A described in IA
This can be easily done using RITI (METICUNIT 22, etc.).

次に制御部5の出力端子P、Uよりデータ移動命令か発
生し、アントゲ−1−A8゜A6.A4.A2を開いて
レジスタSR5の内容をSR4に、SR4の内容をSR
3に、SR3の内容をSR2に、レジスタSR2の内容
をレジスタSR1に移動させる。
Next, a data movement command is generated from the output terminals P and U of the control section 5, and the Antogame-1-A8°A6. A4. Open A2 and transfer the contents of register SR5 to SR4 and the contents of SR4 to SR.
3, the contents of SR3 are moved to SR2, and the contents of register SR2 are moved to register SR1.

この処理を以下POP UPと呼称する。This process is hereinafter referred to as POP UP.

次にレジスタTRを1桁右シフトして、演算の終了した
乗算コード信号3を消去する。
Next, the register TR is shifted to the right by one digit to erase the multiplication code signal 3 for which the operation has been completed.

この段階では第6図AのステップCの2行目に示す如く
レジスタAccには積BXC,レジスクTRのLSDに
は加算コニド信号1、レジスタSR1にはSR2の内容
Aがポツプアンプされて格納され、レジスタSR3には
レジスタSR4の内容Oが格納されてクリアされる。
At this stage, as shown in the second line of step C in FIG. 6A, the product BXC is stored in the register Acc, the addition conid signal 1 is stored in the LSD of the register TR, and the content A of SR2 is pop-amplified and stored in the register SR1. The contents O of register SR4 are stored in register SR3 and cleared.

以下のレジスタはホップアップ処理によりデータ移動か
行なわれてもその内容は全れもOであるから白変の変更
はない。
Even if data is moved in the following registers by the hop-up process, the contents are all O, so there is no change in whitening.

次に処理1か終了すると、リターンし第4図りのTRL
S D−〇?の判別部に再び戻る。
Next, when processing 1 is completed, return to the TRL of the 4th pattern
SD-〇? Return to the discrimination part again.

今の場合レジスタTRのLSDには加算コード信号1が
格納されているから再び処理1に進む。
In this case, since the addition code signal 1 is stored in the LSD of the register TR, the process returns to process 1.

処理1では今度はTRLSD=1であるからレジスタS
RIの内容+4 A ll、、=レジスタAccの内容
″’BXC”が制御部5の制御により演算実行回路6で
加算実行され、答”A+BXC”をレジスタAccに格
納する。
In process 1, since TRLSD=1 this time, register S
Contents of RI+4 A ll, ,=contents of register Acc "'BXC" are added in arithmetic execution circuit 6 under the control of control unit 5, and the answer "A+BXC" is stored in register Acc.

再びポツプアップ処理が行なわれ、レジスタTRを1桁
右シフトすると第6図Aのステラプロ行に示す如く、レ
ジスタAccに答A+BXCが格納され、他のレジスタ
は全てその内容はO吉なる。
Pop-up processing is performed again, and when register TR is shifted to the right by one digit, the answer A+BXC is stored in register Acc, as shown in the Stellar Pro line of FIG. 6A, and the contents of all other registers become O.

ここでさらに第4図11にリターンし、もう一度レジス
タTRのLSDを判別する。
At this point, the process returns to FIG. 4 and the LSD of the register TR is determined once again.

もはやレジスタTRのLSDは前に格納されていた加算
コード信号1は1桁右シフトgれて消去されており、今
の格納内容はOであるからTIRLSD:O?の判別は
Yes に進み、HALTで全ての演算処理を終了し、
レジスクA、cc内の答”A+BXC”を表示または印
字装置Oで読み取ることができる。
The previously stored addition code signal 1 in LSD of register TR has been shifted to the right by one digit and erased, and the current stored content is O, so TIRLSD:O? The determination goes to Yes, and all arithmetic processing is finished with HALT.
The answer "A+BXC" in the register A, cc can be displayed or read by the printing device O.

本実施例は上記の如く、演算子+j j * j Z
↑に実行優先順位を第5図の如く定め、これらを押下し
た順に格納するレジスタTRを適宜左右にシフトするサ
サもにデータ格納用レジスタ群をそれに対応させて適宜
ブツシュダウン、ポツプアップ処理を行なうこ吉により
、簡易な構成で数式に直接従ったキー操作で答を得るこ
とができるものである。
In this embodiment, as described above, the operator +j j * j Z
↑ Set the execution priority as shown in Figure 5, and shift the register TR to the left or right as appropriate in the order in which these keys are pressed.Also, set the data storage register group to correspond to it and perform pushdown and popup processing as appropriate. With this simple structure, the answer can be obtained by key operations that directly follow the mathematical formula.

本発明の特徴をさらに説明するために、以下に括弧キー
@ 、 @を用いる例(例えばAX(B+C)二)を説
明する。
In order to further explain the features of the present invention, an example using the bracket keys @ and @ (for example, AX(B+C)2) will be described below.

すなわち数式A×(B+C)二の計算結果を、括弧キー
■、■を用いて数式に従ったキー操作で演算実行させる
場合の作動を第2.3,4゜5図、第6図Bを参照して
説明する。
In other words, the operation when calculating the result of the formula A × (B + C) 2 by key operations according to the formula using the bracket keys ■ and ■ is shown in Figures 2.3, 4゜5 and Figure 6B. Refer to and explain.

クリアキーを押下してデータAをレジスタAccに入力
させるのは前例同様に行なう。
Pressing the clear key to input data A into register Acc is performed in the same manner as in the previous example.

次に×キーを押下すると第4図dの処理を行なう。Next, when the x key is pressed, the process shown in FIG. 4d is performed.

すなわちレジスタTRのLSDの内容か2より小さいな
らば処理2へ進み、2より大きいならば処理1へ進む。
That is, if the content of the LSD of the register TR is less than 2, the process proceeds to process 2, and if it is greater than 2, the process proceeds to process 1.

今回の場合クリアされた直後でLSDの内容はOである
から第3図のアントゲ−1418か開き、処理2のルー
チンに進める命令が制御部5に入る。
In this case, immediately after being cleared, the content of the LSD is O, so an instruction to open the anime game 1418 in FIG. 3 and proceed to the process 2 routine is entered into the control section 5.

処理2は前述の如く第4図jに示されレジスタAccの
内容をアンドゲートA1を開いてレジスタSR1に移動
し、SR1の内容をアンドゲートA3を開いてレジスタ
SR2に移動し、以下アンドゲートA5 、A7 、A
9・・・・・・を開いてSR2→SR3・・・・・・S
R4→SR5と1語単位でレジスタ間のブツシュダウン
移動を行い、レジスタTRを1桁左シフトし、次に第4
図dの処理2の次の処理すなわち乗算コード信号3かレ
ジスタTRのLSDに格納されて停止する。
Processing 2 is shown in FIG. 4J as described above, and the contents of register Acc are moved to register SR1 by opening AND gate A1, the contents of SR1 are moved to register SR2 by opening AND gate A3, and then the contents of register Acc are moved to register SR2 by opening AND gate A5. , A7 , A
9... Open SR2 → SR3...S
Move registers down by one word from R4 to SR5, shift register TR by one digit to the left, and then shift register TR by one digit to the left.
The next process after process 2 in FIG. d is that the multiplication code signal 3 is stored in the LSD of register TR and then stopped.

[暑キーを押下した後におおては第6図BのステップX
行に示す如く、レジスタAccの内容AかレジスタSR
1にブツシュダウンされ、また同時に乗算演算を表わす
コード信号3がレジスタTRのLSDに格納された状態
さなる。
[After pressing the hot key, step X in Figure 6B]
As shown in the line, the contents A of register Acc or register SR
1, and at the same time, a code signal 3 representing a multiplication operation is stored in the LSD of the register TR.

このとき他のレジスタSR2・・・・・・にはデータが
未だ入らず0を単に移動させるだけである。
At this time, no data has yet entered the other registers SR2, and 0 is simply moved thereto.

次に■キーを押下すると第4図fに示すようにレジスタ
Accに0を格納(クリア)シ、レジスタTRのLSD
から最上位桁(MSD)の範囲にわたって1桁右シフト
を行い結果としてLSD桁に0が格納される。
Next, when the ■ key is pressed, 0 is stored (cleared) in the register Acc as shown in Figure 4 f, and the LSD of the register TR is
A one-digit right shift is performed over the range from to the most significant digit (MSD), and as a result, 0 is stored in the LSD digit.

次にデータBの置数ではデータAかクリアされたレジス
タAccに格納される。
Next, in the case of data B, data A is stored in the cleared register Acc.

+キーが押されるさ第4図すに示す処理ルーチアに入る
がロキーの場合と違うこさは、レジスタTRのLSDが
0でなければ第3図のアンドゲートA14か開き、処理
1に、0ならアンドゲートA15か開いて、処理2へゆ
く。
When the + key is pressed, the processing routine shown in Figure 4 is entered, but the difference from the Lokey case is that if the LSD of register TR is 0, AND gate A14 in Figure 3 is opened, and processing 1 is entered; Open AND gate A15 and proceed to process 2.

この事は前例同様にレジスタTRのLSDにはそれぞれ
の命令キーの直前に押された命令キーがコード化されて
格納されているからこれとの比較で優先順位の判定を行
いこの結果に従って演算制御が行なわれる事を意味する
As in the previous example, the LSD of register TR stores the coded instruction key pressed immediately before each instruction key, so the priority is determined by comparing it with this and the calculation is controlled according to this result. means that something is done.

すなわち前例も含めて本発明の特徴を表現し直せばロキ
ーロキーの場合各々のキーの両側に存在するデータ同士
の乗算または除算の演算か実行されるのは前に押された
命令キーかコード3,4、または5の口、Elまたは四
日キーの時に限られるがEl、Elキーの各々のキーの
両側に存在するデータ同士の加算または減算の演算が実
行される場合はこれにさらに■。
In other words, to re-express the features of the present invention including the previous example, in the case of Roki-Lokey, the operation of multiplying or dividing data existing on both sides of each key is executed by the previously pressed command key or code 3, This is limited to the case of the 4th or 5th key, the El key, or the 4th key, but if an operation of addition or subtraction between data existing on both sides of the El key or the El key is executed, add ■.

「キーが追加される。"A key is added.

つまり第3図の比較判別回路4、第4図のフローチャー
ト及び第5図の順位表からもわかるようにべき乗計算の
場合ロキーを除くすべての命令キーで演算は実行するか
乗除算の場合口薯と11キーを除くすべての命令キーで
演算実行と条件がせばまり、加減算となるささらにII
、IZI 、El、9キーを除く命令キーで演算実行ス
タートというように限定されてくる。
In other words, as can be seen from the comparison/discrimination circuit 4 in Fig. 3, the flowchart in Fig. 4, and the ranking table in Fig. 5, in the case of exponentiation calculations, all command keys except the LO key are used to execute the calculations. All command keys except the 11 key are used to perform calculations and the conditions are short, and it becomes addition and subtraction.
, IZI, El, and command keys other than the 9 keys are limited to starting calculation execution.

この事は、演算優先順位の判別機能を意味し1操作者の
キー操作順序は数式に従ったままで、計算機本体で自動
的に計算順位の位置づけを行い遂次演算をスタートまた
は命令さそれに付随するデータの記憶→待機という制御
が可能である事を意味する。
This means a function to determine the calculation priority, and while the key operation order of one operator remains in accordance with the mathematical formula, the computer itself automatically positions the calculation order and starts or commands successive calculations. This means that it is possible to control data from storage to standby.

今回の場合つまりし]キーの押された時点ではこのキー
の直前に押された命令キーは、「日であり、これは結果
としてOかレジスタTRのLSDに格納されており、ア
ントゲ−1−A15が開くから第4図Jの処理2を行う
べくデータBをSRレジスク群にブツシュダウンする。
In this case, at the time when the ] key was pressed, the command key pressed immediately before this key is "day," which is stored in the LSD of O or register TR as a result, and the Since A15 is opened, data B is pushed down to the SR resist group in order to perform process 2 in FIG. 4J.

この結果データBはレジスタSRIにデータAはレジス
タSR2に格納される事になる。
As a result, data B is stored in register SRI and data A is stored in register SR2.

次にレジスタTRのLSDからMSDの範囲で1桁左シ
フトを行い、レジスタTRのLSDに第5図示の■キー
のコード信号1を格納し、第4図すの処理ルーチンを終
る。
Next, a one-digit left shift is performed in the range from LSD to MSD of register TR, and code signal 1 of the ■ key shown in FIG. 5 is stored in LSD of register TR, and the processing routine of FIG. 4 is completed.

次にデータCの置数ではレジスタAccの前の格納内容
BをCに書き換え、この段階では第6図Bのステ710
行に示す如く各データA、B、CはそれぞれレジスタS
R2、レジスタSR1、レジスタAccに記憶されてい
る。
Next, in the number of data C, the previous stored content B of the register Acc is rewritten to C, and at this stage step 710 of FIG.
As shown in the rows, each data A, B, and C is stored in a register S.
R2, register SR1, and register Acc.

次に■キーを押下した場合を第4図gのフローチャート
に従って説明するさまず、レジスタTRのLSDの判別
か行なわれるか、今これは°“1′′であるから第3図
のアンドゲートA12が開き、第4図Rに示す処理1の
ルーチンに進むべき命令信号が制御部5に与えられる。
Next, the case where the ■ key is pressed will be explained according to the flowchart in FIG. is opened, and a command signal to proceed to the processing 1 routine shown in FIG. 4R is given to the control section 5.

ここでは前述の如くさらに詳しくレジスタTRのLSD
の内容の解拓か行なわれる。
Here, as mentioned above, we will explain the LSD of register TR in more detail.
The contents of the book will be explored.

いまレジスタTRのLSDは1″であるからすぐ下に進
み加算命令が発生されレジスタSR1の内容91 B
uにレジスタAccの内容el C9か演算実行回路6
にて加えられ(和)はレジスタA c cに格納される
Now, the LSD of register TR is 1'', so it goes immediately below, an addition instruction is generated, and the contents of register SR1 are 91B.
Contents of register Acc to u C9 or operation execution circuit 6
The addition (sum) is stored in register A c c.

次に制御部5の出力端子P、Vからデータ移動命令が出
てアントゲ−1−A8.A6゜A4.A2を開きレジス
タSR5→5R4−+SR3→SR2→SR1なるポツ
プアップデータ移動を実行するとともにレジスタTRの
LSDからMSDの範囲で1桁右シフトを行い判別ポイ
ントにリターンする。
Next, a data movement command is issued from the output terminals P and V of the control unit 5, and the data movement command is output from the output terminals P and V of the control unit 5, and the data movement command is output from the output terminals P and V of the control unit 5. A6゜A4. A2 is opened and the pop-up data is moved from register SR5 to 5R4-+SR3 to SR2 to SR1, and the register TR is shifted to the right by one digit in the range from LSD to MSD, and returns to the determination point.

この時点でレジスタAc cにはB 11++T C1
1の和が格納され出力装置Oで視認できる。
At this point, register Ac c contains B 11++T C1
The sum of 1 is stored and visible on the output device O.

レジスタSR1にはA″か格納されレジスタTRのLS
Dは0″だから今回の判別結果により、レジスタTRの
LSDからMSDの範囲で再度1桁左シフトを行い待機
の状態に入り、第6図Bのステップ−行に示すレジスタ
の格納内容となり、このキーによる仕事を完了する。
A'' is stored in register SR1, and LS of register TR
Since D is 0'', based on the result of this judgment, the register TR is shifted to the left again by one digit in the range from LSD to MSD and enters the standby state, resulting in the contents stored in the register shown in the step-line of Figure 6B. Complete tasks with keys.

次に押されるロキーでは、第4図りに示す如くこの時も
レジスタTRのLSDをチェックし、今レジスタTR(
7)LSDは°゛3″であるから第3図のアンドゲート
A10が開き処理1への進行命令が制御部5に入り、第
4図Rの処理1のTRLSD=37のYes に進むか
ら乗算命令が発生され、レジスタSR1の内容+!AJ
lにレジスタAccの内容u B 11+ 41 C1
1か乗せられ、この結果はレジスタAccにもたらされ
、SRレジスタ群のポツプアップ処理とレジスタTRの
LSDからMSDの範囲の1桁左シフトを行い、チェッ
クポイントにもどる。
When the next key is pressed, the LSD of the register TR is checked as shown in the fourth diagram, and now the register TR (
7) Since the LSD is °゛3'', the AND gate A10 in Fig. 3 opens and a command to proceed to processing 1 enters the control unit 5, and the process proceeds to Yes of TRLSD = 37 in processing 1 in Fig. 4 R, so multiplication is performed. An instruction is generated and the contents of register SR1 +!AJ
Contents of register Acc in l B 11+ 41 C1
1 is added, this result is brought to the register Acc, the SR register group is popped up, the register TR is shifted to the left by one digit in the range from LSD to MSD, and the process returns to the checkpoint.

この時点でレジスタSR1〜SR5はすべて0″となり
レジスタTRのLSDからMSDを全桁罰”、レジスタ
Accには数式の答tl A”×(” B ” + ”
C” )か格納された状態であり、最終判別の結果レ
ジスタTRのLSDが0″であるから待機の状態に入り
すべての計算を完了した事になる。
At this point, registers SR1 to SR5 are all 0'', and all digits from LSD to MSD in register TR are penalized.
C") has been stored, and since the LSD of the register TR is 0" as a result of the final determination, it enters a standby state and all calculations have been completed.

第6図C,D、E、Fは第2,3図示の実施回路におけ
る他の演算例を示すもので前記同様第4図示の処理に従
うものである。
6C, D, E, and F show other calculation examples in the implementation circuits shown in the second and third figures, which follow the processing shown in the fourth figure as described above.

特に第6図Cは+、−同士の如く順位か3で同じの場合
は入力された順に演算を実行する場合を説明している。
Particularly, FIG. 6C explains the case where if the order is the same, such as + and -, the calculations are executed in the order in which they were input.

第7図は本発明の第2の実施例を示すブロック図にして
第2図示例とは異なってレジスタTRのL S D+
1桁目の内容とLSDに新しく入る演算子命令とを比較
判別し、同時に新しい命令はレジスタTRのLSD桁に
格納してしまう方式で第13図Aに示される如くその処
理制御は第4図の例よりも簡単に行なうとさか可能であ
る。
FIG. 7 is a block diagram showing a second embodiment of the present invention.
The contents of the first digit and the new operator instruction entering the LSD are compared and determined, and at the same time the new instruction is stored in the LSD digit of the register TR.As shown in FIG. 13A, the processing control is as shown in FIG. It is possible to do this more easily than in the example above.

第8゜9.10図は第7図の詳細図、第11図はその作
動を説明するための基本タイミングパルス波形図、第1
2図は数式AX (B+C)=演算を第8図の回路例で
行なわせる際の作動を説明するタイミングチャートで、
そのステップ毎の各レジスタの内容の推移を第14図に
示している。
Figure 8.9.10 is a detailed diagram of Figure 7, Figure 11 is a basic timing pulse waveform diagram to explain its operation, and Figure 1
Figure 2 is a timing chart explaining the operation when the mathematical formula AX (B+C) = calculation is performed using the circuit example in Figure 8.
FIG. 14 shows the transition of the contents of each register at each step.

以下第7図に示した本発明の第2の実施回路例の構成及
び作動を、第7図詳細を開示した第8図及び第9〜14
図の図面を参照して説明する。
The configuration and operation of the second embodiment circuit example of the present invention shown in FIG. 7 will be described below with reference to FIGS.
This will be explained with reference to the drawings in the figures.

第9図は第11図A、Bの各種タイミングパルスを生成
するパルス発生器の具体的実施回路例である。
FIG. 9 shows a concrete example of a circuit of a pulse generator that generates the various timing pulses shown in FIGS. 11A and 11B.

すなわち発振器O8CからのクロックパルスCPをフリ
ップフロップF1.F2を介して信号Fo1 、Fo2
を取り出し、またアンドゲートA21,22,23゜2
4より各々1−2−4−8の重みを有する信号TBO、
TBl 、TB2 、TB3を取り出す。
That is, the clock pulse CP from the oscillator O8C is sent to the flip-flop F1. Signals Fo1, Fo2 via F2
Take out the and gate A21, 22, 23゜2
a signal TBO with weights of 1-2-4-8 from 4, respectively;
Take out TBl, TB2, and TB3.

今この実施例の場合、1ワ一ド10桁に設定したの・で
、フリップフロップFil、12,14.’18より各
々セット出力信号Fo11.Fo12゜Fe14.Fo
lBか信号Fo2の入力により第11図Bの如く各々取
り出され、また1ワ一ド10桁の最下位桁信号T LS
D、その次の桁信号’I’ LSD−1−1、最上位桁
信号TMSD、1ワード終了信号TEWが各々第9図の
アンゲー1−A2B。
In this embodiment, one word is set to 10 digits, so the flip-flops Fil, 12, 14 . From '18, each set output signal Fo11. Fo12°Fe14. Fo
1B or signal Fo2 as shown in FIG. 11B, and the least significant digit signal TLS of 1 word and 10 digits.
D, the next digit signal 'I' LSD-1-1, the most significant digit signal TMSD, and the 1-word end signal TEW are respectively A2-A2B of FIG.

A29.A30.A31より取り出される。A29. A30. Taken out from A31.

第10図はキーボード上の各キースイッチよす各々のキ
ー押下信号KC,KO−に9 、KX、に÷。
FIG. 10 shows the key press signals KC and KO- divided by 9 and KX for each key switch on the keyboard.

K+、に−、K(、に、I 、K” 等々を生成する
様子を説明している。
It explains how to generate K+, ni-, K(, ni, I, K'', etc.).

第11図Cのキースタート信号STA、RTは第8図A
のオアゲートOR1、ワンショットマルチバイブレーク
OS、フリップフロップFSI、l’i”82゜アンド
ゲートA32等により生成される。
The key start signals STA and RT in Figure 11C are as shown in Figure 8A.
It is generated by the OR gate OR1, one-shot multi-by-break OS, flip-flop FSI, l'i''82° AND gate A32, etc.

これは周知の技術で非同期的にオアゲートOR1より入
力されて来る演算命令の各キー信号(例えばに+。
This is a well-known technique, and each key signal (for example, +) of an operation command is asynchronously inputted from the OR gate OR1.

K(、etc)を計算機内の同期信号Fo18もしくは
TEWの信号に同期させて5TAR,T信号を第11図
C図示の如く得るものである。
K (, etc.) is synchronized with the synchronization signal Fo18 or the TEW signal in the computer to obtain the 5TAR,T signal as shown in FIG. 11C.

すなわち例えばに×のキー信号が入力されるさオアゲー
トOR1を通って、ワンショットマルチバイブレークO
8が第11図C図示の如く所定時間起動し、次段のフリ
ップフロップFS1かワンショットO8の起動後の最初
のFe12の立下りに同期してセットされ、FSlのセ
ット後の最初のFolBの立下りでフリップフロップF
S2かセットされるからアンドゲートA32の出力信号
は第11図C図示の如く1ワード時間立上った5TAR
T信号・となり、この5TART信号により各回路か作
動を始める。
That is, for example, a key signal of × is inputted to the one-shot multi-by-break O through the OR gate OR1.
8 is activated for a predetermined time as shown in FIG. Flip-flop F on falling
Since S2 is set, the output signal of AND gate A32 is 5TAR which rises for one word time as shown in FIG. 11C.
The 5TART signal causes each circuit to start operating.

第8図A図示のレジスタTRはMSDからLSDまで1
0桁であり、通常右シフトしてアントゲ−1−A34を
介して内容が循環している。
The register TR shown in FIG. 8A is 1 from MSD to LSD.
It is 0 digit, and the contents are normally shifted to the right and circulated through Antogame-1-A34.

MSI)’は1桁左シフトさせるための回り道用1桁レ
ジスタにして゛、アンドゲートA36.A42を開いて
、レジスタTRの内容をレジスタMSII)’を通すこ
とにより、全体1桁左シフトを行なう。
MSI)' is a 1-digit detour register for shifting left by 1 digit, and the AND gate A36. By opening A42 and passing the contents of register TR through register MSII)', the whole is shifted to the left by one digit.

またアンドゲートA33はレジスタTRの内容を1桁右
シフトさせるとともに、LSD桁にLSD+1桁からシ
フトサれた1桁内容をレジスタTRの一循環期間すなわ
ち1ワ一ド時間保持するためにLSD+1桁とMSDと
の循環ループに介在されたものである。
In addition, AND gate A33 shifts the contents of register TR by one digit to the right, and holds the contents of the one digit shifted from LSD+1 digit to LSD digit for one cycle period of register TR, that is, one word time. It is interposed in a circular loop with

アントゲ−1−A35は演算子牛−信号(例えばKX、
に+ etc )をタイミング’I”LSDの時間にレ
ジスタTRのMSDに入力させるためのゲートである。
Antogame-1-A35 is an operator calf-signal (e.g. KX,
+ etc.) to the MSD of the register TR at the time of the timing 'I' LSD.

アンドゲートA37〜A41は第5図のコード信号を生
成するためのエンコーダ2を構成する。
AND gates A37 to A41 constitute an encoder 2 for generating the code signal shown in FIG.

判別回路4は図示の如くダイオードマトリックス回路で
構成し、タイミング’l’ LSD−1−1and T
BOの時間にレジスタTRのLSDに格納されたL S
D+ 1桁目の格納内容を判別し、その内容かコード
信号O〜5の何れであったかを各々の出力線からの信号
により認識する。
The discrimination circuit 4 is composed of a diode matrix circuit as shown in the figure, and the timing 'l' LSD-1-1 and T
L S stored in LSD of register TR at time of BO
D+ The stored content of the first digit is determined, and whether it is the content or code signals O to 5 is recognized by the signals from each output line.

第8図B図示のFJ、FCI〜FC4゜F+、F−、F
X、F÷、F↑はフリップフロップにして、種々の条件
によりセント、リセットされる。
FJ, FCI to FC4°F+, F-, F shown in Figure 8B
X, F÷, and F↑ are made into flip-flops, and are reset and reset according to various conditions.

フリップフロップFC1は第13図A、B図示の如く、
今入力された演算子のキー5TART信号の次に1ワ一
ド時間セットし、その1ワ一ド時間にレジスタTRのL
SD+1桁の内容判別等を行なう。
The flip-flop FC1 is as shown in FIGS. 13A and 13B.
Next to the key 5 TART signal of the operator that has just been input, set one word time, and during that one word time, register TR goes low.
The contents of SD+1 digit are determined.

フリップフロップFC2はレジスタTRの1桁右または
左シフト、PVSHDOWN等を行なうときに1ワ一ド
時間セットする。
Flip-flop FC2 is set for one word time when shifting register TR by one digit to the right or left, PVSHDOWN, etc.

フリップフロップFCO3は処理1のレジスタTRのL
SD+1桁目の内容を判別するときに1ワ一ド時間セッ
トする。
Flip-flop FCO3 is L of register TR in processing 1.
Set one word time when determining the contents of SD+1st digit.

フリップフロップFC4はレジスタTRのポツプアップ
処理、1桁右シフト等を行なうとき、1ワ一ド時間セッ
トする。
Flip-flop FC4 is set for one word time when pop-up processing of register TR, right shift by one digit, etc. are performed.

フリップフロップFJはフリップフロップFC2,FC
3のどちらをセットするか判別する。
Flip-flop FJ is flip-flop FC2, FC
Determine which of 3 to set.

フリップフロップF十、F−,FX、F÷、F↑は各々
加減乗除、べき乗の演算を実行するときにセットする。
Flip-flops F1, F-, FX, F÷, and F↑ are set when performing addition, subtraction, multiplication, division, and exponentiation operations, respectively.

以下AX(B+C)=の演算例を第8〜14図を参照し
ながらその詳細な作動を説明する。
The detailed operation of an example calculation of AX(B+C)= will be explained below with reference to FIGS. 8 to 14.

第14図示の如くまずクリアキー巨]を押下すると第8
図Bのデータスタックを構成するデータレジスタSR1
,SR2,・・・・・・等に付属したアンドゲートAC
1,AC2,・・・・・・等が閉じられ、循環ループが
断たれるのでレジスタSRI 、SR2,・・・・・・
等の内容はクリアされる。
As shown in Figure 14, first press the clear key (large) and the 8th
Data register SR1 that constitutes the data stack in Figure B
, SR2, etc.
1, AC2, etc. are closed and the circulation loop is broken, so the registers SRI, SR2, etc.
etc. will be cleared.

またオアゲートOR12を介して演算実行回路6にクリ
ア信号KCを入力させて、レジスタACCの内容もクリ
アする。
Further, a clear signal KC is inputted to the arithmetic execution circuit 6 via the OR gate OR12 to clear the contents of the register ACC.

デ゛−クAは周知の技術でレジスタACCに格納する。Deck A is stored in register ACC using well-known techniques.

次にドロキーか押下されるとオアゲー1−0RIを通っ
て第12図A図示の如くワンショットマルチバイブレー
クO8を起動させ、フリップフロップFS1.FS2を
セットさせてアンドゲートA32から5TART信号を
得る。
Next, when the play key is pressed, the one-shot multi-by-break O8 is activated as shown in FIG. 12A through the or game 1-0RI, and the flip-flop FS1. FS2 is set to obtain the 5TART signal from AND gate A32.

この5TART信号は1ワ一ド時間アンドゲートA35
に印加される。
This 5TART signal is 1 word time AND gate A35
is applied to

またアンドゲートA38は基本タイミングパルスTBO
またはTBIか印加されるから、キー信号に×の人力に
より1+2=3の第5図で定められまた乗算コード信号
を発生し、オアゲートOR3を通ってアンドゲートA3
5に入力される。
Also, AND gate A38 is the basic timing pulse TBO
or TBI is applied to the key signal, the multiplication code signal determined by 1+2=3 in FIG.
5 is input.

したがってアンドゲートA35は桁タイミングTI、S
Dの時間に開いて乗算コード信号3をオアゲートOR2
を介してレジスタTRのMSDを通って最1終にLSD
桁に格納し、以後クロックパルスCPに同期してアンド
ゲートA34を介してダイナミックに循環保持される。
Therefore, AND gate A35 uses digit timing TI, S
Open at time D and send multiplication code signal 3 to OR gate OR2
through the MSD of the register TR and finally the LSD
The data is stored in the digit and thereafter dynamically cyclically held via the AND gate A34 in synchronization with the clock pulse CP.

このようにして第12図Aの5TART信号ハイレベル
時間内のLSD+1桁の時間に図キーのコード信号3が
レジスタ’TRのMSDに格納され、1ワードの5TA
RT信号の終了時にLSDに格納される。
In this way, code signal 3 of the figure key is stored in MSD of register 'TR at the time of LSD+1 digit within the 5TART signal high level time of FIG. 12A, and one word of 5TA
Stored in LSD at the end of the RT signal.

このキースタート信号5TARTかハイレベルの時間中
、第8図Bのオアゲー1−0R8,9か開き、またその
時間内の信号TEWの発生によりアントゲ−1−A44
1が開きフリップフロップFC1がセットされ、セット
出力FCO1を発生する。
During the time when the key start signal 5TART is at a high level, the or game 1-0R8 and 9 shown in FIG.
1 opens and flip-flop FC1 is set, generating set output FCO1.

これは第12図A。図示の如<5TART信号1ワード
時間が終了した直後にフリップフロップFC1がセット
し、またこのリセット入力のアントゲ−1−A45は、
次のi信号TEWにより開いてリセットさせるので、フ
リップフロップFC1のセット時間も1ワ一ド時間とな
る。
This is Figure 12A. As shown in the figure, the flip-flop FC1 is set immediately after the completion of one word time of the <5 TART signal, and the reset input of the ant game 1-A45 is
Since it is opened and reset by the next i signal TEW, the setting time of the flip-flop FC1 also becomes one word time.

この時間は第13図Aのaに示す如く各種判別のための
時間である。
This time is a time for various discriminations as shown in a of FIG. 13A.

最初レジスタTRのLSD+1=Oであるか否かの判断
を行なうが、ン今の場合、先に×キー押下によるコード
信号3をLSDに格納した以外はLSD+1、LSD+
2、・・・・・・MSDまですべてその格納内容はOで
ある。
First, it is determined whether LSD+1 of register TR is O or not, but in this case, LSD+1, LSD+
2...The stored contents of all up to MSD are O.

第8図Aにおいて、レジスタTRはダイナミックシフト
レジスタでその内容が循環しているから1、LSD+1
桁の内容OがLSDに到来し、ダイオードマトリックス
4の’l’ LSD−)−1= 0の出力線に信号が生
じ、その内容がOであったことを判別する。
In FIG. 8A, register TR is a dynamic shift register whose contents are circular, so 1, LSD+1
The content O of the digit arrives at the LSD, and a signal is generated on the 'l' LSD-)-1=0 output line of the diode matrix 4, which determines that the content is O.

この信号により第8図BのアンドゲートA48が信号F
CO1の存在により開き、フリップフロップFJをセッ
トする。
This signal causes AND gate A48 in FIG. 8B to output signal F.
Opens due to the presence of CO1, setting flip-flop FJ.

フリップフロップFJは信号TEWがリセット入力端子
に印加されるまでセットしている。
Flip-flop FJ remains set until signal TEW is applied to the reset input terminal.

このセット信号FJOによりフリップフロップFCO2
か信号TEWのタイミングでアンドゲートA49か開く
からセットされる。
This set signal FJO causes the flip-flop FCO2 to
It is set because the AND gate A49 is opened at the timing of the signal TEW.

(この間の各信号の様子は第12図Aに示されている。(The state of each signal during this period is shown in FIG. 12A.

)フリップフロップFC2のセ・ット時間も1ワ一ド時
間であり、その間にに二、K)の信号は存在しないから
アンドゲートA51が開き、このゲートの出力信号がレ
ジスタSR2のプッシュダワン信号吉なり、アンドゲー
トA1.A3゜・・・・・・等を開いて第13図Aに示
す如<ACC→SR1→SR2→SR3・・・・・・の
ブツシュダウン処理を行なう。
) The set time of the flip-flop FC2 is also one word time, and the signal 2, K) does not exist during that time, so the AND gate A51 opens, and the output signal of this gate becomes the push-down signal of the register SR2. Good luck, and gate A1. A3°, etc. are opened and the bushing down process is performed as shown in FIG. 13A.

また同時にこのアントゲ−1−A51の出力信号P、D
は第8図AのオアゲートOR4を通ってアンドゲートA
36.A42を開きまたインバータI23によりアンド
ゲートA34を閉じ、レジスタM811)’を介在させ
てレジスタTRを右シフト循環させる。
At the same time, the output signals P and D of this Antogame-1-A51
passes through the or gate OR4 in Figure 8A and enters the AND gate A.
36. A42 is opened and AND gate A34 is closed by inverter I23, and register TR is shifted to the right and circulated through register M811)'.

ブツシュダウン信号P、DはフリップフロップFC2の
セット出力FCO2であるから、1ワ一ド10桁時間バ
イレベルであり、この時間中レジスタTRをレジスタM
SD’を加えた11桁で循環させるから本ワードの終了
した直後のレジスタTRの内容は1桁分左シフトされた
ことになる。
Since the bushdown signals P and D are the set output FCO2 of the flip-flop FC2, they are at the by level for a time of 1 word and 10 digits, and during this time, the register TR is set to the register M.
Since the data is circulated by 11 digits including SD', the contents of the register TR immediately after the end of this word are shifted to the left by one digit.

この様子は第14図ステップロ行の2行目のFCO2直
後の行に示され、図示の如くレジスタACCにはデータ
A、レジスタTRは1桁左シフトされてLSD+1桁に
乗算コード信号3か格納された状態となる。
This situation is shown in the second line of the step RO line in Figure 14, immediately after FCO2, and as shown in the figure, data A is stored in register ACC, and register TR is shifted to the left by one digit and multiplication code signal 3 is stored in LSD+1 digit. The state will be as follows.

次に日キーを押下すると第13図AのCに示す如くレジ
スタACC全桁、レジスタTRのLSDのみをクリアし
、同時にレジスタTRを1桁左シフトさせる処理である
Next, when the day key is pressed, all digits of the register ACC and only the LSD of the register TR are cleared, as shown in C of FIG. 13A, and at the same time, the register TR is shifted to the left by one digit.

すなわち■キーが押されるさ「ロキーの場合と同様に5
TART信号が発生し、第8図へのアントゲ−1447
を開き、オアゲートOR4を通って前述のブツシュダウ
ン信号P、Dの入力のときき同様の作動でレジスタTR
を1桁左シフトする。
In other words, when the ■ key is pressed, the 5
The TART signal is generated and the Antogame 1447 to Figure 8 is generated.
is opened, and when the above-mentioned bushdown signals P and D are input through the OR gate OR4, the register TR is operated in a similar manner.
Shift left one place.

したがってこの段階では第14図ステップ−行に示す如
く、レジスタTRのLSD±2桁目に乗算コード信号3
か格納された状態々なる。
Therefore, at this stage, as shown in the step-row of FIG.
or stored states.

レジスタTRのLSDはこの1桁左シフトさアントゲ−
1−A35の出力Oにより自動的にOを格納する。
The LSD of register TR is this one-digit left-shifted antgame.
1-O is automatically stored by the output O of A35.

またレジスタACCのクリア信号はアンドゲートA47
の出力信号を同時に用い、第8図Bのオアゲー1−0R
12を介して演算実行回路6によりレジスタACCを全
桁クリアする。
Also, the clear signal of register ACC is AND gate A47.
Simultaneously using the output signals of
All digits of register ACC are cleared by arithmetic execution circuit 6 via 12.

これはレジスタSR2等のクリア作動と同じ方式を用い
て行なえる。
This can be done using the same method as the clearing operation of register SR2, etc.

この時間は第8図B1第13図Cから明らかな如くフリ
ップフロップFC1,FC2等はいずれもセットされな
い。
During this time, as is clear from FIG. 8B and FIG. 13C, none of the flip-flops FC1, FC2, etc. are set.

次にデータBをレジスタACCに格納する他は他の回路
は何も作動しない。
Next, other circuits do not operate except for storing data B in register ACC.

次に■キーを押下すると先の1]キーによりレジスタT
RのLSD+1桁の内容は0にされたので、第13図A
に示す如く先のし」キーを押下したときと同じ作動すな
わちレジスタSR2のPVSHDOWN処理及びレジス
タTRの1桁左シフトを行なう。
Next, press the ■ key and use the previous 1] key to register T.
Since the contents of the LSD+1 digit of R have been set to 0, Figure 13A
As shown in the figure, the same operation as when pressing the "Previous" key is performed, that is, PVSHDOWN processing of register SR2 and shift of register TR by one digit to the left.

この具体的作動はロキー押下と同様なので省略する。This specific operation is the same as pressing the LOCK key, so it will be omitted.

ただし[キーの場合は第5図で定められた加算コード信
号1を■キーでレジスタTRのLSDに乗算コード信号
3を格納したのに対応して、レジスタTRのLSDに格
納することだけが相違する。
However, in the case of the key, the only difference is that the addition code signal 1 defined in Fig. 5 is stored in the LSD of register TR in correspondence with the multiplication code signal 3 stored in the LSD of register TR with do.

次にデータCの入力はレジスタACCの前の内容BをC
に書き換えて行なう。
Next, the input of data C is to convert the previous contents B of register ACC into C
Rewrite it to .

次に一生−を押下すると前同様に5TART信号か発生
し、第8図BのフリップフロップFC1をセットする。
Next, when the ``-'' key is pressed, the 5TART signal is generated as before, and the flip-flop FC1 shown in FIG. 8B is set.

今の場合第14図ステップC行に示す如く、レジスタT
RのLSD+1桁目には加算コード信号1が格納された
状態なので、フリップフロップFJは今度はセットせず
、したがってフリップフロップFC2もセットされない
In this case, as shown in step C line of Figure 14, the register T
Since the addition code signal 1 is stored in the LSD+1st digit of R, the flip-flop FJ is not set this time, and therefore the flip-flop FC2 is also not set.

その代りフリップフロップFJのリセット出力及びフリ
ップフロップFC1のセット出力によりタイミングTE
WのときアンドゲートA50が開いてフリップフロップ
FC3をセットする。
Instead, timing TE is determined by the reset output of flip-flop FJ and the set output of flip-flop FC1.
When the signal is W, the AND gate A50 opens and sets the flip-flop FC3.

このセット出力信号FCO3も1ワ一ド時間保持され、
第13図Aのdに示すTRLSD+1の桁内容の判別を
行なう。
This set output signal FCO3 is also held for one word time,
The digit contents of TRLSD+1 shown in d of FIG. 13A are determined.

またこの時間の詳細な制御パルス波形は第12図Cに示
される。
Further, the detailed control pulse waveform at this time is shown in FIG. 12C.

今レジスタTRのLSD+1桁目の格納内容は第14図
ステップC行に示す如く加算コード信号1であるから、
第8図Aの判別回路4のL S D+ 1の出力線に信
号か生じる。
Now, the content stored in the LSD+1st digit of the register TR is the addition code signal 1 as shown in step C line of FIG. 14, so
A signal is generated on the output line of LSD+1 of the discrimination circuit 4 in FIG. 8A.

したがってこのLSD+1の出力線に生じた信号が第8
図BのアンドゲートA52を開き、フリップフロップF
+をセットする。
Therefore, the signal generated on the output line of LSD+1 is the 8th
Open the AND gate A52 in figure B and flip-flop F.
Set +.

このセット出力FO+とフリップフロップFC3か1ワ
一ド時間セットされた後のリセット出力によりアンドゲ
ートA+か開き、演算実行回路6内のADDEHにより
レジスタACCの格納内容CさレジスタSR1の内容B
とで加算演算を周知の技術で行ない、この結果である和
B+CをレジスタACCに格納し。
This set output FO+ and the reset output after the flip-flop FC3 has been set for one word time open the AND gate A+, and ADDEH in the arithmetic execution circuit 6 causes the contents C of the register ACC to be changed to the contents B of the register SR1.
An addition operation is performed using a well-known technique, and the resultant sum B+C is stored in register ACC.

出力装置0に出力させて和を知る。Know the sum by outputting it to output device 0.

この実行か終了したら演算終了信号Endを演算実行回
路6より第12図Cに示すタイミングで発生させ、加算
フリップフロップF+をリセットするとともにフリップ
フロップFC4をセットする。
When this execution is completed, the operation end signal End is generated from the operation execution circuit 6 at the timing shown in FIG. 12C, and the addition flip-flop F+ is reset and the flip-flop FC4 is set.

このEnd信号の発生回路は周知の種々の技術で容易に
行なえる。
This End signal generation circuit can be easily created using various well-known techniques.

フリップフロップFC4も1ワ一ド時間セットされるか
、このセット出力信号FCO4はレジスタSR群のポツ
プアップ処理を行なう信号P、U吉なり第8図Bのアン
ドゲートA2.A4゜・・・・・・等に印加される。
Flip-flop FC4 is also set for one word time, or this set output signal FCO4 is the signal P and U which perform the pop-up process of the register SR group, and the AND gate A2.B in FIG. 8B. It is applied to A4°...etc.

したがってレジスタSR5の内容はレジスタSR4にS
R2の内容はSR1に移動する既述のポツプアップ処理
を行なう。
Therefore, the contents of register SR5 are stored in register SR4.
The contents of R2 are moved to SR1 using the previously described pop-up process.

この段階では第14図ステップ〕行の初めの行であるセ
ット出力信号FCO4の発生直後の行に示されるように
、レジスタACCには和B+CがレジスタSR1にはレ
ジスタS R,2の内容Aがポツプアップ処理されて格
納される。
At this stage, as shown in the first line of step 14 in Figure 14, the line immediately after the generation of the set output signal FCO4, the sum B+C is stored in register ACC, and the contents A of registers SR and 2 are stored in register SR1. Pop-up processing is performed and stored.

同時にこのセット出力信号FCO4は第8図Aの他の入
力として’I’ LSDの否定信号をもつアントゲ−1
−A52を通してオアゲー1−OR5に印加されて通り
、アンドゲートA33に印加される。
At the same time, this set output signal FCO4 is connected to the ant game 1 with the negation signal of the 'I' LSD as the other input of FIG. 8A.
It is applied to OR game 1-OR5 through -A52, and is applied to AND gate A33.

このアンドゲートA33の他方の入力にはレジスタTR
のLSD+1桁目の出力が印加されており、またアント
ゲ−1434はインパークI22により閉じられるので
、時間LSD+1桁目からMSDの範囲でTRの内容が
右シフトされ循環することによりこの内容が保持される
The other input of this AND gate A33 is a register TR.
Since the output of LSD + 1st digit is applied, and the Antogame 1434 is closed by impark I22, the content of TR is shifted to the right and circulated in the range from time LSD + 1st digit to MSD, and this content is held. Ru.

この段階までを第14図ステツ7’II行の初めの行に
示すようにレジスクTRI−J1桁右シフトされてLS
DにLSD+1桁目に伸コード信号Oが格納される。
As shown in the first line of line 7'II of Figure 14, up to this stage, the register TRI-J is shifted to the right by one digit and the LS
The expanded code signal O is stored in D at the LSD+1st digit.

次にフリップフロップFC4のセット出力信りFeO2
は第8図BのオアゲートOR8にも印か基れるのでアン
ドゲートA44が開き、フリップフロップFC1をセッ
トする。
Next, the set output signal FeO2 of flip-flop FC4
is also based on the OR gate OR8 in FIG. 8B, so the AND gate A44 opens and sets the flip-flop FC1.

このときレジスタTRのLSD+1桁には先の1桁右シ
フトによりコード信号Oが格納されているので、前述同
様アンドゲートA48か開き、フリップフロップFJが
セットする。
At this time, since the code signal O is stored in the LSD+1 digit of the register TR by the previous shift to the right by one digit, the AND gate A48 is opened as described above, and the flip-flop FJ is set.

その結果信号FCO1の終了時に第12図C図示の如く
フリップフロップFC2もセットされる。
As a result, at the end of signal FCO1, flip-flop FC2 is also set as shown in FIG. 12C.

しかし今押されたキーは■キーであるからアンドゲート
A51の出力は禁止され、ブツシュダウン信号P、Dは
出ない。
However, since the key pressed now is the ■ key, the output of the AND gate A51 is prohibited, and the bushdown signals P and D are not output.

フリップフロップFC2のセット出力信号FCO2は第
8図AのアンドゲートA43に印加されるからK〕倍信
号ゲート43を通りオアゲートOR5に印加される。
Since the set output signal FCO2 of the flip-flop FC2 is applied to the AND gate A43 in FIG. 8A, it passes through the K] times signal gate 43 and is applied to the OR gate OR5.

したがって第12図Cの時間内で先に発生したフリップ
フロップFC4のセット出力信号FCO4がオアゲート
OR5に印加されたときと同様の作動でレジスタTRの
1桁右シフトを行なう。
Therefore, the register TR is shifted to the right by one digit in the same manner as when the set output signal FCO4 of the flip-flop FC4, which occurred earlier, is applied to the OR gate OR5 within the time period shown in FIG. 12C.

この段階は第14図ステップロ行の第2行目として示さ
れ、レジスタTRのLSDjこはコード信号0.LSD
+1桁には乗算コード信号3が格納された状態となる。
This stage is shown as the second step row in FIG. L.S.D.
The multiplication code signal 3 is stored in the +1 digit.

ロキーを押下すると第13図Aのbに示す如くロキーと
同様の処理を第12図りに示す如く、フリップフロップ
FC3のセットまで行ない、今度は乗算フリップフロッ
プF×をセットし、レジスタACCの内容゛B+C11
とレジスタSR1の内容Aとを演算実行回路6にて行な
い、答AX (B+C”)をレジスタACCに第14図
ステップ■行に示す如く格納し、他のレジスタは全てそ
の内容は0吉なり所期のAX(B+C’)=の数式処理
を完了する。
When the LOCKey is pressed, the same process as the LOCKey is performed as shown in FIG. B+C11
and the contents A of the register SR1 in the arithmetic execution circuit 6, and store the answer AX (B+C'') in the register ACC as shown in the step ■ line in Figure 14, and the contents of all other registers are zero. Complete the mathematical processing of AX(B+C')=.

次に前述第1、第2の実施例きは異、なった第3の実施
例を図面第16〜31図を参照しながら説明する。
Next, a third embodiment, which is different from the first and second embodiments, will be described with reference to FIGS. 16 to 31.

ここで第3の実施例に用いる用語の定義を以下に記する
Here, definitions of terms used in the third embodiment are described below.

(1)−次子(Pr imary) :定数、または変
数、または算術式を括弧でくくったもの 例3.14 、 RM 、 (5+2.5 )RMはメ
モリーから呼び出されるデータ で変数として処理する。
(1) - Primary: Constant, variable, or arithmetic expression enclosed in parentheses Example 3.14, RM, (5+2.5) RM is data called from memory and is treated as a variable.

(2)因子(Factor)ニー次子または因子↑−次
子例4.56 、4.56↑3 、 RM2↑RM1;
(3)項(Term)’因子または項/因子または項*
因子 例2/3. RM1*3.5*4.5/RM2(4)算
術式(Arithmetic Expression’
) :項すたは十項または算術式士項 例−1,23、5+3−4* (RMI−2) 。
(2) Factor (Factor) Nijiji or Factor ↑-Next child Example 4.56, 4.56↑3, RM2↑RM1;
(3) Term'factor or term/factor or term*
Factor example 2/3. RM1*3.5*4.5/RM2 (4) Arithmetic Expression'
): The term is ten terms or an arithmetic expression -1, 23, 5+3-4* (RMI-2).

2↑3+RM2/3 数式における実行順位は上記(1) 、 (2) 、
(3) 、 (4)の順に弱くなっていくものとし、同
じ強さの演算子が並ぶときは左から実行するものさする
2↑3+RM2/3 The execution order in the formula is (1), (2),
It is assumed that (3) and (4) become weaker in this order, and when operators of the same strength are lined up, they are executed from the left.

また上記(4)の定義より、El、El十−押下による
加減算処理は項データを算術式データに変換する員を意
味し、また(3)の定義よりEl、9キー押下による乗
除算処理は因子データを項データに変換するこさを意味
する。
Also, from the definition in (4) above, addition and subtraction processing by pressing El and El 10-keys means converting term data into arithmetic expression data, and from definition (3), multiplication and division processing by pressing El and 9 keys means It means the difficulty of converting factor data into term data.

なお前記用語の詳しい定義は日本工業標準調査会審議(
日本規格協会発行、昭和47年3月1日改正号、)JI
S電子計算機用言語AL()OL (水準7000’)
JiS、C,6210の6頁に記載されている。
Detailed definitions of the above terms are provided by the Japanese Industrial Standards Committee (
Published by the Japanese Standards Association, revised issue March 1, 1972, ) JI
S computer language AL()OL (level 7000')
JIS, C, 6210, page 6.

第16図は本発明演算装置の第3の実施例を示すブロッ
ク図にして、1は各種演算命令キー、括弧キー、等号キ
ー、数値キー等を有するキーボードである。
FIG. 16 is a block diagram showing a third embodiment of the arithmetic device of the present invention, and 1 is a keyboard having various arithmetic command keys, a parenthesis key, an equal sign key, numeric keys, etc.

このキーボード上の各キーを数式に直接従って順に押下
していくだけで複雑な数式でも第1,2の実施例と同様
に容易に演算を行なうことができるものである。
By simply pressing down each key on the keyboard in order directly according to the formula, even complex formulas can be easily calculated as in the first and second embodiments.

20はこの数式に従った演算処理のための各種制御を行
なう制御部である。
Reference numeral 20 denotes a control unit that performs various controls for arithmetic processing according to this formula.

6は四則演算を行なうための制御回路で、レジスタ7.
8.9間で行なう四則演算を制御する。
6 is a control circuit for performing four arithmetic operations, and registers 7.
8. Controls the four arithmetic operations performed between 9 and 9.

そのうち8のレジスタERはアキュムレークレジスタ(
答レジスタ)にして、このレジスタを中心に7のレジス
タBR。
Eight of them, ER, are accumulation registers (
7 registers BR with this register as the center.

9のレジスタCRを連光に制御して演算を行なうのであ
るが、それに加えてレジスタ8は本実施例に係る前述の
如く定義した因子(Factor)を格納するレジスタ
にも兼用する。
The register CR 9 is controlled in a continuous manner to perform calculations, and in addition, the register 8 is also used as a register for storing the factor defined as described above according to this embodiment.

因子レジスタは特別に別に設けてももちろんさしつかえ
ないものである。
Of course, the factor register may be provided separately.

15.16は特殊関数計算、定数乗算等に用いる通常の
メモリーレジスタである。
15 and 16 are normal memory registers used for special function calculations, constant multiplication, etc.

21〜24は本発明に係る前述の如く定義した項(Te
rm)を格納するレジスタPRにして、1つの項を1つ
のレジスタに対応させて各々格納する。
21 to 24 are the terms (Te
rm) as a storage register PR, and one term is stored in correspondence with one register.

各レジスタPR間の移動においてアンドゲートAg3.
Ag5.Ag7 を開いてPR1→PR2・・・・・・
PR(n−1)→PRnの如く順々に格納していく処理
をブツシュダウンと呼び、アンドゲートAg8.Ag6
.A、94.Ag2を開いてPRrr−+P R(n
−1)・・・・・・PR2→PR1の如く逆の処理をポ
ツプアップき呼び、このようにいくつかのものを順々に
格納するこさができて、またそれらを取り出そうさする
さ格納した逆順にすなわち最後に格納したものか最初に
出てくる如く構成したものをスタックということは前例
同様である。
In the movement between each register PR, AND gate Ag3.
Ag5. Open Ag7 and go from PR1 to PR2...
The process of sequentially storing PR(n-1)→PRn is called bushdown, and the AND gate Ag8. Ag6
.. A, 94. Open Ag2 and PRrr-+PR(n
-1)・・・・・・Pop up the reverse process like PR2 → PR1, store several things in order like this, and when you want to take them out, you can do it in the reverse order in which they were stored. As in the previous example, the stack consists of the last stored item or the first configured item that appears.

25〜28のレジスタQRはPR同様スタックで成り、
前述の定義に係る算術式(Ar i thme t i
cExpression)が格納される。
Registers 25 to 28 QR consist of a stack like PR,
Arithmetic expression according to the above definition (Ar i thmet i
cExpression) is stored.

29〜32は各1ビツトのフリップフロップFDでやは
りスタックを構成した前述定義の演算子の内、時に÷(
1)の演算のみを記憶格納する。
29 to 32 are each 1-bit flip-flop FD, which also constitutes a stack.Among the operators defined above, sometimes ÷(
Only the calculation of 1) is stored.

33は1ビツト構成で演算狛↑)を記憶格納するフリッ
プフロップFEである。
Reference numeral 33 denotes a flip-flop FE having a 1-bit configuration and storing the operation value ↑).

AMI〜AM4゜Ag1〜Ai4はアンドゲートで各レ
ジスタ間、各フリッププロップ間の移動制御を行なう。
AMI to AM4°Ag1 to Ai4 are AND gates that control movement between each register and between each flip-flop.

0g1〜0g12は同様にオアゲートである。0g1 to 0g12 are also OR gates.

全数式AX(B+C’)=を例にして、この第3の実施
例の構成及びその作動の概略を第16図、第19図及び
第20図Aを参照しながら説明する。
Using the total mathematical expression AX(B+C')= as an example, the configuration and operation of this third embodiment will be explained with reference to FIGS. 16, 19, and 20A.

始めにクリアキー■口を押すさ第16図示のレジスタP
R1のLSDに数値データ信号1を格納して他のレジス
タ及びフリップフロップを全てクリア、リセットする制
御を制御部20で行なう。
First, press the clear key ■ Register P shown in Figure 16
The control unit 20 performs control to store the numerical data signal 1 in the LSD of R1 and clear and reset all other registers and flip-flops.

これは電源キーの投入によっても行なうこさかできる。This can also be done by turning on the power key.

次にまずデータAを置数するとレジスタERに格納され
る。
Next, data A is first entered and stored in register ER.

■キーを押下するさ第19図Cに示す如く処理A、Bが
制御部20で行なわれて停止する。
When the (2) key is pressed, processes A and B are performed in the control section 20 and stopped as shown in FIG. 19C.

処理Aは第19図Jに示す如くフリップフロップFEの
セット、リセットを制御部20で判別し、図示の如く処
理する。
In process A, as shown in FIG. 19J, the control section 20 determines whether the flip-flop FE is set or reset, and processes as shown.

すなわち今回はべき乗キー[Z]は押されないからフリ
ップフロップFEはセットされずすぐリターンに入り第
19図にの処理Bに移る。
That is, since the exponentiation key [Z] is not pressed this time, the flip-flop FE is not set and the process immediately returns to the process B shown in FIG. 19.

処理BにおいてはフリップフロップFD1のセット、リ
セツ1〜を制御部20で判別する。
In process B, the control unit 20 determines whether the flip-flop FD1 is set or reset 1.

FDlは一生−か押さイユるとセットするフリップフロ
ップで、今の場合リセット状態であるから下の方に進み
、PR1*E?PR1の処理を演算実行回路6で行なう
FDl is a flip-flop that is set when Issei - is pressed, and in this case it is in the reset state, so it goes to the bottom and goes to PR1*E? The processing of PR1 is performed by the arithmetic execution circuit 6.

これは周知のレジスタPR1とERの内容同士を四則演
算実行回路6で乗算演算し結果を再びPRlに格納する
ことを表わすものである。
This indicates that the contents of well-known registers PR1 and ER are multiplied by the arithmetic operation execution circuit 6, and the result is stored in PRl again.

今PR1の内容は第20図AのステップAの行に示す如
<LSD桁に1、他の桁は0.ERの内容はAであるか
ら乗算結果もAでERの内容は前同様にAであるか、し
かしこのAは、−次子または因子のデータAであったも
のに、−次子である定数1か乗せられたので、もはや因
子ではなく、前述の定義により項である。
Now, the contents of PR1 are as shown in the line of step A in FIG. 20A.<1 in the LSD digit, 0 in other digits. Since the content of ER is A, the multiplication result is also A, and the content of ER is A as before, but this A is a constant that is the -order of the data A of the -order or factor. Since it has been multiplied by 1, it is no longer a factor, but a term by the above definition.

したかって項データを格納するレジスタPR1に項デー
タAを格納するのである。
Therefore, the term data A is stored in the register PR1 that stores term data.

この処理Bの演算制御は本実施例の1つの特徴的な処で
ある。
The arithmetic control of this process B is one of the characteristics of this embodiment.

次に[キーを押下する吉第19図fに示す如くブツシュ
ダウン処理が行なわれ、その後第19図gのクリアキー
「ヨを押下したさき吉同じ処理を制御部20の制御によ
り行なう。
Next, a pushdown process is performed as shown in FIG. 19f when the [key is pressed, and then the same process as when the clear key "Y" is pressed in FIG. 19g is performed under the control of the control section 20.

プッシュダヮンは前述した如くアンドゲート、13.A
g5゜A、lを開いて各レジスタ間のデータのしまい込
み処理でこれを第19図mに示す。
The pushdown is the and gate as mentioned above, 13. A
This is shown in FIG. 19(m) by opening g5°A, l and storing data between each register.

この結果レジスタBRの内容は0.PRlのLSDか1
で他は0、PH1にデータAが格納される。
As a result, the contents of register BR are 0. PRl's LSD or 1
The others are 0, and data A is stored in PH1.

次にデータBか置数されるとレジスタERに格納され、
続いてロキーが押下される。
Next, when data B is entered, it is stored in register ER,
Then, the lokey is pressed.

[ロキーの処理は第19図aに示す如きものである。[Lokey processing is as shown in FIG. 19a.

処理Aは前述同様べき乗演算はないため、フリップフロ
ップFEはリセット状態であるから処理Bに移る。
Since process A does not involve exponentiation calculations as described above, the flip-flop FE is in the reset state, so the process moves to process B.

処理B(第19図k)においては前述同様フリップフロ
ップFD1はセットされていないためPR1*ER1を
行なう。
In process B (FIG. 19k), as described above, since flip-flop FD1 is not set, PR1*ER1 is performed.

第20図AのステップBに示す如くこの直前のレジスタ
PR1の内容は1.ERの内容はBであるからIXBの
乗算演算が行なわれ、因子データBが項データBに変換
されるので、項格納用レジスタPR1に格納される。
As shown in step B of FIG. 20A, the contents of the register PR1 immediately before this are 1. Since the content of ER is B, a multiplication operation of IXB is performed, and factor data B is converted to term data B, which is stored in term storage register PR1.

処理Bが終るさ第19図a図示の如くQR1+PR1→
QR1が行なわれ、PRIの内容Bが算術式格納用レジ
スタQR1の内容0と加算演算が行なわれ項データが算
術式データに変換され、結果を算術式格納用レジスタQ
R1に格納する。
When processing B is finished, as shown in Figure 19a, QR1+PR1→
QR1 is performed, the content B of PRI is added to the content 0 of the arithmetic expression storage register QR1, the term data is converted to arithmetic expression data, and the result is stored in the arithmetic expression storage register Q.
Store in R1.

これは前述の定義により項データBと、たまたま内容が
Oである算術式とか加算処理を施されたため、O+B(
算術式十項)なる算術式となったため、算術式格納用レ
ジスタQR1に算術式データBが格納されるのである。
This is because according to the above definition, addition processing was performed on the term data B and an arithmetic expression whose contents happened to be O, so O+B(
Since the arithmetic expression becomes the arithmetic expression (10 terms), the arithmetic expression data B is stored in the arithmetic expression storage register QR1.

次に再びレジスタPR1のLSD桁に1を格納し、ロキ
ー処理を終了する。
Next, 1 is stored in the LSD digit of the register PR1 again, and the locking process is completed.

各レジスタの内容は第20図Aのステップ「母性に示す
如くなる。
The contents of each register are as shown in step ``Maternity'' in Figure 20A.

データCが置数されレジスタERに格納されていたデー
タBをクリアし、代りにデータCが格納される。
Data B, which was assigned data C and stored in register ER, is cleared, and data C is stored in its place.

「旧キーを押下すると第19図iに示す処理が行なわれ
る。
``When the old key is pressed, the process shown in FIG. 19i is performed.

処理Aは前述の如くフリップフロップFEはリセットで
あるから処理Bに移る。
Process A moves to process B since the flip-flop FE is reset as described above.

処理BでフリップフロップFDはやはりリセットでPR
IXER→PR1か行なわれる。
In process B, flip-flop FD is reset and PR
IXER→PR1 is executed.

この場合レジスタPR1は1、レジスタERはCか格納
されていたから1×Cの乗算が行なわれ、因子データC
が項データCに変換されて結果CかPRlに格納される
In this case, register PR1 is 1 and register ER is stored with C, so a 1×C multiplication is performed and the factor data C
is converted into term data C and stored in result C or PRl.

次にQR1+PR1→QR1か行なわれる。Next, QR1+PR1→QR1 is performed.

PRlにはC、QR1にはBが格納されているからB4
Cの加算演算が行なわれ、結果B+CがQRIに格納さ
れ、次にこの格納された内容は算術式を()でくくった
ものだから−次子または因子であり、因子格納用レジス
タERに転送されレジスタ内容群をアンドゲートAJ’
16 、A、?14 、AgI 2 。
Since C is stored in PRl and B is stored in QR1, B4
The addition operation of C is performed, and the result B+C is stored in QRI, and then this stored content is the arithmetic expression enclosed in (), so it is the second child or factor, and is transferred to the factor storage register ER. AND gate AJ' for register contents group
16,A,? 14, AgI2.

Agl0を開いてポツプアップ処理する。Open Agl0 and perform popup processing.

その結果QRIに格納されていたデータB+Cは消去さ
れ、第20図Aのし]行に示す如きレジスタ内容となり
、B十〇の和が出力装置0で出力される。
As a result, the data B+C stored in the QRI is erased, and the contents of the register become as shown in the second line of FIG.

最終結果を求める等号キーロが押下されると第19図り
に示す如き処理を行なう。
When the equal sign key for obtaining the final result is pressed, processing as shown in Figure 19 is performed.

前述の如く処理Aは素通りL処理Bを行なう。As described above, the process A performs the pass-through L process B.

処理BではFDリセットによりやはり PRI XER−+PR1を行なう。In process B, FD reset also causes Perform PRI XER-+PR1.

各レジスタの内容は第20図Aの「口折に示す如き内容
であるからAX (B4C’)の乗算処理をし、結果A
×(B4C)は項A*因子(B十〇)であるからやはり
項データであり、項格納用レジスタPRIに格納する。
Since the contents of each register are as shown in Figure 20A, multiplication by AX (B4C') is performed, and the result is A.
Since ×(B4C) is the term A*factor (B10), it is also term data and is stored in the term storage register PRI.

次にQR1+PR1→QRIを行なう。QRlの内容は
Oであるから加算結果は変わらないか、データは項から
算術式に変換されるので、算術式A+(B+C’)がQ
Rlに格納される。
Next, perform QR1+PR1→QRI. Since the content of QRl is O, the addition result remains the same, or the data is converted from a term to an arithmetic expression, so the arithmetic expression A+(B+C') becomes Q.
It is stored in Rl.

さらにQR1→ERにAX(B4C)が格納され結果を
表示あるいは印字して演算処理が終了する。
Furthermore, AX (B4C) is stored in QR1→ER, the result is displayed or printed, and the arithmetic processing ends.

その後第19図g、h図示の如くクリアキー「口を押下
したときとほぼ同様の事後処理を行なって次の数式処理
のための準備か行なわれる。
Thereafter, as shown in FIGS. 19g and 19h, post-processing similar to that performed when the clear key "mouth" is pressed is performed to prepare for the next mathematical expression processing.

これは前記同様レジスタPRのLSD桁のみに1を格納
し他の桁及び他のレジスタ、フリップフロップは全てク
リア、リセットさせておく処理である。
This is a process in which 1 is stored only in the LSD digit of the register PR as described above, and all other digits, other registers, and flip-flops are cleared and reset.

このようにある数値データに数値Oを加算しても数値1
を乗算してもその数値データの値は変化しないきいう性
質を巧みに利用するこ吉により、簡易な構成と処理制御
で、数式に直接従ったキー操作で数式の計算を行なうこ
とかできるものである。
In this way, even if you add the value O to some numerical data, the value is 1.
By skillfully taking advantage of the property that the value of numerical data does not change even when multiplied by , it is possible to calculate a mathematical formula by key operations that directly follow the mathematical formula, with a simple configuration and processing control. It is.

以上は第16図のブロック図の構成及び作動説明の大略
であったが、第17図13Hは第16図の詳細具体回路
の一実施例である。
The above is an outline of the configuration and operation of the block diagram shown in FIG. 16, but FIG. 17 13H shows an example of the detailed specific circuit shown in FIG. 16.

以下第17図の詳細回路の構成及び作動を説明する。The detailed structure and operation of the circuit shown in FIG. 17 will be explained below.

第17図は主として第16図の制御部20の内部詳細を
開示したものである。
FIG. 17 mainly discloses internal details of the control section 20 shown in FIG. 16.

図面において0g14〜0g38はオアゲート、AJ’
25〜A、li’34はアンドゲート、F1〜F7は各
々図示の[EI、 II 、 、、、、、、 、[Z]
子キー押下されたさきキー信号に+、に一、・・・・・
・hKiを発生するフリップフロップ、CFO〜CF5
は第17図の各ゲートの開閉を制御する基本コントロー
ル信号CCO〜CC5を各々発生するフリップフロップ
である。
In the drawing, 0g14 to 0g38 are or gates, AJ'
25 to A, li'34 are AND gates, and F1 to F7 are the illustrated [EI, II, , , , , , [Z]
When the child key is pressed, the next key signal is +, 1, etc.
・Flip-flops that generate hKi, CFO to CF5
are flip-flops that generate basic control signals CCO to CC5 for controlling the opening and closing of each gate shown in FIG.

レジスタPR2,〜PR4、レジスタQR2〜QR4は
第16図の構成のままで、単にレジスタPR1、レジス
タQRIのデータがプッシュダワン、ポツプアップ処理
されるだけである。
Registers PR2 to PR4 and registers QR2 to QR4 remain in the configuration shown in FIG. 16, and the data in register PR1 and register QRI are simply subjected to push-down and pop-up processing.

なおこの第3の実施例は第1,2の実施例さ異なりスタ
ティックなシフトレジスタを用い、非同期式で作動させ
た例で、本発明はどちらの回路を用いても実現できるこ
とを示す。
Note that, unlike the first and second embodiments, the third embodiment uses a static shift register and operates in an asynchronous manner, showing that the present invention can be realized using either circuit.

また第1、第2の実施例をスタティックなレジスタを用
いた非同期式にこの第3の実施例をグイミックなレジス
タを用いた同期式で構成することももちろん可能である
ことを付加えておく。
It should be noted that it is of course possible to configure the first and second embodiments in an asynchronous manner using static registers, and the third embodiment in a synchronous manner using static registers.

また第17図Hに示す演算実行回路6及び乗算、除算、
べき乗、対数、加算命令発生回路34〜38等は従来公
知の技術を用いて容易に本発明を実現することかできる
ので詳細な開示及び説明は省略する。
In addition, the operation execution circuit 6 shown in FIG. 17H and the multiplication, division,
The exponentiation, logarithm, addition instruction generation circuits 34 to 38, etc. can easily implement the present invention using conventionally known techniques, so detailed disclosure and explanation will be omitted.

しかし大略の説明を付加すれば例えば乗算命令発生回路
Mult34が作動すればA、DDERはその制御に従
ってX、Y入力情報を加算の繰り返しによりX*Y乗算
を実行し、ADDERの出力ADDOとしてその乗算実
行の結果である積を求め得るものである。
However, to add a rough explanation, for example, when the multiplication instruction generation circuit Mult34 operates, A, DDER executes X*Y multiplication by repeating addition of X and Y input information according to its control, and the multiplication is output as ADDER's output ADDO. It is possible to obtain the product that is the result of the execution.

次に詳細な回路の構成を説明する。Next, the detailed circuit configuration will be explained.

第17図Aにおいて、フリップフロップF1〜F7は各
々+I M X 5÷j = 1 ) 9 Xキーが
押下されたときセットするフリップフロップで、各各の
セット出力をキー信号に+、に一、KX。
In FIG. 17A, flip-flops F1 to F7 are flip-flops that are set when the X key is pressed. KX.

K÷、に二、K)KX 、uして用いる。K÷, 2, K) KX, u.

譜を除くこれら何れのキー信号もオアゲー1−014を
通って、オアゲ゛−ト出力KORとなる。
All of these key signals except for the score pass through the OR game 1-014 and become the OR game output KOR.

フリップフロップCFO〜CF5はその段間に複雑な制
御ゲートを有しているが、基本的にはリングカウンタ構
成に似ていて、順次セット出力信号CCO〜CC5を発
生し、決して重なったり、同時に発生したりはしない。
Flip-flops CFO-CF5 have complex control gates between their stages, but are basically similar to a ring counter configuration, generating set output signals CCO-CC5 sequentially, never overlapping or occurring simultaneously. I don't do that.

フリップフロップFEはそのセット、リセット入力にア
ンドゲートAg26゜Ag25等を備え、そのセット、
リセットが制御される。
The flip-flop FE is equipped with AND gates Ag26°Ag25, etc. at its set and reset inputs, and its set and reset inputs are
Reset is controlled.

またそのセット、リセット出力はアンドゲートA927
.A92Bへ印加され、主にコントロール信号をCCO
からCC5まで発生させるか、]CC3からCC5まで
発生させるかをべき乗キー四日か押されたか否かで区別
する機能を有する。
Also, its set and reset outputs are AND gate A927
.. Applied to A92B, mainly control signal to CCO
It has a function to distinguish whether to generate from CC5 to CC5 or from CC3 to CC5 depending on whether or not the exponentiation key has been pressed.

プリップフロップFD1は除算キー口が押下されたとき
にセットされるようにセット入力端子にアンドゲートA
g29を備え、またリセット入力端子にはオアゲート2
0を備え、図示の如く各種の条件でリセットされる。
The flip-flop FD1 connects an AND gate A to the set input terminal so that it is set when the division key is pressed.
g29 and an OR gate 2 at the reset input terminal.
0, and is reset under various conditions as shown in the figure.

第17図13はブツシュダウン信号が発生される場合の
ゲート構成を表わす。
FIG. 17 shows a gate configuration when a bushdown signal is generated.

図示の如くキー信号KlまたはK〕が生成したときコン
トロール信号CC3の時間にブツシュダウン信号F、P
、D、PQ、P、D を発生する。
As shown in the figure, when the key signal Kl or K] is generated, the pushdown signals F and P are generated at the time of the control signal CC3.
, D, PQ, P, D are generated.

第17図Cは同じくポツプアップ信号が発生される場合
のゲート構成を表わす。
FIG. 17C similarly shows the gate configuration when a pop-up signal is generated.

図示の如くキー信号K〕が発生したときのコントロール
信MCC5またはコントロール信号CC2の発生により
ポツプアップ信号F、P、U、PQ、P−U を出力
する。
As shown in the figure, pop-up signals F, P, U, PQ, and PU are output in response to generation of control signal MCC5 or control signal CC2 when key signal K] is generated.

第17図りは一般のワンジョンマルチO8がクリアキー
同の押下後の復帰時に起動してクリア信号KCを発生す
る構成を表わす。
Figure 17 shows a configuration in which a general One John Multi O8 is activated and generates a clear signal KC when the clear key is returned after being pressed.

第17図E、F、Gは因子レジスクER,項しジスクP
R1、算術式レジスタQR1の入力端子に各々接続され
たゲー1へ群で、第16図の制御部20内に含まれてい
る。
Figure 17 E, F, and G are factors ER and P.
R1 and gate 1 are connected to the input terminals of arithmetic register QR1, respectively, and are included in the control section 20 of FIG.

これらゲート群の個々の機能は以後の作動説明で次第に
明らかにしていく。
The individual functions of these gate groups will be gradually clarified in the subsequent explanation of their operations.

しかしこれらゲート群の作動は本実施例の特に重要な部
分である。
However, the operation of these gate groups is a particularly important part of this embodiment.

第17図Eにおいて、オアゲート0g23゜0g24.
アンドゲートAg35等の出力によりアンドゲートAg
37が開いて第17図HのADDER出力ADDOが因
子レジスタBRに格納される。
In FIG. 17E, the or gate 0g23°0g24.
AND gate Ag by the output of AND gate Ag35 etc.
37 is opened and the ADDER output ADDO of FIG. 17H is stored in the factor register BR.

またアントゲ−1−Ag38はレジスタERの内容の自
己保持用循環ゲートで、信号CC3またはCC4and
K、 j’のとき、開いて循環させる。
Ant game 1-Ag38 is a circulation gate for self-holding the contents of the register ER, and the signal CC3 or CC4and
When K, j', open and circulate.

第17図FにおいてアンドゲートAg39は信号CC3
and KORのとき出力信号を生成し、このときまた
はKrand CC4のときアンドケートAg40を
開いてADDERの出力ADDOを環レジスタPR1に
格納する。
In FIG. 17F, the AND gate Ag39 is connected to the signal CC3.
When and KOR, an output signal is generated, and at this time or when Krand CC4, AND gate Ag40 is opened and the output ADDO of ADDER is stored in ring register PR1.

またキー信号に+。K−、K(、KC,に二のききて信
号CC5のさきにレジスタPRIのLSDにアントゲ−
1〜AL42,1943が開いて数値データ信号1が格
納される。
Also + for key signal. K-, K(, KC, are second-guessed and ant game is applied to LSD of register PRI before signal CC5.
1 to AL42, 1943 are opened and numerical data signal 1 is stored.

またに−のときはLSDに1を格納するとさもにSig
n 桁にも信号1を格納して、レジスタPRIに格納
されたデータを負数さして扱い処理する。
Also, when -, 1 is stored in LSD and Sig
Signal 1 is also stored in the nth digit, and the data stored in the register PRI is handled as a negative number and processed.

またポツプアップ信号PQ、P’。Uかアントゲ−14
J’44に印加された時は、レジスタPR2の内容を格
納してポツプアップする。
Also, pop-up signals PQ, P'. Uka Antogame-14
When applied to J'44, the contents of register PR2 are stored and popped up.

第17図Gにおいて、キー信号に+またはに−か発生し
たさき、コントロール信号CC4のときにADDERの
出力ADDOを算術式レジスタQRIに格納する。
In FIG. 17G, when the key signal is + or -, the output ADDO of ADDER is stored in the arithmetic register QRI when the control signal CC4 is present.

またポツプアップ信号によりアンドケートAa945が
開いてレジスタQR2の内容がレジスタQR1に戻って
来る。
Also, the pop-up signal opens the AND gate Aa945, and the contents of the register QR2 are returned to the register QR1.

第17図gのADDERの×入力端子にはアントゲ−1
−A18.Ag47、オアゲート0.934゜0g33
等が接続され、またY入力端子にはオアゲートO,?3
6,0g35、アンドゲートA、F50等が接続される
Ant game 1 is connected to the × input terminal of ADDER in Figure 17g.
-A18. Ag47, or gate 0.934゜0g33
etc. are connected to the Y input terminal, and an OR gate O, ? is connected to the Y input terminal. 3
6,0g35, AND gate A, F50, etc. are connected.

アンドゲートAg48は信号CCO,KORandCC
3,キーに+、K −、に=。
AND gate Ag48 is the signal CCO, KORandCC
3. +, K -, = on the keys.

K〕等の信号発生時に信号CC4が発生したとき等に開
いて項しジスクPR1の出力内容PRIOを×端子に印
加する。
When the signal CC4 is generated when a signal such as K] is generated, it is opened and the output content PRIO of the disk PR1 is applied to the × terminal.

またアントゲ−1147に出力信号が生じたときにはア
ントゲ−1−A、F49を開いて算術式レジスタQR1
の出力内容QR10をY端子に印加する。
Also, when an output signal is generated in Antogame 1147, Antogame 1-A and F49 are opened and arithmetic register QR1 is output.
The output content QR10 is applied to the Y terminal.

またはオアゲート0.935に入力される信号CCI、
KOR,K”−CC4等のさきにアンドゲートAg50
を開いて因子レジスタERの出力内容EROをY入力端
子に印加する。
Or the signal CCI input to the OR gate 0.935,
AND gate Ag50 before KOR, K”-CC4 etc.
is opened and the output content ERO of the factor register ER is applied to the Y input terminal.

次に数式A+gX(D十E’)=の例を基にしてその具
体的作動を説明する。
Next, the specific operation will be explained based on the example of the mathematical formula A+gX(D+E')=.

前例同様にクリアキーCを押下するさ第17図りのクリ
アキーかオンになり、信号KCHが発生して、計算機内
の全てのレジスタ、フリップフロップをクリア、リセッ
トする。
As in the previous example, when the clear key C is pressed, the clear key shown in Figure 17 is turned on, the signal KCH is generated, and all registers and flip-flops in the computer are cleared and reset.

クリアキーを復帰させると前述の如く信号KCHの立ち
上りでワンショットマルチバイブレークO8かトリガさ
れ第18図A図示の如くクリア信号KCがO8より発生
する。
When the clear key is reset, the one-shot multi-bye break O8 is triggered by the rise of the signal KCH as described above, and the clear signal KC is generated from O8 as shown in FIG. 18A.

このクリア信号KCは第17図Aのオアゲート016に
印加されているので、オアゲート0g17を介してフリ
ップフロップCF3をセットし、セット出力信号CC3
を発生し以後第18図A図示の如く、セット出力信号C
C3の立下りでフリップフロップCF4かセットし、セ
ット出力CC4を発生し、またこの信号CC4の立下り
でフリップフロップCF5もセットされ、出力信号CC
5を発生する。
Since this clear signal KC is applied to the OR gate 016 in FIG. 17A, it sets the flip-flop CF3 via the OR gate 0g17 and sets the set output signal CC3.
After that, as shown in FIG. 18A, the set output signal C is generated.
At the falling edge of C3, the flip-flop CF4 is set and a set output CC4 is generated, and at the falling edge of this signal CC4, the flip-flop CF5 is also set, and the output signal CC4 is set.
Generates 5.

フリップフロップCF3のセフ1ル時には特に何も作動
せず、次のフリップフロップCF4のセット時のセット
出力信号CC4の発生している時間内に第17図Eのレ
ジスタERの内容のクリア動作か行なわれる。
When the flip-flop CF3 is set to 1, no particular operation is performed, and the contents of the register ER shown in FIG. 17E are cleared during the time when the set output signal CC4 is generated when the next flip-flop CF4 is set. It will be done.

すなわちこの時間にレジスタERへのクロックパルスC
Pを印加してやれば、レジスタERの内容は全て右シフ
トされ、またこのときアンドゲートAJ’36 、Ag
2Sは開かないからシフトされた内容は循環できず、し
たがってレジスタERの内容はあらためて再びクリアさ
れる。
That is, at this time the clock pulse C to the register ER
If P is applied, the contents of register ER are all shifted to the right, and at this time, AND gates AJ'36 and Ag
Since 2S is not open, the shifted contents cannot be circulated, and therefore the contents of register ER are cleared again.

フリップフロップCF5がセットされると出力信号CC
5は第17図FのアンドゲートAg43の一方の入力端
子に印加され、オアゲートO!9’27に印加されてい
るクリア信号KCはレジスタPR1の最下位桁時間のさ
らに最下位ビット時間にアントゲ−1−4J’ 42か
開くので、アンドゲートAg43から2進符号で000
1,10進符号で数値データ信号1かレジスタPRIの
最下位桁(LSD’)に格納され、またその他の桁は全
てOが格納される。
When the flip-flop CF5 is set, the output signal CC
5 is applied to one input terminal of the AND gate Ag43 in FIG. 17F, and the OR gate O! The clear signal KC applied to the AND gate 9'27 opens the AND gate 1-4J' 42 at the least significant bit time of the register PR1, so that the AND gate Ag43 outputs 000 in binary code.
The numerical data signal 1 is stored in the least significant digit (LSD') of the register PRI in 1, decimal code, and O is stored in all other digits.

また出力信号CC5か発生する時間にもクロックパルス
CPは発生されるので、第17図GのレジスタQR1も
前述のレジスタPRIのクリア作動と同様にクリアされ
る。
Since the clock pulse CP is also generated at the time when the output signal CC5 is generated, the register QR1 in FIG. 17G is also cleared in the same manner as the above-mentioned clearing operation of the register PRI.

また信号CC5は第17図AのアンドゲートAg25も
開くので、オアゲート0g20を通ってフリップフロッ
プFD1をリセットする。
Since the signal CC5 also opens the AND gate Ag25 in FIG. 17A, it passes through the OR gate 0g20 and resets the flip-flop FD1.

さらにアンドゲート1’25の出力信号はオアゲート0
g18を通ってフリップフロップFEをリセットする。
Furthermore, the output signal of AND gate 1'25 is OR gate 0
The flip-flop FE is reset through g18.

以上までの作動で第19図gのクリアキー同押下後の処
理を全て終了する。
With the above operations, all the processing after pressing the clear key in FIG. 19g is completed.

各所に生成する制御パルスの様子は第12図A、Bに示
される。
The appearance of control pulses generated at various locations is shown in FIGS. 12A and 12B.

次に周知の方法で数値データAがレジスタERに格納さ
れる。
Numerical data A is then stored in register ER in a well-known manner.

次に■キーが押下され侵第17図Aでフリップフロップ
F4がセットされる。
Next, the ■ key is pressed and the flip-flop F4 is set in FIG. 17A.

このセット出力信号はキー信号に÷となってオアゲート
(1’14を通ってその出力信号KO,Rとなリ、これ
がオアケートog15を通り、アンドゲートAi7に印
加される。
This set output signal is divided by the key signal, passes through an OR gate (1'14), and becomes its output signal KO, R, which passes through an OR gate og15 and is applied to an AND gate Ai7.

今の場合、べき乗キ[Z]は押すれていないのでセット
されていす、したがってアンドゲートAg27は開かな
い。
In this case, the exponentiation key [Z] is not pressed, so it is set, so the AND gate Ag27 does not open.

その代りフリップフロップFEのリセット出力によりア
ントゲ−1−Al1が開くので前述のクリア信号KCが
オアゲート0g16を通ったさきき同じ作動でオアゲー
ト0g17が開き、第18図Aの一時間欄に示す如くフ
リップフロップCF3゜CF4.CF5か順次セットさ
れ、出力信号CC3゜CC4,CC5を順次発生する。
Instead, the reset output of the flip-flop FE opens the ant game 1-Al1, so when the above-mentioned clear signal KC passes through the OR gate 0g16, the OR gate 0g17 opens due to the same operation, and the flip-flop opens as shown in the 1-hour column of FIG. 18A. CF3゜CF4. CF5 is set sequentially, and output signals CC3, CC4, and CC5 are sequentially generated.

信号CC3の発生中、オアゲート0g14の出力信号K
ORは第17図HのアンドゲートAJ’51 、Ag5
2に印加されるが、このときフリップフロップFD1は
未だセットされていないので、アンドゲートA、952
か開き、4の乗算命令発生回路Mu l tを起動する
While the signal CC3 is being generated, the output signal K of the OR gate 0g14
OR is AND gate AJ'51, Ag5 in Figure 17H.
However, since the flip-flop FD1 is not yet set at this time, the AND gate A, 952
is opened, and the multiplication instruction generating circuit Mult 4 is activated.

このとき信号KO3・CC3によりオアゲート0g34
に出力信号が生じるので、アンドゲート1’48からは
レジスタPRIの内容出力PR10が演算実行回路6内
のADDERの×入力端子に印加され、また同様にオア
ゲート(135にも出力信号が生じるのでアントゲ−1
−Ag50も開き、レジスタERの内容出力EROがA
DDERのY入力端子に印加される。
At this time, OR gate 0g34 is generated by signal KO3/CC3.
Since an output signal is generated at the AND gate 1'48, the content output PR10 of the register PRI is applied to the × input terminal of ADDER in the arithmetic execution circuit 6. -1
-Ag50 is also opened, and the content output ERO of register ER is A.
Applied to the Y input terminal of DDER.

したがってADDERは乗算命令発生回路Mult
34 の出力制御により加算の繰り返しによる乗算演算
をレジスクBR,CR等も用いて行なう。
Therefore, ADDER is the multiplication instruction generation circuit Mult.
By controlling the output of 34, a multiplication operation by repeating addition is also performed using resistors BR, CR, etc.

すなわちレジスタPRIの内容1さレジスタERの内容
A吉でIXAの乗算演算が行なわれ、その結果である積
Aは前述の定義の如く因子から項に変換されたから、項
を格納する専用のレジスタPR1に格納される。
That is, the multiplication operation of IXA is performed with the content 1 of register PRI and the content A of register ER, and the resultant product A is converted from a factor to a term as defined above, so a register PR1 dedicated to storing terms is used. is stored in

これは第17図Fのアンドゲート、B39.l’40を
開いて、ADDERの出力ADDOとしてPRlに格納
する。
This is the AND gate in Figure 17F, B39. l'40 is opened and stored in PRl as the output ADDO of ADDER.

続く信号CC4の発生時間中には何も行なわず、次の信
号CC5の発生により第17図AのアンドゲートAg2
9が開き、除算キー■か押下されたことを記憶するフリ
ップフロップ’FD1をセットする。
Nothing is done during the generation time of the subsequent signal CC4, and the AND gate Ag2 in FIG. 17A is activated by the generation of the next signal CC5.
9 is opened, and the flip-flop 'FD1 is set to remember that the division key 2 has been pressed.

数値データBか置数されるとレジスタERに格納されて
いた前の数値データAをBに書き換える。
When numerical data B is entered, the previous numerical data A stored in register ER is rewritten to B.

べき乗キー[Z]が押下されると、その直前までにおい
ては [Z]子キー押されたことを記憶するフリップフ
ロップFEは未だセットされていないため、第17図A
のアントゲ−)−A、1927は開かず、前述ロキーか
押された場合と同様にフリップフロップCF3から順に
CF4.CF5とセットしていき、前述上回じ信号CC
3,CC5が発生する。
When the exponentiation key [Z] is pressed, the flip-flop FE that remembers that the [Z] child key has been pressed has not yet been set until just before that.
Antogame)-A, 1927 is not opened, and the flip-flops CF3 to CF4. CF5 and the above-mentioned upper signal CC
3, CC5 occurs.

今信号CC3の発生時間中は第17図Bのアンドゲート
A、931が開き、その出力信号はレジスタ群PR1〜
PR5、レジスタ群QRI〜QR5のブツシュダウン信
号PQ、P、Dc:なり、第16図のアントゲ−1−A
、91 、 A、!i’ 3 、A、95゜A、l及び
アンドゲートA、99 、A&11 、A、、?13゜
Ag15に印加され、レジスタ群PRI〜PR5さレジ
スタ群QRI〜QR5を各々ブツシュダウン処理を行な
う。
Now, during the generation time of signal CC3, AND gate A, 931 in FIG. 17B is open, and its output signal is
PR5, the bushdown signals PQ, P, Dc of the register group QRI to QR5: become, Antogame 1-A in FIG.
,91,A,! i' 3 , A, 95° A, l and AND gate A, 99 , A & 11 , A, ? 13°Ag15 is applied, and the register groups PRI to PR5 and register groups QRI to QR5 are subjected to bushdown processing, respectively.

また1ビットのスタックFD1〜FD5のアンドゲート
AJ’17.Ag19゜Ail、A13へも第17図B
のアンドゲートAg32の1ビット出力信号が印加され
、ブツシュダウン処理が行なわれる。
Also, the AND gate AJ'17. of the 1-bit stack FD1 to FD5. Ag19゜Ail, also to A13 Fig. 17B
A 1-bit output signal of AND gate Ag32 is applied, and bushdown processing is performed.

したがってレジスタPR1の内容AはレジスタPR2に
移り、また1ビツトスタツクのフリップフロップFD1
の内容もFD2に移る。
Therefore, the contents A of the register PR1 are transferred to the register PR2, and the 1-bit stack flip-flop FD1 is transferred to the register PR2.
The contents will also be transferred to FD2.

またFDlはアンドゲートA、?19へは否定入力が印
加されるからリセットする。
Also, FDl is AND gate A, ? Since a negative input is applied to 19, it is reset.

次の信号CC4の発生中には第17図Hの37の対数演
算命令発生回路Log 10xが起動し、またオアゲ
ート(135に出力信号が生じ、アンドゲートAg50
を開いてレジスタERの内容出力EROをADDERの
Y入力端子に印加する。
While the next signal CC4 is being generated, the logarithmic operation instruction generating circuit Log10x at 37 in FIG.
is opened and the content output ERO of register ER is applied to the Y input terminal of ADDER.

またこのときADI)ERの×入力端子に入力されるデ
ータ信号はない。
Also, at this time, there is no data signal input to the × input terminal of ADI)ER.

このADD−ERを対数演算命令発生回路Log1oX
の出力制御により作動させてレジスタBRの内容BをL
Og+oBに変換して、レジスタPR1にその結果であ
るL o g 18Bを格納する。
This ADD-ER is converted into a logarithm operation instruction generation circuit Log1oX
is activated by the output control of register BR to L.
It is converted into Og+oB and the resultant L o g 18B is stored in register PR1.

次の信号CC5では第17図AのアンドゲートA、@2
6が開くので、キー□Xか押されたときセットしたフリ
ップフロップF7のセット出力信号に、 Gがアンドゲ
ートAg26を通ってフリップフロップFBをセットし
て、キー園が押されたこ吉を記憶する。
In the next signal CC5, the AND gate A of FIG. 17A, @2
6 opens, so G passes through AND gate Ag26 and sets flip-flop FB to the set output signal of flip-flop F7, which was set when key □ .

次にデータCか置数され、レジスタERの前のデータ内
容BをCに書き換える。
Next, data C is assigned, and the previous data content B in register ER is rewritten to C.

この段階まででは第20図Cのステップ0行に示す如く
レジスタERに因子データであるCルジスタPR1、P
H1に環データである l o g 1゜B 、Aが各々格納される。
Up to this stage, as shown in step 0 line of FIG.
Ring data log 1°B and A are respectively stored in H1.

次に区キーが押下されると、第17図Aのフリップフロ
ップF3がセットし、キー信号に×を発生する。
Next, when the ward key is pressed, the flip-flop F3 in FIG. 17A is set and generates an x in the key signal.

前の段階でフリップフロップFBはセットされていたた
め、アントゲ−14J’27が今度は開き、フリップフ
ロップCFOがセットされ、セット出力信号CCOを第
18図Aに示す如く発生する。
Since the flip-flop FB was set in the previous step, the analog gate 14J'27 is now opened, the flip-flop CFO is set, and the set output signal CCO is generated as shown in FIG. 18A.

信号CCOが発生すると第17図Hのオアゲート(13
7に出力信号が生じるので、前述のし薯キーの場合と同
様、乗算命令発生回路Mult34が起動し、またアン
ドゲートA、18゜AJ’50か開くからX、Y入力端
子にはレジスタPR1の内容出力PR’IO(今格納さ
れているデータはLogloB)、レジスタERの内容
出力ERO(今格納されているデータC)が各々印加さ
れるからADDERでLogl、)B XCをMult
34の制御の基に実行し、その結果である積CLo g
、oB(=Log16BC)を第17図Eのアンドゲー
ト1’37を開けてレジスタERに格納する。
When the signal CCO is generated, the OR gate (13
Since an output signal is generated at 7, the multiplication instruction generating circuit Mult34 is activated as in the case of the yaw key described above, and AND gate A and 18°AJ'50 are opened, so the X and Y input terminals are connected to the register PR1. The content output PR'IO (currently stored data is LogloB) and the content output ERO of register ER (currently stored data C) are applied, so use ADDER to Mult Logl, )B XC
34, and the resulting product CLo g
, oB (=Log16BC) are opened in the register ER by opening the AND gate 1'37 in FIG. 17E.

次に信号CCOか立下るとフリップフロップCF1かセ
ットサれ、セット出力信号CCIを発生する。
Next, when the signal CCO falls, the flip-flop CF1 is set and a set output signal CCI is generated.

信号CCIは第17図Hのべき乗演算命令発生回路10
X36を起動する。
Signal CCI is the exponentiation operation instruction generation circuit 10 in FIG. 17H.
Start X36.

またアンドゲート1’50が開くから、レジスタERの
内容(LogloBC)をべき乗演算命令発生回路10
X35の制御の基にADDERにて、レジスタERの内
容の10X演算処理すなわち 10Log1(IBCの演算を実行し、その結果である
Bcを生成して、第17図EのアンドゲートAg37を
開けてレジスタERに格納する。
Also, since the AND gate 1'50 is opened, the contents of the register ER (LogloBC) are multiplied by the exponentiation operation instruction generation circuit 10.
Under the control of X35, ADDER performs a 10X operation on the contents of register ER, that is, 10Log1 (IBC), generates the result Bc, and opens AND gate Ag37 in FIG. Store in ER.

これか終了するとフリップフロップCF1はリセットさ
れ、フリップフロップCF2かセットされる。
When this is completed, flip-flop CF1 is reset and flip-flop CF2 is also set.

このセット出力信号CC2は第17図Cのオアゲ−)0
g22に印加されるので、その出力信号はレジスタ群P
R,QR,1ビットスタックFDのポツプアップ処理命
令信号PQ、P、U、F、P、Uとなるので、第2図の
アンドゲートA、?8.Ag6゜Ag4.Ai(第17
図EのAL44)及びアンドゲートAg16 、AJ’
14 、AJ’12.A、910(第17図GのAg4
5 )、及びアンドゲートA、924.l’22.AJ
’20.Ag18を開いてポツプアップ処理を行なう。
This set output signal CC2 is
g22, its output signal is applied to register group P
R, QR, 1-bit stack FD pop-up processing command signals PQ, P, U, F, P, U, so the AND gates A, ? 8. Ag6°Ag4. Ai (17th
AL44 in Figure E) and AND gate Ag16, AJ'
14, AJ'12. A, 910 (Ag4 in Fig. 17 G)
5), and ANDGATE A, 924. l'22. A.J.
'20. Open Ag18 and perform pop-up processing.

これは先にキーロ]押下の際にブツシュダウン処理を行
なったので、その処理の前の状態に戻したことを意味す
る。
This means that since a bushdown process was performed when [Keylo] was pressed earlier, the state has been returned to the state before that process.

また第17図Aのオアゲート0g18に出力信号が生じ
るので、フリップフロップF、[−1Jセツトするので
、アンドゲートAg28が開くので、信号C02の立下
りさ同時にフリップフロップCF3がセットされる。
Further, since an output signal is generated at the OR gate 0g18 in FIG. 17A, the flip-flop F, [-1J is set, and the AND gate Ag28 is opened, so that the flip-flop CF3 is set at the same time as the signal C02 falls.

このセット信号CC3は、第17図HのアンドゲートA
、?51とAg52に印加されるが、先に■キーが押さ
れてフリップフロップFD1がセットされていたため、
アントゲ−)、151に出力信号が生じ、除算命令発生
回路Div35を起動する。
This set signal CC3 is applied to the AND gate A in FIG. 17H.
,? 51 and Ag52, but since the ■ key was pressed first and the flip-flop FD1 was set,
An output signal is generated at 151, which activates the division instruction generation circuit Div35.

またアンドゲートA5+48.Ag50も開くので、レ
ジスタPR1の出力内容A(l!l−レジスタERの出
力内容BcがDiv35の制御の基にADDERにて除
算演算の実行(A+B0)を行ない、その結果である商
A7T3°は第17図Fのアントゲ−1−A、lOが開
くことによりレジスタPRIに格納される。
Also, and gate A5+48. Since Ag50 is also opened, the output content A of register PR1 (l!l- output content Bc of register ER) executes the division operation (A+B0) in ADDER under the control of Div35, and the resulting quotient A7T3° is The data is stored in the register PRI by opening the gates 1-A and 10 in FIG. 17F.

これは前述の定義により環データであるから項格納用レ
ジスタPRIに格納すべきものである。
Since this is ring data according to the above definition, it should be stored in the term storage register PRI.

この除算演算の終了信号End で第17図Aのフリッ
プフロップFD1をリセットする。
The flip-flop FD1 in FIG. 17A is reset by the end signal End of this division operation.

次に順次発生する信号CC4,CC5の間は、制御も実
行も何も・行なわない。
During the next sequentially generated signals CC4 and CC5, no control or execution is performed.

次にトロキーか押下されると、第17図Aのオアゲー1
−0g16に出力信号が生じるので、クリアキー同の場
合と同じくフリップフロップCF3.CF4.CF5が
順次セットし、信号CC3、CC4、CC5を生じる。
Next, when the trolley is pressed, or game 1 in Figure 17A is pressed.
Since an output signal is generated at -0g16, the flip-flop CF3. CF4. CF5 sets sequentially, producing signals CC3, CC4, CC5.

信吹C3が発生すると、第17図Bのアントゲ−)Ag
31が開き、レジスタPR1〜PR5、レジスタQR1
〜QR5,1ビツトスタツクFD1〜FD5へのブツシ
ュダウン信号PQ、P、D、F、P、Dが発生し、前述
と同じ作動で各スタックのブツシュダウン処理が行なわ
れる。
When Shinbuki C3 occurs, the anime game in Figure 17B)Ag
31 opens, registers PR1 to PR5, register QR1
-QR5,1 Bushdown signals PQ, P, D, F, P, D are generated for the bit stacks FD1 to FD5, and the bushdown processing of each stack is performed in the same manner as described above.

このキー口]か押される前までは第20図Cのステップ
X行に示す如く、レジスタER,PR1に各々データB
’jA+B’か格納され、他のレジスタPR2〜PR5
、QR1〜QR5は全て格納内容は0である。
Until this key is pressed, data B is stored in registers ER and PR1, respectively, as shown in step X line of FIG. 20C.
'jA+B' is stored and other registers PR2 to PR5
, QR1 to QR5 all have 0 stored contents.

またフリップフロップFD1もリセット状態である。Flip-flop FD1 is also in a reset state.

したかつてこの状態を各々ブツシュダウンするさレジス
タPR2にPRlの内容A+B”が格納される。
When this state is shuffled down, the contents A+B'' of PRl are stored in register PR2.

またレジスタERの内容B0は第16図のアンドゲート
lil 1が開くことにより、レジスタPRIに一旦格
納される。
Further, the contents B0 of the register ER are temporarily stored in the register PRI by opening the AND gate lil1 shown in FIG.

しかしレジスタERは因子、レジスタPRは項か格納さ
れる如く設定されているので、このデータ移動はブツシ
ュダウン処理の概念には入らない。
However, since the register ER is set to store factors and the register PR is set to store terms, this data movement does not fall under the concept of bushdown processing.

事実、後で発生する倍乗C5によりレジスタPRIに格
納されたデータB はクリアされてしまう。
In fact, the data B stored in register PRI is cleared by the multiplication C5 that occurs later.

さて信号CC3か立下ると、前述同様に信号CC4か発
生する。
Now, when the signal CC3 falls, the signal CC4 is generated as described above.

第17図Eのオアゲート0g25か先の信号CC3によ
り出力信号を発生し、アンドゲートAg38が開いてレ
ジスタERの内容を循環させて保持していたため、先に
レジスタERの内容B0をレジスタPRIに移動させて
も依然としてデータB0は残っているから、アンドゲー
トAg39を信号CC3の立下りと同時に閉じるととも
にCC4の信号発生中に発生するクロックパルスCPで
右シフトサせてその内容を前述の如き作動でクリアする
The OR gate 0g25 in FIG. 17E generates an output signal by the previous signal CC3, and the AND gate Ag38 opens to circulate and hold the contents of the register ER, so the contents B0 of the register ER are moved to the register PRI first. Since the data B0 still remains even if the signal CC3 falls, AND gate Ag39 is closed at the same time as the signal CC3 falls, and its contents are cleared by the operation described above by shifting it to the right with the clock pulse CP generated while the signal CC4 is being generated. do.

信号CC4が立下り、信号CC5か第18図A図示の如
く発生すると、前述と同じ作動でCC5の発生時間中に
発生するクロックパルスCPでレジスタPR1を右シフ
トさせて、その内容B0をクリアし、またアンドゲート
A、943を開いて、数値データ信号1をレジスタPR
IのLSDに格納する。
When the signal CC4 falls and the signal CC5 is generated as shown in FIG. 18A, the register PR1 is shifted to the right by the clock pulse CP generated during the generation time of CC5 in the same manner as described above, and its contents B0 are cleared. , also opens the AND gate A, 943, and sends the numerical data signal 1 to the register PR.
Store it in I's LSD.

またレジスタQR1をレジスタPR1をクリアしたのき
同じ作動でクリアする。
Also, register QR1 is cleared by the same operation as when register PR1 was cleared.

さらに同様に第17図AのアンドゲートAJ’25が開
くから、フリップフロラップFDIをリセットするが、
これはすでにリセット済みであるから変化はない。
Furthermore, since the AND gate AJ'25 in FIG. 17A opens in the same way, the flip-flop FDI is reset.
This has already been reset, so there is no change.

またフリップフロップFEも同様にリセット済みの状態
にリセット信号が入り、リセット状態に変化はない。
Similarly, the reset signal enters the reset state of the flip-flop FE, and there is no change in the reset state.

次にデータDを置数すると先にクリアされて内容が空に
なったレジスタERに格納される。
Next, when data D is entered, it is first cleared and the contents are stored in the empty register ER.

次にし]キーが押されると、第17図Aのフリップフロ
ップFEはリセット状態なので、フリップフロップF1
のセット出力信号に+はアンドゲートA28を開き、信
号CC3、CC4、CC5を順次発生する。
When the [Next] key is pressed, the flip-flop FE in FIG. 17A is in the reset state, so the flip-flop F1
The set output signal + opens AND gate A28 and sequentially generates signals CC3, CC4, and CC5.

信号CC3が発生すると、第17図Hでフリップフロッ
プFDIはリセットされていたのでアンドゲートAg5
2が開き、Mult34を起動する。
When the signal CC3 is generated, the flip-flop FDI has been reset in FIG. 17H, so the AND gate Ag5 is generated.
2 opens and starts Mult34.

またアンドゲートAg48.AJ50も開くので、前述
同様にMult34の制御の基にADDERにてPRI
XERすなわちIXDの乗算を実行し、項格納用レジス
タPR1にアントゲ−14g39.A、lOを用いてA
DDERの出力ADDO吉してその結果である積りを格
納する。
Also, AND gate Ag48. Since AJ50 also opens, PRI is set in ADDER under the control of Mult34 as described above.
Executes the multiplication of XER, that is, IXD, and stores antgame-14g39. in the term storage register PR1. A, using lO
The output of DDER is converted to ADDO and the resulting product is stored.

また第17図Eのオアゲート0g25も信号CC3によ
り出力信号を生成し、アンドゲートl’38を開くので
レジスタERの内容りはそのまま保持される。
Further, the OR gate 0g25 in FIG. 17E also generates an output signal based on the signal CC3 and opens the AND gate l'38, so that the contents of the register ER are held as they are.

次に信号CC4が発生すると第17図Hのオアゲート0
F33にはフリップフロップF1のセット出力であるキ
ー信号に+が印加されているので出力信号が生じており
、したがってアントゲ−)A、17が開き、加算命令発
生回路ADD38を起動する。
Next, when signal CC4 is generated, OR gate 0 of FIG.
Since + is applied to the key signal which is the set output of the flip-flop F1, an output signal is generated in F33, so that the analog gate (A) 17 is opened and the addition instruction generating circuit ADD38 is activated.

またアンドゲートAg48も開き、さらにアンドゲート
Ag49も開くので、ADD38の加算制御命令に従っ
てADDERはQR1+PR1を実行する。
Further, AND gate Ag48 is opened, and AND gate Ag49 is also opened, so ADDER executes QR1+PR1 according to the addition control command of ADD38.

今PRIの内容はり。QRlの内容は0なので、その結
果0+D=Dとなり、和りを第1γ図Gのアンドゲート
Ag46を開くことにより、レジスタQR1に格納する
The current content of PRI. Since the content of QRl is 0, the result is 0+D=D, and the sum is stored in register QR1 by opening AND gate Ag46 in FIG.

これは前述の定義の如くデータDは因子の資格でレジス
タERに格納されてから1を乗せられて項に変換され、
その環データDに0を加算せられて算術式に変換された
から、算術式格納用レジスタQR1に格納されたのであ
る。
This means that, as defined above, the data D is stored in the register ER as a factor, then is multiplied by 1 and converted into a term.
Since 0 was added to the ring data D and converted into an arithmetic expression, it was stored in the arithmetic expression storage register QR1.

次の信号CC5が発生して、その時間内のレジスタPR
1のLSD時間’l’LSD の最下位ビット時間(L
SD)になるとアンドゲートA、、12.A、943が
開いて、レジスタPR1のLSDに数値データ信号1を
格納する。
When the next signal CC5 is generated, the register PR within that time
1 LSD time 'l' LSD least significant bit time (L
SD), the AND gate A,,12. A, 943 opens and stores numeric data signal 1 in the LSD of register PR1.

これが終った段階の各レジスタの格納内容を第20図C
のステップ国行に示す。
Figure 20C shows the contents stored in each register when this is completed.
The step country row shows.

すなわちレジスタER、PRl 、PH1、QRlには
各各デークDs 1 、A+B’ 、Dが格納され、他
は全て0である。
That is, each data Ds 1 , A+B', and D are stored in registers ER, PRl, PH1, and QRl, and all others are 0.

次にデータEが置数されるとレジスタERに格納される
Next, when data E is assigned, it is stored in register ER.

次に■キーが押下されると、第17図Aのフリップフロ
ップFEはリセットされているため、前述の如く信号は
CC3から順にCC4,CC56発生する。
Next, when the {circle around (2)} key is pressed, the flip-flop FE in FIG. 17A has been reset, so the signals CC4 and CC56 are generated in order from CC3 as described above.

またフリップフロップFD1もリセットしているため、
信号CC3は第17図HのアンドゲートA、952を開
き、Mult34を起動する。
Also, since the flip-flop FD1 is also reset,
Signal CC3 opens AND gate A, 952 of FIG. 17H and activates Mult34.

またアンドゲートA、!i’48.AJ’50も開くの
で前述の如<PRIXBR(=IXE)をADDERで
実行して、その積Eは第17図FのアンドゲートA5’
40が開かれるのでレジスタPR1に格納する。
And Gate A again! i'48. Since AJ'50 is also opened, execute <PRIXBR (=IXE) with ADDER as described above, and the product E is calculated using the AND gate A5' in Figure 17F.
40 is opened, so it is stored in register PR1.

信号CC4では第17図HのアンドゲートAg47か開
き、ADD38を起動する。
The signal CC4 opens the AND gate Ag47 in FIG. 17H and activates the ADD38.

またアンドゲートAg48゜Ag49も開くので、AD
DERでQR1+PR1(=D+E)を実行し、その和
D+Eは第17図EのアンドゲートAJ’35が開くの
でレジスタERに格納され、出力装置Oに出力される。
Also, since AND gate Ag48°Ag49 also opens, AD
QR1+PR1 (=D+E) is executed in DER, and the sum D+E is stored in the register ER since the AND gate AJ'35 in FIG. 17E is opened, and is output to the output device O.

これは前述の定義で、データD+Eは算術式であり、そ
れか(D十E)と括弧でくくられたから−次子または因
子テークに戻り、したがって因子格納用レジスタERに
格納される。
This is the definition given above, and since the data D+E is an arithmetic expression and is enclosed in parentheses as (D+E), it returns to the -order or factor take, and is therefore stored in the factor storage register ER.

信号CC5の発生は第17図Cのアントゲ−1−A、@
33を開くのでポツプアップ処理命令信号F、P、U、
PQ、P。
The signal CC5 is generated in the ant game-1-A of FIG. 17C, @
33 is opened, the pop-up processing command signals F, P, U,
PQ, P.

Uとなるので、前述の如くレジスタPR,1〜PR5、
QR1〜QR5,1ビツトスタツクFDI〜FD5をポ
ツプアップする。
Therefore, as mentioned above, registers PR,1 to PR5,
Pop up QR1-QR5, 1-bit stack FDI-FD5.

これは先の■キーでブツシュダウンされた状態を元に戻
すこさになるので、第、20図Cのステップ−行に示す
如くレジスタPRIにはPH1の内容A+B0が、レジ
スタPR2にはレジスタPR3の内容Oが、レジスタQ
R1にはレジスタQR2の内容Oが移動して格納される
This will restore the state that was previously pushed down by the ■ key, so as shown in the step-line in Figure 20, register PRI contains the contents of PH1, A+B0, and register PR2 contains the contents of register PR3. O is register Q
The contents O of register QR2 are moved and stored in R1.

またレジスタQRIに前に格納されていたデータDはレ
ジスタQR1から飛び出て消去される。
Furthermore, the data D previously stored in the register QRI jumps out of the register QR1 and is erased.

したがってこの段階ではレジスタER。PRlにデータ
D十E、データA+B0か格納され、他は全てOか格納
された状態となる。
Therefore, at this stage, the register ER. Data D1E and data A+B0 are stored in PRl, and all others are stored as O.

さて最後にロキーを押下するさ前述同様にフリップフロ
ップFEはリセットしているので第17図Aのアントゲ
−1−AJ”28が開き、信号CC3,CC4、CC5
を発生する。
Now, finally, press the key. As before, the flip-flop FE has been reset, so the Antogame 1-AJ" 28 in Fig. 17A opens, and the signals CC3, CC4, CC5
occurs.

信号CC3は第17図AのフリップフロップFD1がリ
セットしているので、第17図Hのアンドゲート1’5
2か開き、Mu l t 34を起動する。
Since the signal CC3 is reset by the flip-flop FD1 in FIG. 17A, the AND gate 1'5 in FIG. 17H
2 and start Mult34.

またアンドゲートA、948,150か開くのでPRl
XERすなわちA/B0x(D+E’)の乗算演算Mu
lt34の制御に従ってADDERで行なう。
Also, AND gate A, 948, 150 opens, so PRl
XER, that is, the multiplication operation Mu of A/B0x (D+E')
This is done with ADDER under the control of lt34.

この結果出力ADDOはA/B0X(D+E)吉なり、
これが第17図Fのアントゲ−hl’40を通ってレジ
スタPR1に格納される。
As a result, the output ADDO is A/B0X(D+E),
This is stored in the register PR1 through the game hl'40 in FIG. 17F.

次の信号CC’ 4は第17図HのアンドケートA、、
?47を開き、またADD38を起動し、アンドゲート
A、948゜1949を開くので、ADDERにてQR
1+PR1が行なわれる。
The next signal CC' 4 is ANDK A of FIG. 17H, .
? 47, start ADD38 again, and open AND gate A, 948°1949, so QR in ADDER
1+PR1 is performed.

今QRIの内容は0であるからPRlの内容A/B’X
(D+E”)の値は変らない。
Now the content of QRI is 0, so the content of PRl is A/B'X
The value of (D+E”) remains unchanged.

前述の如くO+の加算処理が施されたので本来ならば算
術式格納レジスタQR1にPRIの内容を格納すべきで
あったが、キー口が押下されたのでPRlの内容A/B
’X(D+E)は以後のその値か変ることなく、シたが
って算術式ではなくなり定数となる。
As mentioned above, since the addition process of O+ was performed, the contents of PRI should have been stored in the arithmetic expression storage register QR1, but since the key was pressed, the contents of PR1 A/B
'X(D+E) does not change its value from now on; therefore, it ceases to be an arithmetic expression and becomes a constant.

定数は一次子でありまた因子であるから、キー「口が押
されたときき同様に第17図EのアンドゲートAg35
が開いて、その出力かアンドゲートAJ’37を開いて
因子格納用レジスタERにADDERの出力ADDOす
なわちPRlの内容A/B’ X(D+E’)が格納さ
れる。
Since the constant is both a primary child and a factor, similarly when the key "mouth" is pressed, the AND gate Ag35 in Figure 17E is
is opened, and the AND gate AJ'37 is opened to store the output ADDO of ADDER, that is, the content A/B'X(D+E') of PRl, in the factor storage register ER.

信号CC5が発生すると、次の計算の準備を行なうため
、第19図りに示す如<[E]子キー3キーと同じ作動
すなわちレジスタPR1,QR1゜フリップフロップF
D1.FBを各々クリア、リセットし、レジスタPR1
のLSDに数値データ1を格納して全ての処理を終了す
る。
When the signal CC5 is generated, in order to prepare for the next calculation, the operation is the same as that of the <[E] child key 3 key, that is, the registers PR1, QR1゜flip-flop F are activated as shown in Figure 19.
D1. Clear and reset each FB, register PR1
The numerical data 1 is stored in the LSD, and all processing ends.

この状態は第20図Cのステップ二行に示される。This state is shown in the second row of steps in FIG. 20C.

またこれら数式の演算の途中結果は例えばA9BQc
EIEND■E[、E]のキー操作の場合はそれらのキ
ー操作に対応してA、B、C,Bo、0.D、E。
Also, the intermediate results of calculations of these formulas are, for example, A9BQc.
EIEND ■ In the case of E[, E] key operations, A, B, C, Bo, 0, . D.E.

D十E、A/B0.(D+E )さ表示したり、印字す
ることができる。
D1E, A/B0. (D+E) Can be displayed or printed.

これはレジスタERの出力を第16図の出力装置0に接
続することで行なう。
This is done by connecting the output of register ER to output device 0 in FIG. 16.

また減算キー口か押下された場合、第17図Fのアンド
ゲートAJ’41かレジスタ1のSign桁のタイミン
グに開き、レジスタPR1のSign桁に数値データ信
号1を格納して、減算処理を行なう。
When the subtraction key is pressed, the AND gate AJ'41 in FIG. 17F opens at the timing of the Sign digit of register 1, stores numerical data signal 1 in the Sign digit of register PR1, and performs subtraction processing .

したかって第17図Hに特別に減算命令発生回路SUB
を必要としなくても、ADD38で兼用できるので全体
回路構成が簡単になる。
Therefore, in FIG. 17H, there is a special subtraction instruction generation circuit SUB.
Even if the ADD 38 is not required, the ADD 38 can be used for both purposes, simplifying the overall circuit configuration.

この第3の実施例は上述のように、a、aキー押下によ
り項データを算術式データに変換し、図1国キーにより
因子データを項データに変換して、因子、項、算術式の
各データ格納用レジスタに各々格納し、それらをブツシ
ュダウン、ポツプアップ処理することにより、数式に直
接従ったキー操作で複雑な数式の答を自動的に得るこさ
かできるものである。
As described above, this third embodiment converts term data into arithmetic expression data by pressing the a and a keys, converts factor data into term data by pressing the country key in Figure 1, and converts factors, terms, and arithmetic expressions. By storing the data in each data storage register and processing them in a push-down and pop-up manner, it is possible to automatically obtain the answers to complex mathematical expressions by key operations that directly follow the mathematical expressions.

また前掲の如く算術式は項を含み、項は因子を含み、因
子は一次子を含むというような定義の定め方は、結局算
術式は一次子も含むことを意味し、またこの考えを用い
た処理制御を行なったため、極めて簡単な回路構成で数
式をキー操作に直接従った形式で入力させていくだけで
複雑な数式でも手軽なキー操作で演算実行を行なわせる
ことができるものである。
Furthermore, the above definition that an arithmetic expression includes a term, a term includes a factor, and a factor includes a primary child ultimately means that the arithmetic expression also includes a primary child, and using this idea, Because of the process control, even complex mathematical expressions can be executed with simple key operations using an extremely simple circuit configuration by simply inputting mathematical expressions in a format that directly follows key operations.

また前記第1,2の実施例は演算子+、−5÷の演算実
行時間は殆んど同じで、したがって演算処理時間を実質
的に短かくすることかできる、演算子の追加(例えば↑
)、削除等に対する他の回路構成の変更は極力少なくす
ることかできる、等の特徴を有する。
Furthermore, in the first and second embodiments, the execution time for operators + and -5÷ is almost the same, so adding an operator (for example, ↑
), changes in other circuit configurations due to deletion, etc. can be minimized as much as possible.

また第3の実施例は演算途中の結果を容易に出力させる
ことかできる、この実施例の如く、演算子を全て記憶す
るレジスタTRを必要とせず、少なくとも×または÷の
どちらかを記憶するフリップフロップFD1のみで実現
できる。
In addition, the third embodiment can easily output the result during an operation, and unlike this embodiment, it does not require a register TR that stores all operators, but instead uses a flip-flop that stores at least either × or ÷. This can be achieved only with the FD1.

FDを多数部べてFD1〜FD5の如くスタックを構成
するのは極端に複雑な数式の場合であって、本実施例の
第20図Cの場合でもFDは2個しか必要さしない。
Constructing a stack such as FD1 to FD5 by using a large number of FDs is an extremely complicated mathematical formula, and even in the case of FIG. 20C of this embodiment, only two FDs are required.

また前述の定義の如く、算術式を)でくくると−次子に
なり、またこれは因子づもあり項でもあり、再び算術式
にもなるから、この規則を繰り返し使用することにより
、例えば(〔(〔・・・・・・))))等の多重括弧等
の数式処理を有限の回路構成の繰り返し作動により、ど
こまでも答を求めることができるので、経済的かつ小型
化が容易となる効果を有するものである。
Also, as defined above, when an arithmetic expression is wrapped in ), it becomes -, which is also a term with factors, and becomes an arithmetic expression again.By repeatedly using this rule, for example, ( [([......))))] etc., the answer can be obtained indefinitely by repeating the operation of a finite circuit configuration, making it economical and easy to miniaturize. It has the following.

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

またここで図面の簡単な説明を付すに、 第1図A、Bは従来計算装置のキー操作方式と本発明装
置のキー操作方式の相違を説明する図、第2図は本発明
の第1実施例のブロック図、第3図はその1部詳細図、
第4図はその作動を説明するフローチャート、第5図は
本発明第1及び第2の実施例の演算実行優先順位を定め
るルール表、第6図A−Fは第1図の実施例の各レジス
タ間の具体的数値移動の状態を各キーを押下した最終状
態をステップ毎に表わした図、第7図は本発明の第2の
実施例のブロック図、第8図A、Bはその一部具体的詳
細回路図、第9図A、Bはその基本コントロール信号発
生回路例、第10図は各キー信号を生成するキーボード
部の略図、第11図A。 Bは第9図A、Bの回路により発生する制御信号の一例
、第11図Cはキースクート信号を生成する様子を説明
する波形図、第12図A−DはA×(B+C)−の数式
の計算を行なう場合に第8〜10図の各所に生成する信
号を示し、その作動を説明する図、第13図Aは第7〜
第10図の第2の実施例の作動を説明するタイミングチ
ャート、第13図B、Cはそのフローチャートに対応し
てフリップフロップFC1〜FC4がセットする時間及
び順序を説明するフローチャート、第14゜15図は第
7〜10図の第2の実施例の具体演算例の場合のレジス
フ内容移動衣、第16図は本発明の第3の実施例のブロ
ック図、第17図A −Hはその制御部20の具体的詳
細回路例、第18図A、Bは数式A+BCX(D+E)
−の計算を第3の実施例で行なった場合の作動を説明す
るタイミングチャート、第19図はその作動を説明する
フローチャート、第20図A、B、Cはその作動を説明
するための数式例に基くレジスタ内容移動衣である。 図面において、1・・・・・・キーボード、2・・・・
・・エンコーダ、3・・・・・・命令キー信号格納レジ
スタ、4・・・;・・・比較判別回路、5,20・・・
・・・制御部、6・・・・・・四則演算制御回路、7〜
9・・・・・・演算用レジスタ、10〜14.21〜2
8・・・・・・数値格納用レジスタ、29〜33・川・
・フリップフロップ。
To give a brief explanation of the drawings, FIGS. 1A and 1B are diagrams illustrating the difference between the key operation method of a conventional computing device and the key operation method of the device of the present invention, and FIG. A block diagram of the embodiment, FIG. 3 is a detailed diagram of a part thereof,
FIG. 4 is a flowchart explaining the operation, FIG. 5 is a rule table determining the priority order of calculation execution in the first and second embodiments of the present invention, and FIGS. 6A to 6F are each of the embodiments in FIG. Figure 7 is a block diagram of the second embodiment of the present invention, and Figures 8A and B are one of them. FIGS. 9A and 9B are detailed circuit diagrams of the keyboard section, and FIG. 10 is a schematic diagram of the keyboard section that generates each key signal, and FIG. 11A is an example of the basic control signal generating circuit. B is an example of the control signal generated by the circuits in FIGS. 9A and B, FIG. 11C is a waveform diagram explaining how the key scoot signal is generated, and FIGS. 12A-D are the A×(B+C)- Figures 8 to 10 show the signals generated when calculating a mathematical formula, and are diagrams explaining their operations.
FIG. 10 is a timing chart explaining the operation of the second embodiment; FIGS. 13B and C are flowcharts explaining the times and order in which the flip-flops FC1 to FC4 are set corresponding to the flowchart; FIGS. 14-15; Figures 7 to 10 show register content movement in the case of concrete calculation examples of the second embodiment, Figure 16 is a block diagram of the third embodiment of the present invention, and Figures 17 A to H show its control. A concrete detailed circuit example of part 20, FIG. 18 A and B are formulas A+BCX(D+E)
- A timing chart explaining the operation when the calculation is performed in the third embodiment, FIG. 19 is a flowchart explaining the operation, and FIG. 20 A, B, and C are examples of mathematical formulas explaining the operation. The contents of the register are moved based on . In the drawing, 1...keyboard, 2...
...Encoder, 3...Instruction key signal storage register, 4...;...Comparison/discrimination circuit, 5, 20...
...Control unit, 6...Four arithmetic operation control circuit, 7-
9... Arithmetic register, 10-14.21-2
8...Register for storing numerical values, 29-33・river・
·flip flop.

Claims (1)

【特許請求の範囲】 1 数値データキー、力目減乗除キー、左右括弧キーを
備え、数式に従ったキー操作により演算を行なう演算装
置において、 前記数値データキーの操作により数値データか格納され
かつその内容を視認すべく出力装置に結合された表示レ
ジスタさ前記表示レジスタに数値データを格納の後に前
記加減乗除キーの1つを操作しても前記表示レジスタの
内容はそのまま保持し、次の数値キー押下により前記表
示レジスタの内容を変更する制御を行なう第1制御手段
と前記右括弧キーの操作により括弧内の演算結果を前記
表示レジスタに格納する制御を行なう第2制御手段とを
備えたことを特徴とする演算装置。
[Scope of Claims] 1. In an arithmetic device that is equipped with a numeric data key, a force subtraction/multiplication/division key, and a left/right parenthesis key and performs arithmetic operations by key operations according to a mathematical formula, numeric data is stored by operating the numeric data key, and A display register is connected to an output device in order to visually check the contents. Even if one of the addition, subtraction, multiplication, and division keys is operated after storing numerical data in the display register, the contents of the display register are held as they are, and the next numerical value is A first control means for controlling changing the contents of the display register by pressing a key, and a second control means for controlling storing a calculation result in parentheses in the display register by operating the right parenthesis key. A computing device characterized by:
JP49083059A 1974-07-17 1974-07-17 Arithmetic device based on key operations according to mathematical formulas Expired JPS5818654B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP49083059A JPS5818654B2 (en) 1974-07-17 1974-07-17 Arithmetic device based on key operations according to mathematical formulas

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP49083059A JPS5818654B2 (en) 1974-07-17 1974-07-17 Arithmetic device based on key operations according to mathematical formulas

Publications (2)

Publication Number Publication Date
JPS51132049A JPS51132049A (en) 1976-11-16
JPS5818654B2 true JPS5818654B2 (en) 1983-04-14

Family

ID=13791606

Family Applications (1)

Application Number Title Priority Date Filing Date
JP49083059A Expired JPS5818654B2 (en) 1974-07-17 1974-07-17 Arithmetic device based on key operations according to mathematical formulas

Country Status (1)

Country Link
JP (1) JPS5818654B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55157058A (en) * 1979-05-26 1980-12-06 Canon Inc Electronic calculator
JPH0317841U (en) * 1989-06-30 1991-02-21

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB1106427A (en) * 1964-06-26 1968-03-20 Wright Barry Corp Data processing apparatus
JPS4928210A (en) * 1972-07-08 1974-03-13

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB1106427A (en) * 1964-06-26 1968-03-20 Wright Barry Corp Data processing apparatus
JPS4928210A (en) * 1972-07-08 1974-03-13

Also Published As

Publication number Publication date
JPS51132049A (en) 1976-11-16

Similar Documents

Publication Publication Date Title
US4635292A (en) Image processor
Holland A universal computer capable of executing an arbitrary number of sub-programs simultaneously
Schorr Computer-aided digital system design and analysis using a register transfer language
JPS6347874A (en) Arithmetic unit
Cohen Pragmatic quotient types in Coq
Carpenter et al. The other Turing machine
Bromley The evolution of Babbage's calculating engines
JPS5818654B2 (en) Arithmetic device based on key operations according to mathematical formulas
US4064398A (en) Electronic calculator
US3971924A (en) Electronic calculator displaying a partial result obtained from a portion of a numerical expression
Newell On programming a highly parallel machine to be an intelligent technician
Bromley Babbage's Analytical Engine Plans 28 and 28a. The programmer's interface
Vitányi An optimal simulation of counter machines
Arnold An improved DNA-sticker addition algorithm and its application to logarithmic arithmetic
Connelly Real-time analog-digital computation
Huskey Technical Developments: Characteristics of the Institute for Numerical Analysis Computer
Barnett Low-level language subroutines for use within Fortran
JPH02127727A (en) Absolute value addition/subtraction system and its device
Glück et al. Towards interactive verification of programmable logic controllers using modal Kleene algebra and KIV
US3192367A (en) Fast multiply system
JPS5878255A (en) High-speed fourier transform operating device
Koons et al. Conversion of numbers from decimal to binary form in the EDVAC
JPH08305554A (en) Program execution method based on hierarchical state transition decision table and its device
Achten et al. EditorArrow: An arrow-based model for editor-based programming
SU693379A2 (en) Function generator