JPS6145350A - Miniature electronic computer - Google Patents

Miniature electronic computer

Info

Publication number
JPS6145350A
JPS6145350A JP17420185A JP17420185A JPS6145350A JP S6145350 A JPS6145350 A JP S6145350A JP 17420185 A JP17420185 A JP 17420185A JP 17420185 A JP17420185 A JP 17420185A JP S6145350 A JPS6145350 A JP S6145350A
Authority
JP
Japan
Prior art keywords
data
digits
digit
input
register
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP17420185A
Other languages
Japanese (ja)
Other versions
JPS6233627B2 (en
Inventor
Yoshinobu Muranaga
村永 義信
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP17420185A priority Critical patent/JPS6145350A/en
Publication of JPS6145350A publication Critical patent/JPS6145350A/en
Publication of JPS6233627B2 publication Critical patent/JPS6233627B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Calculators And Similar Devices (AREA)
  • Digital Computer Display Output (AREA)

Abstract

PURPOSE:To improve the operability of a miniature electronic computer by using the input permissible numerical data as the data of a mantissa part regardless of the number of digits and furthermore attaining the input of the data of an exapprox.= ponent part. CONSTITUTION:A ROM1 delivers various microinstructions in response to the address signals delivered from a ROM address 2. A RAM3 stores both numerical data which are supplied in the form of data of the mantissa and exponent parts respectively. The upper (m) digits of the mantissa part data are displayed to the (m) digits of a display part 24 together with the exponent part data displayed to the (m) digits respectively. While the decimal points of the mantissa part data are displayed within all display digits including the display digits for exponent part data.

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は指数表現されたデータの処理を行う小型電子
式計算機に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a small electronic calculator that processes data expressed in exponential form.

〔従来技術とその問題点〕[Prior art and its problems]

最近、指数表現されていない通常の数値データの入力お
よび演算をする場合は(m + n )桁で行ない、指
数表現されている数値データの人力および演算をする場
合には仮数部がm桁、指数部が3桁で行なういわゆる指
数方式の小型電子式計算機が開発実用化されている。従
来この種小型電子式計算機において指数表現された数値
データの仮数部データの置数および演算の可能な桁数は
m桁に制限されていた。すなわち、指数表現された数値
データを入力する場合、最の専用キーを操作することに
ょ〕最初に入力した仮数部データを少なくともn桁上位
桁へシ7卜シ、この稜下n桁に指数部データを入力する
という手順が踏まれる。ところで最初に入力するデータ
の桁数は(m+n)桁まで可能なので。
Recently, when inputting and calculating ordinary numerical data that is not expressed in an exponential format, it is done with (m + n) digits, and when inputting and calculating numerical data that is expressed in an exponential format, the mantissa is m digits, A compact electronic calculator of the so-called index method, in which the exponent part uses three digits, has been developed and put into practical use. Conventionally, in this type of small-sized electronic calculator, the number of digits that can be placed in the mantissa data of numerical data expressed in exponential form and the number of digits that can be operated on are limited to m digits. In other words, when inputting numeric data expressed as an exponent, by operating the last dedicated key, the first input mantissa data is moved to at least the upper n digits, and the exponent part is transferred to the lower n digits. A step is taken to enter data. By the way, the number of digits for the first input data can be up to (m+n) digits.

このデータの桁数がm桁を越す場合に、このデータを仮
数部データとしたい時、その後指数部データを入力する
だめの専用キーを操作しても仮数部データの桁上げは行
なわれず1次に指数部データを入力することはできない
。このように従来の指数方式の小型電子式計算機ではm
桁を越すデータを仮数データとして用いることはできな
い、このため、操作者は、指数表現された数値データを
入力する際に、仮数部データの入力がm桁を越えないよ
うに常に考慮しなければならなかった。
If the number of digits of this data exceeds m digits, and you want to use this data as mantissa data, the mantissa data will not be carried forward even if you press the special key for inputting exponent data. It is not possible to input exponent data into . In this way, in the conventional small electronic calculator using the exponential method, m
Data exceeding digits cannot be used as mantissa data. Therefore, when inputting numerical data expressed in exponential form, the operator must always take into consideration that the input mantissa data does not exceed m digits. did not become.

〔発明の目的〕[Purpose of the invention]

本発明は上記事情に鑑みてなされたもので、入力された
指数表現されていない数値データを。
The present invention was made in view of the above circumstances, and it is possible to use input numerical data that is not expressed as an index.

その桁数に拘らず仮数部データとして使用でき。It can be used as mantissa data regardless of the number of digits.

更に指数部データの入力をも可能とした小型電子式計算
機を提供することを目的とする。
Furthermore, another object of the present invention is to provide a small-sized electronic calculator that also allows input of exponent data.

〔発明の実施例〕[Embodiments of the invention]

以下1図面を参照して本発明の一実施例を説明する。F
A3J1図は本発明の小型電子式計算機の回路構成図で
ある。図中、1はROM (リード・オンリーメモリ)
で、このROM 1には、この計算機の各種動作を実行
させるマイクロ命令が記憶されておシ、 ROMアドレ
ス部2から出力されるアドレス信号に対応して、各種マ
イクロ命令を出力する。1つのマイクロ命令は* 8u
 y F U *SL、PL、Co、M、OP、Na 
 よフ成シ、それぞれ所定の2進化コードが固定的に組
み込まれている。
An embodiment of the present invention will be described below with reference to one drawing. F
Figure A3J1 is a circuit configuration diagram of a small electronic calculator of the present invention. In the figure, 1 is ROM (read only memory)
The ROM 1 stores microinstructions for executing various operations of the computer, and outputs various microinstructions in response to address signals output from the ROM address section 2. One microinstruction is *8u
y F U *SL, PL, Co, M, OP, Na
In each case, a predetermined binary code is fixedly installed.

上記マイク京命令の各2進化コードはROMアドレス部
2のアドレス指定によって同時に、且つ並列的に出力さ
れる。Sυ、FU は、後述するRAM(ランダム・ア
クセスのメモリ)3の行アドレスを指定するもので、 
8U はゲート回路G1を介して、またFUはゲート回
路G、を介してRAM3の端子UAへ入力される。ゲー
ト回路G。
Each binary code of the microphone instruction is output simultaneously and in parallel according to the address designation of the ROM address section 2. Sυ,FU specifies the row address of RAM (random access memory) 3, which will be described later.
8U is inputted to the terminal UA of the RAM3 via the gate circuit G1, and FU is inputted to the terminal UA of the RAM3 via the gate circuit G. Gate circuit G.

は、タイミング信号発生回路4から周期的に出力される
タイミング信号tユの出力時に開かれ。
is opened when the timing signal t which is periodically output from the timing signal generating circuit 4 is output.

一方、ゲート回路G2には、タイミング信号t。On the other hand, the timing signal t is supplied to the gate circuit G2.

がインバータ回路5を介して与えられているため、タイ
ミング信号t1の出力時以外で開かれる。同、上記タイ
ミング信号発生回路4より出力されるタイミング信号を
12図に示す。タイミング信号tl#t2tt3は、ク
ロックパルスψ工。
Since it is applied via the inverter circuit 5, it is opened at times other than when the timing signal t1 is output. Similarly, the timing signal output from the timing signal generation circuit 4 is shown in FIG. The timing signal tl#t2tt3 is a clock pulse ψ.

ψ、に同期して順次周期的に出力される。そしてタイミ
ング信号t1〜t、のlサイクル毎にクロックパルスψ
D=t、・ψが出力される。上記マイクロ命令のうち、
 SL、PL は上記腸13の列アドレスを指定するも
のでラシ1通常SLは上記SUで指定される行アドレス
と、tfcFLは上記FUで指定される一行アドレスと
対を成している。そしてSLは、後述のタイミングデコ
ーダ9から出力されるタイミング信号ta の出力時に
開かれるゲート回路q、を介してRAI1143の端子
1.Aへ入力され、PLは、同タイミングデコーダ9か
ら出力されるタイミング信号tb の出力時に開かれる
ゲート回路G4を介してRAM3の端子1.Aへ入力さ
れる。上記タイミング信号t&及びtbは通常論理式t
a = Me ST+M @t、 。
The signals are output sequentially and periodically in synchronization with ψ. Then, every l cycle of the timing signal t1 to t, a clock pulse ψ
D=t, ·ψ is output. Among the above microinstructions,
SL and PL designate the column address of the intestine 13. Normally, SL is paired with the row address designated by SU, and tfcFL is paired with the one row address designated by FU. SL is connected to terminal 1. of the RAI 1143 via a gate circuit q that is opened when a timing signal ta is output from a timing decoder 9, which will be described later. PL is input to terminals 1.A of the RAM 3 via a gate circuit G4 that is opened when the timing signal tb is output from the timing decoder 9. Input to A. The above timing signals t& and tb are normally expressed by the logical formula t
a = Me ST + M @t, .

tb:M−t、によシ得られる信号である。信号M及び
STの詳細については後述するが、信号Mは、1マイク
ロ命令が1ディジット期間で終了する命令の時に、この
マイクロ命令の出力期間(1ディジット期間)1 を出
力する。信号sTは各マイクロ命令の最初の1ディジッ
ト期間 1 を出力する。従がって%M=1の場合は、
ta=t、、 tb==t、:t2+t、とな〕、タイ
ミング信号t1出力期間のRAMJのアドレスは2行ア
ドレスsU及び列アドレスSLによって指定され、タイ
ミング信号t、〜t、出力期間のRAM3のアドレスは
、行アドレスFU及び列アドレスFLによって指定され
る。1マイクロ命令で複数ディジット期間を要する場合
はM=Oであ#)、この時、t@=BT、 J、=  
Oとなる。即ち、最初の1ディジット期間は81.がゲ
ート回路G、を介して出力され、 RAM3の列アドレ
スとなる。更にこのsLの値は、クロックパルスψd=
ψD・Mに同期してカウント動作するカウンタCに入力
される、このカウンタ6は後述するDN信号の有無によ
)、ダウン又はアップのカウント動作が行なわれる。上
記複数ディジットよ)成るマイクロ命令の2デイジツト
目からは、タイミング信号tc==M−8T  出力時
に開くゲート回路G。
tb: A signal obtained by Mt. Details of signals M and ST will be described later, but when one microinstruction is an instruction that ends in one digit period, signal M outputs the output period (one digit period) 1 of this microinstruction. Signal sT outputs the first digit period 1 of each microinstruction. Therefore, if %M=1,
ta=t, tb==t, :t2+t, etc.], the address of RAMJ during the timing signal t1 output period is specified by the second row address sU and the column address SL, and the timing signal t, ~t, the address of RAMJ during the output period The address of is specified by a row address FU and a column address FL. If one microinstruction requires multiple digit periods, M=O (#), then t@=BT, J,=
It becomes O. That is, the first digit period is 81. is outputted via gate circuit G, and becomes the column address of RAM3. Furthermore, the value of this sL is determined by the clock pulse ψd=
This counter 6 is input to a counter C which performs a counting operation in synchronization with ψD·M, and this counter 6 performs a down or up counting operation (depending on the presence or absence of a DN signal, which will be described later). From the second digit of the microinstruction consisting of the above-mentioned plural digits, a gate circuit G opens when a timing signal tc==M-8T is output.

を介して、上記カウンタ6の値がRAMJの端子LAへ
入力され、これがRAMjの列アドレスとなる。同時に
、上記カウンタ6の値はゲート回路G1を介して再びカ
ウンタ6へフィトパックされてダウン又はアップカウン
トされると共に一致回路7の一方へ入力される。上記複
数ディジットよ)成るマイクロ命令では、ゲート回路G
4は閉じてお、り、ROMJより出力されるPLは上記
一致回路7の他方へ入力される。カウンタ6の値がPL
を等しくなると、上記一致回路7よシ一致信号が出力さ
れ、後述する如く、この複数ディジットより成るマイク
ロ命令を終了する。即ち、複数ディジットよシ成るマイ
クロ命令では、SU又はFUで指定されるRAM5内の
記憶領域(以下、レジスタと呼称する)の処理開始桁は
sLによりて指定され、処理終了桁はPLによって指定
される。岡、マイクロ命令が。
The value of the counter 6 is inputted to the terminal LA of RAMJ via , and this becomes the column address of RAMj. At the same time, the value of the counter 6 is again fit-packed to the counter 6 via the gate circuit G1 and is counted down or up, and is input to one side of the matching circuit 7. In the microinstruction consisting of the above multiple digits, the gate circuit G
4 is closed, and PL output from ROMJ is input to the other matching circuit 7. The value of counter 6 is PL
When they become equal, the coincidence circuit 7 outputs a coincidence signal, and as will be described later, this microinstruction consisting of a plurality of digits is terminated. That is, in a microinstruction consisting of multiple digits, the processing start digit of the storage area (hereinafter referred to as a register) in RAM 5 specified by SU or FU is specified by sL, and the processing end digit is specified by PL. Ru. Oka, micro-commands.

RAMJのレジスタの左シフト又は右シフトのシフト命
令の時は、上記各タイミング信号は。
At the time of a shift command to shift the register of RAMJ to the left or right, each of the above timing signals is as follows.

ta”tst Lb= 0 、 tB=t1・sTとな
る。また、上記マイクロ命令のうちC0は数値、符号等
の2進化;−ドとしても使用され、信号CIの出力時に
開かれるゲート回路G6を介して出力される。また、上
記マイクロ命令のうちMは、1マイクロ命令が1デイジ
ツトで終了する命令の時に 1 を出力するモード信号
である。また。
ta"tst Lb=0, tB=t1・sT. Also, among the above microinstructions, C0 is also used as a binary code for numerical values, codes, etc., and controls the gate circuit G6, which is opened when the signal CI is output. In addition, M of the above microinstructions is a mode signal that outputs 1 when one microinstruction is completed in one digit.

上記マイクロ命令のうちOpは、加算、減算。Among the above micro instructions, Op is addition and subtraction.

転送、判断、左シフト、右シフト、表示、キーサンプリ
ング等種々の命令コードを出力するもので、この命令コ
ードOpはオペレージ璽ンデコーダ8で解読された後に
、タイミングデコーダ9へ入力される。このタイミング
デコーダ9は上記各命令によりて信号CI 、OF、O
8,ID、KE。
It outputs various instruction codes such as transfer, judgment, left shift, right shift, display, and key sampling. After this instruction code Op is decoded by the operation code decoder 8, it is input to the timing decoder 9. This timing decoder 9 receives signals CI, OF, and O according to each of the above instructions.
8, ID, KE.

SB等を選択出力する。また、上記タイミング信号発生
回路4よ)出力されるタイミング信号tl# t、、 
t、  及びクロックパルスψ1.ψ1.ψDはゲート
回路G、 、 G、 、 G、等の回路へタイミング信
号として与えられると共に、タイミングデコーダ9へも
入力される。このため、このタイミングデコーダ9から
災にタイミング信号”&Abttc r td及び信号
DN、几/Wt−選択出力する。信号CI、OF、O8
,ID、lはそれぞれゲート回路Q@ 、 G@ 、 
G 1゜@ (Jll # (JHの1用仰信号であり
、これらの信号が 1 のとき対応するゲート回路が開
かれる。信号BBY1減算指定信号であシ、この信号S
Bか演算回路16に入力されると、演算回路16は減n
動作を実行する。また信号ψa。
Selectively outputs SB etc. In addition, the timing signal tl#t, which is outputted by the timing signal generation circuit 4, is
t, and clock pulse ψ1. ψ1. ψD is given as a timing signal to the gate circuits G, , G, , G, etc., and is also input to the timing decoder 9. Therefore, the timing decoder 9 outputs the timing signal &Abttc r td and the signals DN, 几/Wt-selectively. The signals CI, OF, O8
, ID, and l are gate circuits Q@, G@, respectively.
G 1゜@ (Jll # (JH 1 elevation signals. When these signals are 1, the corresponding gate circuit is opened. This is the signal BBY1 subtraction designation signal, and this signal S
When B is input to the arithmetic circuit 16, the arithmetic circuit 16 decreases n
perform an action. Also, the signal ψa.

ψb、ψCはそれぞれバッフ 7 Bl r Bl t
 Baの読み込みクロック信号として与えられ、論理式
で表わすと、ψa=ψD −OP、 、ψb=ψD@O
P、、ψc=t!*ψ・Op、でおる。但しb Opl
 =小数点表示データ出力命令5OP2=表示データ出
力命令、0P3=キーサンプリングデータ(カウント桁
のデータ)出力命令。ま九ψdはカウンタ6の動作信号
とであシ論理式で表わすとψd=ψD−M・OP4+ψ
、・Opsである。但し5OP4=シフト命令。
ψb and ψC are buffers respectively 7 Bl r Bl t
It is given as a read clock signal of Ba, and expressed as a logical formula, ψa=ψD −OP, , ψb=ψD@O
P,,ψc=t! *ψ・Op, Deoru. However, b Opl.
= Decimal point display data output command 5OP2 = Display data output command, 0P3 = Key sampling data (count digit data) output command. The angle ψd is the same as the operation signal of the counter 6. Expressing it in a logical formula, ψd=ψD-M・OP4+ψ
,・Ops. However, 5OP4 = shift command.

信号DNは上述したようにカウンタ6に送られてダウン
カウント動作を指定する信号である。
As described above, the signal DN is a signal sent to the counter 6 to designate a down-count operation.

信号し渭はRAA43の読み出し4目込みを指定する信
号でちる。また、上記タイミングデコーダ9には上記モ
ード信号Mも入力されている。
The signal edge is a signal specifying the fourth reading of RAA43. Further, the mode signal M is also input to the timing decoder 9.

このモード信号Mはオア回路10.及びアンド回路11
の一方へ入力されると共に、インバータ回路12を介し
て上記一致回路7ヘイネーブル信号として入力される。
This mode signal M is the OR circuit 10. and AND circuit 11
It is also inputted to one of the coincidence circuits 7 through the inverter circuit 12 as a hey enable signal.

一致回路2の一致信号は上記オア回路IQの他方及びア
ンド回路13の一方へ入力される。モード信号M及び一
致信号は上記オア回路IQを介してフリップフロップ回
路14へ入力され、この出力信号sTは上記タイミング
デコーダ9へ入力される。上記クリップフロップ回路1
4はディジット間隔のクロックパルスψDに同期して動
作するため。
The coincidence signal of the coincidence circuit 2 is input to the other of the OR circuits IQ and one of the AND circuits 13. The mode signal M and the coincidence signal are input to the flip-flop circuit 14 via the OR circuit IQ, and the output signal sT is input to the timing decoder 9. The above clip-flop circuit 1
4 because it operates in synchronization with the clock pulse ψD at digit intervals.

上記信号sTは、各マイクロ命令の最初のトデイジット
期間出力される信号となる。また、上記アンド回路1ノ
及び13の他方にはクロックパルスψDが入力され、こ
のアンド回路11゜13は共にオア回路1st−介して
信号ψe として出力され、アドレス変換回路17の読
み込みクロックとなる。マイクロ命令のうちN、はRO
M 1の現在実行中のマイクロ命令の次のステップのマ
イクロ命令リアドレスを指定する信号であシ、アドレス
変換回路17へ入力される。
The signal sT is a signal output during the first digit period of each microinstruction. A clock pulse ψD is input to the other of the AND circuits 1 and 13, and both of the AND circuits 11 and 13 output the signal ψe as a signal ψe through the OR circuit 1st-, which serves as a read clock for the address conversion circuit 17. N of micro instructions are RO
This is a signal specifying the microinstruction readdress of the next step of the microinstruction currently being executed in M1, and is input to the address conversion circuit 17.

更にこのアドレス変換回路17にはアンド回路18及び
19が入力されている。アンド回路18の一方には演算
回路16よシデータが、アンド回路19の一方にはキャ
リー(又はボロー)が入力され、このアンド回路18.
19の他方には上記タイミングデコーダ9よシ信号JU
が入力されている。この信号JUは判断命令の時に出力
され、この時、アドレス変換回路17では、N1 の内
容とアンド回路Is、19の出力とのオア加算が実行さ
れ、 ROMJの次のステップを示すアドレスが算出さ
れてROMアドレス部2へ送られる。次に上記RAM 
Jのマイクロ命令によって制御されるRAM J 、演
算回路16等の構成につき説明する。RA?l、f j
は上述したように、端子U Aへ入力される行アドレス
SU、FU 及び端子LAへ入力される列アドレスSL
、PL  によルアドレス指定され、且つ侶号ル賀= 
0の時に指定されたアドレス内のデータが出力端子OU
Tから並列4ピツトデータとして読み出され。
Furthermore, AND circuits 18 and 19 are input to this address conversion circuit 17. The data from the arithmetic circuit 16 is input to one side of the AND circuit 18, and a carry (or borrow) is input to one side of the AND circuit 19.
The other side of the timing decoder 19 receives the signal JU from the timing decoder 9.
is entered. This signal JU is output at the time of a judgment command, and at this time, the address conversion circuit 17 executes the OR addition of the contents of N1 and the output of the AND circuit Is, 19, and calculates the address indicating the next step of the ROMJ. and is sent to the ROM address section 2. Next, the above RAM
The configurations of the RAM J, the arithmetic circuit 16, etc. controlled by the J microinstruction will be explained. RA? l, f j
As mentioned above, the row addresses SU and FU input to the terminal UA and the column address SL input to the terminal LA
, PL is addressed by PL, and the name is RUGA =
The data within the address specified when 0 is the output terminal OU
The data is read out from T as parallel 4-pit data.

ル乍= 1の時に指定されたアドレス内に入力端子IN
から与えられた並列データを書き込む。
Input terminal IN within the address specified when rule = 1
Writes parallel data given by .

通常、上記信号R/)V  はタイミング信号t、〜t
、出力時に読み出しく I(/w=  0  )に指定
され、タイミングm号t、出力時に書き込み(、R1/
W=  1  )に指定される。また、ゲート回路G、
、G、は通常タイミング信号tlK同期がとられている
ため、 SU、SL によりて指定されるシ調3内のデ
ータがタイミング信号t1の出力時に出力端子OUTか
ら読み出され、タイミング信号11・ψ1で開かれるゲ
ート回路G、を介してラッチ20に記憶される。またゲ
ート回路G2.G4は通常タイミング信号1 、= 1
 、+1.に同期がとられているため、 FU、Ii’
L により指定されるRAM5内のデータがタイミング
信号t。
Usually, the above signal R/)V is a timing signal t, ~t
, is specified as I (/w=0) to be read at the time of output, and written at the time of output (, R1/
W=1). In addition, the gate circuit G,
, G, are normally synchronized with the timing signal tlK, so the data in the 3rd scale specified by SU, SL is read out from the output terminal OUT when the timing signal t1 is output, and the timing signal 11/ψ1 The signal is stored in the latch 20 via the gate circuit G, which is opened at . Also, gate circuit G2. G4 is normally a timing signal 1, = 1
, +1. Since it is synchronized with FU, Ii'
The data in RAM 5 specified by L is the timing signal t.

の出力時に読み出され、タイミング信号t、・ψ1で開
かれるゲート回路q、を介して、ラッチ21に記憶され
る。ラッチ20及び21に記憶されているデータはそれ
ぞれ、信号O8、OFによって開かれるゲート回路G、
。、Q、 を介して演算回路16の入力端子8.Fに送
られる。
is read out at the time of output, and stored in the latch 21 via the gate circuit q which is opened by the timing signals t and .psi.1. The data stored in the latches 20 and 21 are stored in the gate circuit G opened by the signals O8 and OF, respectively.
. , Q, to the input terminal 8. of the arithmetic circuit 16 via. Sent to F.

演算回路16は入力端子S、Fに与えられたデータに基
づき並列的に加算又は減算を実行する。
The arithmetic circuit 16 executes addition or subtraction in parallel based on data applied to input terminals S and F.

減算を行なう、上記演算結果データは端子りよ多出力さ
れ、RAM3の入力端子INに与えられる。また演算回
路16のキャリー(又はボロー)データは端子Cよ多出
力される。RAM3の入力端子INへ与えられた上記演
算結果データはタイミング信号t、Q出力時に、 FU
、F’Lのアドレスにて指定されるRAM5内に書き込
まれる。また、演算回路16の演算結果の並列データは
端子りよルオア回路22を介して前記アンド回路18の
一方に入力され、演算回路16のキャリー(又はボロー
)は端子Cよシ前記アンド回路19の一方へ入力される
。また、上記RAM5内の記憶領域IZ)1桁分(カウ
ント桁)が1表示及びキーサンプリング時に、演算回路
16を介してカウントアツプされる。このカウント桁の
カウント値は、ゲート回路G、及びラッチ20゜ゲート
回路G1゜を介してバク77B、へ与えられる。バッフ
7B1ではクロックパルスψCに同期してカウント桁の
値を読み込む、このバッフ1B、に読み込まれた値は、
デコーダ23を介して表示部24の桁信号として、また
キー人力部250キーサンプリングパルスとして出力さ
れる。また、RAM5内の2レジスタは表示用レジスタ
として利用される。データを表示する場合は、まずカウ
ント桁の値が読み出され、この値がゲート回路q、及び
ラッチ20.ゲート回路G11を介してRAM30列ア
ドレスとなる。
The above operation result data for performing the subtraction is outputted from the terminal and applied to the input terminal IN of the RAM 3. Further, the carry (or borrow) data of the arithmetic circuit 16 is outputted to the terminal C in large numbers. The above operation result data given to the input terminal IN of RAM3 is outputted to FU when timing signals t and Q are output.
, F'L is written into the RAM 5 specified by the address. Further, the parallel data of the calculation result of the calculation circuit 16 is inputted to one side of the AND circuit 18 via the terminal-or circuit 22, and the carry (or borrow) of the calculation circuit 16 is input to one side of the AND circuit 19 from the terminal C. is input to. Further, one digit (count digit) of the storage area IZ in the RAM 5 is counted up via the arithmetic circuit 16 at the time of 1 display and key sampling. The count value of this count digit is given to the back 77B via the gate circuit G and the latch 20° gate circuit G1°. The value of the count digit is read in the buffer 7B1 in synchronization with the clock pulse ψC.The value read into the buffer 1B is as follows.
The signal is output via the decoder 23 as a digit signal on the display section 24 and as a key sampling pulse on the key input section 250. Furthermore, two registers in the RAM 5 are used as display registers. When displaying data, the value of the count digit is first read, and this value is sent to the gate circuit q and the latch 20. It becomes the RAM30 column address via the gate circuit G11.

この時、行アドレスはZレジスタを指定しておル、この
ためカウント桁の値に対応する表示しジスタzO所定桁
のデータが読み出され、このデータはゲート回路G、及
びラッチ21.ゲート回路G、を介してバッファB、へ
与えられる。
At this time, the row address specifies the Z register, so data in a predetermined digit of the display register zO corresponding to the value of the count digit is read out, and this data is sent to the gate circuit G and the latch 21. The signal is applied to the buffer B via the gate circuit G.

バッフ7B、は与えられたデータをクロックツ(ルスψ
bに同期して読み込み、更にデコータ。
Buffer 7B converts the given data to Clockz (Rus ψ
Read in synchronization with b and further decoder.

26を介して表示部24へ送られる。上述したように1
表示部24には、デコーダ23から対応する桁信号が送
られてきているので、仁Q結果、表示部24の桁のうち
、カウント桁の内容によシ示される。桁に、2レジスタ
の同一桁の内容が表示される。また、)(ツ71B、は
小数A7” −1’ tクロックパルスψaに同期して
読み込み、更にこのデータはデプーダ26を介して表示
部24へ送られ、前記と同様にして表示される。また、
キー人力部25は、上記キーサンプリング信号が供給さ
れるラインと、)(ラフIB4へ出力されるキーコモン
ラインがマトリックス状に配列され、各ラインの交点に
キーを有するもので、バックァB4内のデータは、キー
サンプリング命令時に出力される信号KEで開ぐゲート
回路G1□を介して演算回路16の端子Sへ入力され、
更にこの演算回路16の端子りよ、p RAM sへ書
き込まれる。この時、バッファB4にキーコモンデータ
が検出された時に、上記カウント桁のカウント動作が停
止され、この時のカウント値とバッフ1B4のデータに
よって操作キーが何であるか決定される。置数キーであ
ればそのキーに対応する数値データが表示用レジスタ(
2レジスタ)へ入力され、71ンクシ璽ンキーであれば
、その判断結果によフROM JのNa がアドレス変
換回路17で変更され、Wr定の処理を行なうためのR
AMアドレスの先頭アドレスが指定される。
26 to the display section 24. As mentioned above, 1
Since the corresponding digit signal is sent to the display section 24 from the decoder 23, the result of the input Q is shown by the content of the count digit among the digits on the display section 24. The contents of the same digit of the two registers are displayed in the digit. Further, )(71B, ) is read in synchronization with the decimal A7''-1't clock pulse ψa, and furthermore, this data is sent to the display unit 24 via the depuder 26 and displayed in the same manner as above. ,
The key input section 25 has a line to which the above-mentioned key sampling signal is supplied and a key common line outputted to the rough IB4 are arranged in a matrix, and has a key at the intersection of each line. The data is input to the terminal S of the arithmetic circuit 16 via the gate circuit G1□, which is opened by the signal KE output at the time of the key sampling command.
Further, from the terminal of this arithmetic circuit 16, the data is written to pRAM s. At this time, when the key common data is detected in the buffer B4, the counting operation of the count digit is stopped, and the operation key is determined based on the count value at this time and the data in the buffer 1B4. If it is a numeric key, the numerical data corresponding to that key is displayed in the display register (
2 register), and if it is a 71-link key, the Na of the ROM J is changed by the address conversion circuit 17 according to the judgment result, and the R is input to perform the Wr constant processing.
The first address of AM addresses is specified.

前記RAMJの端子り人に入力される列アドレスが0〜
15で、端子UAに行アドレス0が入力された時に指定
されるRAlVis内の記憶領域をレジスタXと称する
。J!に1列アドレスがO〜15で、行アドレスが1.
2,3.4が入力された時に指定されるRAMj内の記
憶領域をそれぞれレジスタY、レジスタ2.レジスタA
、レジスタBと称する。上記レジスタXの記憶領域を第
3図(−)に示す。レジスタXは置数データを一担記憶
するためのレジスタで、16桁分の記憶容量を有し2列
アドレス値θ〜lOで指定される桁X0〜X1゜には置
数又は被演算数又は答が記憶され1列アドレス値11で
指定される桁Xs Kは前記桁X0〜X1゜内のデータ
の符号が記憶され、列アドレス値12〜13で指定され
る桁X P 1〜XP2には前記桁X0〜X、。内のデ
ータの小数点位置を示すデータが記憶され、列アドレス
値14で指定される桁XDPには小数点キー口が操作さ
れたか否かを示す小数点フラグが、列アドレス値15で
指定される桁XBxP  には指数キーi  が操作さ
れたか否かを示すEXP 7ラグが記憶される。レジス
タYは演算数又は小数点を記憶し、*にキーサンプリン
グ及び表示中には、後述するレジスタZの小数点表示位
置を示を桁zp1〜工P2  のデータに従って、レジ
スタYの所定桁に小数点表示用のデータが記憶される。
If the column address input to the RAMJ terminal is 0~
In step 15, the storage area in RAlVis that is designated when row address 0 is input to terminal UA is called register X. J! The 1st column address is 0 to 15, and the row address is 1.
The storage areas in RAMj specified when 2 and 3.4 are input are respectively stored in register Y and register 2. Register A
, is called register B. The storage area of the register X is shown in FIG. 3 (-). Register The answer is stored and the digit Xs K specified by the 1st column address value 11 stores the sign of the data in the digits X0 to X1°, and the digits X P 1 to XP2 specified by the column address values 12 to 13 The digits X0 to X. Data indicating the decimal point position of the data in is stored, and the digit XDP specified by column address value 14 contains a decimal point flag indicating whether or not the decimal point key has been operated. An EXP7 lag indicating whether or not the index key i has been operated is stored in . Register Y stores the arithmetic number or decimal point, and during key sampling and display, * indicates the decimal point display position of register Z, which will be described later.According to the data of digits zp1 to digit P2, a predetermined digit of register Y is used for decimal point display. data is stored.

レジスタzhti数及び表示用のレジスタで、第3図(
b)に示すように1列アドレス、値0〜10で指定され
る桁z0〜z1゜には表示用のデータが列アドレス値1
1で指定される桁Zp  には表示用のデータの桁数を
示すデータが1列アドレス値12〜13で指定される桁
Zp1〜ZP2  には表示用データの小数点表示位置
を示すデータが記憶される。レジスタA、Bは演算のた
めの一時記憶、各Mi 7 、yグが記憶される補助レ
ジスタである。
Register zhti number and display register shown in Figure 3 (
As shown in b), the digits z0 to z1° specified by the 1st column address and the value 0 to 10 contain data for display at the column address value 1.
The digit Zp specified by 1 stores data indicating the number of digits of the display data, and the digits Zp1 to ZP2 specified by the 1st column address values 12 to 13 store data indicating the decimal point display position of the display data. Ru. Registers A and B are temporary storage for calculations and auxiliary registers in which Mi 7 and y are stored.

次に上記のように構成された回路の動作について説明す
る。
Next, the operation of the circuit configured as described above will be explained.

第4図は前記ROM Jに記憶されている一連のマイク
ロ命令を表現したフローチャートである。
FIG. 4 is a flowchart representing a series of microinstructions stored in the ROM J.

以下この70−チャートで表現された上記一連のマイク
ロ命令の各処理ステップに基ずいて説明する。先ずステ
ップ(5)では前記キー人力部25から供給されるデー
タをサンプリングするキーサンプリング及びレジスタZ
内のデータの表示が前述した如く行なわれる。そしてス
テップ(5)において0〜9等の数値を入力するための
置数キーが操作されたことが検出されると、次にステッ
プ但)に進みこのステップ(B)においてその置数キー
に応じた数値データがレジスタZの最下位桁に記憶され
る。次にステップ(C)K進みこのステップ(C)にお
いて指数データを入力するためのキー国司が以前に操作
されたか否かがuPフラグの有無によって判定される。
Each processing step of the series of microinstructions described above expressed in this 70-chart will be explained below. First, in step (5), the key sampling and register Z samples the data supplied from the key human power section 25.
Display of data within is performed as described above. When it is detected in step (5) that a numeric key for inputting a numerical value such as 0 to 9 has been operated, the process proceeds to step (b), and in step (B) The numerical data obtained is stored in the least significant digit of register Z. Next, the process advances to step (C)K, and in this step (C), it is determined whether or not the key Kokuji for inputting index data has been previously operated based on the presence or absence of the uP flag.

BXP 72グはレジスタXの16桁目に記憶されてい
るので、ステップ0で示す判断動作のマイクロ命令はs
 FU=O,PL=15.C0=EXP  フラグ、M
=1 、 op =判断の命令コード、jlJa=、X
テップ(I)のアドレスを出力する。上記判断の命令;
−ドはオペレージ1ンデコーダ8を介してタイミングデ
コーダ9へ入力され、このタイミングデコーダ9よシ、
信号CI、OF、8B、JU、tb、B4/W等が出力
される。このため、上記F U * F L で指定さ
れたレジスタXの桁XEXP(第3図(&)参照)がゲ
ート回路G?及び2ツチ21.ゲート回路q9を介して
演算回路16の端子Fへ入力される。一方、EXP7ラ
グを記憶した2進化=−ドcoはゲート回路G6を介し
て上記演算回路16の8端子へ入力される。この演算回
路16は信号SBによって減算指定されているため。
BXP 72 is stored in the 16th digit of register X, so the microinstruction for the judgment operation shown in step 0 is
FU=O, PL=15. C0=EXP flag, M
=1, op=judgment instruction code, jlJa=,X
Outputs the address of step (I). Order of the above judgment;
- code is input to the timing decoder 9 via the operating decoder 8, and from this timing decoder 9,
Signals CI, OF, 8B, JU, tb, B4/W, etc. are output. Therefore, the digit XEXP (see FIG. 3 (&)) of the register X specified by F U * F L above is the gate circuit G? and 2tsuchi 21. The signal is input to the terminal F of the arithmetic circuit 16 via the gate circuit q9. On the other hand, the binary coded =-doco which has stored the EXP7 lag is input to the 8 terminals of the arithmetic circuit 16 via the gate circuit G6. This is because the arithmetic circuit 16 is designated for subtraction by the signal SB.

上記端子Fへ入力されたデータから端子Sへ入力された
データが減算され、その結果、端子りよシデータが、端
子Cよシキャリー(又はボロー)が出力される。上記デ
ータはオア回路22及びその一方へ信号JUが入力され
ているアンド回路18を介してアドレス変換回路17へ
入力され、上記中ヤリ−(又はボロー)は、その一方へ
信号JUが入力されているアンド回路19を介してアド
レス変換回路12へ入力される。即ちh X1hP に
EXP7?グが有れば演算回路16から出力されるデー
タ及びキャリーは共に 0である。従って、この時h 
Na  よりアドレス変換回路17へ入力されているス
テップ(1)のアドレスは変換されず1次のステップ(
I)のマイクロ命令を出力するアドレスが指定される。
The data input to the terminal S is subtracted from the data input to the terminal F, and as a result, the terminal new data and the terminal C carry (or borrow) data are output. The above data is inputted to the address conversion circuit 17 via the OR circuit 22 and the AND circuit 18 to which the signal JU is inputted to one of them, and the above-mentioned middle Yari (or borrow) is inputted to the signal JU to one of the AND circuits. The address conversion circuit 12 is inputted to the address conversion circuit 12 via an AND circuit 19. That is, EXP7 to h X1hP? If there is a signal, the data and carry output from the arithmetic circuit 16 are both 0. Therefore, at this time h
The address of step (1) input from Na to the address conversion circuit 17 is not converted and is sent to the first step (
The address for outputting the microinstruction in I) is specified.

一方、上記演算回路16よシデータ又はキャリーが出力
されると、N、よシ出力されるステップ(1)のアドレ
スはアドレス変換回路17で上記データ又はキャリーと
オア加算されてアドレスが変換され、ステップ(至)の
アドレスとなる。以下の70−に於いては、上述のよう
な判断動作の詳絹な説明は省略する。このように、ステ
ップ(C)においてEXP 7ラグが検出されなければ
ステップ(ロ)に進み、−万EXP 7ラグが検出され
るとステップ(I)に進む1次にステップ−においてこ
れまでに小数点を入力するためのキー口が以前に操作さ
れたか否かが小数点フラグの有無によって判定され、こ
のフラグが検出されればステップ(ト))に進む。ステ
ップEにおいて表示レジスタ2の小数点位置を示す桁Z
pi 、 !PRに数値の1が加算される。このステッ
プ(6)で示す動作のマイクロ命令は、 Fg=2.1
)=12*FI、=13tCQ=1 、M=O、0p=
2進化コードとRAM 3のデータの加算、Na= ス
テ・ツブ(ト)のアドレスである。
On the other hand, when the arithmetic circuit 16 outputs the data or carry, the output address of step (1) is ORed with the data or carry in the address conversion circuit 17 to convert the address. (to) address. In the following 70-, a detailed explanation of the above-mentioned judgment operation will be omitted. In this way, if EXP 7 lag is not detected in step (C), proceed to step (B), and if -10,000 EXP 7 lag is detected, proceed to step (I). It is determined whether the key opening for inputting has been previously operated or not based on the presence or absence of a decimal point flag, and if this flag is detected, the process proceeds to step (g)). Digit Z indicating the decimal point position of display register 2 in step E
pi,! A numerical value of 1 is added to PR. The microinstruction for the operation shown in step (6) is Fg=2.1
)=12*FI,=13tCQ=1,M=O,0p=
Addition of the binary code and the data in RAM 3, Na = address of step.

この時、タイミングデコーダ9゜よル信号CI。At this time, the timing decoder 9° rotation signal CI.

OF、ψd*ta  が出力される。このため、FU、
SLのアドレスによって指定されるレジスタZのzPl
内のデータが読み出され、ゲート回路G。
OF, ψd*ta is output. For this reason, FU,
zPl of register Z specified by address of SL
The data in the gate circuit G is read out.

及びラッチ21、ゲート回路G、を介して演算回路16
の端子Fへ入力される。一方、端子SにはCoの2進化
コードの値「1」がゲート回路G6を介して入力されて
いるため、この演算回路16では、zp1+1 が行な
われ、演算結果 。
and the arithmetic circuit 16 via the latch 21 and gate circuit G.
is input to terminal F of On the other hand, since the value "1" of the binary code of Co is input to the terminal S via the gate circuit G6, the calculation circuit 16 performs zp1+1 and obtains the calculation result.

はFU、8L −e##−で指定されるレジスタZ+7
)Zplへ書き込まれる。上記動作はタイミング信号t
、〜t、の1サイクルで行なわれる。一方、8I、の値
12はカウンタ6ヘセツトされ。
is register Z+7 specified by FU, 8L -e##-
) written to Zpl. The above operation is performed using the timing signal t.
, ~t, in one cycle. On the other hand, the value 12 of 8I is set to counter 6.

ψdKよりて13にカウントアツプされ、次のサイクル
t、〜t1期間での列アドレスとなる。
It is counted up to 13 by ψdK, and becomes the column address for the next cycle t, period to t1.

更に、M=00出力はインバータ回路12を介して一致
回路7のイネーブル信号として与えられているため、一
致回路1では、上記カウンタ6の値とPLの値の一致検
出が行なわれている。
Furthermore, since the M=00 output is given as an enable signal to the matching circuit 7 via the inverter circuit 12, the matching circuit 1 detects a match between the value of the counter 6 and the value of PL.

即ち2次のサイクルではzpz内のデータが読み出され
、ゲート回路G7及び2ツチ21.ゲ、−ト回路G、を
介して演算回路16へ入力され。
That is, in the second cycle, data in zpz is read out, and gate circuit G7 and two gates 21. The signal is input to the arithmetic circuit 16 via the gate circuit G and the gate circuit G.

前回の加算動作でキャリーが生じた場合は、そ■キャリ
ーと上記データが加算され、再びZP2へ書き込まれる
。この時、一致回路7よシ一致信号がアンド回路13へ
入力されているため。
If a carry occurs in the previous addition operation, the carry and the above data are added and written to ZP2 again. At this time, the coincidence signal from the coincidence circuit 7 is input to the AND circuit 13.

このアンド回路13の他方に入力されているクロック信
号ψDがオア回路を介してアドレス変換回路17の読み
込みクロックψ。として入力され1次のステップ(ト)
のマイクロ命令を出力するためのアドレスN& を読み
込む。更に、上記一致信号は、オア回路10を介してク
リップフロツブ回路14へ入力され、この7リツプ70
ツブ回k14から1次のステップ(ト)の最初の1サイ
クル期間(”t〜t、出力時)K信号sTがタイミング
デコーダ9へ出力される。以下の70−では、上述のよ
うなコード加算動作の詳細な説明は省略する。次にステ
ップαつにおいて1加算後の表示レジスタ2のZp1s
Zp2の内容が置数レジスタXの小数点位置を示す桁x
pl # ”pRに転送される。このステップ(ト)で
出力されるマイクロ命令は、Sυ=2s FU ” O
v Sl、 ” 12 * F l、” 13 +M=
0.Op=転送、N8=ステップ0のアドレスである。
The clock signal ψD inputted to the other side of the AND circuit 13 becomes the read clock ψ of the address conversion circuit 17 via an OR circuit. The first step (g) is entered as
Reads the address N& for outputting the microinstruction. Further, the coincidence signal is inputted to the clip-flop circuit 14 via the OR circuit 10, and the 7-rip 70
The K signal sT is output to the timing decoder 9 during the first cycle period (from t to t, at the time of output) of the first step (G) from the turn k14. In the following 70-, the code addition as described above is A detailed explanation of the operation will be omitted.Next, in step α, Zp1s of display register 2 after addition of 1 is
The content of Zp2 is the digit x that indicates the decimal point position of the numeric register
pl # "Transferred to pR. The microinstruction output in this step (g) is Sυ=2s FU" O
v Sl, ” 12 * F l, ” 13 +M=
0. Op=transfer, N8=address of step 0.

即ち、最初の1サイクルのタイミング信号t1出力時に
h SU*SLで指定されるレジスタ2の桁zp1がゲ
ート回路G、を介して2ツチ20へ読み出され、タイミ
ング信号t1出力時に、−)ツチ20のデータはゲート
回路OH及び演算回路16を介してh ’UtSL  
で指定されるvジ、;<IXO桁xpsへ書き込まれる
0次のサイクルのタイミング信号t、出カ時にはs s
U’及びψdでカクントアップされたカウンタ6によっ
て指定されるレジスタ2の桁Zp2がゲート回路q8を
介してラッチ2oVc記憶され、タイミング信号t、出
力時に、前記ラッチ2oに記憶されたデータが、ゲート
回路G、。及び演算回路16を介してbFU* カウン
タ6で指定されるレジスタXの桁xP!へ書き込まれ、
同時に一致回路7よル一致信号が出方されて、このステ
ップ(ト)が終了する。以下のフローでは、上述のよ、
うな転送動作の詳細な説明は省略する。上記ステップ(
ト)が終了した後ステップ(qに進む、一方前記ステッ
プ(至)において小数点フラグが検出されなければ上記
ステップ0に進む、ステップ0において置数及び表示レ
ジスタ2の置数データが記憶される桁z0〜2.。の内
容がレジスタXの桁x0〜x8゜に転送される。次に置
数データ転送後ステップ0に進む。このステップ勤にお
いて置数及び表示レジスタ2の表示桁数を示す桁Zpに
数値の1が加算される。そしてこの後ステップ(I)に
進む。このステップ(I)においてはレジスタ2の桁”
Ple”P2  の小数点表示位置の検出が行なわれs
 ”PIp”pR内のデータが示すYレジスタの桁へ小
数点データが書き込まれる。
That is, when the timing signal t1 of the first cycle is output, the digit zp1 of the register 2 specified by hSU*SL is read out to the 2-channel 20 via the gate circuit G, and when the timing signal t1 is output, the digit zp1 of the register 2 specified by 20 data is sent to h'UtSL via the gate circuit OH and the arithmetic circuit 16.
The timing signal t of the 0th cycle written to the <IXO digit xps is specified by vji,;
The digit Zp2 of the register 2 specified by the counter 6 incremented by U' and ψd is stored in the latch 2oVc via the gate circuit q8, and when the timing signal t is output, the data stored in the latch 2o is Circuit G. and bFU* digit xP of register X specified by counter 6 via arithmetic circuit 16! written to,
At the same time, a coincidence signal is output from the coincidence circuit 7, and this step (g) is completed. In the flow below, as mentioned above,
A detailed explanation of such transfer operation will be omitted. The above steps (
After completion of step (g), proceed to step (q). On the other hand, if the decimal point flag is not detected in the step (to), proceed to step 0. In step 0, the digit where the digit data of the digit and display register 2 is stored. The contents of z0 to 2.. are transferred to digits x0 to x8 of register The numerical value 1 is added to Zp. Then, the process proceeds to step (I). In this step (I), the digit of register 2 is
The decimal point display position of Ple”P2 is detected.
Decimal point data is written to the digit of the Y register indicated by the data in "PIp"pR.

更に1桁X、  K置数データが負であることを示すデ
ータ8の有無が検出され、もし負であれば。
Furthermore, the presence or absence of data 8 indicating that the 1-digit X, K digit data is negative is detected, and if it is negative.

レジスタzo置数データの先頭に一符号が入力される。One code is input at the beginning of the register zo position number data.

この後再び前記ステップ(A)K戻る。After this, the process returns to step (A)K again.

そしてこのステップ(AJにおいてe数データ及び小数
点の表示がなされると共にキーサンプリングが行なわれ
る0例えば、 、−123456789X10”をキー
人力部25よt)J眞次入カする場合、まず。
Then, in this step (in AJ, the number data and decimal point are displayed and key sampling is performed. For example, -123456789X10" is entered from the key input section 25).

日、a]、m・・・圓、(9)の1狐でキーを操作する
。この時には、各キー操作毎に上述したステップ四〜ス
テップ(I)の動作が行なわれる。但し、処理(6)の
置数厖埋では1o桁までの置数データが入力可能になり
でいる。上記一連のキー操作終了後のレジスタX、Zの
記憶状態及び表示部24の表示状態を第5図■に示す。
Day, a], m... En, (9) 1 fox to operate the keys. At this time, the operations from step 4 to step (I) described above are performed for each key operation. However, in the process (6) of numeric filling, numeric data up to 10 digits can be input. The storage state of the registers X and Z and the display state of the display section 24 after the above series of key operations are completed are shown in FIG.

即ち、因キー及び口Φ−は未だ操作されていないため、
ステップ(E)、(ト)の動作は行なわれず、小数点位
置を示す桁zP1#”PI及び”PI s”pRは共に
0である。
That is, since the cause key and the mouth Φ- have not been operated yet,
The operations in steps (E) and (g) are not performed, and the digits zP1#"PI and "PI s" pR indicating the decimal point position are both 0.

またIIEE数データの桁数を記憶しているZpは#、
tj!Lキー操作毎にステップ(ハ)で+1されるため
Also, Zp that stores the number of digits of IIEE number data is #,
tj! This is because each time you press the L key, you get +1 in step (c).

9となっている。更に1日キー操作にょシ、符号を記憶
する桁X、に8が記憶され、置数データが負であること
を示している。したがって表示部24には1桁目に小数
点が表示されsl。
It is 9. Furthermore, 8 is stored in the digit X for storing the code after one day's key operation, indicating that the set number data is negative. Therefore, the display section 24 displays a decimal point in the first digit, sl.

桁目に負符号が表示される。A minus sign is displayed in the digit.

そして次に、ステップ(A)においてキー因が操作され
たことが検出されるとステップ(JJに進む。ステップ
(J) においてレジスタX O桁x 。
Then, in step (A), when it is detected that the key factor has been operated, the process proceeds to step (JJ). In step (J), register X O digit x is input.

O内容が0か否か判定される。すなわちレジスタXに記
憶されている置数データが負数を表わしているかあるい
は正数を表わしているかが判定されm’Xa  の内容
が8すなわち負数を表す場合にはステップ(へ)に進む
。次にこのステップ四においてレジスタ2の置数桁数を
示す桁Zp の内容に1が加算される。そして次にステ
ップ(6)に進む。一方前記ステップ(J)においてX
、の内容が0すなわちレジスタXの内容が正数を表す置
数データの場合には直ちに上記ステップ(ト)に進む。
It is determined whether the O content is 0 or not. That is, it is determined whether the digit data stored in register X represents a negative number or a positive number, and if the content of m'Xa is 8, that is, represents a negative number, the process advances to step (to). Next, in step 4, 1 is added to the contents of digit Zp in register 2 indicating the number of digits to be entered. Then, proceed to step (6). On the other hand, in step (J)
If the contents of , are 0, that is, the contents of register X are numeric data representing a positive number, the process immediately proceeds to step (g).

即ち、置数データが負であれば、レジスタ2間の符号−
を1桁分のデータとして扱うためにZF+ 1  が行
なわれる。上記例では置数データは負(Xs=8)であ
るため、ステップg)でx、’10と判定され、ステッ
プ(転)で+1され。
In other words, if the digit data is negative, the sign between registers 2 and -
ZF+ 1 is performed to treat the data as one digit worth of data. In the above example, the digit data is negative (Xs=8), so x is determined to be '10' in step g), and is incremented by 1 in step (translation).

zy=10となる。次に、ステップ(6)においてレジ
スタZの桁zF の内容から9が減ぜられ、レジスタZ
内の符号−をも含めた置数データの桁数が検出される。
zy=10. Next, in step (6), 9 is subtracted from the contents of digit zF of register Z, and register Z
The number of digits of the numeric data including the sign inside is detected.

そして上記置数データの桁数が10桁のときステップに
)に進み、このステップMVcおいてレジスタZOz、
〜z1゜Q記憶内容が1桁分桁上げされる。この後ステ
ップ(へ)に進み、ステップ(へ)において小数点位置
を示す桁”Pi 、”P2の内容に1が加算され仁の後
ステップ閏に進む。一方前記ステップ(ト)において置
数データの桁数か9桁のときはステップ(qに進み。
Then, when the number of digits of the above-mentioned number data is 10 digits, the process advances to step), and in this step MVc, the register ZOz,
~z1°Q The memory contents are carried up by one digit. After this, the process advances to step (to), and in step (to), 1 is added to the contents of the digits "Pi" and "P2" indicating the decimal point position, and after the step, the process advances to step leap. On the other hand, if the number of digits of the numeric data is 9 digits in step (g), proceed to step (q).

仁のステップ(QにおいてレジスタZQ記憶内容が1桁
桁上げされる。そしてこの後ステップ(ト)に進み、こ
のステップ(ト)においてさらに1桁桁上げされる。こ
の後ステップQに進み、ステップ(Qにおいて小数点位
置を示す桁”Pi e”P2の内容に2が加算されこの
後ステップ閏に進む。
At the third step (Q, the contents of register ZQ are incremented by one digit. Then, the process proceeds to step (g), and in this step (g), the digit is further incremented by one digit. After this, the process proceeds to step Q, and the contents of register ZQ are incremented by one digit. (In Q, 2 is added to the contents of the digit "Pie" P2 indicating the decimal point position, and the process then advances to step leap.

さらに前記ステップ(ト)におりてレジスタZの置数デ
ータの桁数が8桁以下のときkはステップ(ト)に進み
、このステップ(5)において置数データが1桁桁上げ
される。この後ステップ(S) 、 (T)に進み各々
のステップにおいて置数データが1桁桁上げされた後、
ステップ0に進む。ステップ(財)において”PI *
”p2の内容に3が加算され、この後ステップ(至)に
進む。上記ステップ(財)、(0)。
Further, in step (g), when the number of digits of the digit data in register Z is 8 or less, k proceeds to step (g), and in step (5), the digit data is incremented by one digit. After this, proceed to steps (S) and (T), and in each step, the digit data is incremented by one digit, and then
Proceed to step 0. “PI” in step (goods) *
``3 is added to the contents of p2, and the process then proceeds to step (to).The above step (goods), (0).

(P)、(6)、(S)、(T5における桁上げ動作の
マイクロ命令は、FU=2,8L=10.Fl、=O,
M=0.OF=桁上げシフト命令、N轟= 次のステッ
プのアドレス、となる。更に、タイミングデコーダ9か
らは、信号OF及びtl”tl t tC=tl・8丁
、ψd=ψttDPJ=ts+ta が出力される。即
ち、最初の1サイクル(タイミング信号t、〜t、出力
時の動作は、tずタイミング信号t1出力時に5L=l
Oが、ψd=(t、+t、)・ψ、でカウントダウンす
るカウンタ6に読み込まれ、タイミング信号t、出力時
にはカウンタ6からゲート回路G。
(P), (6), (S), (The carry operation microinstruction at T5 is FU=2, 8L=10.Fl, =O,
M=0. OF=carry shift command, N=address of next step. Further, the timing decoder 9 outputs the signal OF and tl"tl ttC=tl・8t, ψd=ψttDPJ=ts+ta. That is, the first cycle (timing signal t, ~t, operation at the time of output) is 5L=l when the timing signal t1 is output.
O is read into the counter 6 which counts down at ψd=(t,+t,)·ψ, and when the timing signal t is output, the counter 6 outputs the signal to the gate circuit G.

を介して前記カウント値9かRIAM3の端子り人へ入
力されると共に再びカウンタ6ヘフイードバツクされる
。この時、 FU=2  及びカウンタ6のカウント値
9のアドレスで指定されたレジスタZOZ、が読み出さ
れ、ゲート回路G、を介してラッチ2ノに記憶される−
この時、カウンタ6はψd =tt ”ψ1 でアップ
カウントされて10となる1次のタイミング信号t1出
力時に。
The count value 9 is input to the terminal of the RIAM 3 via the counter 6, and is fed back to the counter 6 again. At this time, the register ZOZ specified by the address of FU=2 and the count value 9 of the counter 6 is read out and stored in the latch 2 via the gate circuit G.
At this time, the counter 6 counts up by ψd = tt ``ψ1 and reaches 10 when outputting the primary timing signal t1.

カウンタ6の値10が出力され、ゲート回路G。The value 10 of the counter 6 is outputted to the gate circuit G.

を介してRAM5の端子LAへ入力される。こ0時、前
記ラッチ2111C記憶されているデータは。
The signal is inputted to the terminal LA of the RAM 5 via the terminal LA. At this time, the data stored in the latch 2111C is.

ゲート回路G、及び演算回路16を介してsFU冨2及
びカウンタ6のカウント値1oのアドレスで指定された
レジスタZの2.。へ書き込まれる。上記1サイクルで
レジスタZOzg内07’−タが1桁上のi□。へ書き
込まれる。次のサイクルではタイミング信号t、出力時
にカウンタ6の値が8となり、t、出力時にはカウンタ
6の値は9となる。したがつて、z、内のデータが2.
へ書き込まれる。以下、同様にして1サイクル毎に1桁
づつ桁上げされ、カウンタ6゜値がOとなシ、一致回路
1でFLの値0との一致信号が検出されるまで行なわれ
る。上述した桁上げ動作の詳細な説明は以下の7日−で
は省略する。本発明の実施例に於ては、ステップ(転)
でzp=ioとなっているため、ステップ(ト)からス
テップ−へ進み、z0〜z1゜が1桁分桁上げされた後
に、ステップ(へ)でzpz、zpt = 1.となる
2 of the register Z specified by the address of sFU 2 and the count value 1o of the counter 6 via the gate circuit G and the arithmetic circuit 16. . written to. In the above one cycle, the 07'-data in register ZOzg is one digit higher than i□. written to. In the next cycle, the value of the counter 6 becomes 8 when the timing signal t is output, and the value of the counter 6 becomes 9 when the timing signal t is output. Therefore, the data in z is 2.
written to. Thereafter, the carry is carried up by one digit in each cycle in the same manner until the counter 6.degree. value becomes 0 and the coincidence circuit 1 detects a coincidence signal with the FL value 0. A detailed explanation of the above-mentioned carry operation will be omitted in the following section. In an embodiment of the invention, the steps
Since zp=io in step (g), proceed from step (g) to step -, and after z0 to z1° are carried up by one digit, zpz, zpt = 1. becomes.

次に、ステップ(ト)においてレジスタ2の桁”0pz
1  の内容がクリアされる0次のステップ(ト)にお
いて指数データを入力するためのキー日区ヨが操作され
たことを確認するためのFliXPフ2グがXBxp 
 にセットされる0次にステップ(BA)に進みこのス
テップ(BA)においてレジスタ2の3桁目のZJ K
ブランキング;−ドが記憶され、この後ステップ(I)
に進む、このステップ(I)で”Plt”plの小数点
表示位置及びXlの符号が検出された後、ステップ四で
表示される。この時のレジスタX、Z、表示部24の状
態を第5図■に示す。
Next, in step (g), the digit of register 2 is set to "0pz".
1 The contents of 0 are cleared in the next step (g).
Next, proceed to step (BA), and in this step (BA), the third digit of register 2, ZJ K
Blanking;-do is memorized and after this step (I)
After the decimal point display position of "Plt" pl and the sign of Xl are detected in step (I), they are displayed in step 4. The states of the registers X, Z and the display section 24 at this time are shown in FIG.

このように、置数データの仮数部は仮数表示部にr−1
234567Jの如く「−」表示を含めて上位8桁が表
示され、小数点は指示表示部内の2桁目に表示される。
In this way, the mantissa part of the digit data is r-1 in the mantissa display part.
As in 234567J, the upper eight digits including the "-" display are displayed, and the decimal point is displayed at the second digit in the instruction display section.

この結果、操作者には。As a result, the operator.

下2桁の数値「89」は視認できないが、上記小数点の
表示によりe数データは9桁であることが認識し易くな
るものでるる。この時、まだ指数部には指数データは入
力されていない。
Although the last two digits of the number "89" cannot be visually recognized, the display of the decimal point makes it easier to recognize that the e number data is 9 digits. At this time, no index data has been input into the index section yet.

次に、指数部のデータ「12」をキー人力部25よシ入
力すると、前述したステップ(ロ)でレジスタ2の1〜
2桁目に入力され5次のステップC)でEXP 7ラグ
が検出され、直ちに処理(I)へ進む。この処理(I)
の後、処理囚で表示される。
Next, when data ``12'' of the exponent part is entered into the key input section 25, registers 1 to 1 of register 2 are
EXP 7 lag is detected in the 5th step C) inputted in the second digit, and the process immediately proceeds to process (I). This process (I)
After that, it will be displayed as a processed prisoner.

この時のレジスタx、z及び表示部24の状態を第5図
■に示す。即ち、仮数部は9桁であル。
The states of the registers x, z and the display section 24 at this time are shown in FIG. That is, the mantissa part is 9 digits.

その上位7桁は「−12,34567J であり、更に
指数部は「12」であることを示している。
The upper seven digits are "-12,34567J" and the exponent part is "12".

次に前記ステップ囚において四則演算等を行なうための
777クシ1ンキーが操作されたことが検出されるとス
テップ(BB)に進む。このステップ(BB)ではレジ
スタ2の桁J、$6の内容からレジスタXの桁Xpl、
Xp212)内容が減じられたものがレジスタ2の桁z
、、z6  K転送される。この場合h  ”PZ  
  = OであるかPI らzlzoの値は変らす12である。次にステ、ツブ(
BC)に進み、このステップ(BC)では表示レジスタ
2の桁Zxe Z@  の内容が置数レジスタXの桁X
PI *Xp2に転送される。したがってx p 2 
x p 1 ” 12となる。次にステップ(BD)に
進み、このステップ(BD)において777クシ冨ンキ
ーに対応した各種演算が実行され。
Next, when it is detected that the 777 comb key for performing four arithmetic operations etc. has been operated in the step mentioned above, the process proceeds to step (BB). In this step (BB), from the contents of digit J and $6 of register 2, digit Xpl of register X,
Xp212) The content is subtracted from the digit z of register 2.
,,z6 K is transferred. In this case h ”PZ
= O or PI et al. The value of zlzo is 12. Next, Ste, Tsubu (
BC), and in this step (BC), the contents of digit Zxe Z@ of display register 2 are the same as digit
Transferred to PI *Xp2. Therefore x p 2
x p 1 '' 12.Next, the process advances to step (BD), and in this step (BD), various calculations corresponding to the 777 comb key are executed.

この演算結果はレジスタXへ記憶される。そして上記実
施例では置数直後の7アンクシ璽ンキ一操作でめるから
演算は行なわれず1次のステップ(BE)に進む。そし
てこのステップ(BE)においてレジスタXの内容がレ
ジスタ2に転送される。次にステップ(BF)に進み。
The result of this operation is stored in register X. In the above-mentioned embodiment, since the number can be set by one operation of the 7-key key immediately after setting the number, no calculation is performed and the process proceeds to the first step (BE). In this step (BE), the contents of register X are transferred to register 2. Next, proceed to step (BF).

このステップ(BF)においてレジスタ2の桁”Pj 
*”PZの内容に表示桁数分の11が加算されNil 
ZIN =22  となる。そしてステップ(BG)に
進む、このステップ(BG)においてレジスタ2の桁z
10がOか否かすなわち桁z1゜に数値データがあるか
否かが判定される。そしてこのステップ(BG)におい
て桁z1゜に数値データがないことが判定されれば次の
ステップ(BH)に進み、このステップ(DH)におい
てレジスタ2のz0〜”10が1桁桁上げされる。この
後ステップ(BI)に進み、このステップ(BI)にお
いて表示レジスタZの桁Zp1 *zp2の内容から1
が減じられ再びステップ(BG)に戻る。
In this step (BF), the digit of register 2 “Pj
*” 11 for the number of displayed digits is added to the contents of PZ and Nil
ZIN=22. Then, proceed to step (BG). In this step (BG), digit z of register 2
It is determined whether 10 is O or not, that is, whether there is numerical data in the digit z1°. If it is determined in this step (BG) that there is no numerical data in digit z1°, the process proceeds to the next step (BH), and in this step (DH), z0 to "10" of register 2 is incremented by one digit. .After this, proceed to step (BI), and in this step (BI), 1 is calculated from the contents of digit Zp1 *zp2 of display register Z.
is subtracted and the process returns to step (BG) again.

一方前記ステップ(BG)において桁2.。にデータが
あることが判定されれは次のステップ(BJ )に進む
。上記実施例ではz0〜2.。が2桁分桁上げされh 
 ZP2 ZP1=20となる。このステップ(BJ)
ではレジスタ2の桁zpt  ZP2の内Vr20Jが
桁”l e ”Oに転送される。
On the other hand, in step (BG), digit 2. . If it is determined that there is data, the process proceeds to the next step (BJ). In the above embodiment, z0 to 2. . is carried up by two digits and h
ZP2 ZP1=20. This step (BJ)
Then, Vr20J of digit zpt ZP2 of register 2 is transferred to digit "le"O.

(BK)に進み、このステップ(BK)においてレジス
タ2の桁Zpの内容が参照されレジスタZK記憶されて
いる置数データが正数かあるいは負数であるかが判定さ
れる。そしてディジ7)zyの内容が0のときすなわち
正数のときにはステップ(BL)に進み、このステップ
(BL)においてルジスタ2の桁zPI 、”PZに1
0が転送される。そしてこの後ステップ(BN)に進む
。上記実施例の如く、前記ステップ(BL)においてX
、の内容が8のときすなわちレジスタZに記憶されてい
る置数データが負数のときにはステップ(BM)に進む
。このステップ(BM)においてレジスタZの桁”pl
 p”plに9が転送される。そしてこの後ステップ(
BN)に進み& X kP r X DP t Z F
がクリアされる1次のステップ(BA)で2.にブラン
キングコードが入力され、次の処理(I)でZP2 t
 zp1内のデータ「9」がx8 内のデータ「8」が
検出され。
The process advances to (BK), and in this step (BK), the contents of digit Zp of register 2 are referred to and it is determined whether the set number data stored in register ZK is a positive number or a negative number. Then, when the content of digit 7) zy is 0, that is, it is a positive number, the process advances to step (BL), and in this step (BL), digit zPI of register 2, "PZ" is set to 1.
0 is transferred. After this, the process proceeds to step (BN). As in the above embodiment, in the step (BL)
When the content of , is 8, that is, when the set number data stored in register Z is a negative number, the process proceeds to step (BM). In this step (BM), the digit "pl" of register Z
9 is transferred to p”pl. And after this step (
BN) & X kP r X DP t Z F
In the first step (BA) where 2. is cleared. The blanking code is input to ZP2 t in the next process (I).
Data "9" in zp1 and data "8" in x8 are detected.

処理内で表示部24の10桁目に小数点が、最上位桁に
−が表示される。この時の状態を第5図■に示す。
During the process, a decimal point is displayed in the 10th digit of the display section 24, and a - is displayed in the most significant digit. The state at this time is shown in FIG.

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

以上説明したように、本発明によれば、入力可能な数値
データは、その桁数に拘らず仮数部データとして使用で
き、更に指数部データの入力も可能としたもので、指数
表現された数値データを入力する際に、仮数部データの
桁数を考慮しながら入力する必要はなく、操作性の向上
を計ることができる。特に、仮数部データにかかわる小
数点を、指数データを表示する表示桁を含めた全表示桁
内で表示するので、仮数部桁数を越えて視認できない数
値に対して位取シが確認し易くなる利点がある。
As explained above, according to the present invention, numerical data that can be input can be used as mantissa data regardless of the number of digits, and it is also possible to input exponent data. When inputting data, there is no need to consider the number of digits of the mantissa data, and operability can be improved. In particular, the decimal point related to mantissa data is displayed within all display digits, including the display digits that display exponent data, making it easier to check the place value of numbers that cannot be seen beyond the number of mantissa digits. There are advantages.

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

第1図はこの発明の小型電子式計算機の一実施例を示す
回路構成図、!!2図はタイムチャート、第3図(&)
 (b)は各々レジスタX、レジスタZの記憶状態図、
第4図はROM Jに記憶されたマイクロ命令を表現し
た70−チャート、第5図は各々上記実施例を説明する
ための状態図である。 1・・・ROM、J・・・RAM 、 l 6−・・演
算回路、24・・・表示部、25・・・キー人力部。 出願人代理人 弁理士  鈴 江 武 彦第2図 φ0
FIG. 1 is a circuit configuration diagram showing an embodiment of a small electronic calculator of the present invention. ! Figure 2 is a time chart, Figure 3 (&)
(b) is a storage state diagram of register X and register Z, respectively;
FIG. 4 is a 70-chart representing microinstructions stored in ROM J, and FIG. 5 is a state diagram for explaining each of the above embodiments. DESCRIPTION OF SYMBOLS 1...ROM, J...RAM, l6-...Arithmetic circuit, 24...Display part, 25...Key manual part. Applicant's agent Patent attorney Takehiko Suzue Figure 2 φ0

Claims (1)

【特許請求の範囲】[Claims] 少なくともm+n桁の表示桁容量を有し、指数表現され
たデータの表示の際は、仮数部データm桁及び指数部デ
ータn桁を区分表示する表示部と、少なくともm+n桁
の数値データが入力可能な入力部とを有し、指数表現さ
れたデータの演算が可能な小型電子式計算機に於て、仮
数部データとして入力された数値データを記憶する第1
の記憶手段と、指数部データとして入力された数値デー
タを記憶する第2の記憶手段と、前記表示部のm桁に前
記第1の記憶手段内の仮数部データの上位m桁を表示し
、且つ前記表示部のn桁に前記第2の記憶手段内の指数
部データを表示する表示手段と、前記第1の記憶手段に
記憶される仮数部データの小数点を、指数部データを表
示する表示桁を含めた全表示桁内で表示せしめる手段と
を具備したことを特徴とする小型電子式計算機。
It has a display digit capacity of at least m + n digits, and when displaying data expressed in exponential form, it has a display section that separately displays m digits of mantissa data and n digits of exponent data, and at least m + n digits of numerical data can be input. In a small electronic calculator having an input section and capable of calculating data expressed in exponential form, a first section for storing numerical data inputted as mantissa data;
a second storage means for storing numerical data input as exponent part data; and displaying the upper m digits of the mantissa part data in the first storage means in m digits of the display part; and display means for displaying the exponent part data in the second storage means on n digits of the display section, and a display for displaying the exponent data by the decimal point of the mantissa data stored in the first storage means. A small electronic calculator characterized by comprising means for displaying within all display digits including digits.
JP17420185A 1985-08-09 1985-08-09 Miniature electronic computer Granted JPS6145350A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17420185A JPS6145350A (en) 1985-08-09 1985-08-09 Miniature electronic computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17420185A JPS6145350A (en) 1985-08-09 1985-08-09 Miniature electronic computer

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP12487877A Division JPS5457913A (en) 1977-10-18 1977-10-18 Minicomputer

Publications (2)

Publication Number Publication Date
JPS6145350A true JPS6145350A (en) 1986-03-05
JPS6233627B2 JPS6233627B2 (en) 1987-07-22

Family

ID=15974489

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17420185A Granted JPS6145350A (en) 1985-08-09 1985-08-09 Miniature electronic computer

Country Status (1)

Country Link
JP (1) JPS6145350A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5021639A (en) * 1973-06-25 1975-03-07
JPS5073539A (en) * 1973-10-30 1975-06-17

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5021639A (en) * 1973-06-25 1975-03-07
JPS5073539A (en) * 1973-10-30 1975-06-17

Also Published As

Publication number Publication date
JPS6233627B2 (en) 1987-07-22

Similar Documents

Publication Publication Date Title
CA1207454A (en) Data processing apparatus having alterable interest rate mode capability
JPS6122808B2 (en)
US3996562A (en) Programmable electronic calculator for evaluating mathematical problems
JPS6145350A (en) Miniature electronic computer
US4352161A (en) Electronic calculator capable of dealing with variables
US4381554A (en) Calculator for storing source data and evaluating numerical answers to problems
CA1307351C (en) Portable computer with large screen display
JPS5843049A (en) Correcting system of micro electronic computer
US4611307A (en) Function analyzing
JPS594056B2 (en) Key input control method
JPS6315958Y2 (en)
JPS6051730B2 (en) Display data conversion method
SU1541600A1 (en) Device for conversion of coordinates
JPS61275959A (en) Electronic calculator with graphic display function
JPH0116196Y2 (en)
JPS6127772B2 (en)
JPH02244376A (en) Universal language display system
JPS6146856B2 (en)
JPH0124660Y2 (en)
JPS58213364A (en) Small sized electronic calculator
JPS5911947B2 (en) electronic desk calculator
JPS63722A (en) Keyboard
JPS5818732A (en) Character processing device
JPS5844556A (en) Character equation processor
JPS58211263A (en) Data storing system of small-sized electronic computer provided with account checking function