JPS6025622Y2 - Decimal-n-ary data mutual conversion device - Google Patents

Decimal-n-ary data mutual conversion device

Info

Publication number
JPS6025622Y2
JPS6025622Y2 JP4172179U JP4172179U JPS6025622Y2 JP S6025622 Y2 JPS6025622 Y2 JP S6025622Y2 JP 4172179 U JP4172179 U JP 4172179U JP 4172179 U JP4172179 U JP 4172179U JP S6025622 Y2 JPS6025622 Y2 JP S6025622Y2
Authority
JP
Japan
Prior art keywords
data
conversion
key
gate
register
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP4172179U
Other languages
Japanese (ja)
Other versions
JPS55141835U (en
Inventor
久志 伊藤
Original Assignee
カシオ計算機株式会社
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 カシオ計算機株式会社 filed Critical カシオ計算機株式会社
Priority to JP4172179U priority Critical patent/JPS6025622Y2/en
Publication of JPS55141835U publication Critical patent/JPS55141835U/ja
Application granted granted Critical
Publication of JPS6025622Y2 publication Critical patent/JPS6025622Y2/en
Expired legal-status Critical Current

Links

Description

【考案の詳細な説明】 この考案は印進数あるいは6噛数の如き異なる表現形態
を有するデータの表現形態を効果的に変換し得るように
した印進−n進データ相互変換装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an indicium-n-adic data mutual conversion device that can effectively convert the expression forms of data having different expression forms, such as indicative numbers or hexadecimal numbers.

一般に、例えば、度、分、秒で表わされる6罐の角度デ
ータを印進データに変換したり、あるいは逆に印進て表
わされた角度データをω進数のデータに変換したりする
ことにより、目的に合う形態に変換して種々の計算に用
いることが行われている。
In general, for example, by converting 6 cans of angle data expressed in degrees, minutes, and seconds into impression data, or conversely, by converting angle data expressed in impression into ω-adic data. , it is converted into a format suitable for the purpose and used for various calculations.

また例えば、会社等に於て、従業員の骨動時間の管理、
あるいは賃金計算に際しては、骨動時間(6帖データ)
を印進データに変換して、骨動時間を算出したり、賃金
を算出したりすることが行われている。
For example, in companies, etc., management of employees' bone movement time,
Or, when calculating wages, bone movement time (6 tatami data)
This is converted into impression data to calculate bone movement time and wages.

そこで、このような印進数、6噛数のデータの相互変換
装置を組み込んだ小型電子計算機が実用化されている。
Therefore, small-sized electronic computers incorporating such a device for mutually converting data of print numbers and 6 bits have been put into practical use.

しかしながら、この種の計算機では、例えば、印進デー
タを6帖データに変換する場合は+キーを操作し、逆に
6帖データを10進データに変換する場合はINVキー
E運1キーを続けて操作するようにしていた。
However, with this type of calculator, for example, if you want to convert injin data to 6 jo data, you must operate the + key, and conversely, if you want to convert 6 jo data to decimal data, you must press the INV key followed by the E luck 1 key. I was trying to operate it.

このため、10進−0進、6噛→川進の各変換のキー操
作及び操作回数が異なるため、キーの誤操作を招いたり
、印進→6噛→川進というように交互に変換させる場合
には複雑なキー操作をしなければならず、操作性が悪い
といった欠点があった。
For this reason, the key operations and number of operations for each conversion of decimal - 0 base, 6 bits → Kawashin are different, which may lead to incorrect key operation, or when converting alternately such as Injin → 6 bits → Kawashin. The disadvantage was that it required complicated key operations and was not easy to operate.

この考案は上述した事情を考慮してなされたもので、よ
り簡略化されたキー操作によって異なる表現形態を有す
るデータを交果的に表現形態を相互に変換し得るように
した印進−n進データ相互変換装置を提供するものであ
る。
This idea was made in consideration of the above-mentioned circumstances, and it is an injin-n-adic system that allows data with different expression forms to be mutually converted interactively by simpler key operations. The present invention provides a data mutual conversion device.

以下、図面を参照してこの考案の一実施例を説明する。An embodiment of this invention will be described below with reference to the drawings.

第1図において、キー人力部1にはキー同〜□□□から
戒る置数キー2、変換キーfF3a、通常のファンクシ
ョンキー3b等を具備している。
In FIG. 1, a key input unit 1 is equipped with a number key 2 for setting keys □□□, a conversion key fF3a, a normal function key 3b, and the like.

置数キー2から得られる数値データは、レジスタ4の入
力ゲートを威すアンドゲート5、オアゲート6を介して
レジスタ4に入力されるようになっている。
Numerical data obtained from the numeric key 2 is input to the register 4 via an AND gate 5 and an OR gate 6 that operate on the input gate of the register 4.

また変換キー日3aの操作信号は制御部7およびパイナ
ルカウンタ8に入力さる。
Further, the operation signal of the conversion key date 3a is inputted to the control section 7 and the pinal counter 8.

バイナリカウンタ8は変換キー23aの操作信号によっ
てトリガされ、その内容が変換キー口3aの操作どとに
ro、→r 1. +$ r Oヨ→11ヨ・曲・と変
化するものである。
The binary counter 8 is triggered by the operation signal of the conversion key 23a, and its contents are ro, →r 1. + $ r O yo → 11 yo song.

ファンクションキー3の操作信号はパスラインBを介し
て制御部7に入力される。
The operation signal of the function key 3 is input to the control section 7 via the pass line B.

制御部7は各回路の動作を制御する各種マイクロ命令、
たとえば図示するマイクロ命令a ” d等を出力する
ものである。
The control unit 7 includes various micro-instructions that control the operation of each circuit.
For example, it outputs the microinstructions a''d shown in the figure.

マイクロ命令aはレジスタ4の入力ゲートを戒すアンド
ゲート9に制御信号として入力される。
Microinstruction a is input as a control signal to AND gate 9 which controls the input gate of register 4.

このアンドゲート9の第2入力端には後述するデータ変
換回路10の出力データが入力されており、すなわちマ
イクロ命令aが出力中(2値論理レベルの゛1′信号)
のときにデータ変換回路10の出力データがレジスタ4
に入力されて記憶されるようになっている。
The output data of the data conversion circuit 10, which will be described later, is input to the second input terminal of the AND gate 9, that is, the microinstruction a is being outputted (the ``1'' signal at the binary logic level).
When the output data of the data conversion circuit 10 is input to the register 4
The information is entered and stored in the .

マイクロ命令は前記アンドゲート5に制御信号として入
力されており、したがってこのマイクロ命令すの出力中
にのみ前記数値データがレジスタ4に書き込まれる。
The micro-instruction is inputted to the AND gate 5 as a control signal, and therefore the numerical data is written into the register 4 only during the output of this micro-instruction.

マイクロ命令Cはアンドゲート11.12に制御信号と
して入力されており、そのアンドゲート11および12
にはそれぞれパイナルカウンタ8の出力が直接またはイ
ンバータ13を介して他の制御信号として入力される。
Microinstruction C is input as a control signal to AND gates 11 and 12, and the AND gates 11 and 12
The output of the pinal counter 8 is inputted directly or via the inverter 13 as another control signal to each of the terminals.

更にアンドゲート11,12にはともにレジスタ4内の
データが供給される。
Further, data in register 4 is supplied to both AND gates 11 and 12.

したがってマイクロ命令Cの出力中においてバイナリカ
ウンタ8の内容がr()Jのときアンドゲート11、お
よび12のうちアンドゲート12のみか規制解除され、
レジスタ4内のデータがアンドゲート12を介してデー
タ変換回路10内の60進−10進変換回路14に入力
されるようになっている。
Therefore, when the content of the binary counter 8 is r()J during the output of the microinstruction C, only the AND gate 12 out of the AND gates 11 and 12 is deregulated;
The data in the register 4 is inputted via an AND gate 12 to a sexagesimal-decimal conversion circuit 14 in a data conversion circuit 10.

他方、バイナリカウンタ8の内容がrIJのときにはア
ンドゲート11のみが規制解除され、レジスタ4内のデ
ータがアンドゲート11を介してデータ変換回路10内
の1帖→印進変換回路15に入力されるようになってい
る。
On the other hand, when the content of the binary counter 8 is rIJ, only the AND gate 11 is deregulated, and the data in the register 4 is inputted to the 1-jo→input conversion circuit 15 in the data conversion circuit 10 via the AND gate 11. It looks like this.

マイクロ命令dはアンドゲート16゜17内に制御信号
として入力されており、またアンドケート16には前記
バイナリカウンタ8の出力がインバータ13を介して入
力され、他方アンドゲート17にはバイナリカウンタ8
の出力が直接入力されている。
The microinstruction d is input as a control signal into the AND gates 16 and 17, and the output of the binary counter 8 is input to the AND gate 16 via the inverter 13, and the output of the binary counter 8 is input to the AND gate 17.
The output of is input directly.

このため、バイナリカウンタ8の内容が10.のときに
マイクロ命令dが出力されると、アンドゲート16,1
7のうちアンドゲート16のみから“1゛信号が出力さ
れ、この゛1゛信号が604+10進変換回路14に演
算指令として入力されるようになっている。
Therefore, the content of the binary counter 8 is 10. When microinstruction d is output when , AND gate 16,1
7, only the AND gate 16 outputs a "1" signal, and this "1" signal is input to the 604+decimal conversion circuit 14 as an operation command.

他方、バイナリカウンタ8の内容がrl、のときにマイ
クロ命令dが出力されると、アンドゲート17のみから
“l゛信号出力され、この“1゛信号が印進−6峠変換
回路15に演算指令として入力されるようになっている
On the other hand, when the microinstruction d is output when the content of the binary counter 8 is rl, the "l" signal is output only from the AND gate 17, and this "1" signal is sent to the inshin-6 pass conversion circuit 15 for calculation. It is now entered as a command.

すなわちこのデータ変換回路10は、バイナリカウンタ
8の内容がr□、のとき6噛−10進変換回路14のみ
が動作してレジスタ4から送られてさた6帖データをm
進データに変換するデータ変換動作を実行し、またパイ
ナルカウンタ8の内容がrlヨのときには印進→6槌変
換回路15のみが動作して、レジスタ4から送られてき
た印進データを0進データに変換するデータ変換動作を
実行するように構成されている。
In other words, in this data conversion circuit 10, when the content of the binary counter 8 is r
A data conversion operation is executed to convert the data into decimal data, and when the content of the pinal counter 8 is rl y, only the impression → 6 mallet conversion circuit 15 operates, and the impression data sent from the register 4 is converted to 0. The data converter is configured to perform a data conversion operation to convert to binary data.

なお、前記パイナルカウンタ8は、ファンクションキー
3bの1つであるクリアキー(図示略)の操作時あるい
は電源投入時に制御部7から出力されるリセット信号に
よりリセットされてその内容がr□Jに設定される。
The pinal counter 8 is reset by a reset signal output from the control unit 7 when a clear key (not shown), which is one of the function keys 3b, is operated or when the power is turned on, and its contents are changed to rJ. Set.

またレジスタ4内のデータは表示部18に送られて表示
される。
Further, the data in the register 4 is sent to the display unit 18 and displayed.

次に第2図を参照してこの実施例の動作を例えば印進デ
ータ’4.26度ヨを6噛データ14度15分あ秒ヨに
変換し、またこの逆変換を行う場合の操作例に基づいて
説明する。
Next, with reference to FIG. 2, an example of the operation of this embodiment is shown in which, for example, the impression data '4.26 degrees yo is converted to the 6 stroke data 14 degrees 15 minutes a second yo, and this inverse conversion is performed. The explanation will be based on.

先ずバイナリカウンタ8が予めリセットされてその内容
がrOJの状態で、印進データ”4.26度ヨをキー人
力部1の置数キー2を操作してレジスタ4に入力する。
First, the binary counter 8 is reset in advance and its content is rOJ, and the printing data "4.26 degrees yo" is input into the register 4 by operating the number key 2 of the key input section 1.

この場合、数字キー1士、小数点キー国、数字キー12
!v 洛を順次操作すると、所定のタイミングでマイク
ロ命令すが出力され、アンドゲート5が規制解除されて
前記数値データ”4.261がレジスタ4に書き込まれ
る。
In this case, number key 1, decimal point key country, number key 12
! When v.Raku is operated in sequence, a microinstruction is output at a predetermined timing, the AND gate 5 is deregulated, and the numerical data "4.261" is written into the register 4.

そしてこの書き込まれた数値データ’4.261は表示
部18に表示される。
The written numerical data '4.261 is then displayed on the display section 18.

第2図aはこのキー操作終了時におけるバイナリカウン
タ8、レジスタ4および表示部18の各内容を示す。
FIG. 2a shows the contents of the binary counter 8, register 4, and display section 18 at the end of this key operation.

次に変換キー[m3aを操作するとその操作信号により
パイナルカウンタ8の内容が1Lに歩進する。
Next, when the conversion key [m3a is operated, the operation signal causes the content of the pinal counter 8 to increment to 1L.

このため、バイナリカウンタ8の出力信号が直接印加さ
れるアンドゲート11,17は規制解除される。
Therefore, the AND gates 11 and 17 to which the output signal of the binary counter 8 is directly applied are deregulated.

そして制御部7からマイクロ命令C,d、aが各々所定
のタイミングで出力され、レジスタ4内の前記データ″
4.26ヨがアンドゲート11を介して印進−印進変換
回路15に入力されると共にアンドゲート17からW進
−6噛変換回路15に対して演算指令が出力される。
Then, microinstructions C, d, and a are output from the control unit 7 at predetermined timings, and the data in the register 4 is
4.26 yo is input to the impression-to-input conversion circuit 15 via the AND gate 11, and an arithmetic command is output from the AND gate 17 to the W-adism to 6-bit conversion circuit 15.

このため印進→60進変換回路15では前記10進デー
タ”4.26度ヨが60進デ一タr4度1粉36秒、に
変換される。
Therefore, in the printing to sexagesimal conversion circuit 15, the decimal data "4.26 degrees yo" is converted to sexagesimal data r4 degrees 1 powder 36 seconds.

そしてこの変換データはアンドゲート9、オアゲート6
を介してレジスタ4に送られて記憶される。
And this conversion data is AND gate 9, OR gate 6
via the register 4 and stored therein.

第2図すはこの時点での前記レジスタ4の内容を示す。FIG. 2 shows the contents of the register 4 at this point.

次に変換キー23aを再度操作するとその操作信号によ
りバイナリカウンタ8の内容が71 からrO,に変
化し、その出力信号がインバータ13で反転されること
によりアンドゲート12,16は規制解除される。
Next, when the conversion key 23a is operated again, the operation signal causes the content of the binary counter 8 to change from 71 to rO, and the output signal is inverted by the inverter 13, so that the AND gates 12 and 16 are released from regulation.

そして制御部7からマイクロ命令c、d、aが所定タイ
ミングで出力され、レジスタ4内の前記60進データ1
4度15分あ秒ヨがアンドゲート12を介して印進→印
進変換回路14に入力されると共にアンドゲート16か
ら60進−0進変換回路14に対して演算指令が出力さ
れる。
Then, microinstructions c, d, and a are output from the control unit 7 at predetermined timing, and the sexagesimal data 1 in the register 4 is outputted from the control unit 7.
4 degrees 15 minutes a second yo is input to the print-to-print conversion circuit 14 via the AND gate 12, and at the same time, an arithmetic command is output from the AND gate 16 to the sexagesimal-to-zero conversion circuit 14.

このため6帖→印進変換回路14では前記6帖データr
4度1粉あ秒ヨが10進データ”4.26度ヨに変換さ
れ、更にこの変換データはアンドゲート9、オアゲート
6を介してレジスタ4に再び送られて記憶される。
For this reason, in the 6-jo → print/input conversion circuit 14, the 6-jo data r
4 degrees 1 minute a second yo is converted into decimal data "4.26 degrees yo", and this converted data is sent again to the register 4 via the AND gate 9 and the OR gate 6 and stored therein.

第2図Cはこの時点での前記レジスタ4等の内容を示す
FIG. 2C shows the contents of the register 4, etc. at this point.

次いて再び変換キー[←3aを操作すると、バイナリカ
ウンタ8の内容がr″OJからrIJに変化し、前述同
様にして印進データ’4.26度ヨが6(2)データ1
4度15分36秒ヨに変換される。
Next, when the conversion key [←3a is operated again, the content of the binary counter 8 changes from r''OJ to rIJ, and in the same manner as described above, the impression data '4.26 degrees Yo is changed to 6 (2) data 1.
It is converted to 4 degrees 15 minutes 36 seconds yo.

第2図dかこの時点でのレジスタ4等の内容を示す。FIG. 2d shows the contents of register 4, etc. at this point.

他方、最初にω進データを入力してこのデータをW進デ
ータに変換する場合には、予めパイナルカウンタ8の内
容を11ヨとしたのちキー人力部1から印進数のデータ
を入力し、変換キー1−+j3 aを操作すれは前述同
様に前記の6噛データが0進データに変換されるのであ
る。
On the other hand, when inputting ω-adic data first and converting this data to W-adic data, first set the contents of the pinal counter 8 to 11 yo, then input the data of the incinal number from the key human power section 1, When the conversion key 1-+j3a is operated, the 6-bit data is converted to 0-decimal data in the same way as described above.

尚、前記データ変換回路10は前記実施例だけに限定さ
れず、時刻(時、分、秒)を印進数に変換したり、また
その逆変換を行えるようにしたものや、ラジアン、ダラ
シアン等の6吐数以外のデータと0進のデータとの変換
機能をもつ等、異なる表現形態を有するデータ間におい
て相互変換が可能なものであればよい。
It should be noted that the data conversion circuit 10 is not limited to the above-mentioned embodiment, but may be one that is capable of converting time (hours, minutes, seconds) into a notation number, or the inverse conversion thereof, or a radian, Dalacian, etc. Any device that can mutually convert data having different expression forms, such as having a function of converting data other than hexagonal numbers and 0-base data, may be used.

また前記実施例では10進→6帖変換回路およびω進→
1帖変換回路を個別に設けたが、アキュムレータレジス
タ、演算回路によって相互の変換を行なうような変換回
路を構成してもよく、要はこの考案の要旨を逸脱しない
範囲で種々の応用形態が可能である。
In addition, in the above embodiment, the decimal → 6-jo conversion circuit and the ω-adic →
Although the 1-book conversion circuit is provided separately, a conversion circuit that performs mutual conversion using an accumulator register and an arithmetic circuit may be configured, and various application forms are possible without departing from the gist of this invention. It is.

この考案は以上詳細に説明したように、変換キーの操作
に応じてバイナリ的に、少なくとも2種の表現形態を有
するデータの表現形態を相互に変換できるようにしたこ
とにより、データ変換操作に際して使用するキーの数が
従来に較べて少くてすみ、またキー操作も簡単となって
キーの誤操作も防止でき、実用上極めて好都合となる等
種々の利点を有するのである。
As explained in detail above, this device can be used in data conversion operations by making it possible to mutually convert data representation forms that have at least two types of representation forms in a binary manner according to the operation of a conversion key. This method has various advantages, such as requiring fewer keys than in the past, making key operations easier and preventing erroneous key operations, and being very convenient in practice.

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

第1図はこの考案の一実施例の構成を示す回路ブロック
図、第2図は回倒の動作を説明するためのキー操作に伴
うレジスタ等の状態図である。 1・・・・・・キー人力部、3a・・・・・・変換キー
、4・・・・・・レジスタ、7・・・・・・制御部、8
・・・・・・バイナリカウンタ、10・・・・・・デー
タ変換回路、14・・・・・・604→10進変換回路
、15・・・・・・0進−6帖変換回路。
FIG. 1 is a circuit block diagram showing the configuration of an embodiment of this invention, and FIG. 2 is a state diagram of registers and the like associated with key operations to explain the rotation operation. 1... Key human power section, 3a... Conversion key, 4... Register, 7... Control section, 8
. . . Binary counter, 10 . . . Data conversion circuit, 14 . . . 604 to decimal conversion circuit, 15 . . .

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 少なくとも印進、n進の表現形態を有するデータの表現
形態をその一方から他方へ可逆的に変換するデータ変換
回路と、前記データの表現形態の変換を指示する変換指
示キーと、該変換指示キーの押圧操作毎に記憶状態が反
転する記憶回路と、上記変換指示キーの操作により、上
記記憶回路の記憶状態に応じて上記データ変換回路に対
し印進形態からn進形態へあるいはn進形態から印進形
態へ変換するよう制御する制御回路とを具備してなる印
進−n進データ相互変換装置。
a data conversion circuit that reversibly converts the representation form of data having at least an indicative or n-adic representation form from one to the other; a conversion instruction key that instructs conversion of the data expression form; and the conversion instruction key. A memory circuit whose memory state is inverted every time the button is pressed, and a memory circuit that inverts the memory state each time the key is pressed, and the data conversion circuit changes from the impression form to the n-ary form or from the n-adic form according to the memory state of the memory circuit by operating the conversion instruction key. What is claimed is: 1. A control circuit for controlling conversion into a print format; and a control circuit for controlling conversion into print format;
JP4172179U 1979-03-30 1979-03-30 Decimal-n-ary data mutual conversion device Expired JPS6025622Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4172179U JPS6025622Y2 (en) 1979-03-30 1979-03-30 Decimal-n-ary data mutual conversion device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4172179U JPS6025622Y2 (en) 1979-03-30 1979-03-30 Decimal-n-ary data mutual conversion device

Publications (2)

Publication Number Publication Date
JPS55141835U JPS55141835U (en) 1980-10-09
JPS6025622Y2 true JPS6025622Y2 (en) 1985-08-01

Family

ID=28912845

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4172179U Expired JPS6025622Y2 (en) 1979-03-30 1979-03-30 Decimal-n-ary data mutual conversion device

Country Status (1)

Country Link
JP (1) JPS6025622Y2 (en)

Also Published As

Publication number Publication date
JPS55141835U (en) 1980-10-09

Similar Documents

Publication Publication Date Title
GB2024473A (en) Key input control apparatus
JPS6025622Y2 (en) Decimal-n-ary data mutual conversion device
CA2196881A1 (en) A human/machine interface for computing devices
JPS6220026Y2 (en)
JPS594056B2 (en) Key input control method
JPS6037636Y2 (en) Decimal point moving device
JPS6019537B2 (en) Key input method
SU1541600A1 (en) Device for conversion of coordinates
JPS6336462Y2 (en)
JPS5927941B2 (en) electronic desk calculator
SU620975A1 (en) Reversible binary-to-binary-decimal code converter
JPS5922590Y2 (en) portable calculator
JPS6339783Y2 (en)
JPS62203070U (en)
SU1497614A1 (en) Device for dividing binary numbers
SU758188A1 (en) Reversible coordinate converter
JPS5928851Y2 (en) printer control device
JP2731025B2 (en) Display control device
SU842798A1 (en) Adding and subtracting device
JPS6335158U (en)
JPS5940665Y2 (en) Power calculation control device
JPH0682352B2 (en) Small electronic calculator
JPS6133713B2 (en)
JPS60122461A (en) Electronic device
JPS60122457A (en) Electronic device having arithmetic function