Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS5931108B2 - Three-digit separated information interrupt method - Google Patents
[go: Go Back, main page]

JPS5931108B2 - Three-digit separated information interrupt method - Google Patents

Three-digit separated information interrupt method

Info

Publication number
JPS5931108B2
JPS5931108B2 JP4922676A JP4922676A JPS5931108B2 JP S5931108 B2 JPS5931108 B2 JP S5931108B2 JP 4922676 A JP4922676 A JP 4922676A JP 4922676 A JP4922676 A JP 4922676A JP S5931108 B2 JPS5931108 B2 JP S5931108B2
Authority
JP
Japan
Prior art keywords
circuit
digit
output
register
signal
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
JP4922676A
Other languages
Japanese (ja)
Other versions
JPS52131427A (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 JP4922676A priority Critical patent/JPS5931108B2/en
Publication of JPS52131427A publication Critical patent/JPS52131427A/en
Publication of JPS5931108B2 publication Critical patent/JPS5931108B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)

Description

【発明の詳細な説明】 本発明は例えばプリント機能を備えた電子式計算機に於
て、置数或いは演算結果数の数値情報に小数点情報と共
に正格区切情報を割込ませる正桁区切情報割込み方式に
関するものである。 一般に、プリント機能付電子式計算機等に於ては多数桁
の数値を印字する際に数値単位等を視認し易くする為に
小数点以上の数値に対して正桁毎に区切符号を一桁分と
して数値情報の適切な個所に割込ませた形で出力印字す
る方法が採用されており、更に最近に於ては予じめ定め
られた有効桁数内でなるべく最大の有効桁数を出力印字
する為にΞ桁区切符号を一桁分の情報として割込ませる
場合、上記数値情報が桁あふれする虞れのある時には正
桁区切符号を割込ませずに出力印字する方式のプリント
機能付電子式卓上計算機も開発されているが、従来のも
のは正格区切情報を所定の数値間に割込ませるのに特別
の回路例えば数値を桁上げする為の遅延回路やフリップ
フロップや正桁毎の位置を検出するカウンタ等が必要で
、この為回路構成が複雑化すると共に高価になるという
欠点があつた。 又、回路が複雑な為その制御も複雑であつた。本発明は
上記事情に鑑みてなされたもので、例えばプリント機能
を備えた電子式計算機に於て、構成を簡易化し得ると共
に正格区切情報の割込みを確実に行ない得て、しかも正
格区切情報の割込みを実行する上でレジスタの内容が桁
あふれを生じる場合には正格区切情報の割込みを行なわ
ない正桁区切情報割込み方式を提供することを目的とす
る。 以下図面を参照して本発明の実施例を説明する。 第1図に於て、1は例えば置数或いは演算結果等による
印字情報をBCDコード(2進化10進コード)で貯え
る循環レジスタで、内部に小数点情報を数値情報で貯え
る小数点情報記憶部2を備えており、同期信号パルス(
図示せず)に制御され、その内容を右シフトしながら最
下位桁情報より順次出力する。この循環レジスタ1の出
力はラィンエ7、アンド回路3、オア回路4、タイミン
グ合せ用一桁遅延回路5、アンド回路6およびオア回路
Tからなるリサキユレート回路を介して自己の入力側に
戻される。また、循環レジスタ1の出力はアンド回路8
およびオア回路9を介してアダー回路10に加えられる
。このアダー回路10の出力は3入力のオア回路11、
および3入力アンド回路12、前記オア回路9を介して
自己の入力側に戻されると共にアンド回路13、オア回
路4、遅延回路5、アンド回路6およびオア回路7を介
して循環レジスタ1へ送られる。 一方、14は印字部(図示せず)へ上記循環レジスタ1
の内容を転送する前の段階で種々の制御命令を発生する
制御部で、この制御部14より出力される小数点割込み
命令S1、桁上げ命令S2、S6、小数点情報挿入命令
S3、(YO+Dp)、三桁区切情報挿入命令S8、(
YD+ガンマ)、桁下げ命令S,、指定桁以上数値有る
かの判定命令S5、(YD/0)の論理和はオア回路1
5を介してアンド回路16,17の一方の入力端に加え
られると共に3入力アンド回路18の第1入力端に加え
られる。 又、前記制御部14からは更に小数点カウンタの内容に
数値「4」を加算する命令S4、(D1)や、循環レジ
スタ1の最上位桁に数値コードがあるかの判断動作を行
う為の命令S7(YM8E/O)、等の命令が出力され
後述する所定のゲートを制御して所定の演算を実行させ
る。そして上記アンド回路16の他方の入力端には小数
点記憶部2を指定する桁タイミング信号即ち小数点カウ
ンタ2の内容が前記循環レジスタ1の出力側より出力さ
れるタイミング毎に発せられる桁タイミング信号TDP
′.が加えられ、アンド回路17の他方の入力端にはフ
リツプフロツプ回路19のQ側出力端から出力される信
号が加えられる。上記アンド回路17の出力信号はアン
ド回路20の出力と共にオア回路21を介してアンド回
路22、アンド回路23およびアンド回路24の各入力
端に加えられる。また、アンド回路16,17の出力信
号はオア回路25を介して前記アンド回路8に加えられ
ると共にインバータ26を介して前記アンド回路12に
加えられる。このアンド回路12にはさらに循環レジス
タ1の最上位桁を指定する桁タイミング信号即ち、最上
位桁の内容が前記循環レジスタ1の出力側より出力され
る毎にタイミング発生器27より発生される桁タイミン
グ信号TEがインバータ28を介して与えられる。即ち
、循環レジスタ4・1の最上位桁にはその数値情報の正
負等を示す符号データが記憶されるので、上記タイミン
グ信号TEが与えられることによつて符号桁指定時にお
けるアダー回路10の循環データの入力を禁止す′るよ
うにしたものである。 前記タイミング発生器27は外にも循環レジスタ1の数
値データを貯える領域の最上位桁を指定する桁タイミン
グ信号TMSO、前述した小数点桁タイミング信号T。
Pやその他本計算機に必要な種々のタイミング信号を前
記制御部14の制御の基に発生する。このタイミング発
生器27から発生される前記タイミング信号TMSDは
前記制御部14から出力される命令信号S7と共にアン
ド回路20に加えられる。また前記アンド回路18には
第2の入力端に小数点カウンタ指定タイミング信号TD
Pがインバータ29を介して与えられると共に、第3入
力端にフリツプフロツプ回路19のQ側出力端の出力信
号がインバータ30を介して加えられる。このアンド回
路18の出力信号は、上記循環レジスタ1の桁移動と同
期してコード発生回路31から出力される−1信号〔ア
ダー回路10への減算命令とコード゛000r”を含む
〕と共にアンド回路32へ加えられる。又、コード発生
回路31からは+4信号〔アダー回路10への加算命令
とコード゛0100”゜を含む〕も出力され、この+4
信号は制御部14から小数へカウンタ2の内容に数値「
4]を加算するステツプにて出力される命令信号S4と
共にアンド回路33へ加えられ、このアンド回路32,
33の出力はオア回路34を介してアダー回路10の一
方の入力端に加えられる。このアダー回路10には数値
「O」コードを検出するコード検出回路35が接続され
、このコード検出回路35の検出信号によつてフリツプ
フロツプ19がセツトされる。またこのフリツプフロツ
プ回路19はレジスタ1の最上位桁を指定するタイミン
グ信号TEによつてりセツトされる。更にフリツプフロ
ツプ回路19のQ側出力側の出力信号はアンド回路36
,3Tの各一方入力端に加えられる。このアンド回路3
6の他方の入力端には制御部14から出力される命令信
号S3が加えられ、アンド回路37の他方の入力端には
命令信号S8が加えられる。そしてアンド回路36,3
7の各出力信号はコード発生回路38に印加される。こ
のコード発生回路38は前記アンド回路36の出力信号
に応答して小数点コードを出力し、前記アンド回路37
の出力に応答して三桁区切用コードを出力し、この両出
力は各々オア回路11の第2、第3の入力端に加えられ
る。このオーア回路11の出力は前述の如くアンド回路
13に加えられると共にアンド回路39の一方の入力端
子に加えられる。このアンド回路39の他方の入力端子
には遅延型フリツプフロツプ40の出力が加えられる。
このアンド回路39の出力はオア回路7を介して循環レ
ジスタ1に入力される。前記フリツプフロツプ40の出
力は更にインバータ41を介して前記アンド回路の第2
の入力端にも入力される。このフリツプフロツプ40に
は、小数点記憶部2に情報を書き込むためのタイミング
信号TD,が与えられるものである。一方、前記オア回
路21の出力が与えられるアンド回路22,23,24
のうちアンド回路22の第2の入力端には制佃培1s1
4から発生される命令信号S3およびS8がオア回路4
9を介して加えられ、アンド回路23の第2の入力端に
ぱ命令信号S2、S3およびS6が印加され、アンド回
路24の入力端には命令信号S9が加えられる。このア
ンド回路24の第3の入力端には前記循環レジスタ1の
最下位桁と次の第2桁目間の出力端からの出力信号が加
えられる。前記アンド回路22の出力信号は前記オア回
路11からの出力信号と共にアンド回路42に加えられ
る。このアンド回路42の出力信号はオア回路4の第4
の入力端に入力される。又アンド回路23の出力信号は
アンド回路13の他方の入力端に加えられ、アンド回路
24の出力はオア回路4の入力端に加えられる。そして
、上記アンド回路22,23,24の各出力はまた各イ
ンバータ43,44,45を介してアンド回路3の入力
端にそれぞれ加えられる。前記オア回路21の出力は3
入力のアンド回路46の第2の入力端にも加えられ、こ
のアンド回路46の第1の入力端には前記制御部14か
ら発生される命令信号S5およびS7がオア回路47を
介して加えられ、第3の入力端には前記循環レジスタ1
からの出力信号が加えられる。そしてこのアンド回路4
6の出力信号によつてフリツプフロツプ48はセツトさ
れる。このフリツプフロツプ回路48はレジスタ1の最
上位桁を指定するタイミング信号TEによつてりセツト
される。更にフリツプフロツプ回路48のQ側出力端の
セツト出力信号は前記制御部14に加えられる。次に上
記構成における動作について説明する。 制御部14より各種の命令信号S1〜S9が出力されて
いない時にはアンド回路22,23,24の出力ばO゛
(即ち、オア回路15、アンド回路20、オア回路21
が“0”のためアンド回路22ぱ゛0゛であり、アンド
回路23,24は命令信号S1〜S9が出力されないの
で“0゛を出力する)、インバータ43,44,45の
出力が゛1゛となつてアンド回路3のゲートが開かれて
いる。一力、アンド回路13,42,46は各々ゲート
が閉じられている。このため、循環レジスタ1に記憶さ
れたデータはライン11、アンド回路3及びオア回路4
、遅延回路5、アンド回路6、オア回路7を介して循環
保持される。例えばある演算終了後〔12345678
901.1〕という演算結果が得られたとすると第3図
aに示すように循環レジスタ1には数値〔123456
789011〕が入力し小数点情報記憶部2に小数点デ
ータ〔1〕が記憶される。 この状態で制御部14より小数点を割込ませる為の第1
のステツプ動作を実行する為の命令信号S,が出力され
るとオア回路15を介してアンド回路16に与えられる
ので、第4図aに示す小数点カウンタ指定タイミング信
号TDPがアンド回路16を介して第4図eに示すよう
にオア回路25から出力される。このオア回路25の出
力信号はアンド回路8に加わり、そのゲートを開くので
、この時循環レジスタ1から読出される小数点情報記憶
部2の内容「1」がアンド回路3、オア回路4、遅延回
路5、アンド回路6、オア回路7を介して循環レジスタ
1の入力側に入力されると共にアンド回路8及びオア回
路9を介してアダー回路10の入力端aに加えられる。
この時アダー回路10の入力端bの入力信号は”0”と
なつてぃるので、前記小数点記憶部2の内容“1”はそ
のまま(〔1+O〕より)4ビツト遅延してアンド回路
12に加えられる。上記オア回路25の出力時間幅は4
ビツトであり、アダー回路10から上記内容「1」が出
力される時点ではTDP信号が゛0゛であることよりア
ンド回路16の出力が゛O゛となつている。このためイ
ンバータ26の出力が゛1―又この時点ではレジスタの
最上位桁を指定する桁タイミング信号TEは発生されて
いないのでインバータ28の出力も゛1゛でありアンド
回路12のゲートが開かれ、アダー回路10の出力デー
タ「1」はアンド回路12およびオア回路9を介して自
己の入力側即ち入力端aに印加される。一方この時点で
は前記命令信号S1及び前記小数点記憶部2を指定する
タイミング信号T。,が与えられる以外のタイミングと
なつているのでアンド回路18から゛1゛信号が出力さ
れ、アンド回路32のゲートが開かれる。このためコー
ド発生回路31から出力される〔−1〕信号〔アダー回
路への減算命令と数値コード″′0001″〕がアンド
回路32およびオア回路34を介してアダー回路10の
入力端bに上記循環レジスタ1の内容の桁右シフト動作
に同期して加えられる。 この結果アダー回路10は〔1−1〕の減算動作を行う
。この結果アダー回路10の出力データが
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a positive digit separator information interrupt method for inserting strict separator information together with decimal point information into numerical information of a set number or an operation result number in, for example, an electronic calculator equipped with a print function. It is something. In general, when printing multi-digit numbers on electronic calculators with print functions, in order to make it easier to see numerical units, etc., one digit is used as a delimiter for each positive digit for numbers beyond the decimal point. A method has been adopted in which numerical information is output and printed by inserting it into an appropriate location, and more recently, the method of outputting and printing the maximum number of significant digits within a predetermined number of significant digits has been adopted. Therefore, if the Ξ digit separator is inserted as one-digit information, and there is a risk that the above numerical information may overflow, an electronic type with a print function that prints out without inserting the positive digit separator. Desktop calculators have also been developed, but conventional ones require special circuits such as delay circuits and flip-flops to carry up numerical values, and positions for each positive digit to insert strict delimited information between predetermined numerical values. A counter or the like for detection is required, which has the disadvantage of complicating the circuit configuration and increasing the cost. Furthermore, since the circuit is complicated, its control is also complicated. The present invention has been made in view of the above circumstances. For example, in an electronic calculator equipped with a print function, it is possible to simplify the configuration, and also to reliably interrupt strict delimited information. It is an object of the present invention to provide a strict separator information interrupt method that does not interrupt strict separator information if the contents of a register cause an overflow during execution. Embodiments of the present invention will be described below with reference to the drawings. In Fig. 1, reference numeral 1 denotes a circulating register that stores print information such as set numbers or calculation results in BCD code (binary coded decimal code), and internally includes a decimal point information storage section 2 that stores decimal point information as numerical information. It is equipped with a synchronization signal pulse (
(not shown), and outputs the contents sequentially starting from the least significant digit while shifting the contents to the right. The output of this circulating register 1 is returned to its own input side via a recirculating circuit consisting of a liner 7, an AND circuit 3, an OR circuit 4, a one-digit delay circuit 5 for timing adjustment, an AND circuit 6, and an OR circuit T. In addition, the output of the circulation register 1 is output from the AND circuit 8.
and is applied to the adder circuit 10 via the OR circuit 9. The output of this adder circuit 10 is a 3-input OR circuit 11,
and is returned to its own input side via the 3-input AND circuit 12 and the OR circuit 9, and is also sent to the circulation register 1 via the AND circuit 13, the OR circuit 4, the delay circuit 5, the AND circuit 6, and the OR circuit 7. . On the other hand, 14 is the circulation register 1 to the printing section (not shown).
A control unit that generates various control commands before transferring the contents of the control unit 14, which outputs a decimal point interrupt command S1, carry commands S2, S6, decimal point information insertion commands S3, (YO+Dp), Three-digit delimiter information insertion command S8, (
YD+gamma), digit down instruction S,, judgment instruction S5 to determine whether there is a value greater than or equal to the specified digit, OR circuit 1 for the logical sum of (YD/0)
5 to one input terminal of AND circuits 16 and 17, and to the first input terminal of a three-input AND circuit 18. Further, the control unit 14 further sends an instruction S4, (D1) to add the numerical value "4" to the contents of the decimal point counter, and an instruction to determine whether there is a numerical code in the most significant digit of the circular register 1. A command such as S7 (YM8E/O) is output to control a predetermined gate, which will be described later, to execute a predetermined operation. The other input terminal of the AND circuit 16 receives a digit timing signal TDP that designates the decimal point storage section 2, that is, a digit timing signal TDP that is generated every time the contents of the decimal point counter 2 are outputted from the output side of the circulation register 1.
'. is added to the other input terminal of the AND circuit 17, and a signal outputted from the Q side output terminal of the flip-flop circuit 19 is applied to the other input terminal of the AND circuit 17. The output signal of the AND circuit 17 is applied together with the output of the AND circuit 20 via an OR circuit 21 to each input terminal of an AND circuit 22, an AND circuit 23, and an AND circuit 24. Further, the output signals of the AND circuits 16 and 17 are applied to the AND circuit 8 via an OR circuit 25 and also to the AND circuit 12 via an inverter 26. This AND circuit 12 is further provided with a digit timing signal specifying the most significant digit of the circulating register 1, that is, a digit generated by the timing generator 27 every time the content of the most significant digit is output from the output side of the circulating register 1. Timing signal TE is applied via inverter 28. That is, since the most significant digit of the circulation register 4.1 stores code data indicating the sign, sign, etc. of the numerical information, the circulation of the adder circuit 10 at the time of specifying the code digit is controlled by applying the timing signal TE. It is designed to prohibit data input. The timing generator 27 also includes a digit timing signal TMSO that specifies the most significant digit of the area for storing numerical data in the circular register 1, and a decimal point digit timing signal T as described above.
P and various other timing signals necessary for this computer are generated under the control of the control section 14. The timing signal TMSD generated from the timing generator 27 is applied to the AND circuit 20 together with the command signal S7 output from the control section 14. The AND circuit 18 also has a decimal point counter designation timing signal TD at its second input terminal.
P is applied via an inverter 29, and an output signal from the Q side output terminal of the flip-flop circuit 19 is applied via an inverter 30 to the third input terminal. The output signal of the AND circuit 18 is combined with the -1 signal [containing a subtraction instruction to the adder circuit 10 and the code "000r"] outputted from the code generation circuit 31 in synchronization with the digit movement of the circular register 1, and the AND circuit 18. The code generation circuit 31 also outputs a +4 signal [including an addition instruction to the adder circuit 10 and the code ゛0100''゜], and this +4
The signal is sent from the control unit 14 to the decimal value by adding the value "
4] is applied to the AND circuit 33 together with the command signal S4 outputted at the step of adding
The output of 33 is applied to one input terminal of the adder circuit 10 via an OR circuit 34. A code detection circuit 35 for detecting a numerical value "O" code is connected to the adder circuit 10, and a flip-flop 19 is set by the detection signal of the code detection circuit 35. Further, the flip-flop circuit 19 is reset by a timing signal TE specifying the most significant digit of the register 1. Furthermore, the output signal on the Q side output side of the flip-flop circuit 19 is sent to an AND circuit 36.
, 3T are applied to each one input terminal. This AND circuit 3
The command signal S3 output from the control section 14 is applied to the other input terminal of the AND circuit 37, and the command signal S8 is applied to the other input terminal of the AND circuit 37. and AND circuit 36,3
Each of the 7 output signals is applied to a code generation circuit 38. This code generation circuit 38 outputs a decimal point code in response to the output signal of the AND circuit 36, and outputs a decimal point code to the AND circuit 37.
In response to the output of , a three-digit separator code is output, and both outputs are applied to the second and third input terminals of the OR circuit 11, respectively. The output of this OR circuit 11 is applied to the AND circuit 13 as described above, and is also applied to one input terminal of the AND circuit 39. The output of a delay type flip-flop 40 is applied to the other input terminal of the AND circuit 39.
The output of the AND circuit 39 is input to the circulation register 1 via the OR circuit 7. The output of the flip-flop 40 is further connected to the second circuit of the AND circuit via an inverter 41.
It is also input to the input terminal of . This flip-flop 40 is supplied with a timing signal TD for writing information into the decimal point storage section 2. On the other hand, AND circuits 22, 23, 24 to which the output of the OR circuit 21 is applied
Among them, the second input terminal of the AND circuit 22 has a control circuit 1s1.
The command signals S3 and S8 generated from the OR circuit 4
9, command signals S2, S3, and S6 are applied to the second input terminal of AND circuit 23, and command signal S9 is applied to the input terminal of AND circuit 24. The output signal from the output terminal between the least significant digit and the next second digit of the circular register 1 is applied to the third input terminal of the AND circuit 24. The output signal of the AND circuit 22 is applied to the AND circuit 42 together with the output signal from the OR circuit 11. The output signal of this AND circuit 42 is the fourth output signal of the OR circuit 4.
is input to the input terminal of Further, the output signal of the AND circuit 23 is applied to the other input terminal of the AND circuit 13, and the output of the AND circuit 24 is applied to the input terminal of the OR circuit 4. The outputs of the AND circuits 22, 23 and 24 are also applied to the input terminal of the AND circuit 3 via inverters 43, 44 and 45, respectively. The output of the OR circuit 21 is 3
It is also applied to a second input terminal of an input AND circuit 46, and command signals S5 and S7 generated from the control section 14 are applied to a first input terminal of this AND circuit 46 via an OR circuit 47. , the third input terminal is connected to the circular register 1.
The output signal from is added. And this AND circuit 4
The flip-flop 48 is set by the output signal of 6. This flip-flop circuit 48 is reset by a timing signal TE specifying the most significant digit of register 1. Furthermore, a set output signal from the Q side output terminal of the flip-flop circuit 48 is applied to the control section 14. Next, the operation in the above configuration will be explained. When the various command signals S1 to S9 are not output from the control section 14, the outputs of the AND circuits 22, 23, and 24 are O' (that is, the OR circuit 15, the AND circuit 20, and the OR circuit 21).
is "0", so the output of the AND circuit 22 is "0", and the AND circuits 23 and 24 output "0" because the command signals S1 to S9 are not output), and the outputs of the inverters 43, 44, and 45 are "1". The gate of the AND circuit 3 is opened.The gates of the AND circuits 13, 42, and 46 are closed.Therefore, the data stored in the circulation register 1 is transferred to the line 11, the gate of the AND circuit 3 is opened. Circuit 3 and OR circuit 4
, a delay circuit 5, an AND circuit 6, and an OR circuit 7. For example, after completing a certain operation [12345678
901.1] is obtained, the numeric value [123456] is stored in circulation register 1 as shown in Figure 3a.
789011] is input, and the decimal point data [1] is stored in the decimal point information storage section 2. In this state, the control unit 14 controls the first
When the command signal S for executing the step operation is output, it is applied to the AND circuit 16 via the OR circuit 15, so that the decimal point counter designation timing signal TDP shown in FIG. The signal is output from the OR circuit 25 as shown in FIG. 4e. The output signal of this OR circuit 25 is applied to the AND circuit 8 and opens its gate, so that the content "1" of the decimal point information storage section 2 read from the circulation register 1 at this time is transferred to the AND circuit 3, the OR circuit 4, and the delay circuit. 5, is inputted to the input side of the circulation register 1 via an AND circuit 6 and an OR circuit 7, and is also applied to an input terminal a of an adder circuit 10 via an AND circuit 8 and an OR circuit 9.
At this time, the input signal at the input end b of the adder circuit 10 is "0", so the content "1" of the decimal point storage section 2 is delayed by 4 bits (from [1+O]) and sent to the AND circuit 12. Added. The output time width of the OR circuit 25 is 4
Since the TDP signal is "0" at the time when the above content "1" is output from the adder circuit 10, the output of the AND circuit 16 is "O". Therefore, the output of the inverter 26 is "1" - and since the digit timing signal TE specifying the most significant digit of the register is not generated at this point, the output of the inverter 28 is also "1", and the gate of the AND circuit 12 is opened. , the output data "1" of the adder circuit 10 is applied to its own input side, that is, the input terminal a, via the AND circuit 12 and the OR circuit 9. On the other hand, at this point, the command signal S1 and the timing signal T specifying the decimal point storage section 2 are present. , is given at a different timing, the AND circuit 18 outputs the "1" signal, and the gate of the AND circuit 32 is opened. Therefore, the [-1] signal [subtraction instruction to the adder circuit and numerical code "'0001"] output from the code generation circuit 31 is sent to the input terminal b of the adder circuit 10 via the AND circuit 32 and the OR circuit 34. It is added in synchronization with the right shift operation of the contents of circular register 1. As a result, the adder circuit 10 performs a subtraction operation of [1-1]. As a result, the output data of the adder circuit 10 is

〔0〕となる
。この状態をコード検出回路35が検出し、フリツプフ
ロツプ回路19をセツトする。上記小数点情報内容が「
1」であるのでアダー回路10において1回〔−1〕動
作が行なわれる。従がつて循環用レジスタ1の内容小数
点情報〔1〕、最下位桁の内容〔1〕がアンド回路3、
オア回路4を通つて遅延回路5に入力されている。しか
して、上記コード検出回路35の出力によつてフリツプ
フロツプ回路19がセツトされ、この時制御部14より
第2のステツプ動作の桁上げ動作命令信号S2が出力さ
れ、アンド回路17が開かれる。 このアンド回路17の出力がオア回路21を介してアン
ドゲート23に加えられるのでアンド回路23の論理条
件が成立し、アンド回路23から第4図eに示すように
゛1”信号が出力され、インバータ44によりアンド回
路3のゲート即ち通常のリサキユレートを閉じると共に
アンド回路13のゲートが開かれる。この結果、上記ア
ダー回路10の出力データつまり数値”0”がオア回路
11、アンド回路13、オア回路4を通つて遅延回路5
に書込まれると共に前記遅延回路5に書込まれていた内
容゛1゛はアンド回路6およびオア回路7を介して循環
レジスタ1の入力側に書込まれる。又、同時にアンド回
路17の゛1”信号はオア回路25を介してアンド回路
8のゲートを開くと共に更にインバータ26を介してア
ンド回路12のゲートを閉じアダー回路10の帰還ルー
プを閉じる。このため循環レジスタ1から出力される小
数点以上の桁内容は順次アンド回路8およびオア回路9
を介してアダー回路10に入力され、このアダー回路1
0で4ビツト遅延した後、オア回路11、アンド回路1
3、オア回路4、遅延回路5、アンド回路6、オア回路
7を介して循環レジスタ1に前記数値“O”に続いて順
次書込まれる。この結果循環レジスタ1の内容は第3図
bに示すように〔1234567890101〕となる
。 また小数点記憶部2の内容は変化せず〔1〕となつてい
る。このようにして第2のステツプである桁上げ動作が
実行され、次の第3ステツプ(第2図S3)に移行する
。この第3ステツプに入ると制御部14により命令信号
S3が出力され、このS3がオア回路15を介してアン
ド回路16に加えられるので、第1ステツプにて説明し
たと同様の動作にて、小数点記憶部2の内容がアンド回
路8、オア回路9を介してアダー回路10に導入され、
循環レジスタ1の内容の桁右シフト動作に同期して゛−
1゛づつ減算される。そして上記減算結果が
It becomes [0]. The code detection circuit 35 detects this state and sets the flip-flop circuit 19. If the decimal point information above is
1'', the adder circuit 10 performs one [-1] operation. Therefore, the content decimal point information [1] of the circulation register 1 and the content [1] of the lowest digit are the AND circuit 3,
The signal is input to the delay circuit 5 through the OR circuit 4. The flip-flop circuit 19 is set by the output of the code detection circuit 35, and at this time, the control section 14 outputs a carry operation command signal S2 for the second step operation, and the AND circuit 17 is opened. Since the output of the AND circuit 17 is applied to the AND gate 23 via the OR circuit 21, the logical condition of the AND circuit 23 is satisfied, and the AND circuit 23 outputs a "1" signal as shown in FIG. 4e. The inverter 44 closes the gate of the AND circuit 3, that is, the normal recirculation, and opens the gate of the AND circuit 13. As a result, the output data of the adder circuit 10, that is, the numerical value "0" is transmitted to the OR circuit 11, the AND circuit 13, and the OR circuit. 4 through delay circuit 5
At the same time, the content "1" written in the delay circuit 5 is written to the input side of the circular register 1 via an AND circuit 6 and an OR circuit 7. At the same time, the "1" signal from the AND circuit 17 opens the gate of the AND circuit 8 via the OR circuit 25, and closes the gate of the AND circuit 12 via the inverter 26, closing the feedback loop of the adder circuit 10. The contents of digits beyond the decimal point output from the circular register 1 are sequentially sent to an AND circuit 8 and an OR circuit 9.
is input to the adder circuit 10 via the adder circuit 1.
After a 4-bit delay at 0, OR circuit 11, AND circuit 1
3. The numerical value "O" is sequentially written into the circular register 1 via the OR circuit 4, the delay circuit 5, the AND circuit 6, and the OR circuit 7. As a result, the contents of the circulation register 1 become [1234567890101] as shown in FIG. 3b. Further, the contents of the decimal point storage section 2 remain unchanged and remain [1]. In this way, the carry operation that is the second step is executed, and the process moves to the next third step (S3 in FIG. 2). When entering this third step, the command signal S3 is outputted by the control section 14, and this S3 is applied to the AND circuit 16 via the OR circuit 15, so that the decimal point is The contents of the storage section 2 are introduced into the adder circuit 10 via the AND circuit 8 and the OR circuit 9,
In synchronization with the digit right shift operation of the contents of circular register 1.
It is subtracted by 1. And the above subtraction result is

〔0〕にな
つた時にコード検出回路35より検出信号が出力しフリ
ツプフロツプ19がセツトされる。この時循環用レジス
タ1の内容小数点情報〔1〕は循環レジスタ1に、最下
位桁の内容〔1〕は遅延回路5にそれぞれ入力されてい
る。このフリツプフロツプ19がセツトされたことによ
りアンド回路17が開き、このアンド回路17の出力に
よつて上述した如くアンド回路23から出力信号゛1゛
が出力され、アンド回路3のゲートが閉じ循環レジスタ
1の通常のリサキユレートが閉じられると共にアンド回
路13が開かれる。一方、この時点即ち命令信号が出力
されている時、フリツプフロツプ19がセツトするとア
ンド回路36より出力信号゛1”が出力されコード発生
回路38に加えられる。これによりコード発生回路38
からは小数点コード信号〔×〕例えば゛1011゛が出
力される。 この結果、この小数点コード信号はこの時点でアダー回
路10の出力は数値゛O゛コードであるのでオア回路1
1、アンド回路13、オア回路4を通つて遅延回路5に
書込まれると共に前記遅延回路5に書込まれていた内容
〔1〕は循環レジスタ1の入力側に書込まれる。以後第
一ステツプにて説明したと同様の動作にて小数点以上の
桁内容がアダー回路10、オアゲート11、アンド回路
13の経路をへて循環レジスタ1に小数点コード〔×〕
に続いて順次書込まれる。この結果循環レジスタ1の内
容は第3図cに示す如く〔12345678901×1
〕となる。このようにして第3のステツプである小数点
コード挿入ステツプが終了し、次の第4ステツプ(第2
図S4)に移行する。この第4ステツプでは循環レジス
タ1内の小数点記憶部2の内容〔1〕に数値4を加算す
る動作が行なわれる。即ち、制御部14より命令信号S
4が出力され、この命令信号S4がオア回路15を介し
てアンド回路16に加えられ、またタイミング信号TD
Pが出力されるので、アンド回路16から゛1゛が出力
され、第1ステツプにて説明したと同様の動作にて循環
レジスタ1から小数点記憶部2の内容〔1〕がアダー回
路10の入力端に加えられる。この時命令信号S4によ
つてアンド回路33が開かれ、コード発生回路31から
出力される数値コード4゛がアンド回路33およびオア
回路34を介してアダー回路10の入力端bに加えられ
る。このためアダー回路10において前記小数点内容〔
1〕と数値4との加算動作が行なわれる。一方、フリツ
プフロツプ回路40はタイミング信号TDPを各桁毎の
4ビツト目に出力されるクロツクパルス40に同期して
読込むもので、タイミング信号TDPを4ビツトつまり
一桁遅延して出力する。 このフリツブフロツプ回路40の出力並びに命令信号S
4によつてアンド回路39のゲートが開かれ、アダー回
路10における加算結果〔5〕(〔1〕+〔4〕)がア
ンド回路39およびオア回路7を介して循環レジスタ1
に送られ、小数点情報記憶部2に書込まれる。この結果
循環レジスタ1の内容は第3図dの如くになる。このよ
うにして第4ステツプが終了し、次の第5ステツプに移
行する。この第5ステツプは循環レジスタ1内において
前記小数点記憶部2に貯えられている内容が指定する桁
以上に数値コードが書き込まれているか否かを判断する
ステツプで、これは上記桁以上に数値がない場合には三
桁区切コードを前記循環レジスタ1内の所定の桁に書込
む必要がなく、三桁区切コード挿入の動作を行なわずし
て終了してよいので、その判断が行なわれる。即ち、制
御部14より命令信号S5が出力されると第1ステツプ
にて説明したと同様の動作によりまず小数点記憶部2の
内容〔5〕がアダー回路10に導入され、このアダー回
路10で、循環レジスタ1の内容の桁右シフト動作に同
期して上記内容〔5〕が1づつ減算され、その内容が零
になるとフリツプフロップ19がセツトされる。このフ
リツプフロップ19がセツトされたことによりアンド回
路17が開か板その出力信号゛1”がオア回路21を介
してアンド回路46に加えられるのでアンド回路46の
ゲートが開かれる。したがつて、この時点即ち小数点記
憶部2の内容「5」が指定する桁以上の桁の循環レジス
タ1の内容(6桁目以上の内容)のコード信号がアンド
回路46を通ってフリップフロップ回路48に加えられ
る。 このフリツプフロツプ回路48は循環レジスタ1の内容
に数値があればアンド回路46より゛1”の出力信号が
出力し、セツトされる。本実施例の場合第3図に示す如
く6桁目以上にも数値コードが書込まれているので、そ
の数値コードが循環レジスタ1の出力側より出力した時
点でフリツプフロツプ48はセツトし、そのセツト出力
信号が制御部14に送られる。制御部14はフリツプフ
ロツプ48のセツト出力信号を受けて、次に命令信号S
6を出力し第6ステツプの動作に入る。この命令信号S
6が出力されると第2ステツプで説明したと同様の動作
で小数点記憶部2の内容即ち〔5〕が指定する桁以上の
循環レジスタ1の内容が1桁桁上げシフトされる。この
結果循環レジスタ1の内容は第3図eの如く〔1234
56780901×1〕となり、次の第7ステツプ(第
2図S7)に移行する。この第7ステツプでは、制御部
14より命令信号S7が出力されると共にタイミング発
生器27からは循環レジスタ1の数値記憶領域の最上位
桁の内容が循環レジスタ1の出力側より出力する時のタ
イミング信号TMSDが出力される。従がつて、上記タ
イミングの時にアンド回路20は出力信号゛1゛を出力
し、この出力信号“1nがオアゲート21を介してアン
ド回路46に加えられる。 これによりアンド回路46のゲートが開かれ循環レジス
タ1の数値記憶領域の最上位桁の内容のコード信号がア
ンド回路46を通つてフリツプフロツプ回路48に加え
られる。そしてこのフリツプフロツプ回路48がセツト
するか否かにより前記循環レジスタ1の数値記憶領域の
最上位桁目に数値コードが書込まれたか否かが判断され
る。本実施例の場合、第3図eに示されるように最上位
桁に数値がないので次の第8ステツプに進む。 第8ステツプに於いて、制御部14より命令信号S8が
出力されると、第3ステツプにて説明したと同様の動作
でコード発生回路38から出力された三桁区切りコード
Y(例えば“1110”)が循環レジスタ1に記憶され
ている数値情報の数値「8」と「9」の間の第5桁目に
挿入され、第3図fに示される如く〔12345678
Y901×1〕となる。次には再び第4ステツプに戻り
、前記した動作により、小数点記憶部2の内容〔5〕に
数値〔4〕が加算され、その内容が
When the signal becomes [0], the code detection circuit 35 outputs a detection signal and the flip-flop 19 is set. At this time, the content decimal point information [1] of the circulation register 1 is input to the circulation register 1, and the content [1] of the least significant digit is input to the delay circuit 5, respectively. When the flip-flop 19 is set, the AND circuit 17 is opened, and the output of the AND circuit 17 causes the AND circuit 23 to output the output signal "1" as described above, and the gate of the AND circuit 3 is closed. The normal recirculation of is closed and the AND circuit 13 is opened. On the other hand, at this time, that is, when the command signal is being output, when the flip-flop 19 is set, the output signal "1" is output from the AND circuit 36 and applied to the code generation circuit 38.
A decimal point code signal [x], for example, "1011" is output from. As a result, since the output of the adder circuit 10 is the numeric value "O" code at this point, the decimal point code signal is sent to the OR circuit 10.
1, is written to the delay circuit 5 through the AND circuit 13 and the OR circuit 4, and the content [1] written in the delay circuit 5 is written to the input side of the circulation register 1. Thereafter, in the same operation as explained in the first step, the contents of the digits above the decimal point pass through the adder circuit 10, the OR gate 11, and the AND circuit 13, and are stored in the circulation register 1 as a decimal point code [x].
are written sequentially. As a result, the contents of circulation register 1 are as shown in FIG.
]. In this way, the third step, the decimal point code insertion step, is completed, and the next fourth step (the second step) is completed.
Moving on to Figure S4). In this fourth step, a value 4 is added to the content [1] of the decimal point storage section 2 in the circular register 1. That is, the command signal S is sent from the control unit 14.
4 is output, this command signal S4 is applied to the AND circuit 16 via the OR circuit 15, and the timing signal TD
Since P is output, ``1'' is output from the AND circuit 16, and the contents [1] of the decimal point storage section 2 are transferred from the circular register 1 to the input of the adder circuit 10 in the same manner as explained in the first step. Added to the ends. At this time, the AND circuit 33 is opened by the command signal S4, and the numerical code 4' output from the code generation circuit 31 is applied to the input terminal b of the adder circuit 10 via the AND circuit 33 and the OR circuit 34. Therefore, in the adder circuit 10, the decimal point content [
1] and the numerical value 4 are performed. On the other hand, the flip-flop circuit 40 reads the timing signal TDP in synchronization with the clock pulse 40 outputted at the 4th bit of each digit, and outputs the timing signal TDP with a delay of 4 bits, that is, one digit. The output of this flip-flop circuit 40 and the command signal S
4 opens the gate of the AND circuit 39, and the addition result [5] ([1]+[4]) in the adder circuit 10 is sent to the circulation register 1 via the AND circuit 39 and the OR circuit 7.
and written into the decimal point information storage section 2. As a result, the contents of the circulation register 1 become as shown in FIG. 3d. In this way, the fourth step is completed, and the next step is the fifth step. This fifth step is a step for determining whether or not the contents stored in the decimal point storage section 2 in the circulating register 1 have a numerical code written in more than the specified digit. If there is no three-digit delimiter code, there is no need to write the three-digit delimiter code to a predetermined digit in the circular register 1, and the process can be terminated without performing the operation of inserting the three-digit delimiter code, so this determination is made. That is, when the command signal S5 is output from the control section 14, the contents [5] of the decimal point storage section 2 are first introduced into the adder circuit 10 by the same operation as explained in the first step, and the adder circuit 10 The contents [5] are subtracted by 1 in synchronization with the digit right shift operation of the contents of the circular register 1, and when the contents become zero, the flip-flop 19 is set. Since the flip-flop 19 is set, the AND circuit 17 is opened and its output signal "1" is applied to the AND circuit 46 via the OR circuit 21, so that the gate of the AND circuit 46 is opened. That is, the code signal of the contents of the circular register 1 of digits higher than or equal to the digit designated by the contents "5" of the decimal point storage section 2 (contents of the 6th digit and higher) is applied to the flip-flop circuit 48 through the AND circuit 46. This flip-flop circuit 48 is set by outputting an output signal of "1" from the AND circuit 46 if there is a numerical value in the contents of the circulation register 1.In this embodiment, as shown in FIG. Since a numerical code has been written, the flip-flop 48 is set when the numerical code is output from the output side of the circular register 1, and the set output signal is sent to the control section 14. After receiving the set output signal, the command signal S
It outputs 6 and enters the operation of the 6th step. This command signal S
When 6 is output, the contents of the decimal point storage section 2, that is, the contents of the circular register 1 of the digit or more specified by [5] are shifted up by one digit in the same manner as described in the second step. As a result, the contents of circulation register 1 are as shown in Figure 3 e [1234
56780901×1], and the process moves to the next seventh step (S7 in FIG. 2). In this seventh step, the control unit 14 outputs the command signal S7, and the timing generator 27 outputs the timing when the contents of the most significant digit of the numerical storage area of the circular register 1 is output from the output side of the circular register 1. Signal TMSD is output. Therefore, at the above timing, the AND circuit 20 outputs the output signal "1", and this output signal "1n" is applied to the AND circuit 46 via the OR gate 21. As a result, the gate of the AND circuit 46 is opened and the circulation starts. The code signal of the most significant digit of the numerical storage area of register 1 is applied to the flip-flop circuit 48 through the AND circuit 46.Then, depending on whether the flip-flop circuit 48 is set or not, the code signal of the most significant digit of the numerical storage area of the circular register 1 is applied. It is determined whether a numerical code has been written in the most significant digit.In the case of this embodiment, as shown in FIG. 3e, there is no numerical value in the most significant digit, so the process proceeds to the next eighth step. In the eighth step, when the command signal S8 is output from the control section 14, the three-digit delimiter code Y (for example, "1110") is output from the code generation circuit 38 in the same manner as explained in the third step. ) is inserted in the fifth digit between the numerical values "8" and "9" of the numerical information stored in the circular register 1, and as shown in FIG.
Y901×1]. Next, the process returns to the fourth step, and by the above-described operation, the numerical value [4] is added to the content [5] of the decimal point storage section 2, and the content is

〔9〕となる。 第5ステツプでは前のステツプ4で更新された小数点記
憶部2の内容
[9] becomes. In the fifth step, the contents of the decimal point storage section 2 updated in the previous step 4 are

〔9〕が指定する桁以上即ち循環レジスタ
1の9桁目以上に数値が有るか否かが判定される。本実
施例の場合は第3図fに示される如く、循環レジスタ1
の9桁目以上に数値が存在するので第6ステツプへと進
む。以下前述したと同様の動作で第6、7、8ステツプ
の動作が遂行され、更に再び第4、5、6のステツプ動
作がなされると循環レジスタ1の状態は第3図gに示さ
れる如く循環レジスタ1の最上位桁に数値がある〔12
0345Y678Y90×1〕の状態となる。 この様な状態で第2図S7に示される第7ステツプに進
む。この第7ステツブでは前述した様に制御部14から
の命令信号S7とタイミング発生器27から出力される
タイミング信号TMSDにより、アンド回路20が循環
レジスタ1の最上位桁の内容がレジスタ1の出力側より
出力するタイミングで開かれ、このアンド回路20の゛
1゛出力信号によりアンド回路46のゲートが開かれて
前記循環レジスタ1の最上位桁の内容〔1〕のコード信
号がフリツプフロツプ回路48に加えられ、フリップフ
ロツプ回路48がセツトする。 このフリツプフロップ回路48のセツト信号が制御部1
4に送られる。これにによつて制御部14が命令信号S
9を出力するので第2図のS9ステツブへ進み、上記第
6ステツプで→桁分桁上げされた循環レジスタ1の第1
3桁目以上の内容を元に戻すべく一桁分の桁下げ動作が
実行される。即ち、第9ステツプでは、制御部14から
命令信号S9が出力されると、第6ステツプの桁上げス
テツプの時と同様の動作により、小数点記憶部2の内容
〔13〕がアダー回路10に導入され、この数値〔13
〕はアダー回路10で循環レジスタ1の内容の桁右シフ
ットに同期して順次1ずつ減算される。 そしてこの減算結果が零になると、コード検出回路35
より検出信号が出力され、フリツプフロツプ回路19が
セツトし、このセツト信号によりアンド回路17より出
力信号゛1゛が出力される。このアンド回路17の出力
信号゛1”がオア回路21を介してアンド回路24に加
えられる。一方このアンド回路24には命令信号S9が
加えられているのでアンド回路24のゲートが開かれる
。このとき、このアンド回路24の出力信号゛1゛の反
転信号である゛0”信号がインバータ45を介してアン
ド回路3に加えられ、アンド回路3が閉じられるので循
環レジスタ1の通常の循環ループが閉じられる。従がつ
て循環レジスタ1の内容はこの時点即ち、第13桁目以
上の内容から、循環レジスタ1の出力部より一桁分上位
の桁の出力部からアンド回路24、オア回路4、遅延回
路5、アンド回路6、オア回路7を介して循環レジスタ
1の入力側に順次戻される。 この結果、循環レジスタ1の13桁目以上の内容が一桁
分右シフト即ち一桁分桁下げされ、第3図hのようにな
つて桁下げ動作が終了する。尚、本実施例では数値情報
及び小数点位置情報を同一のレジスタに蓄えるようにし
ているが、両者を別のレジスタに蓄えても実現し得るこ
とは勿論であり、又本実施例では小数点位置情報を順次
減算しコード検出器で零コードを検出する例を示したが
、本発明はこれに限られることなく、特定値を検出する
様に制御し得ることは勿論である。 要するに本発明は、上記実施例に限定されることなく、
要旨を逸脱しない範囲で種々変形し得るものである。以
上述べたように本発明によれば、例えばプリント機能を
備えた計算機において、三桁区切情報を割込ませる場合
、アダー回路の遅延要素を巧みに利用すると供にレジス
タの最上位桁に数値コードが有るか否かを判定しながら
数値情報間に三桁区切情報を割り込ませるものであり、
回路を省略して構成を簡易化し得ると供に三桁区切り情
報を確実に行ない得て、しかも有効数字桁数を最大に出
力し得る三桁区切情報割込み方式を提供することができ
る。
It is determined whether there is a numerical value in the digits specified by [9] or higher, that is, in the 9th digit or higher of the circular register 1. In the case of this embodiment, as shown in FIG.
Since there is a numerical value in the 9th digit or above, proceed to the sixth step. Thereafter, the operations of the 6th, 7th, and 8th steps are performed in the same manner as described above, and when the operations of the 4th, 5th, and 6th steps are performed again, the state of the circulating register 1 becomes as shown in FIG. 3g. There is a numerical value in the most significant digit of circular register 1 [12
0345Y678Y90×1]. In this state, the process proceeds to the seventh step shown in FIG. 2, S7. In this seventh step, as described above, in response to the command signal S7 from the control section 14 and the timing signal TMSD output from the timing generator 27, the AND circuit 20 sets the contents of the most significant digit of the circulation register 1 to the output side of the register 1. The gate of the AND circuit 46 is opened by the "1" output signal of the AND circuit 20, and the code signal of the content [1] of the most significant digit of the circulation register 1 is added to the flip-flop circuit 48. The flip-flop circuit 48 is set. The set signal of this flip-flop circuit 48 is
Sent to 4. This causes the control section 14 to output the command signal S.
9 is output, so the process goes to step S9 in FIG.
In order to restore the contents of the third and higher digits to their original values, a down-down operation of one digit is executed. That is, in the ninth step, when the command signal S9 is output from the control section 14, the contents [13] of the decimal point storage section 2 are introduced into the adder circuit 10 by the same operation as in the carry step of the sixth step. and this value [13
] is sequentially subtracted by 1 in the adder circuit 10 in synchronization with the shift of the contents of the circular register 1 to the right. When the result of this subtraction becomes zero, the code detection circuit 35
A detection signal is outputted, the flip-flop circuit 19 is set, and the set signal causes the AND circuit 17 to output an output signal "1". The output signal "1" of this AND circuit 17 is applied to the AND circuit 24 via the OR circuit 21. On the other hand, since the command signal S9 is applied to this AND circuit 24, the gate of the AND circuit 24 is opened. At this time, the "0" signal, which is the inverted signal of the output signal "1" of the AND circuit 24, is applied to the AND circuit 3 via the inverter 45, and the AND circuit 3 is closed, so that the normal circulation loop of the circulation register 1 is Closed. Therefore, the contents of the circulation register 1 are processed at this point, that is, from the contents of the 13th digit and above, from the output section of the digit one digit higher than the output section of the circulation register 1, to the AND circuit 24, the OR circuit 4, and the delay circuit 5. , an AND circuit 6, and an OR circuit 7, and are sequentially returned to the input side of the circulation register 1. As a result, the contents of the 13th and above digits of the circular register 1 are shifted to the right by one digit, that is, are down-shifted by one digit, and the down-down operation is completed as shown in FIG. 3h. In this embodiment, numerical information and decimal point position information are stored in the same register, but it is of course possible to store both in separate registers, and in this embodiment, decimal point position information Although an example has been shown in which a code detector detects a zero code by sequentially subtracting , the present invention is not limited to this, and it goes without saying that control can be performed to detect a specific value. In short, the present invention is not limited to the above embodiments, but
Various modifications may be made without departing from the spirit of the invention. As described above, according to the present invention, when interrupting information separated by three digits in a computer equipped with a print function, for example, the delay element of the adder circuit is skillfully used and the numerical code is placed in the most significant digit of the register. This method inserts three-digit delimiter information between numerical information while determining whether or not there is a
It is possible to provide a three-digit delimiter information interrupt method that can simplify the configuration by omitting a circuit, can reliably process three-digit delimiter information, and can output the maximum number of significant digits.

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

第1図は本発明の一実施例を示す構成図、第2図は同構
成図の動作を説明する為のフローチヤート、第3図は本
実施例を説明するための循環レジスタの内容を示す図、
第4図は同実施例の動作を説明するためのタイムチヤー
トである。 1・・・・・・循環レジスタ、10・・・・・・アダー
回路、14・・・・・・制御部、19・・・・・・フリ
ツプフロツプ回路、27・・・・・・タイミング発生器
、31,38・・・・・・コード発生回路、48・・・
・・・フリツプフロツプ。
Fig. 1 is a block diagram showing an embodiment of the present invention, Fig. 2 is a flowchart to explain the operation of the block diagram, and Fig. 3 shows the contents of a circulation register to explain this embodiment. figure,
FIG. 4 is a time chart for explaining the operation of the same embodiment. 1... Circulation register, 10... Adder circuit, 14... Control section, 19... Flip-flop circuit, 27... Timing generator , 31, 38... code generation circuit, 48...
...flipflop.

Claims (1)

【特許請求の範囲】[Claims] 1 出力すべき数値情報を記憶するレジスタと、上記数
値情報の小数点位置情報をコードで記憶する小数点情報
記憶手段と、この手段の小数点位置情報に特定値を加算
する手段と、この手段により加算された情報が指定する
上記レジスタの桁以上の内容を一桁桁上げする手段と、
この桁上げ手段により桁上げ動作が行なわれた際、上記
レジスタの最上位桁に数値コードが存在するか否かを判
定する手段と、この判定手段で数値コード無しと判定さ
れた場合上記小数点位置情報が指定する上記レジスタの
桁位置に三桁区切コードを書き込む手段と、上記判定手
段で数値有りと判定された場合、三桁区切コード挿入動
作を禁止し、上記桁上げした内容を桁下げする手段とを
具備したことを特徴とする三桁区切情報割込み方式。
1. A register for storing numerical information to be output, decimal point information storage means for storing decimal point position information of the numerical information in a code, means for adding a specific value to the decimal point position information of this means, and means for incrementing the contents of the register above the digit specified by the information specified by the above register by one digit;
When a carry operation is performed by this carry means, there is a means for determining whether or not a numerical code exists in the most significant digit of the register, and a means for determining whether or not a numerical code exists in the most significant digit of the register, and a means for determining whether or not a numerical code exists in the most significant digit of the above register, and if it is determined that there is no numerical code by this determining means, the above decimal point position. A means for writing a three-digit separator code in the digit position of the register specified by the information, and if the above judgment means determines that there is a numerical value, prohibits the insertion of the three-digit separator code and lowers the carried content. A triple-digit information interrupt method characterized by comprising:
JP4922676A 1976-04-27 1976-04-27 Three-digit separated information interrupt method Expired JPS5931108B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4922676A JPS5931108B2 (en) 1976-04-27 1976-04-27 Three-digit separated information interrupt method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4922676A JPS5931108B2 (en) 1976-04-27 1976-04-27 Three-digit separated information interrupt method

Publications (2)

Publication Number Publication Date
JPS52131427A JPS52131427A (en) 1977-11-04
JPS5931108B2 true JPS5931108B2 (en) 1984-07-31

Family

ID=12824998

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4922676A Expired JPS5931108B2 (en) 1976-04-27 1976-04-27 Three-digit separated information interrupt method

Country Status (1)

Country Link
JP (1) JPS5931108B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5676837A (en) * 1979-11-29 1981-06-24 Canon Inc Electronic apparatus

Also Published As

Publication number Publication date
JPS52131427A (en) 1977-11-04

Similar Documents

Publication Publication Date Title
US4179737A (en) Means and methods for providing greater speed and flexibility of microinstruction sequencing
US4038643A (en) Microprogramming control system
US4155120A (en) Apparatus and method for controlling microinstruction sequencing by selectively inhibiting microinstruction execution
US4409654A (en) Data processor adapted for interruption to an instruction stream
EP0238090B1 (en) Microcomputer capable of accessing internal memory at a desired variable access time
JP2916045B2 (en) FIFO module
US3161763A (en) Electronic digital computer with word field selection
US4916606A (en) Pipelined parallel data processing apparatus for directly transferring operand data between preceding and succeeding instructions
JPS6351287B2 (en)
US3202805A (en) Simultaneous digital multiply-add, multiply-subtract circuit
US4086474A (en) Multiplication technique in a data processing system
EP0262674A2 (en) Microcomputer having Z-flag capable of detecting coincidence at high speed
US4641278A (en) Memory device with a register interchange function
JPH0479015B2 (en)
US7028273B2 (en) Delay optimization designing system and delay optimization designing method for a logic circuit and control program
EP0350928A2 (en) Data processor capable of executing division of signed data with a small number of program steps
JPS5931108B2 (en) Three-digit separated information interrupt method
JPH0588884A (en) State mode setting method
US3290655A (en) Program control for data processing machine
US3905021A (en) Circuit arrangement for interpreting the content of a register as an instruction
US3866208A (en) Data control arrangement for a dynamic display system
JPS6019538B2 (en) Program writing method
US4190892A (en) Zero suppressing system for electronic device
JPH0654505B2 (en) Parallel processor
EP0305530A1 (en) High-speed floating point arithmetic unit