JPH0215333A - Data processor - Google Patents

Data processor

Info

Publication number
JPH0215333A
JPH0215333A JP16611988A JP16611988A JPH0215333A JP H0215333 A JPH0215333 A JP H0215333A JP 16611988 A JP16611988 A JP 16611988A JP 16611988 A JP16611988 A JP 16611988A JP H0215333 A JPH0215333 A JP H0215333A
Authority
JP
Japan
Prior art keywords
tag
data
value
arithmetic
type
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.)
Pending
Application number
JP16611988A
Other languages
Japanese (ja)
Inventor
Yutaka Aoki
豊 青木
Masato Honma
本間 真人
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP16611988A priority Critical patent/JPH0215333A/en
Publication of JPH0215333A publication Critical patent/JPH0215333A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To efficiently process data with a tag by adding a tag generator for generating a previously determined tag based on the sort of operation. CONSTITUTION:Information indicating the sort of operation outputted from a controller 14 is inputted also to the tag generator 13 through an input terminal 15 in addition to an arithmetic unit 12. An operation decoding device 20 decodes inputted information and outputs the decoded information to a tag memory device 21 as a memory address storing a necessary tag. The device 21 storing a tag table generates the contents of the memory address applied from the device 20 as the tag of an operated result and transfers the tag to a proper tag register device 10 through an output terminal 16.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は主に人工知能分野へ使用することを目的とした
データ処理装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a data processing device mainly intended for use in the field of artificial intelligence.

従来の技術 近年、コンピュータ応用の一つとして人工知能分野が盛
んに研究されている。この分野(でおいてはLISP言
語が広く使用されているが、LISPは汎用のコンピュ
ータで実行するのは非効率であるため、様々な工夫を施
した専用マシン力く開発されてきた(例えば1−LIS
Pマシン」情報処理Vo1.23.]KrB 、 pl
) 、 752−772 )。特に、データのタイプを
示すタグはLISPの実現に不可欠のものであり、ハー
ドウェアによるザボートも一般的である(例えば、「プ
ロセサLSIを核に開発機から実行機へ展開するAI専
用マシン」日経エレクトロニクスIEc412 、pp
、91 106)。
BACKGROUND OF THE INVENTION In recent years, the field of artificial intelligence has been actively researched as one of computer applications. The LISP language is widely used in this field (for example, 1 -LIS
"P Machine" Information Processing Vol. 1.23. ]KrB, pl
), 752-772). In particular, tags that indicate the type of data are essential for the realization of LISP, and hardware-based sabots are also common (for example, "AI dedicated machine that deploys from a development machine to an execution machine with a processor LSI at its core" Nikkei) Electronics IEc412, pp
, 91 106).

以下図面を参照しながら、上述のタグをザボートシた従
来のデータ処理装置の一例について説明する。
An example of a conventional data processing device incorporating the above-mentioned tag will be described below with reference to the drawings.

第3図は従来のデータ処理装置の−(−8j IJi例
を示すブロック図である。第3図においで、3o及び3
1はそれぞれ1つのデータについてそのタグと)< I
Jユニー格納するタグレジスタRf&ドパリューレジス
タ装置、32はバリューの演算を実行する演算装置、3
3i全体の制御を行なう制御装置である。各データはタ
グとバリューから構成されており、バリューに対する演
算を制御装置33が指示すると、適当なバリューレジス
タ装置31が選択され、演算装置32が指示された演算
を実行する。そして、演算結果のタグは選択されたバリ
ューレジスタ装置31に対応するタグレジスタ装置3o
の内容と演算結果のバリューにしたがって、制御装置3
3が決定する。
FIG. 3 is a block diagram showing an example of -(-8j IJi) of a conventional data processing device.
1 is for each piece of data with its tag) < I
3 is a tag register Rf & deparue register device for storing J-Unit; 32 is an arithmetic device for executing value calculations;
This is a control device that controls the entire 3i. Each data is composed of a tag and a value, and when the control device 33 instructs an operation on the value, an appropriate value register device 31 is selected, and the arithmetic device 32 executes the instructed operation. Then, the tag of the calculation result is the tag register device 3o corresponding to the selected value register device 31.
According to the content of and the value of the calculation result, the control device 3
3 is decided.

発明が1屑決しようとする課題 しかしながら、演算結果のデータタイプがあらかじめわ
かっている場合でも、演算結果のタグ決定をあらためて
行なわなければならないという欠点があり、上述したよ
うな構成を持った従来のデータ処理装置は非効率的であ
るという問題点を有していた。
However, even if the data type of the calculation result is known in advance, the tag for the calculation result must be determined again. Data processing devices have had the problem of being inefficient.

本発明は上記問題点に鑑みてなされたもので、簡単な構
成で効率良くタグを発生することのてきるデータ処理装
置を提供するものである。
The present invention has been made in view of the above problems, and it is an object of the present invention to provide a data processing device that can efficiently generate tags with a simple configuration.

課題を解決するための手段 上記問題点を解決するために本発明のデータ処理装置は
、タグの発生を行うタグ発生装置を備え、バリューに対
して実行される演算の種類にしたがって、本タグ発生装
置があらかじめ定められたタグを発生するようにしたも
のである。
Means for Solving the Problems In order to solve the above problems, the data processing device of the present invention includes a tag generation device that generates tags, and generates the tag according to the type of operation to be performed on the value. The device generates a predetermined tag.

作用 本発明は上記した構成によって、演算の種類によるタグ
発生が自動的に行なわれるため、あらためて演算結果の
タグを決定することが不要となり、効率良くタグのつい
たデータを処理することが可能と々る。
Effect of the Invention With the above-described configuration, the present invention automatically generates tags depending on the type of calculation, so there is no need to newly determine the tag of the calculation result, and it is possible to efficiently process tagged data. That's it.

実施例 以下本発明の一実施例のデータ処理装置について、図面
を参照しながら説明する。第1図は、本発明の一実施例
におけるデータ処理装置の構成全示すブロック図である
。第1図において、10はデータのタグを格納するタグ
レジスタ装置、11はデータのバリューを格納するバリ
ューレジスタ装置、12はバリューレジスタ装置11に
格納されたデータのバリューに対する演算を実行する演
算装置、13は演算装置12で行なう演算の種類に基づ
いてあらかじめ定められたタグを発生するタグ発生装置
、14は全体の制御を司る制御装置である。タグ発生装
置13は、演算の種類を入力する入力16と発生したタ
グを出力する出力16を持つ。第2図は、上記実施例に
おけるタグ発生装置13の内部構成を示すブロック図で
、2oは演算の種類をデコードする演算デコード装置、
21は発生すべきタグをテーブルとして記憶するタグメ
モリ装置である。
Embodiment Hereinafter, a data processing apparatus according to an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the entire configuration of a data processing device in an embodiment of the present invention. In FIG. 1, 10 is a tag register device that stores data tags, 11 is a value register device that stores data values, 12 is an arithmetic device that performs calculations on the data values stored in the value register device 11; Reference numeral 13 designates a tag generator that generates a predetermined tag based on the type of calculation performed by the calculation device 12, and reference numeral 14 represents a control device that controls the entire system. The tag generator 13 has an input 16 for inputting the type of operation and an output 16 for outputting the generated tag. FIG. 2 is a block diagram showing the internal configuration of the tag generating device 13 in the above embodiment, where 2o is an arithmetic decoding device that decodes the type of arithmetic operation;
21 is a tag memory device that stores tags to be generated as a table.

以上のように構成されたデータ処理装置につき、以下第
1図、第2図を用いてその動作を説明する。
The operation of the data processing apparatus configured as described above will be explained below with reference to FIGS. 1 and 2.

各データはタグレジスタ装置1o及びバリューレジスタ
装置11にわけて格納されており、データに対する演算
を実行する場合には、制御装置14が演算装置12に対
し、必要なバリューレジスタ装置11の選択と演算の種
類を指示する。演算装置12は選択したバリューレジス
タ装置11の内容に対して必要な演算を行ない、その結
果、を適当なバリューレジスタ装置11に転送する。制
御装置14が出力する演算の種類を示す情報は、演算装
置12だけでなく入力15を介してタグ発生装置13に
も入力される。演算デコード装置20は入力された情報
をデコードし、必要なタグを記憶しているメモリアドレ
スとしてタグメモリ装置21に出力する。タグメモリ袋
筒21はタグのテーブルを記憶しており、演算デコード
装置20から与えられるメモリアドレスの内容を演算結
果のタグとして発生し、出力16を介して適当なタグレ
ジスタ装置1oに転送する。たとえば、整数や浮動小数
点数の加減乗除演算に対しては、それぞれ整数、浮動小
数点数のタグ、リストの接続やリスト要素の削除などの
リスト生成演算に対してはリストのタグ、シンボルアト
ムの印字名の取り出しや文字列からの部分文字列の切り
出しなどの文字列生成演算に対しては文字列のタグを発
生するように、演算デコード装置20及びタグメモリ装
置21を構成すればよい。
Each data is stored separately in the tag register device 1o and the value register device 11, and when performing an operation on the data, the control device 14 instructs the arithmetic device 12 to select the necessary value register device 11 and perform the operation. Indicates the type of The arithmetic unit 12 performs necessary arithmetic operations on the contents of the selected value register device 11 and transfers the results to the appropriate value register device 11. Information indicating the type of calculation output by the control device 14 is input not only to the calculation device 12 but also to the tag generation device 13 via the input 15. The arithmetic decoding device 20 decodes the input information and outputs it to the tag memory device 21 as a memory address storing the necessary tag. The tag memory bag cylinder 21 stores a table of tags, generates the contents of the memory address given from the arithmetic decoding device 20 as a tag of the arithmetic result, and transfers it to an appropriate tag register device 1o via the output 16. For example, integer and floating point number tags are printed for addition, subtraction, multiplication and division operations on integers and floating point numbers, and list tags and symbol atoms are printed for list generation operations such as list connection and list element deletion. The arithmetic decoding device 20 and the tag memory device 21 may be configured to generate a character string tag for a character string generation operation such as extracting a name or cutting out a substring from a character string.

以上のように本実施例によれば、簡単な構成でデータの
演算結果に対するタグを効率的に求めることができる。
As described above, according to this embodiment, tags for data calculation results can be efficiently obtained with a simple configuration.

発明の効果 以上のように本発明は、データのタイプを示すタグとデ
ータの値を示すバリューによりデータを表」(〜、前記
タグを格納する複数のタグレジスタ装置と、nl[記バ
リューを格納する複数のバリューレジスタ装置と、前記
バリューに対する演算を行なう演算装置と、前記タグの
発生を行うタグ発生装置と、全体を制御する制御装置と
を具備し、前記演算装置で実行する演算の種類にしたが
って、前記タグ発生装置があらかじめ定めらねたタグを
発生するようにしたことにより、データのバリューに対
する演算を実行すると同時にその結果のデータのタイプ
を示すタグも求められるので、あらためて演算結果のタ
グを決定することが不要となり、効率的にタグのついた
データを処理することができるという優れた効果が得ら
れる。
Effects of the Invention As described above, the present invention provides a method for representing data using a tag indicating the type of data and a value indicating the value of the data. a plurality of value register devices, an arithmetic device that performs an operation on the value, a tag generator that generates the tag, and a control device that controls the entire device; Therefore, by having the tag generator generate a predetermined tag, a tag indicating the type of data resulting from the calculation is required at the same time as the calculation is performed on the value of the data. It is no longer necessary to determine the tagged data, and the excellent effect of efficiently processing tagged data can be obtained.

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

第1図は本発明の一実施例におけるデータ処理装置の構
成を示すブロック図、第2図は第1図におけるタグ発生
装置13の内部構成を示すブロック図、第3図は従来の
データ処理装置の一溝成例を示すブロック図である。 10・・・・タグレジスタ装置、11・・・・・バリュ
ーレジスタ装置、12・・・・・・演算装置、13・ 
・・タグ発生装置、14・・・・・・制御装置、2o・
・・・・演算デコード装置、21・・・・・タグメモリ
装置。 代理人の氏名 弁理士 粟 野 重 孝 ほか1名花 図
FIG. 1 is a block diagram showing the configuration of a data processing device in an embodiment of the present invention, FIG. 2 is a block diagram showing the internal configuration of the tag generator 13 in FIG. 1, and FIG. 3 is a conventional data processing device. FIG. 2 is a block diagram showing an example of one groove formation. 10...Tag register device, 11...Value register device, 12... Arithmetic device, 13...
...Tag generator, 14...Control device, 2o.
... Arithmetic decoding device, 21 ... Tag memory device. Name of agent: Patent attorney Shigetaka Awano and one other person

Claims (1)

【特許請求の範囲】[Claims] データのタイプを示すタグとデータの値を示すバリュー
によりデータを表現し、前記タグを格納する複数のタグ
レジスタ装置と、前記バリューを格納する複数のバリュ
ーレジスタ装置と、前記バリューに対する演算を行なう
演算装置と、前記タグの発生を行うタグ発生装置と、全
体を制御する制御装置とを具備し、前記演算装置で実行
する演算の種類にしたがって、前記タグ発生装置があら
かじめ定められたタグを発生するようにしたことを特徴
とするデータ処理装置。
A plurality of tag register devices that represent data by a tag indicating the type of data and a value indicating the value of the data, a plurality of tag register devices that store the tags, a plurality of value register devices that store the values, and an operation that performs arithmetic operations on the values. a tag generating device that generates the tag, and a control device that controls the entire device, and the tag generating device generates a predetermined tag according to the type of operation to be performed by the arithmetic device. A data processing device characterized in that:
JP16611988A 1988-07-04 1988-07-04 Data processor Pending JPH0215333A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16611988A JPH0215333A (en) 1988-07-04 1988-07-04 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16611988A JPH0215333A (en) 1988-07-04 1988-07-04 Data processor

Publications (1)

Publication Number Publication Date
JPH0215333A true JPH0215333A (en) 1990-01-19

Family

ID=15825384

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16611988A Pending JPH0215333A (en) 1988-07-04 1988-07-04 Data processor

Country Status (1)

Country Link
JP (1) JPH0215333A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140147870A (en) 2012-07-27 2014-12-30 디더블유에스 에스.알.엘. Cartridge for a stereolithographic machine, stereolithographic machine comprising said cartridge and method of manufacturing said cartridge

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140147870A (en) 2012-07-27 2014-12-30 디더블유에스 에스.알.엘. Cartridge for a stereolithographic machine, stereolithographic machine comprising said cartridge and method of manufacturing said cartridge

Similar Documents

Publication Publication Date Title
KR920001320A (en) Method and apparatus for manipulating data in internal registers in a reduced instruction set processor
RU2334268C2 (en) Commands supporting processing of encoded message
KR910010301A (en) Command designation method and execution device
KR890005608A (en) Data processing device
KR870004366A (en) Data processing systems
EP0073901A2 (en) Method for evaluating boolean expressions in a data processing system
JPH0215333A (en) Data processor
JPH034936B2 (en)
JPS583040A (en) Information processor
KR940027662A (en) How to generate outer font data
KR860003550A (en) Bit operation processing method and device
JPS63111535A (en) Data processor
Rosin Von neumann machine
KR890007164A (en) Digital data processor and method
JP3150319B2 (en) Character pattern generator
JP2845780B2 (en) Data transfer control circuit
JP3787951B2 (en) Code conversion method and code conversion apparatus using the same
JPH03235135A (en) Automatic inspection system for program
JPS59225449A (en) Sentence number converting system
Yamamoto et al. Procedure definition and higher-order programming in Hyperlogo
JPS59188900A (en) Data processor
JPH02158837A (en) Data processing device
KR970049703A (en) Increment and Decrease Devices
KR960015210A (en) Structure of Superscalar Microprocessor Integer Execution Unit
Churchhouse An introduction to computational complexity