JPS6051730B2 - Display data conversion method - Google Patents

Display data conversion method

Info

Publication number
JPS6051730B2
JPS6051730B2 JP13650177A JP13650177A JPS6051730B2 JP S6051730 B2 JPS6051730 B2 JP S6051730B2 JP 13650177 A JP13650177 A JP 13650177A JP 13650177 A JP13650177 A JP 13650177A JP S6051730 B2 JPS6051730 B2 JP S6051730B2
Authority
JP
Japan
Prior art keywords
data
digit
register
signal
decimal point
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
JP13650177A
Other languages
Japanese (ja)
Other versions
JPS5469334A (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.)
KASHIO KEISANKI KK
Original Assignee
KASHIO KEISANKI KK
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 KASHIO KEISANKI KK filed Critical KASHIO KEISANKI KK
Priority to JP13650177A priority Critical patent/JPS6051730B2/en
Publication of JPS5469334A publication Critical patent/JPS5469334A/en
Publication of JPS6051730B2 publication Critical patent/JPS6051730B2/en
Expired legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 本発明は指数データを含むデータの表示形態を変化させ
る表示データ変換方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a display data conversion method for changing the display format of data including index data.

従来仮数データ表示部と指数データ表示部とを有する小
型電子式計算機において、特定キー操作毎に指数データ
を一定数づつ増加または減少させ、更に仮数データの小
数点位置も上記指数データの変化数に従つて変化させる
ことが行なわれている。
Conventionally, in a small electronic calculator having a mantissa data display section and an exponent data display section, the exponent data is increased or decreased by a fixed number each time a specific key is pressed, and the decimal point position of the mantissa data is also changed according to the number of changes in the exponent data. Changes are being made.

上記のように特定キー操作により表示形態を変化させて
指数データを所定数に設定すれば表示データの数値の大
小が一目で判断できるものである。しかるに1指数デー
タを一定数づつ減少させる上記表示データの変換操作で
は、この操作を繰り返すうちに、仮数データの小数点以
上の桁数が表示部の仮数データ表示部の桁数を越えるこ
とがあり、この時、仮数データの上位桁が消去されると
いう不都合があつた。更に、指数データを一定数づつ増
加させる変換操作ては、この操作を繰り返すうちに、仮
数データの有効数字が下位桁から消去されることがあつ
た。本発明は上記事情に鑑みてなされたもので、仮数デ
ータの小数点位置を検出し、この値が限界内を越える場
合には、上述した表示データの変換を禁止するようにし
た表示データ変換方式を提供することを目的とする。
As described above, if the display form is changed by operating a specific key and the index data is set to a predetermined number, the magnitude of the numerical value of the display data can be determined at a glance. However, in the display data conversion operation in which 1 exponent data is decreased by a fixed number, as this operation is repeated, the number of digits beyond the decimal point of the mantissa data may exceed the number of digits in the mantissa data display section of the display section. At this time, there was an inconvenience that the upper digits of the mantissa data were erased. Furthermore, in a conversion operation in which exponent data is increased by a fixed number, significant digits of the mantissa data may be deleted from the lower digits as this operation is repeated. The present invention has been made in view of the above circumstances, and provides a display data conversion method that detects the decimal point position of mantissa data and prohibits the above-mentioned display data conversion if this value exceeds the limit. The purpose is to provide.

以下、本発明の一実施例を図面を参照して説明する。Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を説明するための回路構成図
である。
FIG. 1 is a circuit configuration diagram for explaining one embodiment of the present invention.

図中、1はROM(リード・オンリ・メモリ)で、この
ROMIには、この計算・機の各種動作を実行させるた
めのマイクロ命令が記憶されており、ROMアドレス部
2から出力されるアドレス信号に対応して、各種マイク
ロ命令を順次出力する。1つのマイクロ命令は、各種信
号SulFu..sL,.FLNcO..MlOp.N
aより成り、それぞれ所定の2進化コードが固定的に組
み込まれている。
In the figure, 1 is a ROM (read-only memory), and this ROMI stores microinstructions for executing various operations of this computer/machine, and address signals output from the ROM address section 2. It sequentially outputs various microinstructions in response to the following. One microinstruction includes various signals SulFu. .. sL,. FLNcO. .. MlOp. N
a, each of which has a predetermined binary code fixedly incorporated therein.

上記マイクロ命令の各2進化コードのROMアドレス部
2のアドレス指定によつて、同時に並列信号として出力
される。Su.Fu信号は、後述するRAM(ランダム
・アクセス・メモリ)3の行アドレス即ち、RAM3内
に複数個設けられているレジスタの1つを指定するもの
で、Suはゲート回路G1を介して、またFuはゲート
回路G2を介してRAM3の端子UAへ入力される。
Depending on the address designation of the ROM address section 2 of each binary code of the microinstruction, the microinstructions are simultaneously output as parallel signals. Su. The Fu signal specifies a row address of the RAM (Random Access Memory) 3, which will be described later, or one of the multiple registers provided in the RAM 3. is input to terminal UA of RAM3 via gate circuit G2.

ゲート回路G1は後述するタイミング信号!の出力時に
開かれ、一方ゲート回路G2には、タイミング信号t1
がインバータ回路5を介して与えられているため、タイ
ミング信号ちの出力時以外で開かれる。上記タイミング
信号ζは第2図に示すク罎ンクパルスφ1,φ2を同期
してタイミング信号T2,t3と共に順次周期的にタイ
ミング信号発生回路4より出力される。又、このタイミ
ング信号発生回路4からは、上記タイミング信号t1〜
ちの1サイクル(この1サイクル期間を以下の説明では
1ディジット期間と称する。)毎にクロックパルスφD
(=T3・φ1)も出力される。上記SL,FL信号は
上記RAM3の列アドレス即ち、RAM3内の各レジス
タの何桁目かを指定するものであり、通常列アドレスS
Lは上記行アドレスSuと、また列アドレスFしか上記
行アドレスFuと対を成している。
The gate circuit G1 is a timing signal which will be described later! The gate circuit G2 is opened when the timing signal t1 is output.
Since it is applied via the inverter circuit 5, it is opened except when the timing signal is output. The timing signal ζ is sequentially and periodically output from the timing signal generating circuit 4 together with the timing signals T2 and t3 in synchronization with the clock pulses φ1 and φ2 shown in FIG. Further, from this timing signal generation circuit 4, the above-mentioned timing signals t1 to
The clock pulse φD is generated every 1 cycle (this 1 cycle period is referred to as 1 digit period in the following explanation).
(=T3·φ1) is also output. The SL and FL signals specify the column address of the RAM 3, that is, the digit of each register in the RAM 3, and are usually the column address S.
L is paired with the row address Su, and only the column address F is paired with the row address Fu.

そして、列アドレスSLは後述するタイミングデコーダ
9より出力されるタイミング信号拍の出力時に開かれる
ゲート回路G3を介してRAM3の端子LAへ入力され
、列アドレスFLはタイミングデコーダ9より出力され
るタイミング信号Tbの出力時に開かれるゲート回路G
4を介してRAM3の端子LAへ入力される。上記タイ
ミング信号Ta及びTl,は、通常、論理式Ta=M−
ST+M−t1、T,=M・〒1により得られる信号で
ある。信号M及びSTの詳細については後述するが、信
号Mは、1マイクロ命令を実行する時間が1ディジット
期間で終了する命令の時に、このマイクロ命令の出力期
間中゜゜1゛を出力する。信号STは各マイクロ命令を
実行する期間の1ディジット期間に゜“1゛を出力する
。したがつて、上記タイミング信号t汲びT5は、M=
1の場合に、TO=t1、Tb=U=T2+T3となり
、タイミング信号t1出力時のRMA3のアドレスは、
行アドレスSu及び列アドレスSしによつ指定され、タ
イミング信号拶〜T3出力時のRAM3のアドレスは、
行アドレスFu及び列アドレスFLによつて指定される
。又M=0の場合即ち、1マ,イクロ命令の実行時間が
複数ディジット期間にわたる場合はTa=ST,tb=
“゜0゛となり、まず、ROMlよノリROM3の端子
UAへ供給される行アドレス信号はタイミング信号t1
の時には行アドレスSu信号が、そして、タイミングし
には行アドレスFu信号が供給されてRAM3のレジス
タが各々選択される。又、上記各タイミングにおけるレ
ジスタの・桁選択は、このステップが実行される期間の
最初の1ディジット期間でのレジスタの桁選択はROM
lからの列アドレスSLがゲート回路G3を介してRA
M3の端子LAへ供給されて行なわれる。一方、この時
、上記列アドレスSしの値はカウン5夕6にプリセット
される。このカウンタ6はクロックパルスφd(=φD
−M)に同期し、後述する信号DNの有無により、アッ
プ、又は、ダウンの方向に1すつカウント動作が行なわ
れる。而して、上記レジスタの最初の桁以後の桁選択は
1ディジットタイム毎に更新される上記カウンタ6の出
力がタイミング信号Tcにより開くゲート回路G5を介
して、RAM3の端子LAへ入力されて順次指定される
。又、上記カウント6の値は同時に一致回路7の一方端
へ供給され、ROMlよソー致回路7の他方へ入力され
ている列アドレスFLの値即ち、このステップで行なう
べきレジスタの最終桁を指定する信号と比較される。こ
の比較値が一致すると、一致回路7よソー致信号が出力
し、後述する如くこのマイクロ命令の実行が終了する。
即ち、上述の如く実行時間が複数ディジット期間、要す
るマイクロ命令では、行アドレスSu又はFuで指定さ
れるRAM3内の記憶領域(レジスタ)の処理開始列は
列アドレスSLによつて指定され、処理終了桁は列アド
レスFLによつて指定される。尚、マイクロ命令がRA
M3の指定された記憶領域(レジスタ)内のデータを左
シフト又は右シフトするシフト命令の時は、上記タイミ
ング信号は、Ta=t1、Tb=“0゛TO=ち・ST
となる。またROMlのC。
The column address SL is input to the terminal LA of the RAM 3 via a gate circuit G3 that is opened when a timing signal beat is output from the timing decoder 9, which will be described later, and the column address FL is a timing signal output from the timing decoder 9. Gate circuit G that opens when Tb is output
4 to the terminal LA of the RAM3. The above-mentioned timing signals Ta and Tl are usually expressed by the logical formula Ta=M-
This is a signal obtained by ST+M-t1, T,=M·〒1. The details of the signals M and ST will be described later, but when an instruction whose execution time for one microinstruction ends in one digit period, the signal M outputs ゜゜1゛ during the output period of this microinstruction. The signal ST outputs "1" during one digit period during which each microinstruction is executed. Therefore, the above timing signal t and T5 are expressed as M=
1, TO=t1, Tb=U=T2+T3, and the address of RMA3 when the timing signal t1 is output is:
The address of RAM3 specified by the row address Su and column address S, and when the timing signal ~T3 is output, is:
It is specified by a row address Fu and a column address FL. In addition, when M=0, that is, when the execution time of a 1ma microinstruction spans a plurality of digit periods, Ta=ST, tb=
"゜0゛", and first, the row address signal supplied to the terminal UA of ROM3 from ROM1 is the timing signal t1.
At this time, the row address Su signal is supplied, and at the same timing, the row address Fu signal is supplied, and the registers of the RAM 3 are respectively selected. Also, the register digit selection at each timing mentioned above is based on the ROM.
Column address SL from l is sent to RA via gate circuit G3.
This is done by being supplied to the terminal LA of M3. On the other hand, at this time, the value of the column address S is preset to counters 5 and 6. This counter 6 receives a clock pulse φd (=φD
-M), and a one-count operation is performed in the up or down direction depending on the presence or absence of a signal DN, which will be described later. Therefore, the selection of digits after the first digit of the register is performed by sequentially inputting the output of the counter 6, which is updated every digit time, to the terminal LA of the RAM 3 via the gate circuit G5, which is opened by the timing signal Tc. It is specified. Also, the value of the count 6 is simultaneously supplied to one end of the match circuit 7, and specifies the value of the column address FL input to the other end of the ROM1 sort circuit 7, that is, the last digit of the register to be processed in this step. is compared with the signal. When the comparison values match, the matching circuit 7 outputs a sort signal, and the execution of this microinstruction is completed, as will be described later.
That is, in the case of a microinstruction that requires execution time for a plurality of digit periods as described above, the processing start column of the storage area (register) in RAM 3 specified by the row address Su or Fu is specified by the column address SL, and the processing end column is specified by the column address SL. The digit is specified by column address FL. In addition, the microinstruction is RA
At the time of a shift command to shift the data in the specified storage area (register) of M3 to the left or right, the above timing signals are Ta=t1, Tb=“0゛TO=chi・ST
becomes. Also, C of ROMl.

は計算機内部で数値、記号等の2進化コードより成る数
値記号コードを必要とする際、コード信号として発生さ
れるもので、信号CIの出力時に開かれるゲート回路G
6を介して出力される。また、Mはマイクロ命令が1デ
ィジットで終了する命令の時に゜゛1゛を出力するモー
ド信号である。
is generated as a code signal when a numerical symbol code consisting of binary codes such as numeric values and symbols is required inside the computer, and the gate circuit G is opened when the signal CI is output.
6. Further, M is a mode signal that outputs ゜゛1゛ when the microinstruction is an instruction that ends with one digit.

また、ROMlより出力される0pは加算、減算、転送
、判断、左シフト、右シフト、データの出力、データの
入力等の命令コードであり、この命令コード0pはオペ
レーションデコーダ8で解読された後に、タイミングデ
コーダ9へ入力される。
Further, 0p output from ROM1 is an instruction code for addition, subtraction, transfer, judgment, left shift, right shift, data output, data input, etc. This instruction code 0p is decoded by the operation decoder 8. , are input to the timing decoder 9.

このタイミングデコーダ9は上記各命令によつて各ゲー
トを制御する為に信号CI.OF..OSllD..K
E..SB等を選択出力する。更に、タイミング信号発
生回路4より出力されるタイミング信号Tl,t2,t
3及びクロックパルスφ1,φ2,φDはゲート回路G
l9G29Gll9Gl2〜等の回路へタイミング信号
として与えられると共に、上記タイミングデコーダ9へ
も入力される。このタイミングデコーダ9にはモード信
号M1信号STも入力され、この信号及び上記タイミン
グ信号、上記各命令を受けて、上記タイミングデコーダ
9から更にタイミング信号Ta..tb..tO及び信
号DN.,R/W1クロックパルスφA,φB,φC,
φdを選択出力する。上記信号CI,OF,OS,lD
,KEはそれぞれゲート回路G6,G7,G8,G9,
GlOの制御信号であり、これらの信号が“゜1゛のと
き対応するゲート回路が開かれる。信号SBは演算回路
16へ入力されて減算指定信号となる。タイミング信号
TO,t5,tOはそれぞれ、ゲート回路G3,G4,
G5へ入力され、前述した制御信号となる。信号DNは
カウンタ6に送られてダウンカウント動作を指定する信
号となる。信号R/MはRAM3へ送られて読み出し/
書き込みを指定する信号となる。信号φA,φB,φc
はそれぞれバッファBl,B2,B3の読み込み用のク
ロックパルスとして与えられ、論理式で表わすと、φa
=φo・0P1?φb:φDOOP29φC:T2φφ
1ある。但し、0P1=小数点表示データ出力命令、0
P2=表示データ出力命令、およびキーサンプリングパ
ルス及び桁駆動パルス出力命令,信号φdはカウンタ6
の動作信号であり、論理式で表わすと、φd=φD−M
−へ?+φ1 ・0P3である。但し、0P3=シフト
命令。また、上記モード信号Mはインバータ回路10を
介して一致回路7へイネーブル信号として入力されると
共にアンド回路11の一方へ入力される。上記一致回路
7の一致信号はアンド回路12の一方へ入力される。更
に、上記モード信号及び一致回路7の一致信号はオア回
路13を介してフリップフロップ回路14へ入力される
。このフリップフロップ回路14はディジット間隔のク
ロックパルスφDに同期して動作し、1ディジット期間
の信号STをタイミングデコーダ9へ出力する。また、
上記アンド回路11及び12の他方にはクロックパルス
φDが入力され、このアンド回路11,12の出力信号
はオア回路15を介して信号φeとして出力され、アド
レス変換回路17の読み込みクロックとなる。また、N
aはROMlの現在実行中のマイクロ命令のアドレスコ
ードであり、アドレス変換回路17へ入力される。この
アドレス変換回路17には更にアンド回路18及び19
の出力信号が入力されている。アンド回路18の一方に
は演算回路16よりデータが、アンド回路19の一方に
はキャリー(又はボロー)が入力され、このアンド回路
18及び19の他方には上記タイミングデコーダ9より
信号Juが入力されている。この信号Juは判断命令の
ときに出力され、この時、アドレス変換回路17では、
アドレスコードNaの内容とアンド回路18及び19の
出力信号とがオア加算され、ROMlの次の2ステップ
のマイクロ命令を指定するアドレスが算出されてROM
アドレス部2へ送られる。次に上記ROMlのマイクロ
命令によつて制御されるROM3、演算回路16等の構
成につき説明する。
This timing decoder 9 uses signals CI. OF. .. OSllD. .. K
E. .. Selectively outputs SB etc. Further, timing signals Tl, t2, t output from the timing signal generation circuit 4
3 and clock pulses φ1, φ2, φD are gate circuit G
It is given as a timing signal to circuits such as 19G29Gll9Gl2 and so on, and is also input to the timing decoder 9. A mode signal M1 signal ST is also input to this timing decoder 9, and in response to this signal, the above-mentioned timing signal, and each of the above-mentioned commands, the timing decoder 9 further inputs a timing signal Ta. .. tb. .. tO and signal DN. , R/W1 clock pulse φA, φB, φC,
Selectively output φd. The above signals CI, OF, OS, ID
, KE are gate circuits G6, G7, G8, G9, respectively.
These are control signals for GlO, and when these signals are "゜1゛", the corresponding gate circuits are opened.The signal SB is input to the arithmetic circuit 16 and becomes a subtraction designation signal.The timing signals TO, t5, and tO are respectively , gate circuits G3, G4,
It is input to G5 and becomes the aforementioned control signal. The signal DN is sent to the counter 6 and becomes a signal specifying a down-count operation. Signal R/M is sent to RAM3 and read/
This is a signal specifying writing. Signals φA, φB, φc
are given as clock pulses for reading buffers Bl, B2, and B3, respectively, and expressed as a logical formula, φa
=φo・0P1? φb:φDOOP29φC:T2φφ
There is one. However, 0P1 = decimal point display data output command, 0
P2 = display data output command, key sampling pulse and digit drive pulse output command, signal φd is the counter 6
It is the operation signal of
-To? +φ1・0P3. However, 0P3 = shift command. Further, the mode signal M is inputted as an enable signal to the coincidence circuit 7 via the inverter circuit 10 and also inputted to one side of the AND circuit 11. The coincidence signal from the coincidence circuit 7 is inputted to one side of the AND circuit 12. Further, the mode signal and the coincidence signal from the coincidence circuit 7 are inputted to the flip-flop circuit 14 via the OR circuit 13. This flip-flop circuit 14 operates in synchronization with a clock pulse φD at digit intervals, and outputs a signal ST for one digit period to the timing decoder 9. Also,
A clock pulse φD is input to the other of the AND circuits 11 and 12, and the output signals of the AND circuits 11 and 12 are outputted as a signal φe via an OR circuit 15 and serve as a read clock for the address conversion circuit 17. Also, N
a is the address code of the microinstruction currently being executed in ROM1, and is input to the address conversion circuit 17. This address conversion circuit 17 further includes AND circuits 18 and 19.
The output signal of is input. One of the AND circuits 18 receives data from the arithmetic circuit 16, one of the AND circuits 19 receives a carry (or borrow), and the other of the AND circuits 18 and 19 receives the signal Ju from the timing decoder 9. ing. This signal Ju is output at the time of a judgment command, and at this time, the address conversion circuit 17
The contents of the address code Na and the output signals of the AND circuits 18 and 19 are OR-added to calculate the address that specifies the next two steps of microinstructions in the ROM1.
It is sent to the address section 2. Next, the configurations of the ROM 3, arithmetic circuit 16, etc. controlled by the microinstructions of the ROM 1 will be explained.

ROM3の端子LAに入力される列アドレスカげO〜1
2ョで、端子UAに行アドレスROJが入力された時に
指定されるRAM3内の記憶領域をレジスタAと称する
。更に、列アドレスがRO〜12ョで、行アドレスが1
1J.,r2.j.r3ョ、14ョ、R5ョによつて指
定されるRAM3内の記憶”領域をそれぞれレジスタB
1レジスタC1レジスタD1レジスタE1レジスタFと
称する。即ち、上記各レジスタはROj−Rl2ョまで
の1晰分の記憶容量を有する。上記各レジスタより構成
されるRAM3は、端子UAへ入力される行アドレスS
u..Fu及び端子LAへ入力される。列アドレスS,
、FLによりアドレス指定され、且つ信号R/W=゜゜
0゛の時に指定されたアドレス内のデータが出力端子0
UTから並列4ビットデータとして読み出され、R/W
=“1゛の時に入力端子1Nへ与えられた並列データを
指定されたアドレス内へ書き込む。通常、上記信号R/
Wはタイミング信号号〜T2出力時に読み出し(R/W
=“゜0゛)に指定され、タイミング信号T3出力時に
書き込み(R/W=゜“1゛)に指定される。また、ゲ
ート回路G1及びG3は、通常、タイミング信号t1出
力時に開かれるため、この時、行アドレスSu及び列ア
ドレスSしによつて指定されるRAM3内のデータが出
力端了0UTより読み出され、タイミング信号t1・φ
1出力時に開かれるゲート回路Gl2を介してラッチ2
0に記憶される。また、ゲート回路G2及びG4は、通
常、タイミング信号ち〜ち出力時に開かれるため、まず
タイミング信号T2出力時には、行アドレスFu及び列
アドレスFしによつて指定されるRAM3内のデータ出
力端子0UTより読み出され、タイミング信号ち・φ1
で開かれるゲート回路Gllを介してラッチ21に記憶
される。また、入力端子1Nに与えられたデータは、タ
イミング信号T3出力時に、行アドレスFu及び列アド
レスFLによつて指定されるRAM3内に書き込−まれ
る。ラッチ20及び21に記憶されているデータはそれ
ぞれ信号0S,0Fによつて開かれるゲート回路G8,
G7を介して演算回路16の入力端子S,Fに送られる
。演算回路16には入力端子S,Fに与えられたデータ
に基づき並列的に加算.又は減算を実行する。この加算
、減算の指定は信号SBによつて行なわれ、SB=゜゜
0゛の時に加算を、SB=゜゜1゛の時に減算を行う。
上記演算結果データは端子Dより並列に出力され、RA
M3の入力端子1Nに与えられると共にオア回路22を
介して前記アンド回路18の一方へ入力される。また演
算回路16のキャリー(又はポロー)は端子Cより出力
され、一前記アンド回路19の一方へ入力される。また
、上言ぴAM3内の記憶領域の後述するレジスタFの1
桁分が、表示及びキーサンプリング時に、演算回路16
を介して一定周期をもつて順次カウントダウンし、且つ
、数値ROJになつた後、特定値が記憶されて循環する
カウント桁として使用される。
Column address number O~1 input to terminal LA of ROM3
In step 2, the storage area in the RAM 3 designated when the row address ROJ is input to the terminal UA is called a register A. Furthermore, the column address is RO~12, and the row address is 1.
1J. , r2. j. The memory areas in RAM3 specified by r3, 14, and R5 are stored in register B, respectively.
1 register C1 register D1 register E1 register F. That is, each of the above registers has a storage capacity of one register up to ROj-Rl2. The RAM 3, which is composed of the above registers, stores the row address S input to the terminal UA.
u. .. It is input to Fu and terminal LA. column address S,
, FL, and when the signal R/W=゜゜0゛, the data within the specified address is output terminal 0.
Read as parallel 4-bit data from UT, R/W
="1", the parallel data applied to the input terminal 1N is written into the specified address.Normally, the above signal R/
W is the timing signal signal ~ Read at the time of T2 output (R/W
= “゜0゛)”, and write (R/W=゜“1゛) is specified when the timing signal T3 is output. Furthermore, since the gate circuits G1 and G3 are normally opened when the timing signal t1 is output, at this time, the data in the RAM3 specified by the row address Su and the column address S is read out from the output terminal 0UT. , timing signal t1・φ
Latch 2 via gate circuit Gl2 that is opened when 1 output
Stored as 0. Furthermore, since the gate circuits G2 and G4 are normally opened when the timing signal T2 is output, first, when the timing signal T2 is output, the data output terminal 0UT in the RAM3 specified by the row address Fu and the column address F is output. The timing signal is read out from the timing signal φ1.
The signal is stored in the latch 21 via the gate circuit Gll, which is opened at . Furthermore, the data applied to the input terminal 1N is written into the RAM 3 specified by the row address Fu and column address FL when the timing signal T3 is output. The data stored in latches 20 and 21 are gated by gate circuits G8 and 0F, respectively, which are opened by signals 0S and 0F.
The signal is sent to input terminals S and F of the arithmetic circuit 16 via G7. The arithmetic circuit 16 performs addition in parallel based on data given to input terminals S and F. Or perform subtraction. The designation of addition and subtraction is performed by the signal SB, and addition is performed when SB=゜゜0゛, and subtraction is performed when SB=゜゜1゛.
The above calculation result data is output in parallel from terminal D, and RA
The signal is applied to the input terminal 1N of M3, and is also input to one side of the AND circuit 18 via the OR circuit 22. Further, the carry (or pollo) of the arithmetic circuit 16 is output from the terminal C and input to one of the AND circuits 19. Also, 1 of register F, which will be described later, in the storage area in AM3 mentioned above.
When the digits are displayed and key sampled, the arithmetic circuit 16
, and after reaching the numerical value ROJ, a specific value is stored and used as a circulating count digit.

このカウント桁の値はゲート回路Gl2及びラッチ20
、ゲート回路G8を介してバッファB3ではクロックパ
ルスφcに同期してカウント桁の値を読み込む。このバ
ッファ式に読み込まれた値はデコーダ23を介して表示
部24の桁駆動パルスとして、またキー入力部25のキ
ーサンプリングパルスとして出力される。また、RAM
3内のレジスタCは表示用のデータを記憶しており、こ
のデータを表示する場合は、まずタノイミング信号ち出
力時にカウント桁の値が読み出され、この値がゲート回
路Gl2及びラッチ20、ゲート回路G9を介してRA
M3のLAへ入力され、これがRAM3の列アドレスと
なる。この時、行アドレスはレジスタCを指定しており
、このためカウント桁に値に対応するレジスタCの所定
桁のデータがタイミング信号ち出力時に読み出され、こ
のデータはゲート回路Gll及びラッチ21、ゲート回
路G7を介してバッファB2へ与えられる。バッファB
2は与えられたデータをクロツクパル″スφbに同期し
て読み込み、更にデコーダ26を介して表示部24へ送
られる。上述したように、表示部24にはデコーダ24
から対応する桁駆動パルスが送られているので、この結
果、表示部24の桁のうち、カウント桁の内容で示され
る桁にレジスタCの同一桁の内容が表示される。また、
バッファB1は小数点表示用のレジスタDからの小数点
データをクロックパルスφaに同期して読み込み、更に
デコーダ26を介して表示部24へ送られ、前述と同様
にして表示される。また、キー入力部25は上記キーサ
ンプリングパルスが供給されるラインと、バッファB4
へ出力されるキーコモンラインがマトリックス状に配列
され、各ラインの交点にキーを有するもので、キー操作
によつてバッファB4へ入力されたキーコモンデータは
、データ入力命令時に出力される信号XEで開くゲート
回路Gl2を介して演算回路16の端子Sへ入力され、
更にこの演算回路16の端子DよりRAM3の入力端子
1Nを介して所定領域へ書き込まれる。この所定領域内
にバッファB4のキーコモンデータがあれば上記カウン
ト桁のカウント動作が停止され、この時のカウント値と
バッファB4のデータによつて操作キーが何であるか決
定される。置数キーであればそのキーに対応する数値デ
ータが表示用のレジスタCへ入力され、フアンクシヨン
キーであればその判断結果によりROMlのアドレスコ
ードNaがアドレス変換回路17を介してROMアドレ
ス部2へ入力され、以下、所定の処理を行うためのマイ
クロ命令が順次出力される。上記キー入力部25には数
値を入力するための置数キー、各種の演算開始を指示す
るファンクションキーの他に、表示データを指定の指数
形態に変換するための変換キー[25a及び逆変換キー
国25bを有する。上記RAM3内の各レジスタの記憶
領域を第3図に示す。レジスタA(7)i桁目の記憶領
域をAiで示す。但し、iは1〜12までの整数である
。同様に、レジスタB,C,D,E,F(7)i桁目を
それぞれBi,Ci,Di,Ei,Fjで示す。AO−
AlOは入力、答、被演算数等を記憶し、このうち、視
〜〜は指数データExを、A3〜AlOは仮数データを
記憶する。Allは変換キー[が操作されたことを示す
フラグFを記憶し、Al2は逆変換キー(1)が操作さ
れたことを示すフラグIを記憶する。八〜BlOは演算
数を記憶し、DO−DlOは表示及び演算補助データを
記憶し、DO−DlOは小数点表示及び演算補助データ
を記憶する。Bll〜Bl2、Cll〜Cl。は演時の
各種フラグを記憶するが、その詳細は省略する。EO上
2は小数点データDpを記憶し、E3〜El2及びレジ
スタFはその他のデータを記憶する。以下、本発明の動
作を説明する。
The value of this count digit is determined by gate circuit Gl2 and latch 20.
, the value of the count digit is read in the buffer B3 via the gate circuit G8 in synchronization with the clock pulse φc. This buffered value is output via the decoder 23 as a digit driving pulse for the display section 24 and as a key sampling pulse for the key input section 25. Also, RAM
Register C in 3 stores display data, and when displaying this data, the value of the count digit is first read out when the tandem timing signal is output, and this value is sent to gate circuit Gl2, latch 20, and gate RA via circuit G9
This is input to the LA of M3, and this becomes the column address of RAM3. At this time, the row address specifies register C, and therefore, data in a predetermined digit of register C corresponding to the value in the count digit is read out when the timing signal is output, and this data is sent to gate circuit Gll, latch 21, It is applied to buffer B2 via gate circuit G7. Buffer B
2 reads the given data in synchronization with the clock pulse φb, and further sends it to the display section 24 via the decoder 26.As mentioned above, the display section 24 has the decoder 24.
As a result, the contents of the same digit of the register C are displayed in the digits of the display section 24 indicated by the contents of the count digit. Also,
Buffer B1 reads decimal point data from register D for decimal point display in synchronization with clock pulse φa, and further sends it to display section 24 via decoder 26, where it is displayed in the same manner as described above. The key input section 25 also connects the line to which the key sampling pulse is supplied and the buffer B4.
The key common lines output to the buffer B4 are arranged in a matrix, and each line has a key at the intersection.The key common data input to the buffer B4 by key operation is the signal XE output at the time of a data input command. is input to the terminal S of the arithmetic circuit 16 via the gate circuit Gl2 that opens at
Further, the data is written from the terminal D of the arithmetic circuit 16 to a predetermined area via the input terminal 1N of the RAM 3. If the key common data of the buffer B4 is present within this predetermined area, 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 of the buffer B4. If it is a numeric key, the numerical data corresponding to that key is input to the display register C, and if it is a function key, the address code Na of ROM1 is input to the ROM address section 2 via the address conversion circuit 17 based on the judgment result. microinstructions for performing predetermined processing are sequentially output. The key input section 25 includes numeric keys for inputting numerical values, function keys for instructing the start of various calculations, and a conversion key [25a and reverse conversion key] for converting display data into a specified exponential format. It has country 25b. FIG. 3 shows the storage area of each register in the RAM 3. The i-th storage area of register A (7) is indicated by Ai. However, i is an integer from 1 to 12. Similarly, the i-th digits of registers B, C, D, E, and F (7) are indicated by Bi, Ci, Di, Ei, and Fj, respectively. AO-
AIO stores inputs, answers, operands, etc., and among these, A3 to AIO store exponent data Ex, and A3 to AIO store mantissa data. All stores a flag F indicating that the conversion key [ has been operated, and Al2 stores a flag I indicating that the reverse conversion key (1) has been operated. 8-BIO stores the calculation number, DO-DlO stores display and calculation auxiliary data, and DO-DlO stores decimal point display and calculation auxiliary data. Bll~Bl2, Cll~Cl. stores various flags during the performance, but the details are omitted. EO2 stores decimal point data Dp, and E3 to El2 and register F store other data. The operation of the present invention will be explained below.

第4図は表示部24の表示状態を表わしたもので、まず
第4図1に示すように、仮数データRl2345678
ョ及び指数データROOJが表示されている。この表示
動作は第5図に示す処理aで行なわれる。即ち、仮数部
及び指数部の表示データはRAM3のレジスタCに記憶
され、このレジスタC(7)CO−C2桁は700ョで
、C3〜ClO桁はRl2345678ョを記憶してい
る。一方、小数点表示データはR.AM3のレジスタD
(7)D6桁目に記憶されている。したがつて、上記処
理aてはROMlからのSu(=5)、SL(=12)
のレジスタ指定命令、及びR/W命令によりt1のタイ
ミングにてRAM3内のレジスタFの1鍮目の順次一定
サイクルをもつてカウントアップし、且つ特定値で循環
するカウンターのカウント値を読み出し、ゲート回路G
l2及びラッチ回路20、ゲート回路G8を介して信号
φcのタイミングでバッファB3へ記憶する。そのカウ
ント値が、例えばRlOJとすれば、上記バッフア八の
データはデコーダ23を介して表示部24の1晰目の桁
駆動パルスとして出力すると共にキー入力部25へキー
サンプリング信号として供給される。同時に上記カウン
ト桁の値RlOJはゲート回路G9を介してRAM3の
端子LAへ列アドレス即ち、桁指定信号として入力され
、またこのとき端子UAにはROMlよりFu(=2)
信号がゲート回路G2を介してT2のタイミングで入力
される。従つてT2のタイミングでRAM3内のFu(
=2)で指定されるレジスタC(7)ClO(10桁目
)内のデータ即ち、表示データRlJが読み出され、ゲ
ート回路Gll及びラッチ21、ゲート回路G7を介し
て信号φbのタイミングでバッファB2へ入力される。
このデータ10.uがバッファB2より所定のタイミン
グで出力され、デコーダ26でセグメントコードに変換
された後、表示部24へ送られる。又、レジスタD(7
)DlO内のデータ即ち、小数点用データは、他のステ
ップで、上述の表示データと同様の動作でバッファB1
へ入力され、デコーダ26を介して表示部24へ送られ
る。この結果表示部24には1晰目の桁駆動パルスと上
記表示データにより表示部24の1晰目に数値11ョが
表示される。DlOには小数点表示データは無いためO
桁目には小数点は表示されない。次のステップでは、ゲ
ート回路GlOを開くための信号KEが出力され、上記
したバッファ式よりキー入力部25に供給されているサ
ンプリング信号〔カウント値RlOョに対するデコーダ
23の出力信号〕に基づくキーコモンデータがバッファ
B4に存るか否かの検出が行なわれ、そのキーコモンデ
ータが無ければ、次のステップで上述したと同様の動作
で、RAM3内のレジスタFの第12桁目のカウント値
が再び読み出されたカウント桁の値が演算回路16でカ
ウントダウンされて19ョとなり、上述した一連の動作
が再び行なわれる。これと同時にC9及びD9内のデー
タが表示部24へ送られて、表示部24の9桁目に表示
される。以下、カウント桁の値力幼ウントダウンされ、
表示部24の最下桁と等しい値になると、次のカウント
時のステップでは上記ボローを演算回路、16の出力端
D及びCからの信号により検出し、この信号がアンド回
路18,19を介して、アドレス変換回路17にROM
lのNa信号と共に読み込まれ、そのアドレス指定信号
によりROMlのC。よりコード信号RlOJを出力し
Fu(=5)およびFし(=12)に指定されているR
AM3のレジスタFの12桁目にちのタイミングで演算
回路16を介して書き込み再び数値110ョをプリセッ
トされ、上述と同様の動作がくり返される。上述した処
理aで、もし、キー入力部25のキーが操作され、バッ
ファB4にそのキーに対するキーコモンデータが検出さ
れると、処理aの動作は中断され、操作キーに対応した
所定の処理が行なわれるこの処理に関しては、置キー,
国キー操作以外は本願の主旨でないので説明を省略する
。Pキー25aが操作されると後述する処理bが行なわ
れ、国キー25bが操作されるとステップcが行なわれ
、処理b又はステップcの動作が終了すると、再び処理
aの動作が行なわれる。次に、処理bの動作を第6図及
び第7図の表示データ変換フローを参照して説明する。
FIG. 4 shows the display state of the display section 24. First, as shown in FIG. 4, mantissa data Rl2345678
and index data ROOJ are displayed. This display operation is performed in process a shown in FIG. That is, the display data of the mantissa and exponent parts are stored in register C of the RAM 3, and this register C(7) CO-C2 digits are 700, and C3 to ClO digits are R12345678. On the other hand, the decimal point display data is R. AM3 register D
(7) Stored in the 6th digit of D. Therefore, in the above process a, Su (=5), SL (=12) from ROM1
With the register specification instruction and the R/W instruction, at the timing t1, the count value of the counter that counts up sequentially with a constant cycle of the first register F in RAM3 and circulates at a specific value is read out, and the gate Circuit G
12, the latch circuit 20, and the gate circuit G8, the data is stored in the buffer B3 at the timing of the signal φc. If the count value is, for example, RlOJ, the data in the buffer 8 is output as a first digit driving pulse of the display section 24 via the decoder 23, and is also supplied to the key input section 25 as a key sampling signal. At the same time, the value RlOJ of the count digit is input as a column address, that is, a digit designation signal, to the terminal LA of the RAM3 via the gate circuit G9, and at this time, the value Fu (=2) from the ROMl is inputted to the terminal UA.
A signal is input via gate circuit G2 at timing T2. Therefore, at the timing of T2, Fu(
The data in the register C(7) ClO (10th digit) specified by =2), that is, the display data RlJ, is read out and buffered at the timing of the signal φb via the gate circuit Gll, latch 21, and gate circuit G7. It is input to B2.
This data 10. u is output from the buffer B2 at a predetermined timing, converted into a segment code by the decoder 26, and then sent to the display unit 24. Also, register D (7
) The data in DlO, that is, the data for the decimal point, is transferred to the buffer B1 in another step in the same manner as the display data described above.
and sent to the display unit 24 via the decoder 26. As a result, the numerical value 11 is displayed on the display section 24 in the first order of the display section 24 based on the first order digit drive pulse and the display data. O because DlO does not have decimal point display data.
No decimal point is displayed in the digit. In the next step, a signal KE for opening the gate circuit GlO is output, and a key common signal based on the sampling signal [output signal of the decoder 23 corresponding to the count value RlO] supplied to the key input section 25 from the buffer type described above is output. It is detected whether data exists in buffer B4 or not. If the key common data is not present, the next step is to perform the same operation as described above, and the count value of the 12th digit of register F in RAM3 is The value of the count digit read out again is counted down by the arithmetic circuit 16 to 19, and the above-described series of operations is performed again. At the same time, the data in C9 and D9 are sent to the display section 24 and displayed at the ninth digit of the display section 24. Below, the value of the count digit is counted down,
When the value is equal to the lowest digit of the display section 24, in the next counting step, the borrow is detected by the arithmetic circuit and the signals from the output terminals D and C of 16, and this signal is passed through the AND circuits 18 and 19. ROM to the address conversion circuit 17.
The C of ROM1 is read with the Na signal of ROM1 by its addressing signal. Outputs the code signal RlOJ and selects R specified by Fu (=5) and F (=12).
At the timing after the 12th digit of the register F of AM3, it is written via the arithmetic circuit 16 and the numerical value 110 is again preset, and the same operation as described above is repeated. In process a described above, if a key on the key input section 25 is operated and key common data for that key is detected in the buffer B4, the operation of process a is interrupted and a predetermined process corresponding to the operated key is executed. For this process to take place, press the
Descriptions of the operations other than the country key operation will be omitted since they are not the gist of the present application. When the P key 25a is operated, a process b to be described later is performed, when the country key 25b is operated, a step c is performed, and when the operation of the process b or step c is completed, the operation of the process a is performed again. Next, the operation of process b will be explained with reference to the display data conversion flow shown in FIGS. 6 and 7.

第4図1の状態では、レジスタAにはレジスタCと同じ
データが記憶され、レジスタE(7)EO〜2には小数
点の表示位置を示すデータDp=6が記憶されている。
まずステップdではA。〜2内の指数データEx=0を
C。〜2へ転送する。このステップdで示す転送動作の
ためのマイクロ命令は、Su=0,FU=2,SL=0
,FL=2,M=0,0P=転送,Na=ステツプdの
アドレスである。即ち、最初の1サイクルのタイミング
信号ち出力時に、SU,SLで指定される入内のデータ
ROJがゲート回路Gl2を介してラッチ20へ読み出
され、タイミング信号T3出力時に、ラッチ20のデー
ータはゲート回路G8及び演算回路16を介して、Fu
(=2),SL(=0)で指定されるC。即ちR,AM
3のレジスタCの0桁目へ書き込まれる。又、上記SL
(=10ョ)はこの時同時にカウンタ6に送られて、プ
リセットされる。その出力.信号は信号眉こ制御される
ゲート回路G5を介して一致回路7の他方入力端に入力
される。この時一致回路7の一方の入力端にはROMl
よりFし(=R2J)が入力されており、両者の一致が
比較される。この場合、両者は一致しないので一致回路
7からは一致出力が出ず、アドレス変換回路の内容は変
化しないので、ROMlより出力される各種信号、SU
,FU,SL,Fしの内容はそのままである。而して、
このサイクルにてカウンタ6の内容は信号φDにより+
1され、その値が11Jとなる。そして次のサイクルに
入りタイミング信号t1時には、そのカウンタ6の内容
(ゲート回路G5を介してRAM3の端子LAに供給さ
れる。)及びROMlからの信号Su(=0)によつて
RAM3内のレジスタAの1桁目即ち、A1が指定され
る。そして、このA1内のデータ10JがR/Wのリー
ド信号によつてRAM3より読み出され、ゲート回路G
l。を介してラッチ20に記憶される。タイミング信号
T3出力時には、ROMlより出力されている信号Fu
〔=12ョ(レジスタCを指定)〕カウンタ6の内容1
1J(1桁目指定)及びライト信号WがRAM3に供給
され、これにより、前記ラッチ20に記憶されていたデ
ータ10Jはゲート回路G8及び演算回路16を介して
、レジスタC(7)C1へ書き込まれる。この時、上述
したと同様の動作でカウンタ6がカウントアップし、そ
の内容は12.となり、次のサイクルに入る。そして上
述と同様に、A2内のデータがC2へ書き込まれると共
に、同時に一致回路7よソー致信号が出力され、この信
号がアンド回路12及びオアー回路15を介して読み込
みクロックφeとしてアドレス変換回路17に印加され
る。これによりアドレス変換回路17ではここに印加さ
れている。ROMlよりの次のステップの為のアドレス
信号Na及びアンド回路18及び19からの信号に従い
、アドレス内容を更新し、ステップdを終了して次のス
テップeに進む。このステップeではRAM3内のレジ
スタE(7)O桁目〜第2桁目のデータ(Dp=6)を
レジスタD(7)O桁目〜第2桁目に転送する。この動
作については上記ステップdの動作とRAM3へのレジ
スタの指定が違うだけなのでその発明の詳細な説明は省
略する。このステップeが終了すると次のステップfに
進む。このステップfでは表示データを所定の指数形態
に変換する為の変換キー僅が操作されているかを判断す
るステップでレジスタAの第11桁目にそのフラッグコ
ードFが記憶されているか否かを判断するものである。
この場合、以前に上記変換キーロは操作されていないの
で、フラッグ●コードは記憶されていない。このステッ
プfで示す判断動作の為にROMlより出力されるマイ
クロ命令の各種信号は、Fu=0、Fし=11、CO=
F..M=1、0p=判断の命令コード、Na=ステツ
プtのアドレスを出力する。上記判断の命令コードはオ
ペレーションデコーダ8を介してタイミングデコーダ9
へ入力され、このタイミングデコータ9より、ゲートG
6を制御する信号CIlゲートC7を制御する信号0F
1減算指令SB、判断信号JUlリード・ライト信号R
/W等の各種制御信号が出力される。このため、まず、
上記Fu,FLでRAM3のレジスタAの第11桁目が
指定され、その11桁目のデ゛一タ10ョがRAM3の
0UT端子より読み出され、T2のタイミングでゲート
回路Gll及びラッチ21、ゲート回路G7を介してT
3のタイミングで演算回路16の端子Fへ入力される。
一方、この時、ROMlのC。より上記フラッグFに対
応する2進化コードが出力され、ゲート回路G6を介し
て上記演算回路16のS端子へ供給される。この演算回
路16は信号SBによつて減算指定されているため、演
算回路16では上記端子Fへ入力されたレジスタAの第
11桁目のデータROョから端子Sへ入力されたフラッ
グコードデータの減算を行ない、減算ジヤツジを行なう
。その結果この場合、(0−F)より演算回路16の端
子Dより数値データが、端子Cよりキャリー(又はボロ
ー)が出力される。上記数値データによりオア回路22
及びその一方へ信号JUが入力されているアンド回路1
8を介してアドレス変換回路17へ判断信号として入力
され、又上記キャリー(又はボロー)は、その一方へ信
号JUが入力されているアンド回路19を介して判断信
号としてアドレス変換回路17へ入力される。この結果
、上記アドレス変換回路17てはROMlのNaより出
力されているアドレス信号と、上記アンド回路18,1
9からの判断信号に基づくアドレス信号に基づいて次の
ステップのアドレス信号をROMアドレス部2に供給す
る。この楊合にはレジスタAの11桁目にはフラッグコ
ードFに記憶されていないと判断されてステップgへと
進む、又、もし、上記変換キーPが操作されて、あつて
、レジスタAの11桁目にフラッグコードFが記憶され
ている場合は、上記演算回路16の減算において演算回
路16からは数値データもキャリーも出力されない。こ
の結果、フラッグコード有りと判断され、アドレス変換
回路17ではROMlのNaより出力されているアドレ
ス信号のみに基づき次のステップのアドレス信号をRO
Mアドレス部2に供給し、ステップtへと進むようにな
る。而して、この場合は上記ステップgへと進むが、こ
のステップgでは上記変換キー[が操作されたことを記
憶する為にそれに対応するフラッグコードRFョをレジ
スタAの第11桁目に記憶する動作を行う。このステッ
プgで出力されるROMlからのマイクロ命令に伴う各
種信号は、Fu=0、FL=11、CO=コードRFョ
、M=゜゜1−0p=数値記号コード入力命令、Na=
ステツプhのアドレスコードである。上記0pを受けて
、タイミングデコーダ9より信号CI及びR/W信号等
が出力される。上記各種信号により、まずROMlのC
。よりコードRFJ(例えばRllOOョ)が出力され
、ゲート回路G6及び演算回路16を介してRAM3の
端子1Nに供給される。一方、ROMlからの信号Fu
(=0),Fし(=11)によりRAM3内のレジスタ
Aの第11桁目が指定されている。この結果T3のタイ
ミングの時にRAM3に印加される書き込み信号Wによ
り上記コードRFJがレジスタAの第11桁目に書き込
まれる。そして、次のステップhに進む。以下、各ステ
ップの動作を簡潔に説明する為に、上記した内容、即ち
、転送、コード書き込み、減算動作、とは異なる動作で
ない限り、ROMlより出力されている各種信号に関す
る説明を省略して動作を説明する。
In the state shown in FIG. 4, register A stores the same data as register C, and registers E(7) EO-2 store data Dp=6 indicating the display position of the decimal point.
First, in step d, A. C for the index data Ex=0 within ~2. Transfer to ~2. The microinstruction for the transfer operation shown in step d is Su=0, FU=2, SL=0
, FL=2, M=0, 0P=transfer, Na=address of step d. That is, when the timing signal T3 of the first cycle is output, input data ROJ specified by SU and SL is read out to the latch 20 via the gate circuit Gl2, and when the timing signal T3 is output, the data in the latch 20 is read out from the gate. Through the circuit G8 and the arithmetic circuit 16, Fu
(=2), C specified by SL (=0). That is, R, AM
3 is written to the 0th digit of register C. Also, the above SL
(=10) is simultaneously sent to the counter 6 and preset. Its output. The signal is input to the other input terminal of the coincidence circuit 7 via a gate circuit G5 which is controlled by the signal. At this time, one input terminal of the matching circuit 7 has ROM1.
2F (=R2J) is input, and the two are compared to see if they match. In this case, since the two do not match, no match output is output from the match circuit 7, and the contents of the address conversion circuit do not change, so the various signals output from ROM1, SU
, FU, SL, and F remain unchanged. Then,
In this cycle, the contents of counter 6 are changed to + by signal φD.
1, and its value becomes 11J. Then, at the timing signal t1 in the next cycle, the contents of the counter 6 (supplied to the terminal LA of the RAM3 via the gate circuit G5) and the signal Su (=0) from the ROM1 are used to store the register in the RAM3. The first digit of A, ie A1, is specified. Then, data 10J in this A1 is read out from RAM3 by the R/W read signal, and gate circuit G
l. The data is stored in the latch 20 via the latch 20. When the timing signal T3 is output, the signal Fu output from the ROM1
[=12jo (specifies register C)] Contents 1 of counter 6
1J (designating the first digit) and the write signal W are supplied to the RAM 3, whereby the data 10J stored in the latch 20 is written to the register C(7)C1 via the gate circuit G8 and the arithmetic circuit 16. It will be done. At this time, the counter 6 counts up in the same manner as described above, and its contents are 12. Then, the next cycle begins. Then, as described above, the data in A2 is written to C2, and at the same time, the match circuit 7 outputs the sort signal, and this signal is passed through the AND circuit 12 and the OR circuit 15 as the read clock φe to the address conversion circuit 17. is applied to As a result, the signal is applied here in the address conversion circuit 17. According to the address signal Na for the next step from ROM1 and the signals from AND circuits 18 and 19, the address contents are updated, step d is completed, and the process proceeds to the next step e. In this step e, the data (Dp=6) from the Oth digit to the second digit of the register E (7) in the RAM 3 is transferred to the Oth digit to the second digit of the register D (7). Since this operation differs from the operation in step d above only in the designation of registers to the RAM 3, a detailed explanation of the invention will be omitted. When this step e is completed, the process proceeds to the next step f. In this step f, it is determined whether the conversion key for converting display data into a predetermined exponential format is operated, and it is determined whether the flag code F is stored in the 11th digit of register A. It is something to do.
In this case, since the conversion key has not been operated before, the flag ● code is not stored. The various microinstruction signals output from ROM1 for the judgment operation shown in step f are Fu=0, F=11, CO=
F. .. Outputs M=1, 0p=judgment instruction code, Na=address of step t. The instruction code for the above judgment is sent to the timing decoder 9 via the operation decoder 8.
From this timing decoder 9, the gate G
Signal 0F controlling gate C7
1 subtraction command SB, judgment signal JUL read/write signal R
Various control signals such as /W are output. For this reason, first,
The 11th digit of register A of RAM3 is specified by Fu and FL, the data 10 of the 11th digit is read from the 0UT terminal of RAM3, and at the timing of T2, gate circuit Gll and latch 21, T via gate circuit G7
It is input to the terminal F of the arithmetic circuit 16 at timing 3.
On the other hand, at this time, C of ROM1. A binary code corresponding to the flag F is outputted and supplied to the S terminal of the arithmetic circuit 16 via the gate circuit G6. Since this arithmetic circuit 16 is designated for subtraction by the signal SB, the arithmetic circuit 16 converts the flag code data input to the terminal S from the 11th digit data RO of the register A input to the terminal F. Perform subtraction and perform subtraction jersey. As a result, in this case, numerical data is output from the terminal D of the arithmetic circuit 16 from (0-F), and a carry (or borrow) is output from the terminal C. OR circuit 22 according to the above numerical data
and an AND circuit 1 to which the signal JU is input.
8 as a judgment signal to the address conversion circuit 17, and the carry (or borrow) is input as a judgment signal to the address conversion circuit 17 through an AND circuit 19 to which the signal JU is input. Ru. As a result, the address conversion circuit 17 converts the address signal output from Na of ROM1 and the AND circuits 18, 1
An address signal for the next step is supplied to the ROM address section 2 based on the address signal based on the determination signal from 9. In this case, it is determined that the flag code F is not stored in the 11th digit of register A, and the process proceeds to step g.Also, if the conversion key P is operated, When flag code F is stored in the 11th digit, neither numerical data nor carry is output from the arithmetic circuit 16 during subtraction by the arithmetic circuit 16. As a result, it is determined that there is a flag code, and the address conversion circuit 17 converts the next step address signal to RO based only on the address signal output from Na of ROM1.
The data is supplied to the M address section 2, and the process proceeds to step t. In this case, the process proceeds to step g, but in step g, in order to remember that the conversion key [ has been operated, the corresponding flag code RF is stored in the 11th digit of register A. Perform the action. Various signals accompanying the microinstruction from ROMl output in step g are Fu=0, FL=11, CO=code RF, M=゜゜1-0p=numeric symbol code input instruction, Na=
This is the address code of step h. In response to the above 0p, the timing decoder 9 outputs the signal CI, R/W signal, etc. By the various signals mentioned above, first the C of ROM1 is
. A code RFJ (for example, RllOO) is output from the circuit and is supplied to the terminal 1N of the RAM 3 via the gate circuit G6 and the arithmetic circuit 16. On the other hand, the signal Fu from ROM1
(=0) and F (=11) specify the 11th digit of register A in RAM3. As a result, the code RFJ is written to the 11th digit of the register A by the write signal W applied to the RAM 3 at the timing T3. Then, proceed to the next step h. Below, in order to briefly explain the operation of each step, explanations regarding various signals output from ROM1 will be omitted unless the operation is different from the above-mentioned contents, that is, transfer, code writing, and subtraction operations. Explain.

このステップhではレジスタEの第0桁目〜第2桁目の
E。
In this step h, the 0th to 2nd digits of register E are E.

〜2内の小数点データROO6ョ(即ちデータR6ョ)
が演算回路16の端子Fに各桁毎・に読み出され、一方
演算回路16の端子SにはROMlのC。より数値RO
lOJ(即ちデータRlO.J)が順次供給されて10
−6=4の減算が行なわれ、データROO4ョがE。〜
2に書き込まれる。次のステップiでは上記レジスタE
の小数点データE。・〜2とレジスタAの指数データA
。〜2との加算を行ない、その結果をレジスタAの指数
データ記憶部へ書き込む動作が行なわれる。即ち、レジ
スタAの指数データRO.JがRAM3より(のタイミ
ングで読み出され、レジスタEの指数データ)R4Jが
T2のタイミングで読み出され、各々ゲート回路Gl2
、ラッチ回路20、ゲート回路G8およびゲート回路G
ll、ラッチ回路21、ゲート回路G7を介して演算回
路16の端子SおよびF端子へそれぞれ入力され、T3
のタイミングでこの演算回路16でR4+0Jの加算が
行なわれ、その結果R4ョがRAM3のレジスタAの指
数記憶部A。〜2に書き込まれる。そして、次のステッ
プjへ進む。このステップjでは上記レジスタAの指数
記憶部ん〜2内のデータがR99ョより大か否かの判断
が行なわれる。この判断に於て、もしもレジスタAの指
数記憶部A。〜2内のデータが199ョより大きい場合
は、表示部24の指数表示部の2桁をオーバする為に、
その内容を表示することができない。このような時、本
発明ではこれ以後の変換キー置を禁止すると共に上記ス
テップd及びステップeでレジスタC(7)CO〜2桁
目及びレジスタD(7)DO〜2桁目に夫々一時退避さ
せたレジスタA(7)AO〜2桁目の指数データおよび
レジスタE(7)EO〜2桁目の小数点データを再び各
レジスタA1およびEに復帰させ変換キー(ト)が操作
されない状態に戻し、表示するようにする。この為に、
上記判断の後はステップlへと進み、このステップlに
於ては、ステップdとは逆にレジスタC(7)CO〜2
桁目の内容をレジスタA(7)AO〜2桁目の内容をレ
ジスタA(7)AO〜2桁目に転送し、次のステップm
にてステップeとは逆にレジスタD(7)DO〜2桁目
の内容をレジスタE(7)EO〜2桁目に転送する。そ
して、次の後述するステップnでレジスタAの第1泪目
に10ョを書き込む、即ち、後述するフラグIをクリア
ーした後、後述するステップにより、今回の変換キー(
ト)操作以前の元の状態を表示するようにする。而して
上記例ではステップiにおいて、レジスタA(7)AO
〜2内のデータはR4Jであるから、199Jよりも小
と判断され、ステップjよりステップkへ進む。このス
テップkでは、第4図の2で示される如く、小数点が表
示桁の1晰目に表示されるように、小数点表示桁位置の
データを記憶するレジスタEのE。〜2桁目に数値Rl
Oョが書き込まれ、次のステップoに進む。このステッ
プoではレジスタA(7)AO−AlO桁目に記憶され
ている各データが表示用レジスタCの各桁C。−ClO
に転送される。次のステップpではレジスタEの小数点
表示桁位置を記憶するE。〜2内のデータが10より大
・きいか否かの判断が行なわれ、もしもRlOJより大
きければ次のステップqへ進みレジスタCの仮数表示デ
ータが記憶される記憶柘C3〜10が1桁分右シフトさ
れ、次のステップrに進み、このステップrで上記レジ
スタE(7)EO〜2桁内の1小数点表示桁データから
数値RLが減算され、再び上記ステップデータからr1
ョが減算され、再び上記ステップpへもどる。即ち、上
記E。〜2内の小数点表示桁データが表示部24の最大
表示桁RlOョ以下になるまで上記ステップP,q,r
の動作が行なわれる。この時の上記ステップqの右シフ
ト動作におけるマイクロ命令に対するROMlより出力
される信号はFU=2、SL=3、FL・=10、M=
゜゜0゛、0p=右シフト命令、Na=ステツプrのア
ドレスコードとなる。そして、前記命令コード0pを受
けて、タイミングデコーダ9からは信号0F及びTa=
t1、TO=t1・STlφd=φ1、DN=T2等の
制御信号並びにタイミング信号が種々のゲートを制御す
る為に出力される。即ち、このステップが実行される最
初の1ディジット期間、t1〜ζのタイミングの期間の
動作は、まずタイミング信号t1に於いて、上記SL=
3がカウンタ6〔ち・φ1でカウントダウンし、(t1
+T3)・φ、でカウントアップする〕に読み込まれ、
ここで+1カウントアップし、タイミング信号ちに於い
て、カウンタ6のカウント値14.がゲート回路G5を
介してRAM3の端子LAへ入力されると共に再びカウ
ンタ6へフィールドバックされる。このT2のタイミン
グで、FU=2及びカウンタ6のカウント値R4ョでア
ドレス指定されるRAM3内のレジスタCの第4桁目C
4のデータがRAM3より読み出され、ゲート回路Gl
lを介してラッチ21に記憶される。一方この時、カウ
ンタ6はち・φ1のクロック信号により0−1ョダウン
カウントされてそのカウント値はR3!となる。そして
次のタイミング信号T3に於いて上記カウンタ6の値1
33Jの出力がゲート回路G5を介してRAM3の端子
LAへ入力される。これと同時にRAM3にはROMl
よりFU=2の信号及び書き込み信号Wも印加される。
この時前記ラッチ21に記憶されているレジスタCの第
4桁目C。のデータはゲート回路G7及び演算回路16
を介してR,AM3の入力端子1Nに供給されてRAM
3のレジスタCの第3桁目C3に第4桁目C4のデータ
が書き込まれる。即ち、上記1ディジット期間t1〜T
3の間にレジスタCの第4桁目C4のデータが1桁右の
第3桁目C3へシフトされる。又、このT3のタイミン
グの時もカウンタ6はクロック信号φ1で0+1ョされ
カウント値はR4Jとなつている。そして、次のディジ
ット期間、のt1〜ちのタイミングでは、まず、t1の
タイミングにて、上記カウンタ6は、上記と同様に+1
カウントアップされその値を15ョとし、この値の信号
が次のT2のタイミングにてゲート回路G5を介してR
AM3の端子LAへ列アドレス信号として供給される。
この結果、レジスタCの第5桁目C5のデータが読み出
され、上記と同様の動作にてラッチ回路21にその内容
が保持される。又、このT2のタイミングにてカウンタ
6の値は1−1ョカウントダウンし、R4jとなる。そ
して、次のタイミングらにて、上記R4Jの値の信号が
ゲート回路G5を介してRAM3のLN喘子に供給され
、この時、同時に上記読み出されたレジスタCの第5桁
目C5のデータがラッチ回路21よりゲート回路G7、
演算回路16を介してRAM3の端子1Nに供給される
。この結果、上記レジスタCの第5桁目C5のデータが
第4桁目C4に書き込まれる。以下同様にしてレジスタ
Cの第6桁目C6〜第1Cf1目ClOの内容が1ディ
ジット毎に1桁づつ右へシフトされる。そしてカウンタ
6の値がRlOJとなり、FL=10と等しくなると、
一致回路7から一致信号が出力される。この一致信号は
アンド回路12の一方へ入力され、このアンド回路12
の他方に入力されているクロックパルスφ。(=T3・
φ1)がオア回路15を介してアドレス変換回路17へ
読み込みクロックパルスとして印加される。この結果、
ROMlのNaよりアドレス変換回路17へ出力されて
いる次のステップrのアドレス信号が読み込まれ、ステ
ップqを終了するものである。而して、この場合はステ
ップpにおいて、レジスタEの第0桁目〜第2桁目E。
上2の小数点表示桁データDpはRlOョより、1Dp
≦10ョと判断されて、次のステップsへ進む。この処
理sでは上記レジスタE(7)EO上2桁に記憶されて
いる小数点表示桁データDpの値RlOョに対応して、
レジスタDの1晰目DlOに小数点表示データを書き込
む。以上で表示データ変換グローを終了し、前記処理a
で、レジスタC内のデータ及びレジスタD内の小数点表
示データが第4図2に示すように表示部24で表示され
る。即ち、初回の変換キー(ト)の操作によつて第4図
1に示される如くの通常の仮数部のみの表示状態が、小
数点を最上位桁に表示して、指数形態で表示するもので
、指数データの値から表示データの大小が容易に判読で
きる利点がある。次に、更に変換キー(ト)が操作され
た際の動作につき説明する。
Decimal point data ROO6 within ~2 (i.e. data R6)
is read out to terminal F of the arithmetic circuit 16 for each digit, while C of ROM1 is read out to the terminal S of the arithmetic circuit 16. More numerical RO
lOJ (that is, data RlO.J) is sequentially supplied to 10
-6=4 is subtracted, and data ROO4 becomes E. ~
Written to 2. In the next step i, the register E
Decimal point data E.・~2 and index data A of register A
. .about.2 is performed and the result is written into the exponent data storage section of register A. That is, index data RO. of register A. J is read out from RAM3 at the timing of (the exponent data of register E) R4J is read out at the timing of T2, and each gate circuit Gl2
, latch circuit 20, gate circuit G8 and gate circuit G
T3 is input to the terminals S and F of the arithmetic circuit 16 via the latch circuit 21 and gate circuit G7, respectively.
At this timing, the arithmetic circuit 16 performs the addition of R4+0J, and as a result, R4 is stored in the exponent storage section A of the register A of the RAM 3. ~2 is written. Then, proceed to the next step j. In this step j, it is determined whether the data in the exponent storage section 1-2 of the register A is greater than R99. In this judgment, if exponent storage part A of register A. If the data within ~2 is larger than 199, it will exceed the 2 digits on the index display section of the display section 24, so
Its contents cannot be displayed. In such a case, the present invention prohibits the conversion key from being pressed after this, and temporarily saves it to register C (7) CO ~ 2nd digit and register D (7) DO ~ 2nd digit in step d and step e above. The exponent data from register A (7) AO to the second digit and the decimal point data from register E (7) EO to the second digit are returned to each register A1 and E, and the conversion key (G) is not operated. , so that it is displayed. For this purpose,
After the above judgment, the process proceeds to step 1, and in this step 1, contrary to step d, registers C(7)CO~2
Transfer the contents of the digit from register A (7) AO to the second digit to the second digit of register A (7) AO, and proceed to the next step m.
At step e, the contents of register D (7) DO to second digit are transferred to register E (7) EO to second digit. Then, in the next step n, which will be described later, 10 is written in the first row of register A, that is, after clearing flag I, which will be described later, the current conversion key (
g) Display the original state before the operation. Therefore, in the above example, in step i, register A (7) AO
Since the data within ~2 is R4J, it is determined to be smaller than 199J, and the process proceeds from step j to step k. In this step k, as shown by 2 in FIG. 4, the register E of the register E stores the data of the decimal point display digit position so that the decimal point is displayed at the first position of the display digit. ~Number Rl in second digit
0 is written and the process advances to the next step o. In this step o, each data stored in digits AO-AIO of register A (7) is stored in each digit C of display register C. -ClO
will be forwarded to. In the next step p, the decimal point display digit position of register E is stored. A judgment is made as to whether the data in ~2 is greater than 10, and if it is greater than RlOJ, the process proceeds to the next step q, where the mantissa display data of register C is stored. C3 to C10 are for one digit. It is shifted to the right and proceeds to the next step r. In this step r, the numerical value RL is subtracted from the 1 decimal point display digit data within the register E (7) EO to 2 digits, and r1 is again subtracted from the step data.
is subtracted, and the process returns to step p. That is, the above E. The above steps P, q, r are repeated until the decimal point display digit data within 2 becomes less than or equal to the maximum display digit RIO of the display unit
The following actions are performed. At this time, the signals output from ROM1 in response to the microinstruction in the right shift operation of step q are FU=2, SL=3, FL・=10, M=
゜゜0゛, 0p = right shift command, Na = address code of step r. Then, upon receiving the instruction code 0p, the timing decoder 9 outputs the signal 0F and Ta=
Control signals such as t1, TO=t1·STlφd=φ1, DN=T2, and timing signals are output to control various gates. That is, the operation during the first 1-digit period during which this step is executed, the timing period from t1 to ζ, is performed when the above-mentioned SL=
3 counts down at counter 6 [chi・φ1, (t1
+T3)・φ, to count up],
Here, the count is increased by +1, and the count value of counter 6 is 14. is input to the terminal LA of the RAM 3 via the gate circuit G5 and fed back to the counter 6 again. At this timing of T2, the fourth digit C of register C in RAM3, which is addressed by FU=2 and the count value R4 of counter 6, is
4 data is read out from RAM3, and the data of gate circuit Gl is read out from RAM3.
It is stored in latch 21 via l. On the other hand, at this time, the counter 6 is counted down by 0-1 by the clock signal of φ1, and the count value is R3! becomes. Then, at the next timing signal T3, the value of the counter 6 is 1.
The output of 33J is input to terminal LA of RAM3 via gate circuit G5. At the same time, RAM3 has ROM1
Therefore, the signal FU=2 and the write signal W are also applied.
The fourth digit C of the register C stored in the latch 21 at this time. The data of gate circuit G7 and arithmetic circuit 16
is supplied to the input terminal 1N of R and AM3 via
The data of the fourth digit C4 is written into the third digit C3 of the register C of No. 3. That is, the one digit period t1 to T
3, the data in the fourth digit C4 of register C is shifted one digit to the right to the third digit C3. Also, at the timing of T3, the counter 6 is set to 0+1 by the clock signal φ1, and the count value becomes R4J. Then, in the next digit period, at the timing t1, first, at the timing t1, the counter 6 increases by +1 in the same way as above.
It is counted up and the value is set to 15, and the signal of this value is R through the gate circuit G5 at the next timing T2.
It is supplied as a column address signal to terminal LA of AM3.
As a result, the data in the fifth digit C5 of the register C is read out, and its contents are held in the latch circuit 21 in the same manner as described above. Also, at the timing of T2, the value of the counter 6 counts down by 1-1, and becomes R4j. Then, at the next timing, the signal of the value of R4J is supplied to the LN element of RAM3 via the gate circuit G5, and at this time, the data of the fifth digit C5 of the register C read out at the same time. is from the latch circuit 21 to the gate circuit G7,
The signal is supplied to the terminal 1N of the RAM 3 via the arithmetic circuit 16. As a result, the data in the fifth digit C5 of the register C is written into the fourth digit C4. Similarly, the contents of the sixth digit C6 to the first Cf1 ClO of the register C are shifted to the right one digit at a time. Then, when the value of counter 6 becomes RlOJ and becomes equal to FL=10,
A coincidence signal is output from the coincidence circuit 7. This coincidence signal is input to one side of the AND circuit 12, and this AND circuit 12
The clock pulse φ is input to the other side of the clock pulse φ. (=T3・
φ1) is applied as a read clock pulse to the address conversion circuit 17 via the OR circuit 15. As a result,
The address signal of the next step r outputted from Na of ROM1 to the address conversion circuit 17 is read, and step q is completed. In this case, in step p, the 0th digit to the 2nd digit E of register E.
The upper 2 decimal point display digit data Dp is 1Dp from RIO.
If it is determined that ≦10, the process proceeds to the next step s. In this process s, corresponding to the value RIO of the decimal point display digit data Dp stored in the upper two digits of the register E (7) EO,
Write the decimal point display data to the first digit DlO of register D. This completes the display data conversion glow, and the process a.
Then, the data in register C and the decimal point display data in register D are displayed on the display section 24 as shown in FIG. 42. That is, by operating the conversion key (g) for the first time, the normal display state of only the mantissa as shown in FIG. , there is an advantage that the magnitude of the displayed data can be easily determined from the value of the index data. Next, the operation when the conversion key (g) is operated will be further explained.

まず概念的には2回目の変換キーPの操作では、この変
換キーロが操作される以前の指数データをこれよりも小
さく且つ最も近い3の倍数となるまで、上記仮数部の小
数点表示桁データを減算する。
First of all, conceptually, when the conversion key P is operated for the second time, the exponent data before this conversion key is operated is changed to the decimal point display digit data of the mantissa part until it becomes a smaller and nearest multiple of 3. Subtract.

即ち、表示部24での表示状態では、その桁数分だけ小
数点位置を右へシフトようにする。そしてそれ以降の変
換キー旧の操作では、その操作毎に上記3の倍数となつ
た指数データを1一3Jすると共に仮数部の小数点位置
を3桁づつ右へシフトするように制御するものである。
以下この動作につき詳細に説明する。2回目の?キーが
操作されると、第6図ステップd1およびe1が行なわ
れ、レジスタAの第0桁目から第2桁目A。
That is, in the display state on the display unit 24, the decimal point position is shifted to the right by the number of digits. In each subsequent operation of the old conversion key, the exponent data, which is a multiple of 3, is incremented by 1-3J, and the decimal point position of the mantissa is shifted to the right by 3 digits. .
This operation will be explained in detail below. The second time? When the key is operated, steps d1 and e1 in FIG. 6 are performed, and the 0th digit to the 2nd digit A of register A.

〜2の指数データEx=4がレジスタC(7)CO〜2
桁へ、レジスタE(7)EO〜2桁小数点データDp=
10がD。〜2桁へ退避される。この後、ステップfに
進みこのステップfでAllレジスタAの第11桁目そ
れ以前に変換キー『が操作された事を記憶するフラグF
が有るか否かの判断が行なわれ、この場合、2回目のD
キー操作であるからフラグFが有り、次のステップtへ
進む。このステップtでは、レジスタAの第1?行目A
l2にその以前に逆変換キー1が操作されたかを記憶す
るフラグIが有るか否かの判断が行なわれる。この場合
、(1)キーは未だ操作されていないため第1晰目Al
2内にはフラグIは検出されず、次のステップuへ進む
。このステップuではレジスタAの第0桁目〜第2桁目
A。〜2の指数データExが計算状態可能な指数データ
の負側の最大数である0−99ョより小さいか否かの判
断が行なわれ、もしも、上記指数データExが0−99
Jより小さい時(例えば、EX=ー100など)は、こ
の計算機では表示できない。この時は今回の変換キー[
が操作される以前の状態に戻す為に上述した″と同様に
して、ステップ1..mに進み、その後ステップn以下
の各ステップo−sを経て、前回の内容が表示するよう
にすると共に、その後の変換キー(ト)が操作されても
、変換動作を行なわないように制御される。この場合上
記指数データはEx=4であるから、次のステップ■へ
進む。このステップvではレジスタE(7)EO〜2桁
の小数点データDpが13ョより大きいか否かの検出が
行なわれる。この数値R3Jは仮数データの最下位表示
桁であり、小数点データDpがR3Jより小さくなると
仮数データ表示部に小数点を表示することができなくな
る。従つてこのステップvで小数点データDp≦3と判
断された時、上述と同様にステップ11およびmへ進み
、上記ステップdおよびeで、レジスタC(7)CO〜
2桁及びD。〜2桁へ退避した各データを再びレジスタ
A(7)AO〜2桁及びレジスタE(7)EO〜2桁へ
復帰して次のステップnへ進み、以下、上述したステッ
プo〜ステップsが行なわれ、表示データの変換は行な
われない。而して、この場合、レジスタE(7)EO〜
2桁の小数点データDpはRlOョであるから次のステ
ップwへ進む。このステップwでレジスタAの氏〜2桁
の指数データEx(=4)が読み出され、演算回路16
にて上記内容が−1だけ減算され、再び、その内容がレ
ジスタA(7)AO〜2桁に書き込まれる。即ち、レジ
スタA(7)AO〜2桁目の指数データExは13ョと
なる。そして、次のステップxへ進み、このステップx
でレジスタEのE。〜2桁の小数点DP(=RlOJ)
が−1減算され、R9ョが記憶される。そして次の処理
yへ進み、この処理yでは上記レジスタA(7)AO〜
2桁の指数データExの絶対値に3が加算され、この加
算結果がレジスタF(7)FO〜2桁に記憶される。そ
して次のステップzでは上記レジスタFのFO〜2桁に
記憶されたデータをRAM3より読み.出し、このデー
タが3の倍数か否かの判断が行なわれる。即ち、レジス
タF(7)FO〜2桁のデータをRAM3よりT3のタ
イミングで読み出し、ゲート回路11、ラッチ回路12
、ゲート回路G7を介して演算回路16の端子Fに供給
すると共に、ROMlのC。よりコードROOllョ即
ち数亭値R3ョを出力し、ゲート回路G6を介して上記
演算回路16の端子Sに供給し、この演算回路16にて
、T3のタイミングで上記〔(FO〜2桁のデータ)−
3〕を実行し、この結果を上記レジスタFのF。〜2桁
目に書き込む。そして、再びレジスタFのF。〜2桁目
の内容を読み出しその減算結果が正であるか否かを判断
する。(この判断は、例えば、上記F。〜2桁の第2桁
目に記憶されているサイン符号コードが正符号か、負符
号かによつて判断される。)そして、正の楊合は、上記
レジスタF(7)FO〜2桁のデータから再び数値R3
Jを減算する動作を繰り返し、もしも、負てある場合は
、上記レジスタF(1)FO〜2桁内の数値データがR
Ojであるか否か判断される。そこで、この結果がRO
ョと判断された場合は上記レジスタF(7)FO〜2桁
目に貯えられていたデータはR3Jの倍数ということに
なる。この場合は、j次のステップnへ進む。又、上記
結果がROョでなく数値ありと判断された場合、即ち、
上記減算結果が負数となり、上記データは3の倍数では
なく、この時は再び上記ステップtへ戻り、上記レジス
タFのF。〜2桁目に記憶されるデータがR3ョの倍数
となるまでステップt〜ステップzまでの一連の動作が
繰り返される。而して、上記実施例ではステップwにて
レジスタA(7)AO〜2桁目の指数データExは数値
R3ョより3の倍数であるから、このステップzにてR
3ョの倍数と゛判断されて、上述したステップnへ進み
、レジスタAの第1噺目に10ョを書き込む、即ち、I
フラグをクリアーした後、上述したステップo−sを経
て、処理aで第4図3で示すように表示される。即ち、
指数データは13ョで、表示部24の9桁目に小数点が
表示される。次に、3回目の変換キー置を操作すると上
記2回目の変換キー[が操作された際の動作と同様の動
作が実行されステップd−fへ進み、更にステップt−
zで上記した指数データEx及び小数点データDpが1
づつ減算され、ステップzで指数データExが3の倍数
であることが検出されると、以下のステップn−sの動
作が行なわれ、処理aで第4図4で示すように即ち、指
数データは10.0Jで小数点は表示部24の第6桁目
に表示される。
~2 exponent data Ex=4 is in register C(7) CO~2
To digit, register E (7) EO ~ 2 digit decimal point data Dp=
10 is D. ~ Saved to 2 digits. After this, the process advances to step f, and in this step f, a flag F is used to store that the conversion key ``was operated before the 11th digit of All register A.
In this case, the second D
Since this is a key operation, there is a flag F, and the process advances to the next step t. In this step t, the first ? Row A
A determination is made as to whether or not there is a flag I in l2 that stores whether the reverse conversion key 1 has been operated before. In this case, (1) the key has not been operated yet, so the first lucid eye Al
Flag I is not detected within 2, and the process proceeds to the next step u. In this step u, the 0th digit to the 2nd digit A of register A. A judgment is made as to whether or not the index data Ex of ~2 is smaller than 0-99, which is the maximum number of negative-side index data that can be in the calculation state, and if the index data Ex is 0-99.
When it is smaller than J (for example, EX=-100), this calculator cannot display it. At this time, use the conversion key [
In order to return to the state before it was operated, proceed to step 1..m in the same way as '' mentioned above, and then go through each step o-s from step n onwards, so that the previous contents are displayed. , even if the subsequent conversion key (g) is operated, the conversion operation is not performed. In this case, the exponent data is Ex = 4, so the process goes to the next step (2). In this step v, the register E(7) EO - It is detected whether the 2-digit decimal point data Dp is larger than 13 yo.This number R3J is the lowest display digit of the mantissa data, and if the decimal point data Dp is smaller than R3J, the mantissa data The decimal point cannot be displayed on the display section. Therefore, when it is determined in step v that the decimal point data Dp≦3, the process proceeds to steps 11 and m in the same way as described above, and in steps d and e, the register C ( 7) CO~
2 digits and D. Each data saved to ~2 digits is returned to register A (7) AO~2 digits and register E (7) EO~2 digits and the process proceeds to the next step n, and the steps o to s described above are repeated. conversion is performed, and no conversion of display data is performed. Therefore, in this case, register E(7) EO~
Since the two-digit decimal point data Dp is RlO, the process proceeds to the next step w. In this step w, the 2-digit exponent data Ex (=4) of the register A is read out, and the arithmetic circuit 16
At , the above contents are subtracted by -1, and the contents are again written into the AO to 2 digits of register A (7). That is, the exponent data Ex of register A (7) AO to the second digit becomes 13. Then proceed to the next step x, and this step x
E of register E. ~2-digit decimal point DP (=RlOJ)
is subtracted by -1, and R9 is stored. Then, the process proceeds to the next process y, and in this process y, the register A (7) AO~
3 is added to the absolute value of the two-digit exponent data Ex, and the result of this addition is stored in register F(7)FO~2 digits. In the next step z, the data stored in FO~2 digits of register F is read from RAM3. Then, it is determined whether this data is a multiple of 3 or not. That is, the data of 2 digits from register F(7) FO is read from RAM3 at the timing of T3, and the gate circuit 11 and latch circuit 12
, is supplied to the terminal F of the arithmetic circuit 16 via the gate circuit G7, and C of the ROM1. The code ROOll, that is, the value R3 is output, and supplied to the terminal S of the arithmetic circuit 16 through the gate circuit G6. data) −
3] and store this result in the register F above. ~Write in the second digit. And F of register F again. -Read the contents of the second digit and determine whether the subtraction result is positive or not. (This judgment is made, for example, depending on whether the sign code stored in the second digit of F.~2 digits is a positive sign or a negative sign.) From the above register F (7) FO ~ 2 digit data, repeat the numerical value R3.
Repeat the operation of subtracting J, and if it is negative, the numerical data in the 2nd digit from register F(1) FO is
It is determined whether or not Oj. Therefore, this result is RO
If it is determined that the data is a multiple of R3J, the data stored in the register F(7) FO to second digit is a multiple of R3J. In this case, the process advances to the jth step n. In addition, if the above result is determined to be numeric rather than RO, that is,
The result of the above subtraction is a negative number, and the above data is not a multiple of 3. In this case, the process returns to the above step t, and the F of the above register F is set. A series of operations from step t to step z are repeated until the data stored in the second digit becomes a multiple of R3. In the above embodiment, in step w, register A (7) AO to second digit exponent data Ex is a multiple of 3 than the value R3, so in step z, R
It is determined that the number is a multiple of 3, and the process proceeds to the above-mentioned step n, where 10 is written in the first row of register A, that is, I
After clearing the flag, the display as shown in FIG. 4 is displayed in process a after the above-mentioned steps os. That is,
The exponent data is 13, and a decimal point is displayed in the ninth digit of the display section 24. Next, when the conversion key position is operated for the third time, the same operation as the operation when the conversion key [ is operated for the second time is executed, and the process proceeds to step df, and then step t-
The above exponent data Ex and decimal point data Dp in z are 1
When it is detected in step z that the index data Ex is a multiple of 3, the following steps ns are performed, and in process a, as shown in FIG. is 10.0J, and the decimal point is displayed in the sixth digit of the display section 24.

次の4回目の目キー操作でも上記と全く同様にして各動
作が実行され、第4図5で示すように表示される。この
場合、指数データは0−03Jで小数点は表示部24の
3桁目に表示されている。この時、更に置キーを操作す
ると、上記実行される一連のステップ動作のステップv
でレジスタE(7)EO〜2桁の小数点データDpがR
3Jと判断され、前述した如く、ステップl以下の動作
が行なわれ、これ以上の表示データの変換は行なわれな
いようになる。次に、上記の如く変換されたデータを再
びもとの状態へ逆変換する場合は、例えば逆変換キー1
を操作した後に変換キー旧を操作することによつて行な
われる。
At the next fourth key operation, each operation is executed in exactly the same manner as above, and the display is displayed as shown in FIG. 4. In this case, the index data is 0-03J and the decimal point is displayed in the third digit of the display section 24. At this time, if you further operate the key, step v of the series of step operations will be executed.
Then register E (7) EO ~ 2-digit decimal point data Dp is R
3J, and as described above, the operations following step l are performed, and no further conversion of display data is performed. Next, when converting the data converted as described above back to its original state, for example, inverse conversion key 1
This is done by operating the conversion key OLD after operating .

まず■キーを操作すれば第5図ステップCに示すように
レジスタAの第12桁目Al2内へ上記■キーが操作さ
れたことと記憶するフラグIが書き込まれる。そして次
に変換キーPを操作すればステップd−fが行なわれた
後、ステップtへ進む。このステップtでAl。にフラ
グ■が有ることが判断され、次のステップi1へ進む。
このステップi1でレジスタA(7)AO〜2桁内の指
数データExがR99Jより大であるか否かの判断が行
なわれる。しかしながら上記例ではEx=ー3であるか
ら次のステップI2に進む。このステップI2ではレジ
スタE(7)EO〜2桁内の小数点データDpがRl6
ョより小さいか否かの判断が行なわれる。Dp=16の
時は、以下のステップp−rで示すように、DP=10
になるまでレジスタC(7)C3〜10桁内の仮数デー
タが桁下げされるもので、その結果仮数データの上位2
桁は表示部24の3桁目〜4桁目に表示されるもので、
このために、Dp=116jの時は、ステップJ2より
ステップ1、m以下へ進み、仮数データが消去されない
ようにしたものである。また前記ステップi1でExが
199ョより大と判断された場合も、上記ステップ1、
m以下の動作が行なわれ、指数データがオーバーフロー
する直前で表示データの変換動作が停止される。而して
上記例ではステップJ2でE。〜2内のデータDpはR
3!であるから次のステップI3,i4へ進む。このス
テップI3及びI4では上記指数データEx及び小数点
データDpにRlJが加算されて、Ex=ー2、Dp=
4となる。次にステップY,zへ進み上述した如く指数
データExが3の倍数か否かが判断され、3の倍数でな
ければ上記したステップT,il以下の動作が行なわれ
る。上記指数データExがEx=0となると、ステップ
yでレジスタF(7)FO〜2桁目のデータがF。〜2
=3となり、次のステップzで3の倍数と判断され、以
後ステップn以下の動作が行なわれる。この時小数点デ
ータはDp=5となつているから、処理aでは第4図6
のように表示される。以下、逆変換キー匡、変換キー旧
の連続操作毎に上述した動作が行なわれ、第4図7,8
,9に示すように指数データExに順次R3Jが加算さ
れ、この指数データExに対応して仮数データの小数点
位置も3桁づつ右へ移動される。
First, when the ■ key is operated, a flag I is written into the 12th digit Al2 of the register A, as shown in step C in FIG. 5, to indicate that the ■ key has been operated. Then, when the conversion key P is operated, steps df are performed, and then the process proceeds to step t. In this step t, Al. It is determined that there is a flag ■, and the process proceeds to the next step i1.
In this step i1, it is determined whether the exponent data Ex within 2 digits of register A(7) AO is greater than R99J. However, in the above example, since Ex=-3, the process proceeds to the next step I2. In this step I2, the decimal point data Dp within 2 digits of register E (7) EO is Rl6.
A determination is made as to whether or not it is smaller than . When Dp=16, DP=10 as shown in steps pr below.
The mantissa data in digits 3 to 10 of register C (7) C is lowered until the upper 2 of the mantissa data
The digits are displayed in the third to fourth digits of the display section 24,
For this reason, when Dp=116j, the process proceeds from step J2 to step 1, m and below, so that the mantissa data is not erased. Also, if Ex is determined to be greater than 199 in step i1, step i1,
m or less operations are performed, and the display data conversion operation is stopped immediately before the index data overflows. Therefore, in the above example, step J2 is E. ~2 data Dp is R
3! Therefore, the process proceeds to the next steps I3 and i4. In steps I3 and I4, RlJ is added to the exponent data Ex and decimal point data Dp, so that Ex=-2 and Dp=
It becomes 4. Next, the process advances to steps Y and z, where it is determined whether the index data Ex is a multiple of 3 as described above, and if it is not a multiple of 3, the operations following steps T and il described above are performed. When the above exponent data Ex becomes Ex=0, the data in the second digit of register F (7) FO becomes F in step y. ~2
= 3, and in the next step z it is determined that it is a multiple of 3, and thereafter the operations from step n onwards are performed. At this time, the decimal point data is Dp=5, so in process a, FIG.
It will be displayed like this. Thereafter, the above-mentioned operation is performed for each consecutive operation of the reverse conversion key box and the conversion key old, and
, 9, R3J is sequentially added to the exponent data Ex, and the decimal point position of the mantissa data is also moved to the right by three digits in correspondence with the exponent data Ex.

第4図9の状態ではレジスタA(7)AO〜2桁内の指
数データExはR9ョであり、レジスタE(7)EO〜
2桁内の小数点データDpはRl5Jである。この状態
で更に国キー,Pキーを操作すれば、ステップI4で加
算されたExがRl6.となつた時に、ステップI2で
EX=16と判断され、以後ステップ1以下の動作が行
なわれる。即ち、これ以後はたとえ、逆変換キー(1)
、変換キー国の連続操作をしたとしても表示データの変
換は行なわれず、その表示データは第4図9の状態のま
まとなる。尚、本発明でいう表示データの変換を禁止す
る手段とは、変換キー置、或いは逆変換キー■と変換キ
ー[の連続操作により、仮数データの小数点位置が仮数
データ表示部の表示桁よりはみでる場合には、上記変換
キー(ト)、或いは逆変換キー国等の特定キーの操作が
なされなかつたものと見なす手段全てを意図することは
もちろんであり、又上記実施例では特定キー操作毎に指
数データを±3だけ変化するようにしたが、これに限ら
れることなく任意の値を設定できるのは勿論である。
In the state shown in FIG. 4, the exponent data Ex within 2 digits of register A (7) AO is R9, and register E (7) EO is
Decimal point data Dp within two digits is Rl5J. If the country key and P key are further operated in this state, Ex added in step I4 will be Rl6. When this happens, it is determined in step I2 that EX=16, and thereafter the operations from step 1 onwards are performed. That is, from now on, even if the reverse conversion key (1)
, even if the conversion key country is operated continuously, the display data will not be converted and the display data will remain in the state shown in FIG. 4 and 9. In addition, the means for prohibiting the conversion of display data as used in the present invention refers to a method in which the position of the decimal point of the mantissa data protrudes beyond the display digit of the mantissa data display section by pressing the conversion key or by sequentially operating the inverse conversion key ■ and the conversion key [. In this case, it goes without saying that all means are intended to assume that a specific key such as the conversion key (g) or reverse conversion key country has not been operated. Although the index data is changed by ±3, it is of course possible to set any value without being limited to this.

更に又、上記実施例ては特定キーとして変換キー置、逆
変換キー■を特別に設けるようにした例・を示したが、
本発明はこれらに限られることなく、例えば、計算機と
して何れかの1つの特別キーと通常設けられている数値
キー、ファンクションキーとの組合せ或いは、計算機内
部の状態でその事が判断できれば、上記キーそれ自身を
特定キノーとして使用し得ることは言うまでもなく、加
えて、上記実施例では逆変換操作として上記国キー及び
[キーの連続操作の例を示したが、特別のキーを設けれ
ば1つのキー操作にできるものである。ダ 以上の如く
、本発明は特定キー操作毎に仮数データの小数点位置を
検出し、この値が仮数データ表示部の表示容量より決ま
る限界値を越える場合には表示データの変換を禁止する
ようにしたもので、仮数データの上位桁又は仮数データ
の小数点9以下の有効数字の下位桁が消去されるのを防
止することができる。
Furthermore, in the above embodiment, an example was shown in which a conversion key position and a reverse conversion key ■ were specially provided as specific keys.
The present invention is not limited to these, but may include, for example, a combination of any one special key and a numeric key or function key normally provided in a calculator, or if this can be determined from the internal state of the calculator, the above-mentioned keys can be used. It goes without saying that it can itself be used as a specific keno, and in addition, in the above embodiment, an example of continuous operation of the country key and [ key was shown as an inverse conversion operation, but if a special key is provided, one It can be operated using keys. As described above, the present invention detects the decimal point position of mantissa data every time a specific key is pressed, and if this value exceeds a limit value determined by the display capacity of the mantissa data display section, conversion of the display data is prohibited. This can prevent the upper digits of the mantissa data or the lower digits of the significant digits below the decimal point of the mantissa data from being erased.

【図面の簡単な説明】 第1図は本発明の一実施例を説明するための回路構成図
、第2図はタイムチャート、第3図は各レジスタの記憶
領域を説明する図、第4図はキー操作とその時の表示状
態を示す図、第5図乃至第7図は本発明の動作を説明す
るためのフローであ1・・・・・・ROMl3・・・・
・R.AMll6・・・・・演算回24・・・・・・表
示部、25・・・・・・キー入力部。
[Brief Description of the Drawings] Figure 1 is a circuit configuration diagram for explaining an embodiment of the present invention, Figure 2 is a time chart, Figure 3 is a diagram explaining the storage area of each register, and Figure 4 is a diagram for explaining the storage area of each register. 1 is a diagram showing key operations and the display state at that time, and FIGS. 5 to 7 are flows for explaining the operation of the present invention.1...ROM13...
・R. AMll6...Calculation times 24...Display section, 25...Key input section.

Claims (1)

【特許請求の範囲】[Claims] 1 仮数データ表示部と指数データ表示部を備え、指数
データを含むデータの演算が可能な小型電子式計算機に
於て、仮数データ表示部の最下位桁の小数点位置データ
を記憶する第1の記憶手段と、仮数データ表示部の桁数
に準じた桁数だけ仮数データ表示部の最上位桁より上位
の小数点位置データを記憶する第2の記憶手段と、仮数
データの小数点位置データを記憶する第3の記憶手段と
、特定キー操作毎に指数データを一定数づつ増加又は減
少すると共に、前記第3の記憶手段内の小数点位置デー
タも上記指数データの変化数に対応して変換する変換手
段と、該変換手段で変換された小数点位置データが前記
第1の記憶手段内の小数点位置データ以上で且つ第2の
記憶手段内の小数点位置データ以下の範囲内にあるか否
かを検出する検出手段と、該検出手段で小数点位置デー
タが上記範囲内に無いことが検出されたとき、前記変換
手段による以後の変換を禁止する手段とより成る表示デ
ータ変換方式。
1. In a small electronic calculator that is equipped with a mantissa data display section and an exponent data display section and is capable of calculating data including exponent data, the first memory stores the decimal point position data of the lowest digit of the mantissa data display section. a second storage means for storing decimal point position data higher than the most significant digit of the mantissa data display section by a number of digits corresponding to the number of digits of the mantissa data display section; and a second storage means for storing decimal point position data of the mantissa data. 3 storage means, and conversion means for increasing or decreasing the index data by a fixed number each time a specific key is operated, and converting the decimal point position data in the third storage means in accordance with the number of changes in the index data. , detection means for detecting whether or not the decimal point position data converted by the converting means is within a range that is greater than or equal to the decimal point position data in the first storage means and less than or equal to the decimal point position data in the second storage means; and means for prohibiting further conversion by the converting means when the detecting means detects that the decimal point position data is not within the above range.
JP13650177A 1977-11-14 1977-11-14 Display data conversion method Expired JPS6051730B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13650177A JPS6051730B2 (en) 1977-11-14 1977-11-14 Display data conversion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13650177A JPS6051730B2 (en) 1977-11-14 1977-11-14 Display data conversion method

Publications (2)

Publication Number Publication Date
JPS5469334A JPS5469334A (en) 1979-06-04
JPS6051730B2 true JPS6051730B2 (en) 1985-11-15

Family

ID=15176631

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13650177A Expired JPS6051730B2 (en) 1977-11-14 1977-11-14 Display data conversion method

Country Status (1)

Country Link
JP (1) JPS6051730B2 (en)

Also Published As

Publication number Publication date
JPS5469334A (en) 1979-06-04

Similar Documents

Publication Publication Date Title
JPS6051730B2 (en) Display data conversion method
US4352161A (en) Electronic calculator capable of dealing with variables
JPS619766A (en) Data transfer device
JPS6044692B2 (en) Data input method
US3239654A (en) Dividing computer
JPS6113269B2 (en)
JPS6032228B2 (en) Clear control method for small electronic calculators
JPS6233627B2 (en)
SU894715A1 (en) Microprocessor
JPS6315958Y2 (en)
JPS6047612B2 (en) Microinstruction output control method
JPS6035699B2 (en) Bracket level number display method
JPH021627Y2 (en)
JPS6019030B2 (en) educational electronics
SU1541600A1 (en) Device for conversion of coordinates
JPS5940665Y2 (en) Power calculation control device
JPS5943789B2 (en) small computer
JPS6137086Y2 (en)
JPS5830615B2 (en) Display method for power calculation
JPS6032226B2 (en) Overflow detection method
JPS5843049A (en) Correcting system of micro electronic computer
JPS6032231B2 (en) Small electronic calculator with program
JPS5942346B2 (en) Mode specification method for electronic cash registers
JPS5860373A (en) Time band setting system for electronic register
JPH0578056B2 (en)