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
JPS599939B2 - Data search - Google Patents
[go: Go Back, main page]

JPS599939B2 - Data search - Google Patents

Data search

Info

Publication number
JPS599939B2
JPS599939B2 JP15884475A JP15884475A JPS599939B2 JP S599939 B2 JPS599939 B2 JP S599939B2 JP 15884475 A JP15884475 A JP 15884475A JP 15884475 A JP15884475 A JP 15884475A JP S599939 B2 JPS599939 B2 JP S599939B2
Authority
JP
Japan
Prior art keywords
data
instruction
branch
register
circuit
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
JP15884475A
Other languages
Japanese (ja)
Other versions
JPS5279843A (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.)
NEC Corp
Original Assignee
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP15884475A priority Critical patent/JPS599939B2/en
Publication of JPS5279843A publication Critical patent/JPS5279843A/en
Publication of JPS599939B2 publication Critical patent/JPS599939B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Executing Machine-Instructions (AREA)
  • Devices For Executing Special Programs (AREA)

Description

【発明の詳細な説明】 本発明は高級言語で書かれたプログラムを効率良く実行
できるデータ処理装置に関し、特に高級 c言語で規定
されるステートメントを専用のハードウェアを用いて直
接高性能に実行するデータ処理装置に関する。
[Detailed Description of the Invention] The present invention relates to a data processing device that can efficiently execute programs written in a high-level language, and in particular, directly executes statements defined in the high-level C language with high performance using dedicated hardware. The present invention relates to a data processing device.

電子計算機を用いてデータ処理を行なう場合、最近、自
然言語に近い高級言語と言われるCOBOL、FORT
RANおよびPL/ 1等を用いて・ プログラムが作
成されているが、高級言語で書かれた原始プログラムは
、通常コンパイラと呼ばれる翻訳プログラムによつて機
械語命令で作られる目的プログラムヘ変換された後、実
行されている。
When processing data using an electronic computer, COBOL and FORT, which are said to be high-level languages close to natural languages, are recently used.
Programs are created using RAN and PL/1, etc., but the source program written in a high-level language is usually converted into a target program created using machine language instructions by a translation program called a compiler. ,It is running.

しかしながら、高級言語の命令に当るステートノ メン
トと機械語命令との間に機能的に差があるために、1つ
のステートメントは複数個の機械語命令列へ変換され、
逐次直列に処理されるので、変換後の目的プログラムは
必ずしも高い性能をもつて処理されていない。本発明の
目的は効率良(旧約プログラムを作成できるように高級
言語のステートメントの機能に近い機械語命令を備えか
つこれを実行するデータ処理装置を提供することにある
However, because there is a functional difference between statement statements, which correspond to high-level language instructions, and machine language instructions, one statement is converted into a sequence of multiple machine language instructions.
Since the conversion is performed serially, the target program after conversion is not necessarily processed with high performance. SUMMARY OF THE INVENTION An object of the present invention is to provide a data processing device that is equipped with and executes machine language instructions that are close to the functions of high-level language statements so that old programs can be created efficiently.

本発明の他の目的は高級言語のステートメントに対応す
る機械語命令を専用のハードウェアを用いて高性能に実
行できるデータ処理装置を提供することにある。
Another object of the present invention is to provide a data processing device that can execute machine language instructions corresponding to high-level language statements with high performance using dedicated hardware.

本発明の更に他の目的は高級言語のステートメントに対
応する機械語命令を備えることにより原始プログラムを
目的プログラムヘ変換するための翻訳プログラムとして
用いられるコンパイラの構成を容易にするデータ処理装
置を提供することにある。
Still another object of the present invention is to provide a data processing device that facilitates the construction of a compiler used as a translation program for converting a source program into a target program by providing machine language instructions corresponding to statements in a high-level language. There is a particular thing.

本発明のデータ処理装置は、複数個の分岐先とデータの
所在位置とを指定して前記データの整数値に対応する分
岐先へブランチする命令を備えるとともに前記命令及び
前記データを保存する主メモリと、実行される前記命令
の記憶位置を貯えるプログラムカウンタと、前記命令を
保存するためのレジスタと、前記データを保存するため
のデータレジスタと、前記データが前記分岐先の個数を
越えない正の整数であるかをしらべる判定回路と、前記
データが示す正整数に対応する分岐先の貯蔵位置を作る
番地作成回路と、前記ブランチ命令で規定される処理を
制御する制御回路とから構成されている。
The data processing device of the present invention includes an instruction for specifying a plurality of branch destinations and data locations and branches to a branch destination corresponding to an integer value of the data, and a main memory that stores the instructions and the data. a program counter for storing the memory location of the instruction to be executed; a register for storing the instruction; a data register for storing the data; and a positive counter in which the data does not exceed the number of branch destinations. It is composed of a determination circuit that checks whether the data is an integer, an address creation circuit that creates a branch destination storage location corresponding to the positive integer indicated by the data, and a control circuit that controls the processing specified by the branch instruction. .

本発明で実行されるステートメントは、上述の各種の高
級言語で備えられておりかつユーザーにより頻繁に使用
されるものであり、例えば、COBOLにおけるGOT
ODEPENDINGONlFORTRANにおけるC
O!VPUTEDGOTOおよびPL/1における飛先
変数型GOTOを対象としている。
The statements executed in the present invention are provided in the various high-level languages mentioned above and are frequently used by users, such as GOT in COBOL.
C in ODEPENDINGONlFORTRAN
O! Targets VPUTEDGOTO and destination variable type GOTO in PL/1.

例えば、次に事務用高級言語COBOLのステートメン
トの1つであるGOTOLlL2L3DEPENDIN
GONP(このステートメントは十進数を示す変数Pが
正の整数1、2、または3であれば、上記Pの値に対応
して分岐先位置を示すLl.L2またはL3へ分岐し、
変数Pが負または3より大きい時、分岐せずに次のステ
ートメントを実行する)について具体的に説明する。
For example, one of the statements in the high-level office language COBOL is GOTOLlL2L3DEPENDIN.
GONP (This statement branches to Ll.L2 or L3, which indicates the branch destination position according to the value of P, if the variable P indicating the decimal number is a positive integer 1, 2, or 3,
(When variable P is negative or greater than 3, execute the next statement without branching) will be specifically explained.

従来のデータ処理装置では、上記COBOLのステート
メントは、コンパイラと称すδ翻訳プログラムにより(
1)変数Pが負でないかしらべる (2)変数Pが3より大でないかしらべる(3)変数P
の値に対応する分岐先を取り出す(4)上記取り出され
た分岐先へ分岐するなる4つの機械語命令の列へ変換さ
れた後、この4つの機械語命令を逐次実行することによ
つて実行される。
In conventional data processing devices, the above COBOL statements are processed by a δ translation program called a compiler (
1) Check whether the variable P is not negative (2) Check whether the variable P is not greater than 3 (3) Check the variable P
(4) Extract the branch destination corresponding to the value of be done.

これに反して、本発明を用いたデータ処理装置では、上
記ステートメントを実行するための4つの機械語命令を
1つのCASE命令により単に実行することによつて上
記ステートメントに対応する処理が実行される。
On the other hand, in the data processing device using the present invention, the process corresponding to the above statement is executed by simply executing four machine language instructions for executing the above statement using one CASE instruction. .

次に図面を参照して本発明を詳細に説明する。Next, the present invention will be explained in detail with reference to the drawings.

第1図は本発明に用いられるブランチ命令であるCAS
E命令の構成を示す図である。前記CASE命令におけ
る命令コード0PCは8ビツト長であり、16ビツト長
のフイールドA1は16ビツト長のデータnの記憶位置
を示し、8ビツト長のフイールドNは分岐先の個数を示
し、16ビツト長のフイールドA2は各々が16ビツト
長であるN個の分岐先が保存されている記憶位置を指し
てい]る。
Figure 1 shows CAS, which is a branch instruction used in the present invention.
It is a figure showing the composition of E command. The instruction code 0PC in the CASE instruction is 8 bits long, the 16 bits long field A1 indicates the storage location of the 16 bits long data n, and the 8 bits long field N indicates the number of branch destinations. Field A2 points to a storage location where N branch targets, each 16 bits long, are stored.

このようにCASE命令は、合計48ビツト長からなつ
ている。このCASE命令のフイールドA1が指すデー
タnは16ビツト長で2の補数形式で表現されるため、
フイールドA1の最左端ビツトが2進値1である時、デ
ータnは負であることを示す。
Thus, the CASE instruction has a total length of 48 bits. The data n pointed to by field A1 of this CASE instruction is 16 bits long and is expressed in two's complement format, so
When the leftmost bit of field A1 has a binary value of 1, it indicates that data n is negative.

また、命令のフイールドNは分岐先の個数を8ビツトの
2進形式で表現し、10進数+0から+255まで示す
ことができる。次に、上記CASE命令の役割について
説明する。
Further, field N of the instruction expresses the number of branch destinations in 8-bit binary format, and can be expressed as a decimal number from +0 to +255. Next, the role of the CASE command will be explained.

命令のA1フイールドが指すデータnが正の整数1から
Nの範囲にある時、nに対応する分岐先1r1へブラン
チし、データnが負又はNより大きい時、ブランチせず
に命令順序を変更せずそのままに保持される。第2図は
本発明の一実施例を示すプロツク図である。
When the data n pointed to by the A1 field of the instruction is in the range of positive integers 1 to N, branch to the branch destination 1r1 corresponding to n, and when the data n is negative or larger than N, change the instruction order without branching. It will be kept as is. FIG. 2 is a block diagram showing one embodiment of the present invention.

第2図に示す本発明のデータ処理装置は、命令およびデ
ータ等を保存する主メモリ1と、次に実行すべき命令の
記憶番地を貯えるプログラムカウンタ2と、命令保存レ
ジスタ3と、データレジスタ4と、入力データがNを越
えない正の整数であるかの判定回路5と、入力データが
示す正整数に対応する分岐先1nの保存番地作成回路6
と、命令の取り出し、命令コードの判定およびCASE
命令で規定される処理を制御する制御回路7とから構成
されている。主メモリ1は通常の半導体メモリで構成さ
れ、格納されているデータ各語は16ビツトからなつて
おりかつ前記データへのアクセスは16ビツトのアドレ
ス情報によつて行なわれる。
The data processing device of the present invention shown in FIG. 2 includes a main memory 1 for storing instructions and data, a program counter 2 for storing the memory address of the next instruction to be executed, an instruction storage register 3, and a data register 4. , a judgment circuit 5 for determining whether the input data is a positive integer not exceeding N, and a storage address creation circuit 6 for the branch destination 1n corresponding to the positive integer indicated by the input data.
and instruction retrieval, instruction code determination and CASE
It is composed of a control circuit 7 that controls processing specified by instructions. The main memory 1 is constituted by an ordinary semiconductor memory, each word of stored data consists of 16 bits, and access to the data is performed by 16 bits of address information.

プログラムカウンタ2は通常の16ビツト長のレジスタ
からなつておりかつ命令を連続して取り出せるようにす
るためのインクリメント機能と主メモリ1から取り出さ
れたデータを自分自身にセツトする機能とを備えている
。命令レジスタ3は通常の48ビツト長のレジスタから
なつておりかつプログラムカウンタ2に従つて主メモリ
1から取り出された命令を一時保存する。上記48ビツ
トからなるCASE命令は、16ビツトずつ、3回に分
けて命令の各フイールドが順番に主メモリ1から命令レ
ジスタ3に読み出される。データレジスタ4は16ビツ
ト長の通常のレジスタであり、前記CASE命令がA1
フイールドで指定するデータを一時的に保存する。
The program counter 2 consists of a regular 16-bit register and has an increment function so that instructions can be fetched continuously and a function to set the data fetched from the main memory 1 to itself. . The instruction register 3 consists of a regular 48-bit register and temporarily stores instructions retrieved from the main memory 1 according to the program counter 2. In the above-mentioned 48-bit CASE instruction, each field of the instruction is sequentially read out from the main memory 1 into the instruction register 3 in three 16-bit increments. Data register 4 is a normal register with a length of 16 bits, and the CASE instruction is A1.
Temporarily saves the data specified in the field.

このデータレジスタ4の内容は前記CASE命令を実行
するために判定回路5および番地作成回路6へ送られる
。判定回路5は第3図にその詳細な構成を示すように1
6ビツトの2進減算器51とNORゲート52とから構
成されている。第3図において、2進減算器51は、命
令レジスタ3中のNフイールド33からデータレジスタ
4中のデータnを減じるための2進減算器でありかつ演
算の結果、データn>Nの時、信号53により2進値1
を与える。NORゲート52は市販される通常のICで
構成され、データレジスタ4中の最左端ビツト55と上
記信号53とのNOR論理結果を信号54に出力する。
従つて、信号54は、データn>Nの時又はnが負の時
、2進値0を与え、データnが条件0くn≦Nを満す時
、2進値1を与える。番地作成回路6は第4図にその詳
細な構成を示すように、2進値1を減じる16ビツト長
の2進減算器61と16ビツト長の2進加算器62とか
らなつている。第4図において、2進減算器61は、第
2図のデータレジスタ4中のデータnから1を減じ、値
n−1を信号63に出力するゲート回路であり、市販の
ICを組み合わせて容易に構成することができる。また
、2進加算器62は、第2図の命令レジスタ3のA2フ
イールド34と前記値n−1を与える信号63とを2進
加算するゲート回路であり、前記加算器62と同様に容
易に構成できる。2進加算器62の出力64は、N個の
分岐先の中で、データnが持つている値に対応する(n
は1からNの範囲にあるために記憶位置としてはn−1
で示される)分岐先が保存されている主メモリ1上の記
憶位置を与える。
The contents of this data register 4 are sent to a determination circuit 5 and an address creation circuit 6 in order to execute the CASE instruction. The determination circuit 5 has a structure 1 as shown in FIG. 3 in detail.
It consists of a 6-bit binary subtracter 51 and a NOR gate 52. In FIG. 3, a binary subtracter 51 is a binary subtracter for subtracting data n in the data register 4 from the N field 33 in the instruction register 3, and as a result of the operation, when data n>N, Binary value 1 due to signal 53
give. The NOR gate 52 is composed of a commercially available ordinary IC, and outputs the NOR logic result of the leftmost bit 55 in the data register 4 and the signal 53 as a signal 54.
Therefore, the signal 54 gives a binary value of 0 when data n>N or when n is negative, and gives a binary value of 1 when data n satisfies the condition 0 and n≦N. As shown in FIG. 4 in detail, the address generation circuit 6 consists of a 16-bit binary subtracter 61 for subtracting a binary value of 1 and a 16-bit binary adder 62. In FIG. 4, a binary subtracter 61 is a gate circuit that subtracts 1 from data n in the data register 4 of FIG. 2 and outputs the value n-1 as a signal 63. It can be configured as follows. Further, the binary adder 62 is a gate circuit that performs binary addition of the A2 field 34 of the instruction register 3 in FIG. 2 and the signal 63 giving the value n-1. Can be configured. The output 64 of the binary adder 62 corresponds to the value of data n among the N branch destinations (n
is in the range from 1 to N, so the storage location is n-1
gives the storage location in main memory 1 where the branch destination (indicated by ) is stored.

第5図は制御回路7の詳細な構成を示す図であり、通常
のD型フリツプフロツプ(以下DFFと略す)71−J
モVと、ANDゲート78−80と、NANDゲート8
1と、デコーダ82とから構成されている、前記DFF
7l−JモVは実行順序を制御するフリツプフロツブであ
り、図示されていないタイミング信号がクロツク端子(
図示されていない)に与えられるとともに前段のフリツ
プフロツプの出力が次段の図示されていないデータ端子
にそれぞれ与えられる。
FIG. 5 is a diagram showing a detailed configuration of the control circuit 7, which is a typical D-type flip-flop (hereinafter abbreviated as DFF) 71-J.
MoV, AND gates 78-80, and NAND gate 8
1 and a decoder 82.
7l-JMoV is a flip-flop that controls the execution order, and a timing signal (not shown) is connected to the clock terminal (
(not shown), and the outputs of the flip-flops in the previous stage are respectively applied to data terminals (not shown) in the next stage.

このため、前記DFF7l−JモVは、順次動作状態にな
り、これにより各種の(後述の)制御信号が前記DFF
7l−JモVにより発生される。N1ゲート78−80お
よびNANDゲート81は市販のICで直接構成でき、
また、デコーダ82はNANDゲートと8入力M1ゲー
トとを組み合わせて容易に構成できる。次に、第5図の
制御回路7の前記CASE命令実行のための制御手順に
ついて第2図から第5図を参照して説明する。
For this reason, the DFF7l-JMoV sequentially enters the operating state, and thereby various control signals (described later) are sent to the DFF7l-JMoV.
Generated by 7l-JMoV. N1 gates 78-80 and NAND gate 81 can be directly configured with commercially available ICs,
Further, the decoder 82 can be easily configured by combining a NAND gate and an 8-input M1 gate. Next, a control procedure for executing the CASE instruction by the control circuit 7 shown in FIG. 5 will be explained with reference to FIGS. 2 to 5.

先ず、命令実行開始信号83が送られてDFF7lが動
作状態になると、第2図のプログラムカウンタ2が示す
命令番地信号21が主メモリ1に送られ、命令の取り出
しが開始される。
First, when the instruction execution start signal 83 is sent and the DFF 7l becomes operational, the instruction address signal 21 indicated by the program counter 2 in FIG. 2 is sent to the main memory 1, and fetching of instructions is started.

DFF7lが動作状態になつてから一定時間後、DFF
7.2が動作状態になると、主メモリ1から読み出され
た命令が命令保存レジスタ3にセツトされる。
After a certain period of time after DFF7l becomes operational, DFF
7.2 becomes operational, the instructions read from the main memory 1 are set in the instruction storage register 3.

前記命令がCASE命令であるときは、48ビツト長で
あるために前記命令はプログラムカウンタ2のインクリ
メント機能を用いて、3回に分けてDFF72の制御に
より主メモリ1から命令レジスタ3に取り出される。こ
のようにして、前記命令が第2図のレジスタ3にセツト
されると、命令コード部0PC31が制御回路7のデコ
ーダ82(第5図)に送られる。この場合、命令がCA
SE命令であると、デコーダ82の出力信号84が有効
になり、ANDゲート78を通してDFF73が動作状
態になる。このDFF73は命令のA1フイールド32
を主メモリ1へ送り、データnの読出し開始信号を発生
する。一定時間後、DFF74が動作状態になると、主
メモリ1から読み出されたデータnをデータレジスタ4
にセツトする信号がDFF74から発生される。データ
レジスタ4にデータnがセツトされると、このデータ値
nおよび命令レジスタ3中のNフイールドが判定回路5
へ送られ、前記論理回路5によつてデータnが正の整数
1からNの範囲にある時、2進信号54は論理値1に、
データnが負又はNより大きい時、論理値0になる。こ
の結果、データnの範囲判定信号54が論理値1である
と、第5図のM1ゲート79が起動されて、DFF75
が動作状態になる、。一方、論理値0であると、NAN
Dゲート81を通つて論理値が反転され、D1ゲート8
0が起動されるためにDFF77が動作状態になる。D
FF75が動作状態になると、命令のA2フイールドと
データレジスタnとからすでに第2図の番地作成回路6
で作られている分岐先アドレスの貯蔵位置〔A2+(n
−1)〕が第4図のデータパス64を通して主メモリ1
に送られ、読み出し開始が行なわれる。この結果、=定
時間後、DFF76が動作状態になると、主メモl川か
ら読み出された分岐アドレスがプログラムカウンタ2に
セツトされ、前記CASE命令の動作が終了する。一方
、DFF77が動作状態になると、プログラムカウンタ
2に2進値1を加えた値がプログラムカウンタ2にセツ
トされ、CASE命令に続く次命令の実行が継続される
When the instruction is a CASE instruction, since it is 48 bits long, the instruction is fetched from the main memory 1 into the instruction register 3 in three parts under the control of the DFF 72 using the increment function of the program counter 2. When the instruction is set in the register 3 of FIG. 2 in this manner, the instruction code portion 0PC31 is sent to the decoder 82 of the control circuit 7 (FIG. 5). In this case, the instruction is CA
If it is an SE command, the output signal 84 of the decoder 82 becomes valid, and the DFF 73 becomes operational through the AND gate 78. This DFF73 is the A1 field 32 of the instruction.
is sent to the main memory 1, and a read start signal for data n is generated. After a certain period of time, when the DFF 74 becomes operational, data n read from the main memory 1 is transferred to the data register 4.
A signal is generated from the DFF 74 to set the . When data n is set in the data register 4, this data value n and the N field in the instruction register 3 are determined by the judgment circuit 5.
When the data n is in the range of positive integers 1 to N, the binary signal 54 is set to a logic value 1 by the logic circuit 5.
When data n is negative or greater than N, it becomes a logical value 0. As a result, if the range determination signal 54 of data n has a logical value of 1, the M1 gate 79 in FIG. 5 is activated, and the DFF 75
becomes operational. On the other hand, if the logical value is 0, NAN
The logic value is inverted through the D gate 81, and the D1 gate 8
0 is activated, the DFF 77 becomes operational. D
When the FF 75 enters the operating state, the address creation circuit 6 of FIG.
The storage location of the branch destination address created by [A2+(n
-1)] is connected to the main memory 1 through the data path 64 in FIG.
is sent to start reading. As a result, when the DFF 76 becomes active after a certain period of time, the branch address read from the main memory I is set in the program counter 2, and the operation of the CASE instruction is completed. On the other hand, when the DFF 77 becomes operational, a value obtained by adding the binary value 1 to the program counter 2 is set in the program counter 2, and execution of the next instruction following the CASE instruction is continued.

以上、実施例を用いて本発明を詳細に説明した。The present invention has been described above in detail using Examples.

本発明を用いたデータ処理装置を用いると、高級言語で
許されるステートメントの実行が従来のように複数個の
機械語命令へ変換せずに従来の機械語命令に比べて処理
機能が高くかつ上記ステートメントに一対一に対応する
機械語命令を用いて行なえるという効果がある。上述の
実施例でのデータnは整数値を表わしているが、例えば
、10進数であつてもよく、この場合、その10進数が
小数点以下の値を持つときは、切り捨て等の前処理を行
なつた後、前述の実施例における処理が行なわれる。
By using a data processing device using the present invention, statements allowed in a high-level language can be executed without converting them into multiple machine language instructions as in the past. This has the advantage that it can be performed using machine language instructions that correspond one-to-one to statements. Although the data n in the above embodiment represents an integer value, it may be a decimal number, for example. In this case, if the decimal number has a value below the decimal point, preprocessing such as truncation is performed. After this, the processing in the previous embodiment is performed.

また、データnのかわりに算術式で表わされたデータで
あつてもよく、この場合には、CASE命令のA1フイ
ールドは算術式で表わされたデータを指すことになる。
さらに、本実施例の分岐先は、16ビツト長で直接主メ
モリ位置を示しているが、何らかの変換を必要とする分
岐番地(例えば、通常良く用いられる論理アドレス)で
あつても良い。この他、本実施例では、データnが負又
はNより大きい時、次の命令が実行されるが、外部から
指定される番地へ分岐するようにしてもよい。
Further, instead of data n, it may be data expressed by an arithmetic expression, and in this case, the A1 field of the CASE instruction will point to the data expressed by an arithmetic expression.
Further, although the branch destination in this embodiment is 16 bits long and directly indicates the main memory location, it may be a branch address that requires some kind of conversion (for example, a commonly used logical address). In addition, in this embodiment, when the data n is negative or larger than N, the next instruction is executed, but it is also possible to branch to an address specified from the outside.

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

第1図は本発明に用いられる分岐命令としてのCASE
命令の構成図、第2図は本発明の一実施例を示すプロツ
ク図、第3図は第2図の判定回路の構成図、第4図は第
2図の番地作成回路の構成図および第5図はCASE命
令を制御する制御回路の構成図である。 第2図において、参照数字1は主メモl八参照数字2は
プログラムカウンタ、参照数字3は命令レジスタ、参照
数字4はデータレジスタ、参照数字5は判定回路、参照
数字6は番地作成回路および参照数字7は制御回路をそ
れぞれ表わす。
Figure 1 shows CASE as a branch instruction used in the present invention.
2 is a block diagram showing an embodiment of the present invention, FIG. 3 is a block diagram of the determination circuit of FIG. 2, and FIG. 4 is a block diagram of the address generation circuit of FIG. FIG. 5 is a configuration diagram of a control circuit that controls the CASE command. In Figure 2, reference numeral 1 is the main memory, reference numeral 2 is the program counter, reference numeral 3 is the instruction register, reference numeral 4 is the data register, reference numeral 5 is the judgment circuit, reference numeral 6 is the address creation circuit and reference. Number 7 represents a control circuit, respectively.

Claims (1)

【特許請求の範囲】[Claims] 1 複数個の分岐先とデータの所在位置とを指定して前
記データの整数値に対応する分岐先へブランチする命令
を備えるとともに前記命令及び前記データを保存する主
メモリと、実行される前記命令の記憶位置を貯えるプロ
グラムカウンタと、前記命令を保存するためのレジスタ
と、前記データを保存するためのデータレジスタと、前
記データが前記分岐先の個数を越えない正の整数である
かをしらべる判定回路と、前記データが示す正整数に対
応する分岐先の貯蔵位置を作る番地作成回路と、前記ブ
ランチ命令で規定される処理を制御する制御回路とから
構成されたことを特徴とするデータ処理装置。
1. A main memory including an instruction for specifying a plurality of branch destinations and the location of data and branching to a branch destination corresponding to an integer value of the data, and storing the instruction and the data, and the instruction to be executed. a program counter that stores the memory location of the instruction, a register that stores the instruction, a data register that stores the data, and a determination to determine whether the data is a positive integer that does not exceed the number of branch destinations. A data processing device comprising: a circuit; an address creation circuit that creates a branch destination storage location corresponding to a positive integer indicated by the data; and a control circuit that controls processing specified by the branch instruction. .
JP15884475A 1975-12-26 1975-12-26 Data search Expired JPS599939B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15884475A JPS599939B2 (en) 1975-12-26 1975-12-26 Data search

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15884475A JPS599939B2 (en) 1975-12-26 1975-12-26 Data search

Publications (2)

Publication Number Publication Date
JPS5279843A JPS5279843A (en) 1977-07-05
JPS599939B2 true JPS599939B2 (en) 1984-03-06

Family

ID=15680632

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15884475A Expired JPS599939B2 (en) 1975-12-26 1975-12-26 Data search

Country Status (1)

Country Link
JP (1) JPS599939B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2752081B2 (en) * 1988-03-15 1998-05-18 株式会社東芝 Electronic computer

Also Published As

Publication number Publication date
JPS5279843A (en) 1977-07-05

Similar Documents

Publication Publication Date Title
US5511207A (en) Program control circuit determining the designated number of times a sequence of instructions is repetitively executed to prevent further execution of a jump instruction
US4334269A (en) Data processing system having an integrated stack and register machine architecture
KR940009094B1 (en) Data processing system
JPS63301339A (en) Computer device
US4446517A (en) Microprogram memory with page addressing and address decode in memory
JPS61170828A (en) microprogram controller
JPS6124729B2 (en)
JP2559868B2 (en) Information processing device
JPH034936B2 (en)
US5694605A (en) Program translator with selective data value amendment and processor with data extension instructions
JPS599939B2 (en) Data search
KR910001708B1 (en) Central processing unit
US4785414A (en) Computer system with automatic range checking and conversion of data words
JPH0683615A (en) Computer for executing instruction set emulation
ES457282A1 (en) IMPROVEMENTS IN PROGRAMMABLE SEQUENTIAL LOGICS.
CN101315598B (en) processor
JPS6236575B2 (en)
JPH0831033B2 (en) Data processing device
JPS5826043B2 (en) Processor reset method
JPS6047612B2 (en) Microinstruction output control method
US6289439B1 (en) Method, device and microprocessor for performing an XOR clear without executing an XOR instruction
JPS61161509A (en) System and device for operating high speed sequence
EP0401745A2 (en) Data processor for high-speed access to stack area data
JPH0560616B2 (en)
JP2001100991A (en) Digital signal processor