JPS639254A - Code converting device - Google Patents

Code converting device

Info

Publication number
JPS639254A
JPS639254A JP61151789A JP15178986A JPS639254A JP S639254 A JPS639254 A JP S639254A JP 61151789 A JP61151789 A JP 61151789A JP 15178986 A JP15178986 A JP 15178986A JP S639254 A JPS639254 A JP S639254A
Authority
JP
Japan
Prior art keywords
code
information
register
code system
bin
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP61151789A
Other languages
Japanese (ja)
Other versions
JPH0439254B2 (en
Inventor
Yoshimi Takeo
竹尾 佳巳
Akinori Imai
今井 彬伯
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.)
Anritsu Corp
Original Assignee
Anritsu Corp
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 Anritsu Corp filed Critical Anritsu Corp
Priority to JP61151789A priority Critical patent/JPS639254A/en
Publication of JPS639254A publication Critical patent/JPS639254A/en
Publication of JPH0439254B2 publication Critical patent/JPH0439254B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Abstract

PURPOSE:To quickly convert a signal into various code systems by providing plural code system registers, the prescribed number of code conversion groups converting the code systems in two-way and a control circuit controlling the conversion timing. CONSTITUTION:In converting a BIN code system into an ASCII code system, when the information of the BIN code system is inputted from an information input line L1, it is fetched in a BIN register 81 at first and stored tentatively. Then the stored information is converted into the BCD code system by a BIN- BCD converter 91a and fetched in a BCD register 82. The fetched information is converted into the ABCII code system by a BCDASCII code converter 92 and fetched in an ASCII register 83. The information converted into the ASCII code system is extracted from the register 83. The similar operation is executed according to the conversion timing of the control circuit 10 to apply the various code system conversion.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は つのコード体系における情報を他の一つの
コード体系における情報に変換するコード変換装置に関
する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] This invention relates to a code conversion device that converts information in one code system to information in another code system.

[従来の技術] 一般に文字9図形、記号等の情報をコード化する場合、
標準的なコード体系である例えばBINコード体系、A
SCIIコード体系。
[Prior Art] Generally, when encoding information such as characters, figures, symbols, etc.
Standard code systems such as BIN code system, A
SCII code system.

BCDコード体系等に従ってコード化される。Coded according to the BCD code system, etc.

そしてコード体系の異る装置間で情報の伝達を行う場合
、ある一つのコード体系における情報のビット構成を別
のコード体系における文字のビット構成にコード変換し
て初めて各装置間での情報の伝達が可能となる。
When transmitting information between devices with different coding systems, the information bit structure in one coding system must be converted into the character bit structure in another coding system before the information can be transferred between each device. becomes possible.

第4図はコード変換が必要とされる各装置間の接続構成
を示す図で9図において、1は送信側の端末、21.2
2は二つの装置間で情報の送受を行う時にタイミングや
電気信号あるいはコードの違い等の調整を行うI10イ
ンターフェイス、3は例えば8セグメントのLEDで構
成される表示装置、4は受信側の端末、5は送信側の端
末1とI10インターフェイス21.22の間に介在さ
れているバス、51はI10インターフェイス21と表
示装置3との間に介在されているバス、52はI10イ
ンターフェイス22と受信側の端末4との間に介在され
ている通信回線である。
Figure 4 is a diagram showing the connection configuration between each device that requires code conversion. In Figure 9, 1 is the transmitting terminal, 21.2
2 is an I10 interface that adjusts differences in timing, electrical signals, codes, etc. when transmitting and receiving information between two devices; 3 is a display device composed of, for example, an 8-segment LED; 4 is a terminal on the receiving side; 5 is a bus interposed between the terminal 1 on the sending side and the I10 interface 21.22, 51 is a bus interposed between the I10 interface 21 and the display device 3, and 52 is a bus interposed between the I10 interface 22 and the receiving side. This is a communication line interposed between the terminal 4 and the terminal 4.

このように構成されている−っの情報通信システムにお
いて送信側の端末1からバス5、I10インターフェイ
ス21、バス51を介して表示装置3に情報を伝達し、
表示装置3に文字、数字、記号等を表示する場合、I1
0インターフェイス21は送信側の端末5から送信され
て来た2進管号(BINコード体系)をBCDコード体
系にコード変換して表示装置3に伝達する。
In the information communication system configured in this way, information is transmitted from the transmitting terminal 1 to the display device 3 via the bus 5, I10 interface 21, and bus 51,
When displaying characters, numbers, symbols, etc. on the display device 3, I1
The 0 interface 21 converts the binary code (BIN code system) transmitted from the transmitting terminal 5 into a BCD code system and transmits it to the display device 3.

また送信・側の端末1からバス5、インターフェイス2
2、通信回線52を介して受信側の端末4に情報を伝達
する場合、I10インターフェイス22は送信側の端末
1がら送られて来た2進管号(BINUコード体−v−
>をASCHコード体系にコード変換して受信側の端末
4に伝達する。
Also, from terminal 1 on the sending side to bus 5, interface 2
2. When transmitting information to the receiving terminal 4 via the communication line 52, the I10 interface 22 receives the binary code (BINU code -v-) sent from the transmitting terminal 1.
> into the ASCH code system and transmits it to the receiving terminal 4.

しかして従来のこのようなコード変換においてはコード
変換用のICチップを用いてハード的にコード変換をし
たり、あるいは制御部、演算部。
However, in such conventional code conversion, code conversion is performed by hardware using an IC chip for code conversion, or by a control unit or a calculation unit.

レジスタ部、メモリ部等の各構成要素を一体化したマイ
クロプロセッサ等を用いて、プログラムを組み、ソフト
的にコード変換をネ]なっていた。
Programs were created using a microprocessor that integrated each component such as a register section and a memory section, and code conversion was performed using software.

第5図(A)、(B)はこのようなコード変換装置の様
子を示すもので、第5図(A)はBINコード体系をB
CDコード体系に変換するデコーダ6の一例を示し、第
5図(B)はCPU’7の中にコード変換プログラム7
1を格納し、cpu’rに入力される4ビツトのBIN
コードを8ピッI−ノA S CIIコード体系に変換
するマイクロプロセッサの一例を示している。
Figures 5 (A) and (B) show the state of such a code conversion device, and Figure 5 (A) shows the BIN code system.
An example of the decoder 6 that converts to the CD code system is shown in FIG.
4-bit BIN that stores 1 and inputs to cpu'r
1 shows an example of a microprocessor that converts codes to the 8-bit I-A SCII coding scheme.

[発明が解決しようとする問題点] 従来のコード変換装置は」1記のように構成されている
ので、ハード的に行う場合には変換の速度が速いが、常
に一つのコード体系から他の一つのコード体系にしか変
換するこができず、コード変換の汎用性を保つことがで
きない□という問題点があった。
[Problems to be Solved by the Invention] Conventional code conversion devices are configured as described in section 1, so when conversion is performed using hardware, the conversion speed is fast, but it is always possible to convert from one code system to another. There was a problem that the code conversion could only be converted into one code system, and the versatility of the code conversion could not be maintained.

またソフト的に行う場合にはコード変換プログラムを数
種類用意することにより、−っのコード体系からあらゆ
る他の一つのコード体系にコード変換することができる
が、変換の速度が遅くなる問題点があった。
In addition, when doing this using software, it is possible to convert codes from one code system to any other code system by preparing several types of code conversion programs, but this has the problem of slowing down the conversion speed. Ta.

この発明は上記のような問題点を解消するためになさだ
もので、1つのコード体系からいくつかの他の一つのコ
ード体系にコード変換することができるコード変換装置
を得ることを目的としている。
This invention was made to solve the above-mentioned problems, and its purpose is to obtain a code conversion device that can convert codes from one code system to several other code systems. .

[問題点を解決するための手段] このためこの発明に係るコード変換装置は、コード体系
の異る情報を入力した時コード体系の違いによって弁別
される情報をコード体系毎に格納する複数個のレジスタ
と、該複数個のうち−っのレジスタに格納されている一
つのコード体系の情報を他の1つのコード体系の情報に
変換して他の一つのレジスタに格納するコード変換器、
及び上記他の一つのレジスタに格納されている他の一つ
のコード体系の情報をモ記一つのコード体系の情報を−
J二記一つのコード体系の情報に変換して上記一つのレ
ジスタに格納する他のコード変換器の二個一対で構成さ
れる上記一つのレジスタと上記他の一つのレジスタとの
間に介在された上記レジスタの個数より一つ少ない数の
レジスタで構成されるコード変換器群と、上記複数個の
レジスタに格納される情報の入出力を制御するとともに
上記コード変換器の変換のタイミングを制御して任意の
一つのコード体系の情報を他の一つのコード体系の情報
に変換して上記レジスタから取り出す制御回路を備えた
ことを特徴としている。
[Means for Solving the Problems] For this reason, the code conversion device according to the present invention has a plurality of code converters that store information that is discriminated depending on the difference in code system when information in different code systems is input. a register, and a code converter that converts information of one code system stored in one of the plurality of registers into information of another code system and stores it in another register;
and the information of the other one code system stored in the other one register above.The information of the one code system -
J.2 Interposed between the above one register and the above other one register, which is composed of a pair of other code converters that convert information of one code system and store it in the above one register. a code converter group consisting of one register less than the number of registers mentioned above, and controls the input/output of information stored in the plurality of registers, and also controls the timing of conversion of the code converter. The present invention is characterized in that it includes a control circuit that converts information of one arbitrary code system into information of another code system and retrieves the information from the register.

[作用] この発明に係るレジスタは、コード体系の異る情報を入
力した時コード体系の違いによって弁別される情報をコ
ード体系毎に格納する。
[Operation] The register according to the present invention stores information discriminated by the difference in code system for each code system when information of different code systems is input.

またコード変換群は、一つのレジスタに格納されている
一つのコード体系の情報を変換して他の一つのレジスタ
に格納するコード変換器、及び上記他の一つのレジスタ
に格納されている他の−っのコード体系の情報を上記−
っのコード体系の情報を上記一つのコード体系の情報に
変換して上記一つのレジスタに格納する。
The code conversion group includes a code converter that converts information of one code system stored in one register and stores it in another register, and a code converter that converts information of one code system stored in one register, and a code converter that converts information of one code system stored in one register, and −The information on the coding system is shown above−
The information of the above code system is converted into the information of the above one code system and stored in the above one register.

ここにおいて制御回路は、上記複数個のレジスタに格納
される情報の入出力を制御するとともに上記コード変換
器の変換のタイミングを制御して任意の一つのコード体
系の情報を他の一つのコード体系の情報に変換して上記
レジスタから取り出すように作用する。
Here, the control circuit controls the input/output of information stored in the plurality of registers, and also controls the conversion timing of the code converter to convert information of one arbitrary code system into another code system. It acts to convert the information into information and retrieve it from the register.

[実施例] 以丁、図面に基いて本発明の一実施例を説明する。第1
図は本発明の一実施例を示す構成図で、図において、8
1は情報入力線L1かう入力されるBINコード体系の
信号を取り込み、あるいは他のコード体系の情報がBI
Nコード体系に変換された場合の信号を格納するための
BINレジスタ、82は情報入力線L1から入力される
BCDコード体系の信号を取り込み、あるいは他のコー
ド体系からBCDコード体系に変換された情報を取り込
むためのBCDレジスタ、83は情報入力線L1から入
力されるA S CIIココ一体系の情報を取り込み、
あるいは他のコード体系からA S CIIココ一体系
に変換された情報を取り込むだめのA S CIIレジ
スタ、91はBINコード体系の信号をBCDコード体
系の信号に変換し、あるいはBCDコード体系の信号を
BINコード体系の信号に変換する第1コード変換群、
92はBCI)コード体系の情報をA S CIIココ
一体系の情報に変換し、あるいはA S CIIココ一
体系の情報をBCDコード体系の情報に変換する第2コ
ード変換群、10はBINレジスタ81.BCDレジス
タ82 +、 A S CIIレジスタ83.第1コー
ド変換群91.第2コード変換群92の格納動作や変換
動作を制御するためのタイミング信号や制御信号を出力
して情報入力線L1から入力された一つのコード体系の
情報を他の−・つのコード体系の情報に変換して各レジ
スタ81,82.83からその変換されたコード体系の
情報を取り出す制御回路である。
[Embodiment] An embodiment of the present invention will now be described based on the drawings. 1st
The figure is a configuration diagram showing one embodiment of the present invention, and in the figure, 8
1 takes in the input BIN code system signal from the information input line L1, or inputs information from another code system to the BIN code system.
A BIN register 82 is for storing a signal converted to the N code system, and a BIN register 82 takes in a BCD code system signal input from the information input line L1, or stores information converted from another code system to the BCD code system. A BCD register 83 for importing the ASCII coco-integrated system information input from the information input line L1,
Alternatively, the AS CII register 91 is used to take in information converted from other code systems to the A S CII coco system, and converts signals in the BIN code system to signals in the BCD code system, or converts signals in the BCD code system to signals in the BCD code system. a first code conversion group for converting into a signal of the BIN code system;
92 is a second code conversion group that converts information in the BCI) code system to information in the ASCII here-one system, or converts information in the ASCII here-in-one system to information in the BCD code system; 10 is a BIN register 81; .. BCD register 82+, AS CII register 83. First code conversion group 91. By outputting timing signals and control signals for controlling the storage operation and conversion operation of the second code conversion group 92, information of one code system inputted from the information input line L1 is transferred to information of another code system. This is a control circuit that converts the information into the code system and extracts information of the converted code system from each register 81, 82, and 83.

ここにおいて第1変換群91は、BINコード体系の情
報をBCDコード体系の情報に変換するBIN−BCD
コード変換器91aと、BCDコード体系の情報にコー
ド変換するBCD−BINコード変換器91bとから構
成されている。
Here, the first conversion group 91 is a BIN-BCD converter that converts information in the BIN code system to information in the BCD code system.
It is comprised of a code converter 91a and a BCD-BIN code converter 91b that converts the code into information in the BCD code system.

また第2コード変換群92は、BCDコード体系の情報
をA S CIIココ一体系の情報にコード変換するB
 CD −A S CII コード変換器92aと。
Further, the second code conversion group 92 code converts information in the BCD code system into information in the ASCII coco system.
CD-A SCII code converter 92a.

A S CIIココ一体系の情報をBCD体系の情報に
コード変換するA S CII −B CDコード変換
器92bとから構成されている。
It is composed of an ASCII-B CD code converter 92b that converts the code of ASCII Coco-integrated system information into BCD system information.

次に動作について説明する。Next, the operation will be explained.

今、情報入力線L1からBINコード体系の情報を入力
し、A S CIIココ一体系の情報を取り出す場合を
例にとって考える。
Now, let us consider as an example the case where information of the BIN code system is inputted from the information input line L1 and information of the ASCII coco system is retrieved.

この場合、情報入力線L1からBINコード体系の情報
が入力されると、ASCIIコード体系の情報は、まず
BINレジスタ81に取り込まれこのBINレジスタ8
1において一時格納される。
In this case, when information in the BIN code system is input from the information input line L1, the information in the ASCII code system is first taken into the BIN register 81 and then
It is temporarily stored at 1.

次にこのB、INレジスタ81に格納された情報は、B
IN−BCD変換器91.aによッ、テBINコード体
系からBCDコード体系に変換され、BCDレジスタ8
2に取り込まれる。   、BCDレジスタ82に取り
込まれたBC;D−!−ド体系の情報は、ざらにB C
D−A S CIIコード変換群92aによりA S 
CIIココ一体系に変換され、A S CIIレジスタ
83に取り込まれる。
Next, the information stored in this B, IN register 81 is
IN-BCD converter 91. According to a, the BIN code system is converted to the BCD code system, and the BCD register 8
Incorporated into 2. , BC taken into the BCD register 82 ;D-! - Information on the code system is roughly B C
A S by the D-A S CII code conversion group 92a
The data is converted into a CII system and taken into the ASCII register 83.

そこでA S C11コ一ト体系に変換された情報はA
 S CIIレジスタ83から取り出される。
Therefore, the information converted to the A S C11 code system is A
It is retrieved from the SCII register 83.

同様に情報入力線LlからBCD体系の情報を入力し、
A SC11コ一ド体系の信号を取り出す場合には、B
CDレジスタ82、B CD −A S CHコード変
換器92a、ASCIIレジスタ83を介して、A S
 CIIココ一体系の情報に変換、し、AS C,II
レジスタ83から外部に取り出す。
Similarly, input BCD system information from the information input line Ll,
A When extracting the signal of SC11 code system, B
Through the CD register 82, the B CD-A S CH code converter 92a, and the ASCII register
Convert to CII coco-integrated information, ASC, II
It is taken out from the register 83.

同様に情報入力!1aLlからA S、 CIIコード
体系の情報を入力し、BIN体系の情報に変換して外部
に取り出す場合には、まず情報入力線LLからA S 
CIIレジスタ83 、 A S CII −B CD
ニード変換器92b、BCDレジスタ82、BCD−B
INコード変換器91b、BINレジスタ81をそれぞ
れ介すると、外部にBINコード体系の信号が取り出さ
れることになる。
Enter information in the same way! When inputting information in the A S and CII code system from 1aLl and converting it to information in the BIN system and taking it out, first input the information from the information input line LL to A S.
CII register 83, AS CII-B CD
Need converter 92b, BCD register 82, BCD-B
A signal of the BIN code system is extracted to the outside through the IN code converter 91b and the BIN register 81, respectively.

次に第2図に基いて上記各レジスタ、各コード変換器お
よび制御回路の詳細な構成を説明する。
Next, the detailed configuration of each register, each code converter, and the control circuit will be explained based on FIG. 2.

第2図は各レジスタ、各コード変換器および制御回路の
一実施例を示す図で、図に示すようにBINレジスタ8
1は、情報入力線Llから入力されたBINコード体系
の情報を格納するチャンネルAと、BCD−B I N
コード変換器91bによりBINコード体系に変換され
た情報を取り込んで格納するチャンネルBから成り立っ
ている。
FIG. 2 is a diagram showing an embodiment of each register, each code converter, and a control circuit, and as shown in the figure, the BIN register 8
1 is a channel A that stores information in the BIN code system input from the information input line Ll, and a BCD-BIN
It consists of a channel B that captures and stores information converted into the BIN code system by the code converter 91b.

またBCDレジスタ82は、BINコード体系に変換さ
れたデータを取り込むチャンネルAと、情報入力L1か
ら入力yれるBCDコード体系の信号を取り込むチャン
ネルBと、ASCII−BCDコード変換器92bによ
ってBCDコード体系に変換された情報を取り込むため
のチャンネルCと、チャンネルA、B、Cの各3つのレ
ジスタに格納されたデータを回転させるためのチャンネ
ルDとから成り立っている。
The BCD register 82 also has a channel A that takes in data converted to the BIN code system, a channel B that takes in the BCD code system signal inputted from the information input L1, and an ASCII-BCD code converter 92b that converts the data into the BCD code system. It consists of a channel C for taking in converted information and a channel D for rotating data stored in each of the three registers of channels A, B, and C.

マタA S CII レジスタ83 ハB CD −A
 S CIIコード変換器92aによってA S CI
Iココ一体系に変換されたデータを順次取り込んでいく
ためのチャンネルAと、情報入力線Llがら入力された
A S CIIココ一体系の情報を入力するためのチャ
ンネルBと、チャンネルA及びチャンネルBに格納され
たデータを右方向に回転し、−桁ごとにA S CII
 −B CDコード変換器92bを介してBCDレジス
タ82にデータを転送するチャンネルCとから構成され
ている。
Mata A S CII Register 83 HaB CD -A
A SCI code converter 92a
Channel A for sequentially importing data converted to I-coco-one system, channel B for inputting information of A S CII-coco-one system inputted from information input line Ll, and channel A and channel B. The data stored in is rotated to the right, and each -digit is
-B channel C which transfers data to the BCD register 82 via the CD code converter 92b.

このようにレジスタを回転するチャンネルを備えると、
ビット数の異なるコード情報をコード変換することが可
能となる。
With a channel that rotates the register like this,
It becomes possible to convert code information with different numbers of bits.

なお、この実施例ではBINコード体系の信号は14ビ
ツト、BCDコード体系の信号はそれぞれの桁の位が4
ビツト、A S CIIココ一体系の信号は8ビツトと
した例を示している。
In this embodiment, the BIN code system signal has 14 bits, and the BCD code system signal has 4 digits.
An example is shown in which the signal of the ASCII system is 8 bits.

また制御回路10に入出力される信号は第2図(B)で
示され、第2図(B)に示すように制御回路10には、
外部データをBINレジスタ81、BCDレジスタ82
、A S CIIレジスタ83のいずれに入力するかあ
るいは出力するかの弁別をするアドレス信号と、この弁
別したレジスタに外部からの外部データを取り込むのか
出力するのかの判定を行うR/W信号と、データの取り
込みと出力を制御するDS信号とが入力され、BINレ
ジスタ81.BCDレジスタ82、A S CIIレジ
スタ83の各レジスタにデータを取り込みむためのT、
 B I N信号、LBCD信号LASC信号のタイミ
ング信号と、BINレジスタ82、A S CIIレジ
スタ83の各レジスタの入出力を選択するGBIN信号
、GBCD信号。
Further, signals input and output to the control circuit 10 are shown in FIG. 2(B), and as shown in FIG. 2(B), the control circuit 10 includes
External data to BIN register 81 and BCD register 82
, an address signal that determines which of the ASCII registers 83 is to be input or output, and an R/W signal that determines whether external data from the outside is to be taken in or output to the discriminated register. A DS signal that controls data capture and output is input to the BIN register 81. T for loading data into each register of BCD register 82 and ASCII register 83;
BIN signal, LBCD signal, timing signal of LASC signal, and GBIN signal and GBCD signal for selecting input/output of each register of BIN register 82 and ASCII register 83.

GASC信号とが出力されている。GASC signal is output.

この制御回路10’、BINレジスタ81、BCDレジ
スタ82、A S CIIレジスタ83の各レジスタと
の間で行なわれる信号のタイミングチャートは第3図に
示される。
A timing chart of signals transmitted between the control circuit 10', the BIN register 81, the BCD register 82, and the ASCII register 83 is shown in FIG.

例えばBINコード体系から他のBCDコード体系ある
いはA S CIIココ一体系に変換される時のタイミ
ングチャートを第3図(A)を基に説明すると、制御回
路lOから出力されるGBIN信号によりBINレジス
タ81はレジスタAを選択していて、ここで制御回路1
0からLBIN信号か出力されると、このLBIN信号
の立下りエツジにより、情報入力線L1から入力される
BIN信号としての外部データは、BINレジスタ81
のレジスタAに取り込まれる。
For example, the timing chart when the BIN code system is converted to another BCD code system or the ASCII coco system is explained based on FIG. 3 (A). 81 selects register A, and here control circuit 1
When the LBIN signal is output from 0, the falling edge of this LBIN signal causes external data as a BIN signal input from the information input line L1 to be transferred to the BIN register 81.
is taken into register A of.

この取り込まれた外部データは制御回路10かも出力さ
れるGBCD信号により選択XれたBCDレジスタ82
のレジスタAに、制御回路10から出力されるLBCD
信号の第1番目パルスに基づいてBIN−BCDコード
変換器92aから出力されるBCD変換された外部デー
タが取り込まれる。
This fetched external data is transferred to the selected BCD register 82 by the GBCD signal output from the control circuit 10.
LBCD output from the control circuit 10 to register A of
Based on the first pulse of the signal, BCD-converted external data output from the BIN-BCD code converter 92a is taken in.

その後BCDレジスタ82を回転するとしながら、1桁
づつBCDコード体系の外部データをA S CIIレ
ジスタ83に転送する。
Thereafter, while rotating the BCD register 82, external data in the BCD code system is transferred digit by digit to the ASCII register 83.

同様にBCDコード体系から他のBINコード体系やA
 S CIIココ一体系に変換する場合であっても、ま
たA S CIIココ一体系から他のBINコード体系
やBCDコード体系に変換する場合であっても第3図(
B)、(C)に示すタイミングチャートに従って変換さ
れる。
Similarly, from BCD code system to other BIN code system and A
Figure 3 (
The conversion is performed according to the timing charts shown in B) and (C).

[発明の効果] 以上説明したようにこの発明は、コード体系の異る情報
を入力した時コード体系の違いによって弁別される情報
をコード体系毎1こ格納する複数個のレジスタと、一つ
のレジスタに格納されている一つのコード体系の情報を
変換して他の一つのレジスタに格納するコード変換器及
び上記他の一つのレジスタに格納されている他の−っの
コード体系の情報を上記一つのコード体系の情報を上記
一つのコード体系の情報に変換して上記一つのレジスタ
に格納するコード変換器の二個一対で構成される」−記
一つのレジスタと上記他の−・つのレジスタとの間に介
在された複数のコード変換群と、上記複数個のレジスタ
に格納される情報の入出力を制御するとともに上記コー
ド変換器の変換のタイミングを制御して任意の一つのコ
ード体系の情報を他の一つのコード体系の情報に変換し
て」1記レジスタから取り出す制御回路とを備えたので
、構成が簡単であり変換の速度が速く、しかも1つのコ
ード体系の信号を他の色々なコード体系の信号に変換す
ることができるとともに変換の双方向性を得ることがで
きる。
[Effects of the Invention] As explained above, the present invention has a plurality of registers that store information that is discriminated depending on the difference in the code system when information in different code systems is input, and a single register. A code converter converts information of one code system stored in the register and stores it in another register, and a code converter converts information of the other code system stored in the other one register. It consists of a pair of code converters that convert information of one code system into information of the one code system and store it in the one register. A plurality of code conversion groups interposed between them and the input/output of information stored in the plurality of registers are controlled, and the timing of conversion of the code converter is controlled to convert information of any one code system. Since it is equipped with a control circuit that converts the information into the information of one other code system and retrieves it from the register No. 1, the configuration is simple and the conversion speed is fast. It is possible to convert into a signal of a coding system and to obtain bidirectionality of the conversion.

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

第1図はこの発明の一実施例を示す構成図、第2図(A
)は各レジスタの詳細な構成図、第2図(B)は制御回
路の入出力の信号の説明図、第3図(A)、(B)、(
C)は一つの体系から他のコード体系に変換する時の各
信号のタイミングを示すタイミングチャート、第4図は
コード変換を必要とする各装置の接続構成図、第5図(
A)、(B)は従来のコード変換の方法を示すだめの図
である。81・・・・BINレジスタ、82・・・・B
CDレジスタ、83・・・・A S CIIレジスタ、
91・・・・第1コード変換群、92・・・・第2コ一
ド変換群、91a・・・・B I N−BCDコード変
換器、91b・・・・BCD−BINコード変換器、9
2a−・−BCD−ASCII:l−ド変換器、92b
・・・・A S CII −B CDコード変換器。 特許出願人    アンリツ株式会社 第2図(A) 第3図(A) 第3図(B) Lハ5〈コr丁
FIG. 1 is a configuration diagram showing one embodiment of the present invention, and FIG. 2 (A
) is a detailed configuration diagram of each register, Figure 2 (B) is an explanatory diagram of input and output signals of the control circuit, and Figures 3 (A), (B), (
C) is a timing chart showing the timing of each signal when converting from one code system to another, Figure 4 is a connection configuration diagram of each device that requires code conversion, and Figure 5 (
A) and (B) are schematic diagrams showing a conventional code conversion method. 81...BIN register, 82...B
CD register, 83...AS CII register,
91...First code conversion group, 92...Second code conversion group, 91a...BIN-BCD code converter, 91b...BCD-BIN code converter, 9
2a--BCD-ASCII: L-code converter, 92b
...AS CII-B CD code converter. Patent applicant: Anritsu Corporation Figure 2 (A) Figure 3 (A) Figure 3 (B)

Claims (1)

【特許請求の範囲】[Claims] コード体系の異る情報を入力した時コード体系の違いに
よって弁別される情報をコード体系毎に格納する複数個
のレジスタと、該複数個のうちの一つのレジスタに格納
されている一つのコード体系の情報を他の一つのコード
体系の情報に変換して他の一つのレジスタに格納するコ
ード変換器及び上記他の一つのレジスタに格納されてい
る他の一つのコード体系の情報を上記一つのコード体系
の情報に変換して上記一つのレジスタに格納する他のコ
ード変換器の二個一対で構成された上記複数個のレジス
タの個数より一つ少ない数の対のコード変換器群と、上
記複数個のレジスタに格納される情報の入出力を制御す
るとともに上記コード変換器の変換のタイミングを制御
して任意の一つのコード体系の情報を他の一つのコード
体系の情報に変換して上記レジスタから取り出す制御回
路とからなるコード変換装置。
A plurality of registers that store information for each code system that is discriminated based on the difference in code system when information of different code systems is input, and one code system stored in one register among the plurality of registers. A code converter converts the information of the other code system into information of another code system and stores it in another register, and converts the information of the other code system stored in the other register into a code converter group consisting of pairs of code converters, the number of which is one less than the number of the plurality of registers, of another code converter that converts into code system information and stores it in the one register; Controls the input/output of information stored in the plurality of registers, and also controls the conversion timing of the code converter to convert information of any one code system to information of another code system. A code conversion device comprising a control circuit that reads data from the register.
JP61151789A 1986-06-30 1986-06-30 Code converting device Granted JPS639254A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61151789A JPS639254A (en) 1986-06-30 1986-06-30 Code converting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61151789A JPS639254A (en) 1986-06-30 1986-06-30 Code converting device

Publications (2)

Publication Number Publication Date
JPS639254A true JPS639254A (en) 1988-01-14
JPH0439254B2 JPH0439254B2 (en) 1992-06-29

Family

ID=15526329

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61151789A Granted JPS639254A (en) 1986-06-30 1986-06-30 Code converting device

Country Status (1)

Country Link
JP (1) JPS639254A (en)

Also Published As

Publication number Publication date
JPH0439254B2 (en) 1992-06-29

Similar Documents

Publication Publication Date Title
JPS6414631A (en) Analog bus connecting system
JPS639254A (en) Code converting device
JPS58107743A (en) Data transfer system
JPH02218243A (en) Digital data transfer system
JPS6261961B2 (en)
JPS6366086B2 (en)
JP2888004B2 (en) Transmission line interface circuit
JPH02119463A (en) Data transfer controller
JPS6115640Y2 (en)
JPS58182349A (en) Automatic setting device of transmission and reception speed of communication controller
JPH01271793A (en) External character registration control method for decentralized processing system
JPH07245566A (en) Transferring system converter for digital signal
JPH0827643B2 (en) A / D converter with digital input
JPS62194765A (en) Data transmission system
KR19990004473A (en) Serial digital combiner for CDM mobile communication system
JPH0126208B2 (en)
JPS61148562A (en) Data transfer system of information processor
JPS60247764A (en) Memory address control system
JPH02156381A (en) Image data transfer system
JPS6352236A (en) Data conversion processing system
JPS59167743A (en) Key input device
JPH03158041A (en) Data multiplex transfer system
JPH0156582B2 (en)
JPH0580054U (en) Data transmission equipment
JPH03284037A (en) Signal processing unit